Interface EventHubAuthorizationRule.DefinitionStages.WithEventHub
-
- All Known Subinterfaces:
EventHubAuthorizationRule.Definition,EventHubAuthorizationRule.DefinitionStages.Blank
- Enclosing interface:
- EventHubAuthorizationRule.DefinitionStages
@Beta(V1_7_0) public static interface EventHubAuthorizationRule.DefinitionStages.WithEventHubStage of the authorization rule definition allowing to specify the event for which rule needs to be created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventHubAuthorizationRule.DefinitionStages.WithAccessPolicywithExistingEventHub(EventHub eventHub)Specifies that authorization rule needs to be created for the given event hub.EventHubAuthorizationRule.DefinitionStages.WithAccessPolicywithExistingEventHub(String resourceGroupName, String namespaceName, String eventHubName)Specifies that authorization rule needs to be created for the given event hub.EventHubAuthorizationRule.DefinitionStages.WithAccessPolicywithExistingEventHubId(String eventHubResourceId)Specifies that authorization rule needs to be created for the given event hub.
-
-
-
Method Detail
-
withExistingEventHubId
@Beta(V1_7_0) EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHubId(String eventHubResourceId)
Specifies that authorization rule needs to be created for the given event hub.- Parameters:
eventHubResourceId- the resource id of the event Hub- Returns:
- the next stage of the definition
-
withExistingEventHub
@Beta(V1_7_0) EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHub(String resourceGroupName, String namespaceName, String eventHubName)
Specifies that authorization rule needs to be created for the given event hub.- Parameters:
resourceGroupName- event hub namespace resource group namenamespaceName- event hub parent namespace nameeventHubName- event hub name- Returns:
- the next stage of the definition
-
withExistingEventHub
@Beta(V1_7_0) EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHub(EventHub eventHub)
Specifies that authorization rule needs to be created for the given event hub.- Parameters:
eventHub- the event hub- Returns:
- the next stage of the definition
-
-