PoolOperations.GetAllLifetimeStatisticsAsync(IEnumerable<BatchClientBehavior>, CancellationToken) Method

Definition

Gets lifetime summary statistics for all of the pools in the current account. Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.

public System.Threading.Tasks.Task<Microsoft.Azure.Batch.PoolStatistics> GetAllLifetimeStatisticsAsync (System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default, System.Threading.CancellationToken cancellationToken = default);
member this.GetAllLifetimeStatisticsAsync : seq<Microsoft.Azure.Batch.BatchClientBehavior> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.PoolStatistics>
Public Function GetAllLifetimeStatisticsAsync (Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = null, Optional cancellationToken As CancellationToken = null) As Task(Of PoolStatistics)

Parameters

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors.

cancellationToken
CancellationToken

A CancellationToken for controlling the lifetime of the asynchronous operation.

Returns

The aggregated pool statistics.

Remarks

The get statistics operation runs asynchronously.

Applies to