Partilhar via


PolicyRemediationResource.GetDeploymentsAsync Método

Definição

Obtém todas as implantações para uma correção no escopo do recurso.

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

Parâmetros

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a