Interface EventHub.DefinitionStages.WithNamespace

All Known Subinterfaces:
EventHub.Definition, EventHub.DefinitionStages.Blank
Enclosing interface:
EventHub.DefinitionStages

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 Details

    • withNewNamespace

      EventHub.DefinitionStages.WithCaptureProviderOrCreate withNewNamespace(com.azure.resourcemanager.resources.fluentcore.model.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

      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

      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

      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