EventHubDisasterRecoveryPairing Interface

Implements

NestedResource HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager> HasInner<com.microsoft.azure.management.eventhub.implementation.ArmDisasterRecoveryInner> Refreshable<EventHubDisasterRecoveryPairing> Updatable<Update>

public interface EventHubDisasterRecoveryPairing
extends NestedResource, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, Refreshable<EventHubDisasterRecoveryPairing>, Updatable<Update>, HasInner<com.microsoft.azure.management.eventhub.implementation.ArmDisasterRecoveryInner>

Type representing disaster recovery pairing for event hub namespaces.

Method Summary

Modifier and Type Method and Description
abstract void breakPairing()

Break the pairing between a primary and secondary namespace.

abstract rx.Completable breakPairingAsync()

Break the pairing between a primary and secondary namespace.

abstract void failOver()

Perform fail over so that the secondary namespace becomes the primary.

abstract rx.Completable failOverAsync()

Perform fail over so that the secondary namespace becomes the primary.

abstract com.microsoft.azure.PagedList<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRules()
abstract rx.Observable<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRulesAsync()
abstract RoleDisasterRecovery namespaceRole()
abstract java.lang.String primaryNamespaceName()
abstract java.lang.String primaryNamespaceResourceGroupName()
abstract ProvisioningStateDR provisioningState()
abstract java.lang.String secondaryNamespaceId()

Method Details

breakPairing

public abstract void breakPairing()

Break the pairing between a primary and secondary namespace.

breakPairingAsync

public abstract Completable breakPairingAsync()

Break the pairing between a primary and secondary namespace.

Returns:

completable representing the pairing break action

failOver

public abstract void failOver()

Perform fail over so that the secondary namespace becomes the primary.

failOverAsync

public abstract Completable failOverAsync()

Perform fail over so that the secondary namespace becomes the primary.

Returns:

completable representing the fail-over action

listAuthorizationRules

public abstract PagedList listAuthorizationRules()

Returns:

the authorization rules for the event hub disaster recovery pairing

listAuthorizationRulesAsync

public abstract Observable listAuthorizationRulesAsync()

Returns:

the authorization rules for the event hub disaster recovery pairing

namespaceRole

public abstract RoleDisasterRecovery namespaceRole()

Returns:

the namespace role

primaryNamespaceName

public abstract String primaryNamespaceName()

Returns:

primary event hub namespace in the pairing

primaryNamespaceResourceGroupName

public abstract String primaryNamespaceResourceGroupName()

Returns:

primary event hub namespace resource group

provisioningState

public abstract ProvisioningStateDR provisioningState()

Returns:

provisioning state of the pairing

secondaryNamespaceId

public abstract String secondaryNamespaceId()

Returns:

secondary event hub namespace in the pairing

Applies to