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

KeyVaultClientExtensions.PurgeDeletedCertificateAsync 方法

定义

重载

PurgeDeletedCertificateAsync(IKeyVaultClient, String, String, CancellationToken)

永久删除指定的已删除证书。

PurgeDeletedCertificateAsync(IKeyVaultClient, String, CancellationToken)

清除已删除的证书并立即生效。

PurgeDeletedCertificateAsync(IKeyVaultClient, String, String, CancellationToken)

Source:
KeyVaultClientExtensions.cs

永久删除指定的已删除证书。

public static System.Threading.Tasks.Task PurgeDeletedCertificateAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, string certificateName, System.Threading.CancellationToken cancellationToken = default);
static member PurgeDeletedCertificateAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function PurgeDeletedCertificateAsync (operations As IKeyVaultClient, vaultBaseUrl As String, certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IKeyVaultClient

此扩展方法的操作组。

vaultBaseUrl
String

保管库名称,例如 https://myvault.vault.azure.net

certificateName
String

证书的名称

cancellationToken
CancellationToken

取消标记。

返回

注解

PurgeDeletedCertificate 操作执行指定证书的不可逆删除操作,无法恢复。 如果恢复级别未指定“Purgeable”,则操作不可用。 此操作需要证书/清除权限。

适用于

PurgeDeletedCertificateAsync(IKeyVaultClient, String, CancellationToken)

Source:
KeyVaultClientExtensions.cs

清除已删除的证书并立即生效。

public static System.Threading.Tasks.Task PurgeDeletedCertificateAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string recoveryId, System.Threading.CancellationToken cancellationToken = default);
static member PurgeDeletedCertificateAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function PurgeDeletedCertificateAsync (operations As IKeyVaultClient, recoveryId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IKeyVaultClient
recoveryId
String

删除后返回的已删除证书的 recoveryId。

cancellationToken
CancellationToken

可选取消令牌

返回

表示此请求的异步执行的任务。

适用于