Interface EventHub.DefinitionStages.WithNamespace
- All Known Subinterfaces:
EventHub.Definition
,EventHub.DefinitionStages.Blank
- Enclosing interface:
- EventHub.DefinitionStages
@Beta(V1_7_0)
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 TypeMethodDescriptionwithExistingNamespace
(EventHubNamespace namespace) Specifies an existing event hub namespace in which event hub needs to be created.withExistingNamespace
(String resourceGroupName, String namespaceName) Specifies an existing event hub namespace in which event hub needs to be created.withExistingNamespaceId
(String namespaceId) Specifies id of an existing event hub namespace in which event hub needs to be created.withNewNamespace
(Creatable<EventHubNamespace> namespaceCreatable) Specifies the new namespace in which event hub needs to be created.
-
Method Details
-
withNewNamespace
@Beta(V1_7_0) EventHub.DefinitionStages.WithCaptureProviderOrCreate withNewNamespace(Creatable<EventHubNamespace> 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
-
withExistingNamespace
@Beta(V1_7_0) 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
@Beta(V1_7_0) 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 namenamespaceName
- event hub namespace- Returns:
- next stage of the event hub definition
-
withExistingNamespaceId
@Beta(V1_7_0) 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
-