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 Summary
Modifier and TypeMethodDescriptionwithNewAuthorizationRule(String name, AccessRights... rights) Creates an authorization rule for the subscription.Removes an authorization rule for the subscription.
-
Method Details
-
withNewAuthorizationRule
Creates an authorization rule for the subscription.- Parameters:
name- rule namerights- rule rights- Returns:
- next stage of the subscription update
-
withoutNewAuthorizationRule
Removes an authorization rule for the subscription.- Parameters:
name- rule name- Returns:
- next stage of the subscription update
-