Share via


KeyVaultClientExtensions.GetDeletedSecretsNextAsync Method

Definition

Lists deleted secrets for the specified vault.

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

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

Remarks

The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.

Applies to