Interface ServiceBusSubscription.UpdateStages.WithAuthorizationRule

  • Enclosing interface:
    ServiceBusSubscription.UpdateStages

    public static interface ServiceBusSubscription.UpdateStages.WithAuthorizationRule
    The stage of the queue definition allowing to add an authorization rule for accessing the subscription.
    • Method Detail

      • withNewAuthorizationRule

        ServiceBusSubscription.Update withNewAuthorizationRule​(String name,
                                                               AccessRights... rights)
        Creates an authorization rule for the subscription.
        Parameters:
        name - rule name
        rights - rule rights
        Returns:
        next stage of the subscription update
      • withoutNewAuthorizationRule

        ServiceBusSubscription.Update withoutNewAuthorizationRule​(String name)
        Removes an authorization rule for the subscription.
        Parameters:
        name - rule name
        Returns:
        next stage of the subscription update