Compartilhar via


FlexibleServersExtensions.GetLocationBasedCapabilitiesAsync Método

Definição

Obtenha recursos no local especificado em uma determinada assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilities
  • Operação IdLocationBasedCapabilities_List
public static Azure.AsyncPageable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerCapabilityProperties> GetLocationBasedCapabilitiesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, System.Threading.CancellationToken cancellationToken = default);
static member GetLocationBasedCapabilitiesAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerCapabilityProperties>
<Extension()>
Public Function GetLocationBasedCapabilitiesAsync (subscriptionResource As SubscriptionResource, locationName As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MySqlFlexibleServerCapabilityProperties)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

locationName
AzureLocation

O nome do local.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de MySqlFlexibleServerCapabilityProperties que pode levar várias solicitações de serviço para iterar.

Aplica-se a