KeyVaultClient.GetDeletedSecretsWithHttpMessagesAsync メソッド

定義

指定したコンテナーの削除されたシークレットを一覧表示します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.KeyVault.Models.DeletedSecretItem>>> GetDeletedSecretsWithHttpMessagesAsync (string vaultBaseUrl, int? maxresults = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedSecretsWithHttpMessagesAsync : 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.DeletedSecretItem>>>
override this.GetDeletedSecretsWithHttpMessagesAsync : 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.DeletedSecretItem>>>
Public Function GetDeletedSecretsWithHttpMessagesAsync (vaultBaseUrl 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 DeletedSecretItem)))

パラメーター

vaultBaseUrl
String

コンテナー名 (例: https://myvault.vault.azure.net)。

maxresults
Nullable<Int32>

ページに返される結果の最大数。 指定しない場合、サービスは最大 25 件の結果を返します。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

実装

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

必須パラメーターが null の場合にスローされます

注釈

削除済みシークレットの取得操作は、論理的な削除が有効になっているコンテナーに対して削除されたシークレットを返します。 この操作には、secrets/list アクセス許可が必要です。

適用対象