Compartir a través de


WcfRelayResource.GetWcfRelayAuthorizationRule 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 Azure.Response<Azure.ResourceManager.Relay.WcfRelayAuthorizationRuleResource> GetWcfRelayAuthorizationRule (string authorizationRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWcfRelayAuthorizationRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Relay.WcfRelayAuthorizationRuleResource>
override this.GetWcfRelayAuthorizationRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Relay.WcfRelayAuthorizationRuleResource>
Public Overridable Function GetWcfRelayAuthorizationRule (authorizationRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As 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