Partager via


FlexibleServersExtensions.CheckMySqlFlexibleServerNameAvailabilityAsync Méthode

Définition

Vérifier la disponibilité du nom du serveur

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkNameAvailability
  • IdCheckNameAvailability_Execute d’opération
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))

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

locationName
AzureLocation

Nom de l’emplacement.

content
MySqlFlexibleServerNameAvailabilityContent

Paramètres requis pour vérifier si le nom du serveur est disponible.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à