Sdílet prostřednictvím


ICertificateOperations.GetWithHttpMessagesAsync Metoda

Definice

Upozornění

This operation is deprecated. Please do not use it any longer.

Získá informace o zadaném certifikátu.

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Batch.Models.Certificate,Microsoft.Azure.Management.Batch.Models.CertificateGetHeaders>> GetWithHttpMessagesAsync (string resourceGroupName, string accountName, string certificateName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
abstract member GetWithHttpMessagesAsync : 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.Management.Batch.Models.Certificate, Microsoft.Azure.Management.Batch.Models.CertificateGetHeaders>>
Public Function GetWithHttpMessagesAsync (resourceGroupName As String, accountName As String, certificateName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Certificate, CertificateGetHeaders))

Parametry

resourceGroupName
String

Název skupiny prostředků, která obsahuje účet Batch.

accountName
String

Název účtu Batch.

certificateName
String

Identifikátor certifikátu. Musí se skládají z algoritmu a kryptografického otisku odděleného pomlčkou a musí odpovídat datům certifikátu v požadavku. Například SHA1-a3d1c5.

customHeaders
Dictionary<String,List<String>>

Hlavičky, které se přidají do požadavku.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Atributy

Výjimky

Vyvolá se, když operace vrátila neplatný stavový kód.

Vyvolá se, když nejde deserializovat odpověď.

Vyvolá se, když má povinný parametr hodnotu null.

Poznámky

Upozornění: Tato operace je zastaralá a po únoru 2024 se odebere. Místo toho použijte [rozšíření Azure KeyVault](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) .

Platí pro