你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AppServiceCertificateOrdersOperationsExtensions.CreateOrUpdateCertificateAsync 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> CreateOrUpdateCertificateAsync(this Microsoft.Azure.Management.WebSites.IAppServiceCertificateOrdersOperations operations, string resourceGroupName, string certificateOrderName, string name, Microsoft.Azure.Management.WebSites.Models.AppServiceCertificateResource keyVaultCertificate, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateCertificateAsync : Microsoft.Azure.Management.WebSites.IAppServiceCertificateOrdersOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.AppServiceCertificateResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppServiceCertificateResource>
<Extension()>
Public Function CreateOrUpdateCertificateAsync (operations As IAppServiceCertificateOrdersOperations, resourceGroupName As String, certificateOrderName As String, name As String, keyVaultCertificate As AppServiceCertificateResource, 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
AppServiceCertificateResource

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