다음을 통해 공유


EventHub.UpdateStages.WithConsumerGroup Interface

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 Type Method and Description
abstract Update withNewConsumerGroup(String name)

Specifies that a new consumer group should be created for the event hub.

abstract Update withNewConsumerGroup(String name, String metadata)

Specifies that a new consumer group should be created for the event hub.

abstract Update withoutConsumerGroup(String name)

Specifies that a consumer group associated with the event hub should be deleted.

Method Details

withNewConsumerGroup

public abstract 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

public abstract 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

public abstract 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

Applies to