Dela via


IDisasterRecoveryPairingAuthorizationRules.ListByDisasterRecoveryPairingAsync Method

Definition

Lists the authorization rules that can be used to access the disaster recovery pairing.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Eventhub.Fluent.IDisasterRecoveryPairingAuthorizationRule>> ListByDisasterRecoveryPairingAsync (string resourceGroupName, string namespaceName, string pairingName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByDisasterRecoveryPairingAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Eventhub.Fluent.IDisasterRecoveryPairingAuthorizationRule>>
Public Function ListByDisasterRecoveryPairingAsync (resourceGroupName As String, namespaceName As String, pairingName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IDisasterRecoveryPairingAuthorizationRule))

Parameters

resourceGroupName
String

Resource group name.

namespaceName
String

Primary namespace name.

pairingName
String

Pairing name.

cancellationToken
CancellationToken

Returns

Applies to