CertificatesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a certificate.

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

Parameters

operations
ICertificatesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the certificate.

certificateEnvelope
CertificateInner

Details of certificate, if it exists already.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Create or update a certificate.

Applies to