Share via


CertificateClient.StartRecoverDeletedCertificate Method

Definition

Recovers the DeletedCertificate to its pre-deleted state. This operation is only applicable in vaults enabled for soft delete, and requires the certificates/recover permission.

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

Parameters

certificateName
String

The name of the DeletedCertificate.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A RecoverDeletedCertificateOperation to wait on this long-running operation.

Exceptions

certificateName is empty.

certificateName is null.

Applies to