/// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='azureRegion'>
 /// Azure region to hit Api
 /// </param>
 /// <param name='operationId'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <OperationStatus> GetAsync(this ICrrOperationStatusOperations operations, string azureRegion, string operationId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(azureRegion, operationId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='azureRegion'>
 /// Azure region to hit Api
 /// </param>
 /// <param name='operationId'>
 /// </param>
 public static OperationStatus Get(this ICrrOperationStatusOperations operations, string azureRegion, string operationId)
 {
     return(operations.GetAsync(azureRegion, operationId).GetAwaiter().GetResult());
 }