Partilhar via


MockableMySqlSubscriptionResource.CheckMySqlNameAvailabilityAsync Método

Definição

Verificar a disponibilidade do nome do recurso

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability
  • IdCheckNameAvailability_Execute de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityResult>> CheckMySqlNameAvailabilityAsync (Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckMySqlNameAvailabilityAsync : Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityResult>>
override this.CheckMySqlNameAvailabilityAsync : Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityResult>>
Public Overridable Function CheckMySqlNameAvailabilityAsync (content As MySqlNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlNameAvailabilityResult))

Parâmetros

content
MySqlNameAvailabilityContent

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a