Dela via


PowerBIDedicatedExtensions.GetAutoScaleVCoresAsync Method

Definition

Lists all the auto scale v-cores for the given subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to