Share via


MockableFabricSubscriptionResource.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 virtual Azure.AsyncPageable<Azure.ResourceManager.Fabric.FabricCapacityResource> GetFabricCapacitiesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetFabricCapacitiesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Fabric.FabricCapacityResource>
override this.GetFabricCapacitiesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Fabric.FabricCapacityResource>
Public Overridable Function GetFabricCapacitiesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FabricCapacityResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to