Freigeben über


WorkloadImpactCollection.GetAllAsync(CancellationToken) Method

Definition

List WorkloadImpact resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Impact/workloadImpacts
  • Operation Id: WorkloadImpact_ListBySubscription
  • Default Api Version: 2024-05-01-preview
  • Resource: WorkloadImpactResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ImpactReporting.WorkloadImpactResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ImpactReporting.WorkloadImpactResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ImpactReporting.WorkloadImpactResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WorkloadImpactResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to