Freigeben über


BatchAccountPoolCollection.GetAsync(String, CancellationToken) Methode

Definition

Ruft Informationen zum angegebenen Pool ab.

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

Parameter

poolName
String

Der Poolname. Dies muss innerhalb des Kontos eindeutig sein.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

poolName ist NULL.

Gilt für: