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

ManagementGroupsAPIClientExtensions.CheckNameAvailabilityAsync 方法

定义

检查指定的管理组名称是否有效且唯一

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.CheckNameAvailabilityResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.ManagementGroups.IManagementGroupsAPIClient operations, Microsoft.Azure.Management.ManagementGroups.Models.CheckNameAvailabilityRequest checkNameAvailabilityRequest, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.ManagementGroups.IManagementGroupsAPIClient * Microsoft.Azure.Management.ManagementGroups.Models.CheckNameAvailabilityRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.CheckNameAvailabilityResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IManagementGroupsAPIClient, checkNameAvailabilityRequest As CheckNameAvailabilityRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResult)

参数

operations
IManagementGroupsAPIClient

此扩展方法的操作组。

checkNameAvailabilityRequest
CheckNameAvailabilityRequest

管理组名称可用性检查参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于