Condividi tramite


AccountOperationsExtensions.ListPoolNodeCountsAsync Method

Definition

Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.

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))

Parameters

operations
IAccountOperations

The operations group for this extension method.

accountListPoolNodeCountsOptions
AccountListPoolNodeCountsOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to