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

AccountOperationsExtensions.ListPoolNodeCountsAsync 方法

定义

获取每个状态中按池分组的计算节点数。 请注意,返回的数字可能并不总是最新的。 如果需要确切的节点计数,请使用列表查询。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.PoolNodeCounts>> ListPoolNodeCountsAsync (this Microsoft.Azure.Batch.Protocol.IAccountOperations operations, Microsoft.Azure.Batch.Protocol.Models.AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListPoolNodeCountsAsync : Microsoft.Azure.Batch.Protocol.IAccountOperations * Microsoft.Azure.Batch.Protocol.Models.AccountListPoolNodeCountsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.PoolNodeCounts>>
<Extension()>
Public Function ListPoolNodeCountsAsync (operations As IAccountOperations, Optional accountListPoolNodeCountsOptions As AccountListPoolNodeCountsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PoolNodeCounts))

参数

operations
IAccountOperations

此扩展方法的操作组。

accountListPoolNodeCountsOptions
AccountListPoolNodeCountsOptions

操作的其他参数

cancellationToken
CancellationToken

取消标记。

返回

适用于