PowerBIDedicatedExtensions.GetAutoScaleVCores Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAutoScaleVCores(ResourceGroupResource) |
Gets a collection of AutoScaleVCoreResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAutoScaleVCores() instead. |
GetAutoScaleVCores(SubscriptionResource, CancellationToken) |
Lists all the auto scale v-cores for the given subscription.
|
GetAutoScaleVCores(ResourceGroupResource)
Gets a collection of AutoScaleVCoreResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAutoScaleVCores() instead.
public static Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreCollection GetAutoScaleVCores (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAutoScaleVCores : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreCollection
<Extension()>
Public Function GetAutoScaleVCores (resourceGroupResource As ResourceGroupResource) As AutoScaleVCoreCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of AutoScaleVCoreResources and their operations over a AutoScaleVCoreResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetAutoScaleVCores(SubscriptionResource, CancellationToken)
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.Pageable<Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreResource> GetAutoScaleVCores (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAutoScaleVCores : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreResource>
<Extension()>
Public Function GetAutoScaleVCores (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AutoScaleVCoreResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of AutoScaleVCoreResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.