Partilhar via


TenantPolicyResource.GetAsync(CancellationToken) Método

Definição

Obtenha a política de locatário de assinatura para o locatário do usuário.

  • Caminho da Solicitação/provedores/Microsoft.Subscription/policies/default
  • IdSubscriptionPolicy_GetPolicyForTenant de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Subscription.TenantPolicyResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Subscription.TenantPolicyResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Subscription.TenantPolicyResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TenantPolicyResource))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a