Freigeben über


ElasticSanSnapshotCollection.GetAllAsync(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.AsyncPageable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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 asynchrone Sammlung von, bei der ElasticSanSnapshotResource mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Gilt für: