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()
Gets the authorization rules for the event hub disaster recovery pairing. |
abstract
Paged |
listAuthorizationRulesAsync()
Gets the authorization rules for the event hub disaster recovery pairing. |
abstract
Role |
namespaceRole()
Gets the namespace role. |
abstract String |
primaryNamespaceName()
Gets primary event hub namespace in the pairing. |
abstract String |
primaryNamespaceResourceGroupName()
Gets primary event hub namespace resource group. |
abstract
Provisioning |
provisioningState()
Gets provisioning state of the pairing. |
abstract String |
secondaryNamespaceId()
Gets secondary event hub namespace in the pairing. |
Method Details
breakPairing
public abstract void breakPairing()
Break the pairing between a primary and secondary namespace.
breakPairingAsync
public abstract Mono<Void> 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 Mono<Void> failOverAsync()
Perform fail over so that the secondary namespace becomes the primary.
Returns:
listAuthorizationRules
public abstract PagedIterable<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRules()
Gets the authorization rules for the event hub disaster recovery pairing.
Returns:
listAuthorizationRulesAsync
public abstract PagedFlux<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRulesAsync()
Gets the authorization rules for the event hub disaster recovery pairing.
Returns:
namespaceRole
public abstract RoleDisasterRecovery namespaceRole()
Gets the namespace role.
Returns:
primaryNamespaceName
public abstract String primaryNamespaceName()
Gets primary event hub namespace in the pairing.
Returns:
primaryNamespaceResourceGroupName
public abstract String primaryNamespaceResourceGroupName()
Gets primary event hub namespace resource group.
Returns:
provisioningState
public abstract ProvisioningStateDR provisioningState()
Gets provisioning state of the pairing.
Returns:
secondaryNamespaceId
public abstract String secondaryNamespaceId()
Gets secondary event hub namespace in the pairing.
Returns: