Dela via


CertificateClient.GetDeletedCertificates(Boolean, CancellationToken) 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.Pageable<Azure.Security.KeyVault.Certificates.DeletedCertificate> GetDeletedCertificates (bool includePending = false, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedCertificates : bool * System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Certificates.DeletedCertificate>
override this.GetDeletedCertificates : bool * System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Certificates.DeletedCertificate>
Public Overridable Function GetDeletedCertificates (Optional includePending As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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