Sdílet prostřednictvím


ICertificateOperations.DeleteWithHttpMessagesAsync Metoda

Definice

Upozornění

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

Odstraní zadaný certifikát.

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.Batch.Models.CertificateDeleteHeaders>> DeleteWithHttpMessagesAsync (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 DeleteWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.Batch.Models.CertificateDeleteHeaders>>
Public Function DeleteWithHttpMessagesAsync (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 AzureOperationHeaderResponse(Of CertificateDeleteHeaders))

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ž má požadovaný 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