次の方法で共有


ServiceBusDisasterRecoveryResource.GetServiceBusDisasterRecoveryAuthorizationRuleAsync メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}
  • 操作IdDisasterRecoveryAuthorizationRules_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryAuthorizationRuleResource>> GetServiceBusDisasterRecoveryAuthorizationRuleAsync (string authorizationRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceBusDisasterRecoveryAuthorizationRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryAuthorizationRuleResource>>
override this.GetServiceBusDisasterRecoveryAuthorizationRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryAuthorizationRuleResource>>
Public Overridable Function GetServiceBusDisasterRecoveryAuthorizationRuleAsync (authorizationRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceBusDisasterRecoveryAuthorizationRuleResource))

パラメーター

authorizationRuleName
String

承認規則の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

authorizationRuleName が null です。

適用対象