Interface EventHubConsumerGroup.DefinitionStages.WithEventHub
- All Known Subinterfaces:
EventHubConsumerGroup.Definition
,EventHubConsumerGroup.DefinitionStages.Blank
- Enclosing interface:
- EventHubConsumerGroup.DefinitionStages
public static interface EventHubConsumerGroup.DefinitionStages.WithEventHub
The stage of the consumer group definition allowing to specify the event
hub to be associated with it.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingEventHub
(EventHub eventHub) Specifies the event hub for which consumer group needs to be created.withExistingEventHub
(String resourceGroupName, String namespaceName, String eventHubName) Specifies the event hub for which consumer group needs to be created.withExistingEventHubId
(String eventHubId) Specifies the event hub for which consumer group needs to be created.
-
Method Details
-
withExistingEventHub
Specifies the event hub for which consumer group needs to be created.- Parameters:
eventHub
- event hub- Returns:
- next stage of the consumer group definition
-
withExistingEventHubId
Specifies the event hub for which consumer group needs to be created.- Parameters:
eventHubId
- ARM resource id of event hub- Returns:
- next stage of the consumer group definition
-
withExistingEventHub
EventHubConsumerGroup.DefinitionStages.WithCreate withExistingEventHub(String resourceGroupName, String namespaceName, String eventHubName) Specifies the event hub for which consumer group needs to be created.- Parameters:
resourceGroupName
- event hub namespace resource group namenamespaceName
- event hub namespace nameeventHubName
- event hub name- Returns:
- next stage of the consumer group definition
-