CertificateClient.GetDeletedCertificateAsync 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.
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
Azure SDK for .NET