Freigeben über


KeyVaultClientExtensions.GetDeletedCertificateAsync Methode

Definition

Ruft Informationen zum angegebenen gelöschten Zertifikat ab.

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

Parameter

operations
IKeyVaultClient

Die Vorgangsgruppe für diese Erweiterungsmethode.

vaultBaseUrl
String

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

certificateName
String

Der Name des Zertifikats

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Der GetDeletedCertificate-Vorgang ruft die gelöschten Zertifikatinformationen sowie die zugehörigen Attribute ab, z. B. Aufbewahrungsintervall, geplantes dauerhaftes Löschen und die aktuelle Wiederherstellungsebene des Löschvorgangs. Für diesen Vorgang sind die Zertifikate/get-Berechtigung erforderlich.

Gilt für: