SubscriptionAssessmentMetadataCollection.GetAll(CancellationToken) 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.Pageable<Azure.ResourceManager.SecurityCenter.SubscriptionAssessmentMetadataResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SubscriptionAssessmentMetadataResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SubscriptionAssessmentMetadataResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SubscriptionAssessmentMetadataResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to