KeyVaultClient.GetCertificateWithHttpMessagesAsync Methode

Definition

Ruft Informationen zu einem Zertifikat ab.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.KeyVault.Models.CertificateBundle>> GetCertificateWithHttpMessagesAsync (string vaultBaseUrl, string certificateName, string certificateVersion, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCertificateWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.KeyVault.Models.CertificateBundle>>
override this.GetCertificateWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.KeyVault.Models.CertificateBundle>>
Public Function GetCertificateWithHttpMessagesAsync (vaultBaseUrl As String, certificateName As String, certificateVersion As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of CertificateBundle))

Parameter

vaultBaseUrl
String

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

certificateName
String

Der Name des Zertifikats im angegebenen Tresor.

certificateVersion
String

Die Version des Zertifikats.

customHeaders
Dictionary<String,List<String>>

Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Implementiert

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Hinweise

Ruft Informationen zu einem bestimmten Zertifikat ab. Für diesen Vorgang sind die Zertifikate/get-Berechtigung erforderlich.

Gilt für: