Freigeben über


ElasticSanVolumeGroupCollection.GetIfExists(String, CancellationToken) Methode

Definition

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}
  • Vorgang IdVolumeGroups_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource> GetIfExists (string volumeGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource>
Public Overridable Function GetIfExists (volumeGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ElasticSanVolumeGroupResource)

Parameter

volumeGroupName
String

Der Name der VolumeGroup.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

volumeGroupName ist NULL.

Gilt für: