Partilhar via


SubscriptionPolicyDefinitionResource.GetAsync(CancellationToken) Método

Definição

Essa operação recupera a definição de política na assinatura fornecida com o nome fornecido.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
  • Operação IdPolicyDefinitions_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.SubscriptionPolicyDefinitionResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.SubscriptionPolicyDefinitionResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.SubscriptionPolicyDefinitionResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionPolicyDefinitionResource))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a