Freigeben über


ElasticSanVolumeGroupResource.GetElasticSanSnapshotAsync Methode

Definition

Abrufen einer Volumemomentaufnahme.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}
  • Vorgangs-IdVolumeSnapshots_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>> GetElasticSanSnapshotAsync (string snapshotName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetElasticSanSnapshotAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>>
override this.GetElasticSanSnapshotAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>>
Public Overridable Function GetElasticSanSnapshotAsync (snapshotName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ElasticSanSnapshotResource))

Parameter

snapshotName
String

Der Name des Volumes Momentaufnahme innerhalb der angegebenen Volumegruppe.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

snapshotName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

snapshotName ist NULL.

Gilt für: