Interface EventHub.DefinitionStages.WithAuthorizationRule
- All Known Subinterfaces:
EventHub.Definition
,EventHub.DefinitionStages.WithCaptureOptionalSettingsOrCreate
,EventHub.DefinitionStages.WithCaptureProviderOrCreate
,EventHub.DefinitionStages.WithCreate
- Enclosing interface:
- EventHub.DefinitionStages
public static interface EventHub.DefinitionStages.WithAuthorizationRule
The stage of the event hub 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.withNewManageRule
(String ruleName) Specifies that a new authorization rule should be created that has manage access to the event hub.withNewSendAndListenRule
(String ruleName) Specifies that a new authorization rule should be created that has send and listen access to the event hub.withNewSendRule
(String ruleName) Specifies that a new authorization rule should be created that has send access to the event hub.
-
Method Details
-
withNewSendRule
Specifies that a new authorization rule should be created that has send access to the event hub.- Parameters:
ruleName
- rule name- Returns:
- next stage of the event hub definition
-
withNewListenRule
Specifies that a new authorization rule should be created that has listen access to the event hub.- Parameters:
ruleName
- rule name- Returns:
- next stage of the event hub definition
-
withNewSendAndListenRule
Specifies that a new authorization rule should be created that has send and listen access to the event hub.- Parameters:
ruleName
- rule name- Returns:
- next stage of the event hub definition
-
withNewManageRule
Specifies that a new authorization rule should be created that has manage access to the event hub.- Parameters:
ruleName
- rule name- Returns:
- next stage of the event hub definition
-