Share via


SubscriptionAssessmentMetadataCollection.GetAllAsync Method

Definition

Get metadata information on all assessment types in a specific subscription

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to