Compartilhar via


MockableMySqlFlexibleServersSubscriptionResource.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}
  • Operação IdLocationBasedCapabilitySet_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>> GetMySqlFlexibleServersCapabilityAsync (Azure.Core.AzureLocation locationName, string capabilitySetName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMySqlFlexibleServersCapabilityAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>>
override this.GetMySqlFlexibleServersCapabilityAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>>
Public Overridable Function GetMySqlFlexibleServersCapabilityAsync (locationName As AzureLocation, capabilitySetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlFlexibleServersCapabilityResource))

Parâmetros

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 esperava-se que não estivesse vazia.

Aplica-se a