Dela via


PowerBIDedicatedExtensions.GetSkusCapacitiesAsync Method

Definition

Lists eligible SKUs for PowerBI Dedicated resource provider.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/skus
  • Operation Id: Capacities_ListSkus
public static Azure.AsyncPageable<Azure.ResourceManager.PowerBIDedicated.Models.CapacitySku> GetSkusCapacitiesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSkusCapacitiesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PowerBIDedicated.Models.CapacitySku>
<Extension()>
Public Function GetSkusCapacitiesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CapacitySku)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to