Share via


ElasticSanVolumeGroupCollection.GetAll Method

Definition

Overloads

GetAll(CancellationToken)

List VolumeGroups.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumeGroups
  • Operation Id: VolumeGroups_ListByElasticSan
  • Default Api Version: 2024-07-01-preview
  • Resource: ElasticSanVolumeGroupResource
GetAll(Nullable<ElasticSanAccessSoftDeletedVolume>, CancellationToken)

List VolumeGroups.

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

GetAll(CancellationToken)

Source:
ElasticSanVolumeGroupCollection.cs
Source:
ElasticSanVolumeGroupCollection.cs

List VolumeGroups.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumeGroups
  • Operation Id: VolumeGroups_ListByElasticSan
  • Default Api Version: 2024-07-01-preview
  • Resource: ElasticSanVolumeGroupResource
public virtual Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
public virtual Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource> GetAll(System.Threading.CancellationToken cancellationToken);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ElasticSanVolumeGroupResource)
Public Overridable Function GetAll (cancellationToken As CancellationToken) As Pageable(Of ElasticSanVolumeGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ElasticSanVolumeGroupResource that may take multiple service requests to iterate over.

Applies to

GetAll(Nullable<ElasticSanAccessSoftDeletedVolume>, CancellationToken)

Source:
ElasticSanVolumeGroupCollection.cs

List VolumeGroups.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumeGroups
  • Operation Id: VolumeGroups_ListByElasticSan
  • Default Api Version: 2024-07-01-preview
  • Resource: ElasticSanVolumeGroupResource
public virtual Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource> GetAll(Azure.ResourceManager.ElasticSan.Models.ElasticSanAccessSoftDeletedVolume? accessSoftDeletedResources = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<Azure.ResourceManager.ElasticSan.Models.ElasticSanAccessSoftDeletedVolume> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource>
override this.GetAll : Nullable<Azure.ResourceManager.ElasticSan.Models.ElasticSanAccessSoftDeletedVolume> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource>
Public Overridable Function GetAll (Optional accessSoftDeletedResources As Nullable(Of ElasticSanAccessSoftDeletedVolume) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ElasticSanVolumeGroupResource)

Parameters

accessSoftDeletedResources
Nullable<ElasticSanAccessSoftDeletedVolume>

Optional, returns only soft deleted volume groups if set to true. If set to false or if not specified, returns only active volume groups.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ElasticSanVolumeGroupResource that may take multiple service requests to iterate over.

Applies to