EventHubDisasterRecoveryPairing Interface
Implements
public interface EventHubDisasterRecoveryPairing
extends NestedResource, HasManager<EventHubsManager>, Refreshable<EventHubDisasterRecoveryPairing>, Updatable<Update>, HasInnerModel<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 Mono<Void> |
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 Mono<Void> |
failOverAsync()
Perform fail over so that the secondary namespace becomes the primary. |
abstract
Paged |
listAuthorizationRules() |
abstract
Paged |
listAuthorizationRulesAsync() |
abstract
Role |
namespaceRole() |
abstract String | primaryNamespaceName() |
abstract String | primaryNamespaceResourceGroupName() |
abstract
Provisioning |
provisioningState() |
abstract String | secondaryNamespaceId() |
Method Details
breakPairing
public abstract void breakPairing()
Break the pairing between a primary and secondary namespace.
breakPairingAsync
public abstract Mono
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 Mono
Perform fail over so that the secondary namespace becomes the primary.
Returns:
listAuthorizationRules
public abstract PagedIterable
Returns:
listAuthorizationRulesAsync
public abstract PagedFlux
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