Share via


AppServiceCertificateOrdersOperationsExtensions.CreateOrUpdateCertificateAsync Method

Definition

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

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

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
AppServiceCertificateResourceInner

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