你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ContainerAppConnectedEnvironmentCertificateResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: 2024-03-01
- Resource: ContainerAppConnectedEnvironmentCertificateResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource>> 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.ContainerAppConnectedEnvironmentCertificateResource>>
override this.UpdateAsync : Azure.ResourceManager.AppContainers.Models.ContainerAppCertificatePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource>>
Public Overridable Function UpdateAsync (patch As ContainerAppCertificatePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppConnectedEnvironmentCertificateResource))
Parameters
Properties of a certificate that need to be updated.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.