Partager via


ElasticSanVolumeGroupCollection Class

Definition

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

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

Constructors

ElasticSanVolumeGroupCollection()

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

Create a Volume Group.

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

Create a Volume Group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}
  • Operation Id: VolumeGroups_Create
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeGroupResource
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}
  • Operation Id: VolumeGroups_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeGroupResource
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}
  • Operation Id: VolumeGroups_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanVolumeGroupResource
Get(String, CancellationToken)

Get an VolumeGroups.

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

List VolumeGroups.

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

List VolumeGroups.

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

Get an VolumeGroups.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ElasticSanVolumeGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to