Partilhar via


AuthorizationPolicyResourceFormatCollection.Get 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}
  • IdAuthorizationPolicies_Get de operação
public virtual Azure.Response<Azure.ResourceManager.CustomerInsights.AuthorizationPolicyResourceFormatResource> Get (string authorizationPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.AuthorizationPolicyResourceFormatResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.AuthorizationPolicyResourceFormatResource>
Public Overridable Function Get (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 era esperado que não estivesse vazio.

authorizationPolicyName é nulo.

Aplica-se a