Compartir a través de


ServiceBusDisasterRecoveryResource.GetServiceBusDisasterRecoveryAuthorizationRuleAsync Método

Definición

Obtiene una regla de autorización para un espacio de nombres por nombre de regla.

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

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