你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FlexibleServersExtensions.CheckMySqlFlexibleServerNameAvailabilityWithoutLocation 方法

定义

检查服务器名称的可用性

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability
  • 操作IdCheckNameAvailabilityWithoutLocation_Execute
public static Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult> CheckMySqlFlexibleServerNameAvailabilityWithoutLocation (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckMySqlFlexibleServerNameAvailabilityWithoutLocation : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNameAvailabilityResult>
<Extension()>
Public Function CheckMySqlFlexibleServerNameAvailabilityWithoutLocation (subscriptionResource As SubscriptionResource, content As MySqlFlexibleServerNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MySqlFlexibleServerNameAvailabilityResult)

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

content
MySqlFlexibleServerNameAvailabilityContent

用于检查服务器名称是否可用的必需参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于