共用方式為


CertificateClient.PurgeDeletedCertificate(String, CancellationToken) Method

Definition

Permanently and irreversibly deletes the specified deleted certificate, without the possibility of recovery. This operation is only applicable in vaults enabled for soft delete, and requires the certificates/purge permission. The operation is not available if the DeletedCertificate.RecoveryLevel of the DeletedCertificate does not specify 'Purgeable'.

public virtual Azure.Response PurgeDeletedCertificate (string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member PurgeDeletedCertificate : string * System.Threading.CancellationToken -> Azure.Response
override this.PurgeDeletedCertificate : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function PurgeDeletedCertificate (certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

certificateName
String

The name of the DeletedCertificate to permanently delete.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

The HTTP response from the service.

Exceptions

certificateName is empty.

certificateName is null.

Applies to