Compartilhar via


MockableMySqlFlexibleServersSubscriptionResource.CheckMySqlFlexibleServerNameAvailability Método

Definição

Verificar a disponibilidade do nome do servidor

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkNameAvailability
  • Operação IdCheckNameAvailability_Execute
public virtual Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult> CheckMySqlFlexibleServerNameAvailability (Azure.Core.AzureLocation locationName, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckMySqlFlexibleServerNameAvailability : Azure.Core.AzureLocation * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult>
override this.CheckMySqlFlexibleServerNameAvailability : Azure.Core.AzureLocation * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult>
Public Overridable Function CheckMySqlFlexibleServerNameAvailability (locationName As AzureLocation, content As MySqlFlexibleServerNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MySqlFlexibleServerNameAvailabilityResult)

Parâmetros

locationName
AzureLocation

O nome do local.

content
MySqlFlexibleServerNameAvailabilityContent

Os parâmetros necessários para verificar se o nome do servidor está disponível.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a