Freigeben über


MockableMySqlFlexibleServersSubscriptionResource.CheckMySqlFlexibleServerNameAvailabilityWithoutLocationAsync Methode

Definition

Überprüfen der Verfügbarkeit des Namens für den Server

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability
  • Vorgangs-IdCheckNameAvailabilityWithoutLocation_Execute
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult>> CheckMySqlFlexibleServerNameAvailabilityWithoutLocationAsync (Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckMySqlFlexibleServerNameAvailabilityWithoutLocationAsync : Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult>>
override this.CheckMySqlFlexibleServerNameAvailabilityWithoutLocationAsync : Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult>>
Public Overridable Function CheckMySqlFlexibleServerNameAvailabilityWithoutLocationAsync (content As MySqlFlexibleServerNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlFlexibleServerNameAvailabilityResult))

Parameter

content
MySqlFlexibleServerNameAvailabilityContent

Die erforderlichen Parameter, um zu überprüfen, ob der Servername verfügbar ist.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: