Partilhar via


FlexibleServersExtensions.GetMySqlFlexibleServersCapabilityAsync Método

Definição

Obtenha recursos no local especificado em uma determinada assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilitySets/{capabilitySetName}
  • IdLocationBasedCapabilitySet_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>> GetMySqlFlexibleServersCapabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, string capabilitySetName, System.Threading.CancellationToken cancellationToken = default);
static member GetMySqlFlexibleServersCapabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>>
<Extension()>
Public Function GetMySqlFlexibleServersCapabilityAsync (subscriptionResource As SubscriptionResource, locationName As AzureLocation, capabilitySetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlFlexibleServersCapabilityResource))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

locationName
AzureLocation

O nome do local.

capabilitySetName
String

Nome do conjunto de recursos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

capabilitySetName é nulo.

capabilitySetName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

Aplica-se a