다음을 통해 공유


EventHubConsumerGroup.DefinitionStages.WithEventHub Interface

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 Type Method and Description
abstract WithCreate withExistingEventHub(EventHub eventHub)

Specifies the event hub for which consumer group needs to be created.

abstract WithCreate withExistingEventHub(String resourceGroupName, String namespaceName, String eventHubName)

Specifies the event hub for which consumer group needs to be created.

abstract WithCreate withExistingEventHubId(String eventHubId)

Specifies the event hub for which consumer group needs to be created.

Method Details

withExistingEventHub

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

withExistingEventHub

public abstract 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 name
namespaceName - event hub namespace name
eventHubName - event hub name

Returns:

next stage of the consumer group definition

withExistingEventHubId

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

Applies to