Interface EventHub.DefinitionStages.WithConsumerGroup
-
- All Known Subinterfaces:
EventHub.Definition,EventHub.DefinitionStages.WithCaptureOptionalSettingsOrCreate,EventHub.DefinitionStages.WithCaptureProviderOrCreate,EventHub.DefinitionStages.WithCreate
- Enclosing interface:
- EventHub.DefinitionStages
@Beta(V1_7_0) public static interface EventHub.DefinitionStages.WithConsumerGroupThe stage of the event hub definition allowing to add consumer group for the event hub.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventHub.DefinitionStages.WithCreatewithNewConsumerGroup(String name)Specifies that a new consumer group should be created for the event hub.EventHub.DefinitionStages.WithCreatewithNewConsumerGroup(String name, String metadata)Specifies that a new consumer group should be created for the event hub.
-
-
-
Method Detail
-
withNewConsumerGroup
@Beta(V1_7_0) EventHub.DefinitionStages.WithCreate withNewConsumerGroup(String name)
Specifies that a new consumer group should be created for the event hub.- Parameters:
name- consumer group name- Returns:
- next stage of the event hub definition
-
withNewConsumerGroup
@Beta(V1_7_0) EventHub.DefinitionStages.WithCreate withNewConsumerGroup(String name, String metadata)
Specifies that a new consumer group should be created for the event hub.- Parameters:
name- consumer group namemetadata- consumer group metadata- Returns:
- next stage of the event hub definition
-
-