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

VaultsOperationsExtensions.CheckNameAvailabilityAsync 方法

定义

检查保管库名称是否有效且尚未使用。

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

参数

operations
IVaultsOperations

此扩展方法的操作组。

vaultName
VaultCheckNameAvailabilityParameters

保管库的名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于