Exemplo n.º 1
0
 /// <summary>
 /// Gets lifetime summary statistics for all of the jobs in the specified
 /// account.
 /// </summary>
 /// <remarks>
 /// Statistics are aggregated across all jobs that have ever existed in the
 /// account, from account creation to the last update time of the statistics.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='jobGetAllJobsLifetimeStatisticsOptions'>
 /// Additional parameters for the operation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task <JobStatistics> GetAllJobsLifetimeStatisticsAsync(this IJobOperations operations, JobGetAllJobsLifetimeStatisticsOptions jobGetAllJobsLifetimeStatisticsOptions = default(JobGetAllJobsLifetimeStatisticsOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetAllJobsLifetimeStatisticsWithHttpMessagesAsync(jobGetAllJobsLifetimeStatisticsOptions, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }