Share via


FabricCapacityCollection Class

Definition

A class representing a collection of FabricCapacityResource and their operations. Each FabricCapacityResource in the collection will belong to the same instance of ResourceGroupResource. To get a FabricCapacityCollection instance call the GetFabricCapacities method from an instance of ResourceGroupResource.

public class FabricCapacityCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Fabric.FabricCapacityResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Fabric.FabricCapacityResource>
type FabricCapacityCollection = class
    inherit ArmCollection
    interface seq<FabricCapacityResource>
    interface IEnumerable
    interface IAsyncEnumerable<FabricCapacityResource>
Public Class FabricCapacityCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of FabricCapacityResource), IEnumerable(Of FabricCapacityResource)
Inheritance
FabricCapacityCollection
Implements

Constructors

FabricCapacityCollection()

Initializes a new instance of the FabricCapacityCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, FabricCapacityData, CancellationToken)

Create a FabricCapacity

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}
  • Operation Id: FabricCapacities_CreateOrUpdate
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
CreateOrUpdateAsync(WaitUntil, String, FabricCapacityData, CancellationToken)

Create a FabricCapacity

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}
  • Operation Id: FabricCapacities_CreateOrUpdate
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}
  • Operation Id: FabricCapacities_Get
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}
  • Operation Id: FabricCapacities_Get
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
Get(String, CancellationToken)

Get a FabricCapacity

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}
  • Operation Id: FabricCapacities_Get
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
GetAll(CancellationToken)

List FabricCapacity resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities
  • Operation Id: FabricCapacity_ListByResourceGroup
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
GetAllAsync(CancellationToken)

List FabricCapacity resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities
  • Operation Id: FabricCapacity_ListByResourceGroup
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
GetAsync(String, CancellationToken)

Get a FabricCapacity

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}
  • Operation Id: FabricCapacities_Get
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}
  • Operation Id: FabricCapacities_Get
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}
  • Operation Id: FabricCapacities_Get
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<FabricCapacityResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FabricCapacityResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to