MockableMySqlSubscriptionResource.GetLocationBasedPerformanceTiers Method

Definition

List all the performance tiers at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/performanceTiers
  • Operation Id: LocationBasedPerformanceTier_List
  • Default Api Version: 2017-12-01
public virtual Azure.Pageable<Azure.ResourceManager.MySql.Models.MySqlPerformanceTier> GetLocationBasedPerformanceTiers (Azure.Core.AzureLocation locationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLocationBasedPerformanceTiers : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MySql.Models.MySqlPerformanceTier>
override this.GetLocationBasedPerformanceTiers : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MySql.Models.MySqlPerformanceTier>
Public Overridable Function GetLocationBasedPerformanceTiers (locationName As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MySqlPerformanceTier)

Parameters

locationName
AzureLocation

The name of the location.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of MySqlPerformanceTier that may take multiple service requests to iterate over.

Applies to