Interface EventHubDisasterRecoveryPairing.UpdateStages.WithSecondaryNamespace
- All Known Subinterfaces:
EventHubDisasterRecoveryPairing.Update
- Enclosing interface:
- EventHubDisasterRecoveryPairing.UpdateStages
@Beta(V1_7_0)
public static interface EventHubDisasterRecoveryPairing.UpdateStages.WithSecondaryNamespace
The stage of the disaster recovery pairing definition allowing to specify primary 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
@Beta(V1_7_0) EventHubDisasterRecoveryPairing.Update 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 secondary namespace- Returns:
- next stage of the disaster recovery pairing update
-
withExistingSecondaryNamespace
@Beta(V1_7_0) EventHubDisasterRecoveryPairing.Update withExistingSecondaryNamespace(EventHubNamespace namespace) Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.- Parameters:
namespace
- the secondary event hub namespace- Returns:
- next stage of the disaster recovery pairing update
-
withExistingSecondaryNamespaceId
@Beta(V1_7_0) EventHubDisasterRecoveryPairing.Update 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 update
-