Freigeben über


PolicyRemediationResource.GetDeploymentsAsync Methode

Definition

Ruft alle Bereitstellungen für eine Wartung im Ressourcenbereich ab.

  • Anforderungspfad/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments
  • Vorgangs-IdRemediations_ListDeploymentsAtResource
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)

Parameter

policyQuerySettings
PolicyQuerySettings

Parametergruppe.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von RemediationDeployment , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: