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

KeyVaultExtensions.GetDeletedKeyVault 方法

定义

获取已删除的 Azure 密钥保管库。

  • 请求路径/订阅/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}
  • 操作IdVaults_GetDeleted
public static Azure.Response<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource> GetDeletedKeyVault (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string vaultName, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedKeyVault : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>
<Extension()>
Public Function GetDeletedKeyVault (subscriptionResource As SubscriptionResource, location As AzureLocation, vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeletedKeyVaultResource)

参数

subscriptionResource
SubscriptionResource

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

location
AzureLocation

已删除保管库的位置。

vaultName
String

保管库的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

vaultName 是一个空字符串,预期为非空。

vaultName 为 null。

适用于