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 PagedIterable<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRules()
abstract PagedFlux<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRulesAsync()
abstract RoleDisasterRecovery namespaceRole()
abstract String primaryNamespaceName()
abstract String primaryNamespaceResourceGroupName()
abstract ProvisioningStateDR provisioningState()
abstract String secondaryNamespaceId()

Method Details

breakPairing

public abstract void breakPairing()

Break the pairing between a primary and secondary namespace.

breakPairingAsync

public abstract Mono 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 Mono failOverAsync()

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

Returns:

completable representing the fail-over action

listAuthorizationRules

public abstract PagedIterable listAuthorizationRules()

Returns:

the authorization rules for the event hub disaster recovery pairing

listAuthorizationRulesAsync

public abstract PagedFlux 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