Interface EventHub.UpdateStages.WithConsumerGroup
- All Known Subinterfaces:
EventHub.Update
- Enclosing interface:
- EventHub.UpdateStages
@Beta(V1_7_0)
public static interface EventHub.UpdateStages.WithConsumerGroup
The stage of the event hub update allowing to add consumer group for event hub.
-
Method Summary
Modifier and TypeMethodDescriptionwithNewConsumerGroup(String name) Specifies that a new consumer group should be created for the event hub.withNewConsumerGroup(String name, String metadata) Specifies that a new consumer group should be created for the event hub.withoutConsumerGroup(String name) Specifies that a consumer group associated with the event hub should be deleted.
-
Method Details
-
withNewConsumerGroup
Specifies that a new consumer group should be created for the event hub.- Parameters:
name- group name- Returns:
- next stage of the event hub update
-
withNewConsumerGroup
Specifies that a new consumer group should be created for the event hub.- Parameters:
name- group namemetadata- group metadata- Returns:
- next stage of the event hub update
-
withoutConsumerGroup
Specifies that a consumer group associated with the event hub should be deleted.- Parameters:
name- group name- Returns:
- next stage of the event hub update
-