Share via


MockableMySqlSubscriptionResource.GetLocationBasedPerformanceTiersAsync 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.AsyncPageable<Azure.ResourceManager.MySql.Models.MySqlPerformanceTier> GetLocationBasedPerformanceTiersAsync (Azure.Core.AzureLocation locationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLocationBasedPerformanceTiersAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.Models.MySqlPerformanceTier>
override this.GetLocationBasedPerformanceTiersAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.Models.MySqlPerformanceTier>
Public Overridable Function GetLocationBasedPerformanceTiersAsync (locationName As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MySqlPerformanceTier)

Parameters

locationName
AzureLocation

The name of the location.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to