KeyVaultClientExtensions.RecoverDeletedSecretAsync Methode

Definition

Überlädt

RecoverDeletedSecretAsync(IKeyVaultClient, String, CancellationToken)

Stellt das gelöschte Geheimnis wieder her.

RecoverDeletedSecretAsync(IKeyVaultClient, String, String, CancellationToken)

Stellt das gelöschte Geheimnis in der neuesten Version wieder her.

RecoverDeletedSecretAsync(IKeyVaultClient, String, CancellationToken)

Quelle:
KeyVaultClientExtensions.cs

Stellt das gelöschte Geheimnis wieder her.

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

Parameter

operations
IKeyVaultClient
recoveryId
String

Die recoveryId des gelöschten Geheimnisses, das beim Löschen zurückgegeben wird.

cancellationToken
CancellationToken

Optionales Abbruchtoken

Gibt zurück

Eine Antwortnachricht mit dem wiederhergestellten Geheimnis

Gilt für:

RecoverDeletedSecretAsync(IKeyVaultClient, String, String, CancellationToken)

Quelle:
KeyVaultClientExtensions.cs

Stellt das gelöschte Geheimnis in der neuesten Version wieder her.

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

Parameter

operations
IKeyVaultClient

Die Vorgangsgruppe für diese Erweiterungsmethode.

vaultBaseUrl
String

Der Tresorname, z. B https://myvault.vault.azure.net. .

secretName
String

Der Name des gelöschten Geheimnisses.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Stellt das gelöschte Geheimnis im angegebenen Tresor wieder her. Dieser Vorgang kann nur für einen vorläufigen Löschvorgang ausgeführt werden. Für diesen Vorgang ist die Berechtigung Geheimnisse/Wiederherstellung erforderlich.

Gilt für: