次の方法で共有


EventHubsDisasterRecoveryResource.GetEventHubsDisasterRecoveryAuthorizationRuleAsync メソッド

定義

規則名で名前空間の AuthorizationRule を取得します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}
  • 操作IdDisasterRecoveryConfigs_GetAuthorizationRule
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.EventHubsDisasterRecoveryAuthorizationRuleResource>> GetEventHubsDisasterRecoveryAuthorizationRuleAsync (string authorizationRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventHubsDisasterRecoveryAuthorizationRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.EventHubsDisasterRecoveryAuthorizationRuleResource>>
override this.GetEventHubsDisasterRecoveryAuthorizationRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.EventHubsDisasterRecoveryAuthorizationRuleResource>>
Public Overridable Function GetEventHubsDisasterRecoveryAuthorizationRuleAsync (authorizationRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EventHubsDisasterRecoveryAuthorizationRuleResource))

パラメーター

authorizationRuleName
String

承認規則の名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

authorizationRuleName は空の文字列であり、空でないと想定されていました。

authorizationRuleName が null です。

適用対象