Compartir a través de


RelayNamespaceResource.GetRelayNamespaceAuthorizationRuleAsync Método

Definición

Regla de autorización para un espacio de nombres por nombre.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
  • IdNamespaces_GetAuthorizationRule de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayNamespaceAuthorizationRuleResource>> GetRelayNamespaceAuthorizationRuleAsync (string authorizationRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRelayNamespaceAuthorizationRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayNamespaceAuthorizationRuleResource>>
override this.GetRelayNamespaceAuthorizationRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayNamespaceAuthorizationRuleResource>>
Public Overridable Function GetRelayNamespaceAuthorizationRuleAsync (authorizationRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RelayNamespaceAuthorizationRuleResource))

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 esperaba que no estuviera vacía.

authorizationRuleName es null.

Se aplica a