Partager via


FlexibleServersExtensions.CheckMySqlFlexibleServerNameAvailability 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 Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult> CheckMySqlFlexibleServerNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckMySqlFlexibleServerNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult>
<Extension()>
Public Function CheckMySqlFlexibleServerNameAvailability (subscriptionResource As SubscriptionResource, locationName As AzureLocation, content As MySqlFlexibleServerNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As 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 à