Partilhar via


PolicyRemediationCollection.GetAllAsync Método

Definição

Obtém todas as correções de um recurso.

  • Caminho da Solicitação/{resourceId}/providers/Microsoft.PolicyInsights/remediations
  • Operação IdRemediations_ListForResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.PolicyRemediationResource> GetAllAsync (Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.PolicyRemediationResource>
override this.GetAllAsync : Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.PolicyRemediationResource>
Public Overridable Function GetAllAsync (Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PolicyRemediationResource)

Parâmetros

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de PolicyRemediationResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a