KeyVaultClientExtensions.GetDeletedKeysNextAsync(IKeyVaultClient, String, CancellationToken) Method

Definition

Lists the deleted keys in the specified vault.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.KeyVault.Models.DeletedKeyItem>> GetDeletedKeysNextAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedKeysNextAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.KeyVault.Models.DeletedKeyItem>>
<Extension()>
Public Function GetDeletedKeysNextAsync (operations As IKeyVaultClient, nextPageLink As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DeletedKeyItem))

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

nextPageLink
String

The NextLink from the previous successful call to List operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<IPage<DeletedKeyItem>>

Remarks

Retrieves a list of the keys in the Key Vault as JSON Web Key structures

that contain 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