Compartir a través de


ServiceBusTopicResource.GetServiceBusTopicAuthorizationRule Método

Definición

Devuelve la regla de autorización especificada.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}
  • IdTopicAuthorizationRules_Get de operación
public virtual Azure.Response<Azure.ResourceManager.ServiceBus.ServiceBusTopicAuthorizationRuleResource> GetServiceBusTopicAuthorizationRule (string authorizationRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceBusTopicAuthorizationRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.ServiceBusTopicAuthorizationRuleResource>
override this.GetServiceBusTopicAuthorizationRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.ServiceBusTopicAuthorizationRuleResource>
Public Overridable Function GetServiceBusTopicAuthorizationRule (authorizationRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceBusTopicAuthorizationRuleResource)

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