EventHubDisasterRecoveryPairing Interface
Implements
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<Disaster |
listAuthorizationRules() |
abstract
rx.Observable<Disaster |
listAuthorizationRulesAsync() |
abstract
Role |
namespaceRole() |
abstract java.lang.String | primaryNamespaceName() |
abstract java.lang.String | primaryNamespaceResourceGroupName() |
abstract
Provisioning |
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:
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:
listAuthorizationRules
public abstract PagedList
Returns:
listAuthorizationRulesAsync
public abstract Observable
Returns:
namespaceRole
public abstract RoleDisasterRecovery namespaceRole()
Returns:
primaryNamespaceName
public abstract String primaryNamespaceName()
Returns:
primaryNamespaceResourceGroupName
public abstract String primaryNamespaceResourceGroupName()
Returns:
provisioningState
public abstract ProvisioningStateDR provisioningState()
Returns:
secondaryNamespaceId
public abstract String secondaryNamespaceId()
Returns:
Applies to
Azure SDK for Java