KeyVaultClient.GetSecretVersionsWithHttpMessagesAsync Método

Definição

Liste todas as versões do segredo especificado.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.KeyVault.Models.SecretItem>>> GetSecretVersionsWithHttpMessagesAsync (string vaultBaseUrl, string secretName, int? maxresults = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecretVersionsWithHttpMessagesAsync : string * string * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.KeyVault.Models.SecretItem>>>
override this.GetSecretVersionsWithHttpMessagesAsync : string * string * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.KeyVault.Models.SecretItem>>>
Public Function GetSecretVersionsWithHttpMessagesAsync (vaultBaseUrl As String, secretName As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of SecretItem)))

Parâmetros

vaultBaseUrl
String

O nome do cofre, por exemplo https://myvault.vault.azure.net, .

secretName
String

O nome do segredo.

maxresults
Nullable<Int32>

Número máximo de resultados a serem retornados em uma página. Se não for especificado, o serviço retornará até 25 resultados.

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Implementações

Exceções

Gerado quando a operação retornou um código de status inválido

Gerado quando não é possível desserializar a resposta

Gerado quando um parâmetro necessário é nulo

Gerado quando um parâmetro necessário é nulo

Comentários

O identificador completo do segredo e os atributos são fornecidos na resposta. Nenhum valor é retornado para os segredos. Essas operações exigem a permissão de segredos/lista.

Aplica-se a