共用方式為


ElasticSanVolumeCollection Class

Definition

A class representing a collection of ElasticSanVolumeResource and their operations. Each ElasticSanVolumeResource in the collection will belong to the same instance of ElasticSanVolumeGroupResource. To get an ElasticSanVolumeCollection instance call the GetElasticSanVolumes method from an instance of ElasticSanVolumeGroupResource.

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

Constructors

ElasticSanVolumeCollection()

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

Create a Volume.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Operation Id: Volumes_Create
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeResource
CreateOrUpdateAsync(WaitUntil, String, ElasticSanVolumeData, CancellationToken)

Create a Volume.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Operation Id: Volumes_Create
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Operation Id: Volumes_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Operation Id: Volumes_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeResource
Get(String, CancellationToken)

Get an Volume.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Operation Id: Volumes_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeResource
GetAll(CancellationToken)

List Volumes in a VolumeGroup.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes
  • Operation Id: Volumes_ListByVolumeGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeResource
GetAllAsync(CancellationToken)

List Volumes in a VolumeGroup.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes
  • Operation Id: Volumes_ListByVolumeGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeResource
GetAsync(String, CancellationToken)

Get an Volume.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Operation Id: Volumes_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Operation Id: Volumes_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Operation Id: Volumes_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeResource
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<ElasticSanVolumeResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ElasticSanVolumeResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to