Freigeben über


PolicyRemediationCollection.GetAllAsync Methode

Definition

Ruft alle Korrekturen für eine Ressource ab.

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

Parameter

policyQuerySettings
PolicyQuerySettings

Parametergruppe.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der PolicyRemediationResource mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Gilt für: