CertificateOperationsExtensions.AddAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This operation is deprecated. Please do not use it any longer.
Adds a Certificate to the specified Account.
[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)
Parameters
- operations
- ICertificateOperations
The operations group for this extension method.
- certificate
- CertificateAddParameter
The Certificate to be added.
- certificateAddOptions
- CertificateAddOptions
Additional parameters for the operation
- cancellationToken
- CancellationToken
The cancellation token.
Returns
- Attributes
Remarks
Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://zcusa.951200.xyz/azure/batch/batch-certificate-migration-guide) instead.
Applies to
Azure SDK for .NET