Share via


MockablePowerBIDedicatedSubscriptionResource.GetDedicatedCapacitiesAsync Method

Definition

Lists all the Dedicated capacities for the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/capacities
  • Operation Id: Capacities_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityResource> GetDedicatedCapacitiesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDedicatedCapacitiesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityResource>
override this.GetDedicatedCapacitiesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityResource>
Public Overridable Function GetDedicatedCapacitiesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DedicatedCapacityResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to