Share via


ContainerAppConnectedEnvironmentCertificateResource.UpdateAsync Method

Definition

Patches a certificate. Currently only patching of tags is supported

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}
  • Operation Id: ConnectedEnvironmentsCertificates_Update
  • Default Api Version: 2025-07-01
  • Resource: ContainerAppConnectedEnvironmentCertificateResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.AppContainers.Models.ContainerAppCertificatePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.AppContainers.Models.ContainerAppCertificatePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.AppContainers.Models.ContainerAppCertificatePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As ContainerAppCertificatePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ContainerAppConnectedEnvironmentCertificateResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

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