Freigeben über


ElasticSanVolumeCollection Klasse

Definition

Eine Klasse, die eine Auflistung von und deren ElasticSanVolumeResource Vorgänge darstellt. Jedes ElasticSanVolumeResource in der Auflistung gehört zum gleichen instance von ElasticSanVolumeGroupResource. Um eine ElasticSanVolumeCollection instance rufen Sie die GetElasticSanVolumes-Methode aus einer instance von aufElasticSanVolumeGroupResource.

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

Konstruktoren

ElasticSanVolumeCollection()

Initialisiert eine neue instance der -Klasse für die ElasticSanVolumeCollection 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, ElasticSanVolumeData, CancellationToken)

Erstellen Sie ein Volume.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Vorgangs-IdVolumes_Create
CreateOrUpdateAsync(WaitUntil, String, ElasticSanVolumeData, CancellationToken)

Erstellen Sie ein Volume.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Vorgangs-IdVolumes_Create
Exists(String, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Vorgangs-IdVolumes_Get
ExistsAsync(String, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Vorgangs-IdVolumes_Get
Get(String, CancellationToken)

Rufen Sie ein Volume ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Vorgangs-IdVolumes_Get
GetAll(CancellationToken)

Auflisten von Volumes in einer VolumeGroup.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes
  • Vorgangs-IdVolumes_ListByVolumeGroup
GetAllAsync(CancellationToken)

Auflisten von Volumes in einer VolumeGroup.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes
  • Vorgangs-IdVolumes_ListByVolumeGroup
GetAsync(String, CancellationToken)

Rufen Sie ein Volume ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Vorgangs-IdVolumes_Get
GetIfExists(String, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Vorgangs-IdVolumes_Get
GetIfExistsAsync(String, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Vorgangs-IdVolumes_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<ElasticSanVolumeResource>.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<ElasticSanVolumeResource>.GetEnumerator()

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

Gilt für: