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
With |
withExistingNamespace(EventHubNamespace namespace)
Specifies an existing event hub namespace in which event hub needs to be created. |
abstract
With |
withExistingNamespace(String resourceGroupName, String namespaceName)
Specifies an existing event hub namespace in which event hub needs to be created. |
abstract
With |
withExistingNamespaceId(String namespaceId)
Specifies id of an existing event hub namespace in which event hub needs to be created. |
abstract
With |
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:
Returns:
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:
Returns:
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:
Returns:
withNewNamespace
public abstract EventHub.DefinitionStages.WithCaptureProviderOrCreate withNewNamespace(Creatable
Specifies the new namespace in which event hub needs to be created.
Parameters:
Returns:
Applies to
Azure SDK for Java