CertificateClient.GetDeletedCertificatesAsync 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET