Interface EventHubDisasterRecoveryPairing

  • All Superinterfaces:
    com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.eventhub.implementation.ArmDisasterRecoveryInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, com.microsoft.azure.management.resources.fluentcore.model.Indexable, NestedResource, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<EventHubDisasterRecoveryPairing>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<EventHubDisasterRecoveryPairing.Update>

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

      • 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
      • 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