AccountOperationsExtensions.ListPoolNodeCountsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET