/// <summary> /// Return trial status for subscription by region /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='location'> /// Azure region /// </param> public static Trial CheckTrialAvailability(this ILocationsOperations operations, string location) { return(operations.CheckTrialAvailabilityAsync(location).GetAwaiter().GetResult()); }