Share via


FabricExtensions.GetFabricCapacitiesAsync Method

Definition

List FabricCapacity resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Fabric/capacities
  • Operation Id: FabricCapacity_ListBySubscription
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
public static Azure.AsyncPageable<Azure.ResourceManager.Fabric.FabricCapacityResource> GetFabricCapacitiesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetFabricCapacitiesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Fabric.FabricCapacityResource>
<Extension()>
Public Function GetFabricCapacitiesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FabricCapacityResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to