Partilhar via


WcfRelayResource.GetWcfRelayAuthorizationRuleAsync Método

Definição

Obtenha authorizationRule para uma retransmissão do WCF por nome.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}
  • Operação IdWCFRelays_GetAuthorizationRule
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.WcfRelayAuthorizationRuleResource>> GetWcfRelayAuthorizationRuleAsync (string authorizationRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWcfRelayAuthorizationRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.WcfRelayAuthorizationRuleResource>>
override this.GetWcfRelayAuthorizationRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.WcfRelayAuthorizationRuleResource>>
Public Overridable Function GetWcfRelayAuthorizationRuleAsync (authorizationRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WcfRelayAuthorizationRuleResource))

Parâmetros

authorizationRuleName
String

O nome da regra de autorização.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

authorizationRuleName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

authorizationRuleName é nulo.

Aplica-se a