/// <summary>
 /// List the status of operation.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// The region name which the operation will lookup into.
 /// </param>
 /// <param name='operationId'>
 /// The target operation Id.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <OperationStatus> ListOperationStatusesAsync(this IServersOperations operations, string location, string operationId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListOperationStatusesWithHttpMessagesAsync(location, operationId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }