Interface EventHub.UpdateStages.WithAuthorizationRule
- All Known Subinterfaces:
EventHub.Update
- Enclosing interface:
EventHub.UpdateStages
public static interface EventHub.UpdateStages.WithAuthorizationRule
The stage of the event hub definition allowing to add an authorization rule for accessing
the event hub.
-
Method Summary
Modifier and TypeMethodDescriptionwithNewListenRule(String name) Specifies that a new authorization rule should be created that has listen access to the event hub.withNewManageRule(String name) Specifies that a new authorization rule should be created that has manage access to the event hub.Specifies that a new authorization rule should be created that has send and listen access to the event hub.withNewSendRule(String name) Specifies that a new authorization rule should be created that has send access to the event hub.withoutAuthorizationRule(String ruleName) Specifies that an authorization rule associated with the event hub should be deleted.
-
Method Details
-
withNewSendRule
Specifies that a new authorization rule should be created that has send access to the event hub.- Parameters:
name- rule name- Returns:
- next stage of the event hub update
-
withNewListenRule
Specifies that a new authorization rule should be created that has listen access to the event hub.- Parameters:
name- rule name- Returns:
- next stage of the event hub update
-
withNewSendAndListenRule
Specifies that a new authorization rule should be created that has send and listen access to the event hub.- Parameters:
name- rule name- Returns:
- next stage of the event hub update
-
withNewManageRule
Specifies that a new authorization rule should be created that has manage access to the event hub.- Parameters:
name- rule name- Returns:
- next stage of the event hub update
-
withoutAuthorizationRule
Specifies that an authorization rule associated with the event hub should be deleted.- Parameters:
ruleName- rule name- Returns:
- next stage of the event hub update
-