Megosztás a következőn keresztül:


KeyClient.GetDeletedKeysAsync(CancellationToken) Method

Definition

Lists the deleted keys in the specified vault.

public virtual Azure.AsyncPageable<Azure.Security.KeyVault.Keys.DeletedKey> GetDeletedKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedKeysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Keys.DeletedKey>
override this.GetDeletedKeysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Keys.DeletedKey>
Public Overridable Function GetDeletedKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DeletedKey)

Parameters

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

Exceptions

The server returned an error. See Message for details returned from the server.

Remarks

Retrieves a list of the keys in the Key Vault that contains the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.

Applies to