Interface EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace
- All Known Subinterfaces:
EventHubDisasterRecoveryPairing.Definition
- Enclosing interface:
- EventHubDisasterRecoveryPairing.DefinitionStages
public static interface EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace
The stage of the disaster recovery pairing definition allowing to specify the secondary event hub namespace.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingSecondaryNamespace(EventHubNamespace namespace) Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.withExistingSecondaryNamespaceId(String namespaceId) Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.withNewSecondaryNamespace(Creatable<EventHubNamespace> namespaceCreatable) Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.
-
Method Details
-
withNewSecondaryNamespace
EventHubDisasterRecoveryPairing.DefinitionStages.WithCreate withNewSecondaryNamespace(Creatable<EventHubNamespace> namespaceCreatable) Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.- Parameters:
namespaceCreatable- creatable definition for the primary namespace- Returns:
- next stage of the event hub definition
-
withExistingSecondaryNamespace
EventHubDisasterRecoveryPairing.DefinitionStages.WithCreate withExistingSecondaryNamespace(EventHubNamespace namespace) Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.- Parameters:
namespace- the secondary namespace- Returns:
- next stage of the disaster recovery pairing definition
-
withExistingSecondaryNamespaceId
EventHubDisasterRecoveryPairing.DefinitionStages.WithCreate withExistingSecondaryNamespaceId(String namespaceId) Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.- Parameters:
namespaceId- the secondary namespace- Returns:
- next stage of the disaster recovery pairing definition
-