Share via


SecurityComplianceCollection.GetAllAsync(CancellationToken) Method

Definition

The Compliance scores of the specific management group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to