Share via


ComplianceResultCollection.GetAllAsync(CancellationToken) Method

Definition

Security compliance results in the subscription

  • Request Path: /{scope}/providers/Microsoft.Security/complianceResults
  • Operation Id: ComplianceResults_List
  • Default Api Version: 2017-08-01
  • Resource: ComplianceResultResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.ComplianceResultResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.ComplianceResultResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.ComplianceResultResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ComplianceResultResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to