/// <summary>
 /// List all the performance tiers at specified location in a given
 /// subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='locationName'>
 /// The name of the location.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IEnumerable <PerformanceTierProperties> > ListAsync(this ILocationBasedPerformanceTierOperations operations, string locationName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(locationName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// List all the performance tiers at specified location in a given
 /// subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='locationName'>
 /// The name of the location.
 /// </param>
 public static IEnumerable <PerformanceTierProperties> List(this ILocationBasedPerformanceTierOperations operations, string locationName)
 {
     return(operations.ListAsync(locationName).GetAwaiter().GetResult());
 }