Share via


NetAppSubvolumeInfoCollection Class

Definition

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

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

Constructors

NetAppSubvolumeInfoCollection()

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

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}
  • Operation Id: Subvolumes_Create
  • Default Api Version: 2024-07-01
  • Resource: NetAppSubvolumeInfoResource
CreateOrUpdateAsync(WaitUntil, String, NetAppSubvolumeInfoData, CancellationToken)

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath

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

Returns the path associated with the subvolumeName provided

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

Returns a list of the subvolumes in the volume

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

Returns a list of the subvolumes in the volume

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

Returns the path associated with the subvolumeName provided

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetAppSubvolumeInfoResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to