共用方式為


AppCertificateResource.Update(AppCertificatePatch, CancellationToken) 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: 2023-12-01
  • Resource: AppCertificateResource
public virtual Azure.Response<Azure.ResourceManager.AppService.AppCertificateResource> Update (Azure.ResourceManager.AppService.Models.AppCertificatePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.AppService.Models.AppCertificatePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.AppCertificateResource>
override this.Update : Azure.ResourceManager.AppService.Models.AppCertificatePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.AppCertificateResource>
Public Overridable Function Update (patch As AppCertificatePatch, Optional cancellationToken As CancellationToken = Nothing) As 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