ElasticSanVolumeGroupCollection.GetAll Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetAll(CancellationToken) |
List VolumeGroups.
|
| GetAll(Nullable<ElasticSanAccessSoftDeletedVolume>, CancellationToken) |
List VolumeGroups.
|
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
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)
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.