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 Detail

      • withNewConsumerGroup

        @Beta(V1_7_0)
        EventHub.Update withNewConsumerGroup​(String name)
        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

        @Beta(V1_7_0)
        EventHub.Update withNewConsumerGroup​(String name,
                                             String metadata)
        Specifies that a new consumer group should be created for the event hub.
        Parameters:
        name - group name
        metadata - group metadata
        Returns:
        next stage of the event hub update
      • withoutConsumerGroup

        @Beta(V1_7_0)
        EventHub.Update withoutConsumerGroup​(String name)
        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