TenantAssessmentMetadataCollection.GetAllAsync(CancellationToken) Method

Definition

Get metadata information on all assessment types

  • Request Path: /providers/Microsoft.Security/assessmentMetadata
  • Operation Id: AssessmentsMetadata_List
  • Default Api Version: 2021-06-01
  • Resource: TenantAssessmentMetadataResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.TenantAssessmentMetadataResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.TenantAssessmentMetadataResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.TenantAssessmentMetadataResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of TenantAssessmentMetadataResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to