Partilhar via


PolicyRemediationResource.GetDeployments 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.Pageable<Azure.ResourceManager.PolicyInsights.Models.RemediationDeployment> GetDeployments (Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeployments : Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.RemediationDeployment>
override this.GetDeployments : Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.RemediationDeployment>
Public Overridable Function GetDeployments (Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RemediationDeployment)

Parâmetros

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a