Freigeben über


ElasticSanCollection.GetAsync(String, CancellationToken) Methode

Definition

Rufen Sie ein ElasticSan ab.

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

Parameter

elasticSanName
String

Der Name des ElasticSan.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

elasticSanName ist NULL.

Gilt für: