Partilhar via


PolicyAssignmentResource.GetAsync(CancellationToken) Método

Definição

Essa operação recupera uma única atribuição de política, considerando seu nome e o escopo em que foi criada.

  • Caminho da Solicitação/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • IdPolicyAssignments_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.PolicyAssignmentResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.PolicyAssignmentResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.PolicyAssignmentResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PolicyAssignmentResource))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a