Interface EventHubDisasterRecoveryPairing.DefinitionStages.WithPrimaryNamespace
- All Known Subinterfaces:
EventHubDisasterRecoveryPairing.Definition,EventHubDisasterRecoveryPairing.DefinitionStages.Blank
- Enclosing interface:
- EventHubDisasterRecoveryPairing.DefinitionStages
public static interface EventHubDisasterRecoveryPairing.DefinitionStages.WithPrimaryNamespace
The stage of the disaster recovery pairing definition allowing to specify primary event hub namespace.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingPrimaryNamespace(EventHubNamespace namespace) Specifies that the given namespace should be used as primary namespace in disaster recovery pairing.withExistingPrimaryNamespace(String resourceGroupName, String namespaceName) Specifies that the given namespace should be used as primary namespace in disaster recovery pairing.withExistingPrimaryNamespaceId(String namespaceId) Specifies that the given namespace should be used as primary namespace in disaster recovery pairing.withNewPrimaryNamespace(Creatable<EventHubNamespace> namespaceCreatable) Specifies that the given namespace should be used as primary namespace in disaster recovery pairing.
-
Method Details
-
withNewPrimaryNamespace
EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace withNewPrimaryNamespace(Creatable<EventHubNamespace> namespaceCreatable) Specifies that the given namespace should be used as primary namespace in disaster recovery pairing.- Parameters:
namespaceCreatable- creatable definition for the primary namespace- Returns:
- next stage of the disaster recovery pairing definition
-
withExistingPrimaryNamespace
EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace withExistingPrimaryNamespace(EventHubNamespace namespace) Specifies that the given namespace should be used as primary namespace in disaster recovery pairing.- Parameters:
namespace- the primary event hub namespace- Returns:
- next stage of the disaster recovery pairing definition
-
withExistingPrimaryNamespace
EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace withExistingPrimaryNamespace(String resourceGroupName, String namespaceName) Specifies that the given namespace should be used as primary namespace in disaster recovery pairing.- Parameters:
resourceGroupName- resource group name of primary namespacenamespaceName- the primary namespace- Returns:
- next stage of the disaster recovery pairing definition
-
withExistingPrimaryNamespaceId
EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace withExistingPrimaryNamespaceId(String namespaceId) Specifies that the given namespace should be used as primary namespace in disaster recovery pairing.- Parameters:
namespaceId- the primary namespace- Returns:
- next stage of the disaster recovery pairing definition
-