Freigeben über


ElasticSanSnapshotCollection.GetAll(String, CancellationToken) Methode

Definition

Auflisten von Momentaufnahmen in einer VolumeGruppe oder Auflisten von Momentaufnahmen nach Volume (Name) in einer VolumeGroup mithilfe des Filters

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots
  • Vorgang IdVolumeSnapshots_ListByVolumeGroup
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)

Parameter

filter
String

Geben Sie $filter='volumeName eq <volume name>' an, um nach Volume zu filtern.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von, bei der ElasticSanSnapshotResource möglicherweise mehrere Dienstanforderungen zum Durchlaufen verwendet werden.

Gilt für: