FabricExtensions.GetFabricCapacities Method

Definition

Overloads

GetFabricCapacities(ResourceGroupResource)

Gets a collection of FabricCapacityResources in the ResourceGroupResource. MockingTo mock this method, please mock GetFabricCapacities() instead.

GetFabricCapacities(SubscriptionResource, CancellationToken)

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

GetFabricCapacities(ResourceGroupResource)

Source:
FabricExtensions.cs

Gets a collection of FabricCapacityResources in the ResourceGroupResource. MockingTo mock this method, please mock GetFabricCapacities() instead.

public static Azure.ResourceManager.Fabric.FabricCapacityCollection GetFabricCapacities (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetFabricCapacities : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Fabric.FabricCapacityCollection
<Extension()>
Public Function GetFabricCapacities (resourceGroupResource As ResourceGroupResource) As FabricCapacityCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of FabricCapacityResources and their operations over a FabricCapacityResource.

Exceptions

resourceGroupResource is null.

Applies to

GetFabricCapacities(SubscriptionResource, CancellationToken)

Source:
FabricExtensions.cs

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.Pageable<Azure.ResourceManager.Fabric.FabricCapacityResource> GetFabricCapacities (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetFabricCapacities : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Fabric.FabricCapacityResource>
<Extension()>
Public Function GetFabricCapacities (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of FabricCapacityResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to