Partager via


BatchAccountResource.GetBatchAccountPool(String, CancellationToken) Méthode

Définition

Obtient des informations sur le pool spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • IdPool_Get d’opération
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)

Paramètres

poolName
String

Nom du pool. Il doit être unique au sein du compte.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

poolName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

poolName a la valeur null.

S’applique à