Share via


AppServiceCertificateOrdersOperationsExtensions.UpdateCertificateAsync Method

Definition

Creates or updates a certificate and associates with key vault secret.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppServiceCertificateResource> UpdateCertificateAsync (this Microsoft.Azure.Management.WebSites.IAppServiceCertificateOrdersOperations operations, string resourceGroupName, string certificateOrderName, string name, Microsoft.Azure.Management.WebSites.Models.AppServiceCertificatePatchResource keyVaultCertificate, System.Threading.CancellationToken cancellationToken = default);
static member UpdateCertificateAsync : Microsoft.Azure.Management.WebSites.IAppServiceCertificateOrdersOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.AppServiceCertificatePatchResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppServiceCertificateResource>
<Extension()>
Public Function UpdateCertificateAsync (operations As IAppServiceCertificateOrdersOperations, resourceGroupName As String, certificateOrderName As String, name As String, keyVaultCertificate As AppServiceCertificatePatchResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AppServiceCertificateResource)

Parameters

operations
IAppServiceCertificateOrdersOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

certificateOrderName
String

Name of the certificate order.

name
String

Name of the certificate.

keyVaultCertificate
AppServiceCertificatePatchResource

Key vault certificate resource Id.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Creates or updates a certificate and associates with key vault secret.

Applies to