Compartir a través de


HubResource.GetAuthorizationPolicyResourceFormatAsync Método

Definición

Obtiene una directiva de autorización en el centro.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}
  • IdAuthorizationPolicies_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.AuthorizationPolicyResourceFormatResource>> GetAuthorizationPolicyResourceFormatAsync (string authorizationPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAuthorizationPolicyResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.AuthorizationPolicyResourceFormatResource>>
override this.GetAuthorizationPolicyResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.AuthorizationPolicyResourceFormatResource>>
Public Overridable Function GetAuthorizationPolicyResourceFormatAsync (authorizationPolicyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AuthorizationPolicyResourceFormatResource))

Parámetros

authorizationPolicyName
String

El nombre de la directiva.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

authorizationPolicyName es null.

Se aplica a