Compartir a través de


WcfRelayResource.GetWcfRelayAuthorizationRuleAsync Método

Definición

Obtenga authorizationRule para una retransmisión WCF por nombre.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}
  • IdWCFRelays_GetAuthorizationRule de operación
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

Nombre de la regla de autorización.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

authorizationRuleName es una cadena vacía y se espera que no esté vacía.

authorizationRuleName es null.

Se aplica a