Compartilhar via


HubResource.GetAuthorizationPolicyResourceFormat Método

Definição

Obtém uma política de autorização no hub.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}
  • Operação IdAuthorizationPolicies_Get
public virtual Azure.Response<Azure.ResourceManager.CustomerInsights.AuthorizationPolicyResourceFormatResource> GetAuthorizationPolicyResourceFormat (string authorizationPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAuthorizationPolicyResourceFormat : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.AuthorizationPolicyResourceFormatResource>
override this.GetAuthorizationPolicyResourceFormat : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.AuthorizationPolicyResourceFormatResource>
Public Overridable Function GetAuthorizationPolicyResourceFormat (authorizationPolicyName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AuthorizationPolicyResourceFormatResource)

Parâmetros

authorizationPolicyName
String

O nome da política.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

authorizationPolicyName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

authorizationPolicyName é nulo.

Aplica-se a