/// <summary> /// Provide the same data in the summary, but also include aggregated work item /// statistics, /// including counts at each stage in the pipeline /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='job'> /// Name of job /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <JobDetails> DetailsAsync(this IJob operations, string job, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.DetailsWithHttpMessagesAsync(job, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }