Interface EventHubDisasterRecoveryPairing

All Superinterfaces:
HasInnerModel<ArmDisasterRecoveryInner>, HasManager<EventHubsManager>, Indexable, NestedResource, Refreshable<EventHubDisasterRecoveryPairing>, Updatable<EventHubDisasterRecoveryPairing.Update>

Type representing disaster recovery pairing for event hub namespaces.
  • Method Details

    • primaryNamespaceResourceGroupName

      String primaryNamespaceResourceGroupName()
      Returns:
      primary event hub namespace resource group
    • primaryNamespaceName

      String primaryNamespaceName()
      Returns:
      primary event hub namespace in the pairing
    • secondaryNamespaceId

      String secondaryNamespaceId()
      Returns:
      secondary event hub namespace in the pairing
    • namespaceRole

      RoleDisasterRecovery namespaceRole()
      Returns:
      the namespace role
    • provisioningState

      ProvisioningStateDR provisioningState()
      Returns:
      provisioning state of the pairing
    • breakPairingAsync

      Mono<Void> breakPairingAsync()
      Break the pairing between a primary and secondary namespace.
      Returns:
      completable representing the pairing break action
    • breakPairing

      void breakPairing()
      Break the pairing between a primary and secondary namespace.
    • failOverAsync

      Mono<Void> failOverAsync()
      Perform fail over so that the secondary namespace becomes the primary.
      Returns:
      completable representing the fail-over action
    • failOver

      void failOver()
      Perform fail over so that the secondary namespace becomes the primary.
    • listAuthorizationRulesAsync

      com.azure.core.http.rest.PagedFlux<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRulesAsync()
      Returns:
      the authorization rules for the event hub disaster recovery pairing
    • listAuthorizationRules

      com.azure.core.http.rest.PagedIterable<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRules()
      Returns:
      the authorization rules for the event hub disaster recovery pairing