Share via


ElasticSanSnapshotCollection.GetAll(String, CancellationToken) Method

Definition

List Snapshots in a VolumeGroup or List Snapshots by Volume (name) in a VolumeGroup using filter

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots
  • Operation Id: VolumeSnapshots_ListByVolumeGroup
  • Default Api Version: 2023-01-01
  • Resource: ElasticSanSnapshotResource
public virtual Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource> GetAll (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ElasticSanSnapshotResource)

Parameters

filter
String

Specify $filter='volumeName eq <volume name>' to filter on volume.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to