PowerBIDedicatedExtensions.GetDedicatedCapacities 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
GetDedicatedCapacities(ResourceGroupResource) |
Gets a collection of DedicatedCapacityResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDedicatedCapacities() instead. |
GetDedicatedCapacities(SubscriptionResource, CancellationToken) |
Lists all the Dedicated capacities for the given subscription.
|
GetDedicatedCapacities(ResourceGroupResource)
Gets a collection of DedicatedCapacityResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDedicatedCapacities() instead.
public static Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityCollection GetDedicatedCapacities (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDedicatedCapacities : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityCollection
<Extension()>
Public Function GetDedicatedCapacities (resourceGroupResource As ResourceGroupResource) As DedicatedCapacityCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of DedicatedCapacityResources and their operations over a DedicatedCapacityResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetDedicatedCapacities(SubscriptionResource, CancellationToken)
Lists all the Dedicated capacities for the given subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/capacities
- Operation Id: Capacities_List
public static Azure.Pageable<Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityResource> GetDedicatedCapacities (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDedicatedCapacities : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityResource>
<Extension()>
Public Function GetDedicatedCapacities (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DedicatedCapacityResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of DedicatedCapacityResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.