/// <summary> /// Get a list of all AzureStack location. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static IPage <Location> List(this ILocationsOperations operations) { return(operations.ListAsync().GetAwaiter().GetResult()); }