Compartilhar via


SecretClient.GetDeletedSecrets(CancellationToken) Método

Definição

Lista os segredos excluídos para o cofre especificado.

public virtual Azure.Pageable<Azure.Security.KeyVault.Secrets.DeletedSecret> GetDeletedSecrets (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedSecrets : System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Secrets.DeletedSecret>
override this.GetDeletedSecrets : System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Secrets.DeletedSecret>
Public Overridable Function GetDeletedSecrets (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeletedSecret)

Parâmetros

cancellationToken
CancellationToken

Um CancellationToken que controla o tempo de vida da solicitação.

Retornos

Exceções

O servidor retornou um erro. Consulte Message para obter detalhes retornados do servidor.

Comentários

A operação Obter Segredos Excluídos retorna os segredos que foram excluídos para um cofre habilitado para exclusão reversível. Essa operação requer a permissão de segredos/lista.

Aplica-se a