Share via


PolicyRemediationCollection.GetAllAsync Method

Definition

Gets all remediations for a resource.

  • Request Path: /{resourceId}/providers/Microsoft.PolicyInsights/remediations
  • Operation Id: Remediations_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)

Parameters

policyQuerySettings
PolicyQuerySettings

Parameter group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of PolicyRemediationResource that may take multiple service requests to iterate over.

Applies to