Compartir a través de


FlexibleServersExtensions.CheckMySqlFlexibleServerNameAvailabilityAsync Método

Definición

Comprobación de la disponibilidad del nombre del servidor

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkNameAvailability
  • IdCheckNameAvailability_Execute de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult>> CheckMySqlFlexibleServerNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckMySqlFlexibleServerNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult>>
<Extension()>
Public Function CheckMySqlFlexibleServerNameAvailabilityAsync (subscriptionResource As SubscriptionResource, locationName As AzureLocation, content As MySqlFlexibleServerNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlFlexibleServerNameAvailabilityResult))

Parámetros

subscriptionResource
SubscriptionResource

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

locationName
AzureLocation

Nombre de la ubicación.

content
MySqlFlexibleServerNameAvailabilityContent

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

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a