Share via


AppCertificateResource.UpdateAsync Method

Definition

Description for Create or update a certificate.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}
  • Operation Id: Certificates_Update
  • Default Api Version: 2024-04-01
  • Resource: AppCertificateResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppCertificateResource>> UpdateAsync (Azure.ResourceManager.AppService.Models.AppCertificatePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.AppService.Models.AppCertificatePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppCertificateResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.Models.AppCertificatePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppCertificateResource>>
Public Overridable Function UpdateAsync (patch As AppCertificatePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppCertificateResource))

Parameters

patch
AppCertificatePatch

Details of certificate, if it exists already.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to