CertificateClient.StartRecoverDeletedCertificate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET