Share via


CertificateClient.GetDeletedCertificatesAsync Method

Definition

Enumerates the deleted certificates in the vault. This operation is only available on soft delete-enabled vaults, and requires the certificates/list/get permissions.

public virtual Azure.AsyncPageable<Azure.Security.KeyVault.Certificates.DeletedCertificate> GetDeletedCertificatesAsync (bool includePending = false, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedCertificatesAsync : bool * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Certificates.DeletedCertificate>
override this.GetDeletedCertificatesAsync : bool * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Certificates.DeletedCertificate>
Public Overridable Function GetDeletedCertificatesAsync (Optional includePending As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DeletedCertificate)

Parameters

includePending
Boolean

Specifies whether to include certificates in a delete pending state as well.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

An enumerable collection of deleted certificates.

Applies to