Partager via


PolicyRemediationResource.GetDeploymentsAsync Méthode

Définition

Obtient tous les déploiements d’une correction au niveau de l’étendue des ressources.

  • Chemin de la requête/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments
  • IdRemediations_ListDeploymentsAtResource d’opération
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)

Paramètres

policyQuerySettings
PolicyQuerySettings

Groupe de paramètres.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection asynchrone de qui peut nécessiter plusieurs demandes de RemediationDeployment service pour itérer.

S’applique à