Freigeben über


CapacityPoolCollection Class

Definition

A class representing a collection of CapacityPoolResource and their operations. Each CapacityPoolResource in the collection will belong to the same instance of Azure.ResourceManager.NetApp.NetAppAccountResource. To get a CapacityPoolCollection instance call the GetCapacityPools method from an instance of Azure.ResourceManager.NetApp.NetAppAccountResource.

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

Constructors

CapacityPoolCollection()

Initializes a new instance of the CapacityPoolCollection 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, CapacityPoolData, CancellationToken)

Create or Update a capacity pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}
  • Operation Id: Pools_CreateOrUpdate
  • Default Api Version: 2023-07-01
  • Resource: CapacityPoolResource
CreateOrUpdateAsync(WaitUntil, String, CapacityPoolData, CancellationToken)

Create or Update a capacity pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}
  • Operation Id: Pools_CreateOrUpdate
  • Default Api Version: 2023-07-01
  • Resource: CapacityPoolResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}
  • Operation Id: Pools_Get
  • Default Api Version: 2023-07-01
  • Resource: CapacityPoolResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}
  • Operation Id: Pools_Get
  • Default Api Version: 2023-07-01
  • Resource: CapacityPoolResource
Get(String, CancellationToken)

Get details of the specified capacity pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}
  • Operation Id: Pools_Get
  • Default Api Version: 2023-07-01
  • Resource: CapacityPoolResource
GetAll(CancellationToken)

List all capacity pools in the NetApp Account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools
  • Operation Id: Pools_List
  • Default Api Version: 2023-07-01
  • Resource: CapacityPoolResource
GetAllAsync(CancellationToken)

List all capacity pools in the NetApp Account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools
  • Operation Id: Pools_List
  • Default Api Version: 2023-07-01
  • Resource: CapacityPoolResource
GetAsync(String, CancellationToken)

Get details of the specified capacity pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}
  • Operation Id: Pools_Get
  • Default Api Version: 2023-07-01
  • Resource: CapacityPoolResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}
  • Operation Id: Pools_Get
  • Default Api Version: 2023-07-01
  • Resource: CapacityPoolResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}
  • Operation Id: Pools_Get
  • Default Api Version: 2023-07-01
  • Resource: CapacityPoolResource
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<CapacityPoolResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CapacityPoolResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to