Interface EventHubConsumerGroup.DefinitionStages.WithEventHub
- All Known Subinterfaces:
EventHubConsumerGroup.Definition
,EventHubConsumerGroup.DefinitionStages.Blank
- Enclosing interface:
- EventHubConsumerGroup.DefinitionStages
@Beta(V1_7_0)
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
@Beta(V1_7_0) EventHubConsumerGroup.DefinitionStages.WithCreate withExistingEventHub(EventHub eventHub) 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
@Beta(V1_7_0) EventHubConsumerGroup.DefinitionStages.WithCreate withExistingEventHubId(String eventHubId) 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
@Beta(V1_7_0) 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
-