Freigeben über


CertificateOperationsExtensions.AddAsync Methode

Definition

Achtung

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

Fügt dem angegebenen Konto ein Zertifikat hinzu.

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.CertificateAddHeaders> AddAsync (this Microsoft.Azure.Batch.Protocol.ICertificateOperations operations, Microsoft.Azure.Batch.Protocol.Models.CertificateAddParameter certificate, Microsoft.Azure.Batch.Protocol.Models.CertificateAddOptions certificateAddOptions = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member AddAsync : Microsoft.Azure.Batch.Protocol.ICertificateOperations * Microsoft.Azure.Batch.Protocol.Models.CertificateAddParameter * Microsoft.Azure.Batch.Protocol.Models.CertificateAddOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.CertificateAddHeaders>
<Extension()>
Public Function AddAsync (operations As ICertificateOperations, certificate As CertificateAddParameter, Optional certificateAddOptions As CertificateAddOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CertificateAddHeaders)

Parameter

operations
ICertificateOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

certificate
CertificateAddParameter

Das hinzuzufügende Zertifikat.

certificateAddOptions
CertificateAddOptions

Zusätzliche Parameter für den Vorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Attribute

Hinweise

Warnung: Dieser Vorgang ist veraltet und wird nach Februar 2024 entfernt. Verwenden Sie stattdessen die [Azure KeyVault-Erweiterung](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) .

Gilt für: