CertificateClient.GetDeletedCertificate(String, CancellationToken) Method

Definition

Retrieves information about the specified deleted KeyVaultCertificate. This operation is only applicable in vaults enabled for soft delete, and requires the certificates/get permission.

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

Parameters

certificateName
String

The name of the DeletedCertificate.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

The details of the DeletedCertificate.

Exceptions

certificateName is empty.

certificateName is null.

Applies to