/// <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> public static OperationStatus ListOperationStatuses(this IServersOperations operations, string location, string operationId) { return(operations.ListOperationStatusesAsync(location, operationId).GetAwaiter().GetResult()); }