Freigeben über


BatchAccountResource.GetBatchAccountPool(String, CancellationToken) Methode

Definition

Ruft Informationen zum angegebenen Pool ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • Vorgang IdPool_Get
public virtual Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource> GetBatchAccountPool (string poolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBatchAccountPool : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>
override this.GetBatchAccountPool : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>
Public Overridable Function GetBatchAccountPool (poolName As String, Optional cancellationToken As CancellationToken = Nothing) As 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: