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

Definition

Gets lifetime summary statistics for all of the jobs in the current account.
Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.

public System.Threading.Tasks.Task<Microsoft.Azure.Batch.JobStatistics> GetAllLifetimeStatisticsAsync (System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = null, System.Threading.CancellationToken cancellationToken = null);
member this.GetAllLifetimeStatisticsAsync : seq<Microsoft.Azure.Batch.BatchClientBehavior> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.JobStatistics>

Parameters

additionalBehaviors
System.Collections.Generic.IEnumerable<BatchClientBehavior>

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

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken for controlling the lifetime of the asynchronous operation.

Returns

System.Threading.Tasks.Task<JobStatistics>

The aggregated job statistics.

Remarks

The get statistics operation runs asynchronously.

Applies to