Interface EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace

All Known Subinterfaces:
EventHubDisasterRecoveryPairing.Definition
Enclosing interface:
EventHubDisasterRecoveryPairing.DefinitionStages

@Beta(V1_7_0) public static interface EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace
The stage of the disaster recovery pairing definition allowing to specify the secondary event hub namespace.
  • Method Details

    • withNewSecondaryNamespace

      @Beta(V1_7_0) 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

      @Beta(V1_7_0) 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

      @Beta(V1_7_0) 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