Share via


ContainerAppManagedEnvironmentCertificateResource.UpdateAsync Method

Definition

Patches a certificate. Currently only patching of tags is supported

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

Parameters

patch
ContainerAppCertificatePatch

Properties of a certificate that need to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to