你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BatchAccountResource.GetBatchAccountPool(String, CancellationToken) 方法

定义

获取有关指定池的信息。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • 操作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)

参数

poolName
String

池名称。 这在帐户中必须是唯一的。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

poolName 是一个空字符串,预期为非空。

poolName 为 null。

适用于