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
System.String

The name of the DeletedCertificate.

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken controlling the request lifetime.

Returns

Response<DeletedCertificate>

The details of the DeletedCertificate.

Exceptions

System.ArgumentException

certificateName is empty.

System.ArgumentNullException

certificateName is null.

Applies to