Partager via


MySqlExtensions.CheckMySqlNameAvailability Méthode

Définition

Vérifier la disponibilité du nom de la ressource

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability
  • IdCheckNameAvailability_Execute d’opération
public static Azure.Response<Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityResult> CheckMySqlNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckMySqlNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.Models.MySqlNameAvailabilityResult>
<Extension()>
Public Function CheckMySqlNameAvailability (subscriptionResource As SubscriptionResource, content As MySqlNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MySqlNameAvailabilityResult)

Paramètres

subscriptionResource
SubscriptionResource

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

content
MySqlNameAvailabilityContent

Paramètres requis pour vérifier si le nom de la ressource est disponible.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à