IEventHubDisasterRecoveryPairing Interface

Definition

Type representing disaster recovery pairing for event hub namespaces.

public interface IEventHubDisasterRecoveryPairing : Microsoft.Azure.Management.Eventhub.Fluent.INestedResource, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.EventHub.Fluent.Models.ArmDisasterRecoveryInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.EventHub.Fluent.IEventHubManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IIndexable, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubDisasterRecoveryPairing>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Eventhub.Fluent.EventHubDisasterRecoveryPairing.Update.IUpdate>
type IEventHubDisasterRecoveryPairing = interface
    interface IBeta
    interface INestedResource
    interface IIndexable
    interface IHasId
    interface IHasManager<IEventHubManager>
    interface IRefreshable<IEventHubDisasterRecoveryPairing>
    interface IUpdatable<IUpdate>
    interface IHasInner<ArmDisasterRecoveryInner>
Public Interface IEventHubDisasterRecoveryPairing
Implements IBeta, IHasId, IHasInner(Of ArmDisasterRecoveryInner), IHasManager(Of IEventHubManager), IIndexable, INestedResource, IRefreshable(Of IEventHubDisasterRecoveryPairing), IUpdatable(Of IUpdate)
Implements

Properties

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
Name

Gets the resource name.

(Inherited from INestedResource)
NamespaceRole

Gets the namespace role.

PrimaryNamespaceName

Gets primary event hub namespace in the pairing.

PrimaryNamespaceResourceGroupName

Gets primary event hub namespace resource group.

ProvisioningState

Gets provisioning state of the pairing.

SecondaryNamespaceId

Gets secondary event hub namespace in the pairing.

Type

Gets the resource type.

(Inherited from INestedResource)

Methods

BreakPairing()

Break the pairing between a primary and secondary namespace.

BreakPairingAsync(CancellationToken)

Break the pairing between a primary and secondary namespace.

FailOver()

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

FailOverAsync(CancellationToken)

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

ListAuthorizationRules()
ListAuthorizationRulesAsync(CancellationToken)
Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Update() (Inherited from IUpdatable<T>)

Applies to