/// <summary>
 /// Get the async operation status.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// The Azure location (region) for which to make the request.
 /// </param>
 /// <param name='operationId'>
 /// The long running operation id.
 /// </param>
 public static AsyncOperationResult GetAzureAsyncOperationStatus(this ILocationsOperations operations, string location, string operationId)
 {
     return(operations.GetAzureAsyncOperationStatusAsync(location, operationId).GetAwaiter().GetResult());
 }