CertificatesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a certificate.

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

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
Certificate

Details of certificate, if it exists already.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Create or update a certificate.

Applies to