Compartir a través de


MySqlExtensions.CheckMySqlNameAvailabilityAsync Método

Definición

Comprobación de la disponibilidad del nombre del recurso

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability
  • IdCheckNameAvailability_Execute de operaciones
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

Instancia SubscriptionResource en la que se ejecutará el método.

content
MySqlNameAvailabilityContent

Parámetros necesarios para comprobar si el nombre del recurso está disponible.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a