Interface EventHubDisasterRecoveryPairing

All Superinterfaces:
HasInner<com.microsoft.azure.management.eventhub.implementation.ArmDisasterRecoveryInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, Indexable, NestedResource, Refreshable<EventHubDisasterRecoveryPairing>, Updatable<EventHubDisasterRecoveryPairing.Update>

@Beta(V1_7_0) public interface EventHubDisasterRecoveryPairing extends NestedResource, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, Refreshable<EventHubDisasterRecoveryPairing>, Updatable<EventHubDisasterRecoveryPairing.Update>, HasInner<com.microsoft.azure.management.eventhub.implementation.ArmDisasterRecoveryInner>
Type representing disaster recovery pairing for event hub namespaces.
  • Method Details

    • primaryNamespaceResourceGroupName

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

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

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

      @Beta(V1_7_0) RoleDisasterRecovery namespaceRole()
      Returns:
      the namespace role
    • provisioningState

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

      @Beta(V1_7_0) rx.Completable breakPairingAsync()
      Break the pairing between a primary and secondary namespace.
      Returns:
      completable representing the pairing break action
    • breakPairing

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

      @Beta(V1_7_0) rx.Completable failOverAsync()
      Perform fail over so that the secondary namespace becomes the primary.
      Returns:
      completable representing the fail-over action
    • failOver

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

      @Beta(V1_7_0) rx.Observable<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRulesAsync()
      Returns:
      the authorization rules for the event hub disaster recovery pairing
    • listAuthorizationRules

      @Beta(V1_7_0) com.microsoft.azure.PagedList<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRules()
      Returns:
      the authorization rules for the event hub disaster recovery pairing