Compartilhar via


MySqlExtensions.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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityResult>> CheckMySqlNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckMySqlNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityResult>>
<Extension()>
Public Function CheckMySqlNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As MySqlNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlNameAvailabilityResult))

Parâmetros

subscriptionResource
SubscriptionResource

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

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