NetAppVolumeCollection Class

Definition

A class representing a collection of NetAppVolumeResource and their operations. Each NetAppVolumeResource in the collection will belong to the same instance of CapacityPoolResource. To get a NetAppVolumeCollection instance call the GetNetAppVolumes method from an instance of CapacityPoolResource.

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

Constructors

NetAppVolumeCollection()

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

Create or update the specified volume within the capacity pool

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

Create or update the specified volume within the capacity pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}
  • Operation Id: Volumes_CreateOrUpdate
  • Default Api Version: 2023-07-01
  • Resource: NetAppVolumeResource
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}/volumes/{volumeName}
  • Operation Id: Volumes_Get
  • Default Api Version: 2023-07-01
  • Resource: NetAppVolumeResource
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}/volumes/{volumeName}
  • Operation Id: Volumes_Get
  • Default Api Version: 2023-07-01
  • Resource: NetAppVolumeResource
Get(String, CancellationToken)

Get the details of the specified volume

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

List all volumes within the capacity pool

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

List all volumes within the capacity pool

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

Get the details of the specified volume

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetAppVolumeResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to