Aracılığıyla paylaş


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