EventHub.DefinitionStages.WithNamespace Interface

public static interface EventHub.DefinitionStages.WithNamespace

The stage of the event hub definition allowing to specify the name space in which event hub needs to be created.

Method Summary

Modifier and Type Method and Description
abstract WithCaptureProviderOrCreate withExistingNamespace(EventHubNamespace namespace)

Specifies an existing event hub namespace in which event hub needs to be created.

abstract WithCaptureProviderOrCreate withExistingNamespace(String resourceGroupName, String namespaceName)

Specifies an existing event hub namespace in which event hub needs to be created.

abstract WithCaptureProviderOrCreate withExistingNamespaceId(String namespaceId)

Specifies id of an existing event hub namespace in which event hub needs to be created.

abstract WithCaptureProviderOrCreate withNewNamespace(Creatable<EventHubNamespace> namespaceCreatable)

Specifies the new namespace in which event hub needs to be created.

Method Details

withExistingNamespace

public abstract EventHub.DefinitionStages.WithCaptureProviderOrCreate withExistingNamespace(EventHubNamespace namespace)

Specifies an existing event hub namespace in which event hub needs to be created.

Parameters:

namespace - event hub namespace

Returns:

next stage of the event hub definition

withExistingNamespace

public abstract EventHub.DefinitionStages.WithCaptureProviderOrCreate withExistingNamespace(String resourceGroupName, String namespaceName)

Specifies an existing event hub namespace in which event hub needs to be created.

Parameters:

resourceGroupName - namespace resource group name
namespaceName - event hub namespace

Returns:

next stage of the event hub definition

withExistingNamespaceId

public abstract EventHub.DefinitionStages.WithCaptureProviderOrCreate withExistingNamespaceId(String namespaceId)

Specifies id of an existing event hub namespace in which event hub needs to be created.

Parameters:

namespaceId - event hub namespace resource id

Returns:

next stage of the event hub definition

withNewNamespace

public abstract EventHub.DefinitionStages.WithCaptureProviderOrCreate withNewNamespace(Creatable namespaceCreatable)

Specifies the new namespace in which event hub needs to be created.

Parameters:

namespaceCreatable - namespace creatable definition

Returns:

next stage of the event hub definition

Applies to