SecretClient.GetDeletedSecretsAsync(CancellationToken) Método

Definição

Lista os segredos excluídos para o cofre especificado.

public virtual Azure.AsyncPageable<Azure.Security.KeyVault.Secrets.DeletedSecret> GetDeletedSecretsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedSecretsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Secrets.DeletedSecret>
override this.GetDeletedSecretsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Secrets.DeletedSecret>
Public Overridable Function GetDeletedSecretsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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 secrets/list.

Aplica-se a