Freigeben über


ElasticSanSnapshotCollection Klasse

Definition

Eine Klasse, die eine Auflistung von und deren ElasticSanSnapshotResource Vorgänge darstellt. Jedes ElasticSanSnapshotResource in der Auflistung gehört zum gleichen instance von ElasticSanVolumeGroupResource. Um einen ElasticSanSnapshotCollection instance rufen Sie die GetElasticSanSnapshots-Methode aus einer instance von ElasticSanVolumeGroupResourceauf.

public class ElasticSanSnapshotCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ElasticSan.ElasticSanSnapshotResource>
type ElasticSanSnapshotCollection = class
    inherit ArmCollection
    interface seq<ElasticSanSnapshotResource>
    interface IEnumerable
    interface IAsyncEnumerable<ElasticSanSnapshotResource>
Public Class ElasticSanSnapshotCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ElasticSanSnapshotResource), IEnumerable(Of ElasticSanSnapshotResource)
Vererbung
ElasticSanSnapshotCollection
Implementiert

Konstruktoren

ElasticSanSnapshotCollection()

Initialisiert eine neue instance der -Klasse für die ElasticSanSnapshotCollection Simulation.

Eigenschaften

Client

Ruft den ArmClient ab, aus dem dieser Ressourcenclient erstellt wurde.

(Geerbt von ArmCollection)
Diagnostics

Ruft die Diagnoseoptionen für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Endpoint

Ruft den Basis-URI für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Id

Ruft den Ressourcenbezeichner ab.

(Geerbt von ArmCollection)
Pipeline

Ruft die Pipeline für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)

Methoden

CreateOrUpdate(WaitUntil, String, ElasticSanSnapshotData, CancellationToken)

Erstellen Sie eine Volumemomentaufnahme.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}
  • Vorgangs-IdVolumeSnapshots_Create
CreateOrUpdateAsync(WaitUntil, String, ElasticSanSnapshotData, CancellationToken)

Erstellen Sie eine Volumemomentaufnahme.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}
  • Vorgangs-IdVolumeSnapshots_Create
Exists(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}
  • Vorgangs-IdVolumeSnapshots_Get
ExistsAsync(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}
  • Vorgangs-IdVolumeSnapshots_Get
Get(String, CancellationToken)

Abrufen einer Volumemomentaufnahme.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}
  • Vorgangs-IdVolumeSnapshots_Get
GetAll(String, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots
  • Vorgangs-IdVolumeSnapshots_ListByVolumeGroup
GetAllAsync(String, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots
  • Vorgangs-IdVolumeSnapshots_ListByVolumeGroup
GetAsync(String, CancellationToken)

Abrufen einer Volumemomentaufnahme.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}
  • Vorgangs-IdVolumeSnapshots_Get
GetIfExists(String, CancellationToken)

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}
  • Vorgangs-IdVolumeSnapshots_Get
GetIfExistsAsync(String, CancellationToken)

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}
  • Vorgangs-IdVolumeSnapshots_Get
TryGetApiVersion(ResourceType, String)

Ruft die API-Version außer Kraft, wenn sie für die aktuellen Clientoptionen festgelegt wurde.

(Geerbt von ArmCollection)

Explizite Schnittstellenimplementierungen

IAsyncEnumerable<ElasticSanSnapshotResource>.GetAsyncEnumerator(CancellationToken)

Gibt einen Enumerator zurück, der die Sammlung asynchron durchläuft.

IEnumerable.GetEnumerator()

Gibt einen Enumerator zurück, der eine Auflistung durchläuft.

IEnumerable<ElasticSanSnapshotResource>.GetEnumerator()

Gibt einen Enumerator zurück, der die Auflistung durchläuft.

Gilt für: