Interface EventHubNamespace.DefinitionStages.WithAuthorizationRule
- All Known Subinterfaces:
EventHubNamespace.Definition
,EventHubNamespace.DefinitionStages.WithCreate
- Enclosing interface:
- EventHubNamespace.DefinitionStages
public static interface EventHubNamespace.DefinitionStages.WithAuthorizationRule
The stage of the event hub namespace definition allowing to add authorization rule for accessing
the event hub.
-
Method Summary
Modifier and TypeMethodDescriptionwithNewListenRule
(String ruleName) Specifies that a new authorization rule should be created that has listen access to the event hub namespace.withNewManageRule
(String ruleName) Specifies that a new authorization rule should be created that has manage access to the event hub namespace.withNewSendRule
(String ruleName) Specifies that a new authorization rule should be created that has send access to the event hub namespace.
-
Method Details
-
withNewSendRule
Specifies that a new authorization rule should be created that has send access to the event hub namespace.- Parameters:
ruleName
- rule name- Returns:
- next stage of the event hub namespace definition
-
withNewListenRule
Specifies that a new authorization rule should be created that has listen access to the event hub namespace.- Parameters:
ruleName
- rule name- Returns:
- next stage of the event hub namespace definition
-
withNewManageRule
Specifies that a new authorization rule should be created that has manage access to the event hub namespace.- Parameters:
ruleName
- rule name- Returns:
- next stage of the event hub namespace definition
-