CertificateClient.StartRecoverDeletedCertificateAsync 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 System.Threading.Tasks.Task<Azure.Security.KeyVault.Certificates.RecoverDeletedCertificateOperation> StartRecoverDeletedCertificateAsync (string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecoverDeletedCertificateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.KeyVault.Certificates.RecoverDeletedCertificateOperation>
override this.StartRecoverDeletedCertificateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.KeyVault.Certificates.RecoverDeletedCertificateOperation>
Public Overridable Function StartRecoverDeletedCertificateAsync (certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.