Interface EventHubNamespace.DefinitionStages.WithAuthorizationRule
-
- All Known Subinterfaces:
EventHubNamespace.Definition,EventHubNamespace.DefinitionStages.WithCreate
- Enclosing interface:
- EventHubNamespace.DefinitionStages
@Beta(V1_7_0) public static interface EventHubNamespace.DefinitionStages.WithAuthorizationRuleThe stage of the event hub namespace definition allowing to add authorization rule for accessing the event hub.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventHubNamespace.DefinitionStages.WithCreatewithNewListenRule(String ruleName)Specifies that a new authorization rule should be created that has listen access to the event hub namespace.EventHubNamespace.DefinitionStages.WithCreatewithNewManageRule(String ruleName)Specifies that a new authorization rule should be created that has manage access to the event hub namespace.EventHubNamespace.DefinitionStages.WithCreatewithNewSendRule(String ruleName)Specifies that a new authorization rule should be created that has send access to the event hub namespace.
-
-
-
Method Detail
-
withNewSendRule
@Beta(V1_7_0) EventHubNamespace.DefinitionStages.WithCreate withNewSendRule(String ruleName)
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
@Beta(V1_7_0) EventHubNamespace.DefinitionStages.WithCreate withNewListenRule(String ruleName)
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
@Beta(V1_7_0) EventHubNamespace.DefinitionStages.WithCreate withNewManageRule(String ruleName)
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
-
-