/// <summary> /// Gets details of a specific long running operation. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='operationId'> /// Operation id. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Operation> GetDetailsAsync(this IOperations operations, string operationId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetDetailsWithHttpMessagesAsync(operationId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }