다음을 통해 공유


PowerBIDedicatedExtensions.GetDedicatedCapacities Method

Definition

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/capacities
  • Operation Id: Capacities_List

GetDedicatedCapacities(ResourceGroupResource)

Source:
PowerBIDedicatedExtensions.cs

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)

Source:
PowerBIDedicatedExtensions.cs

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.

Applies to