Share via


BatchAccountCertificateResource.UpdateAsync Method

Definition

Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}
  • Operation Id: Certificate_Update
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountCertificateResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountCertificateResource>> UpdateAsync (Azure.ResourceManager.Batch.Models.BatchAccountCertificateCreateOrUpdateContent content, Azure.ETag? ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Batch.Models.BatchAccountCertificateCreateOrUpdateContent * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountCertificateResource>>
override this.UpdateAsync : Azure.ResourceManager.Batch.Models.BatchAccountCertificateCreateOrUpdateContent * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountCertificateResource>>
Public Overridable Function UpdateAsync (content As BatchAccountCertificateCreateOrUpdateContent, Optional ifMatch As Nullable(Of ETag) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BatchAccountCertificateResource))

Parameters

content
BatchAccountCertificateCreateOrUpdateContent

Certificate entity to update.

ifMatch
Nullable<ETag>

The entity state (ETag) version of the certificate to update. This value can be omitted or set to "*" to apply the operation unconditionally.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to