CertificatesOperationsExtensions.UpdateAsync(ICertificatesOperations, String, String, CertificatePatchResource, CancellationToken) Method

Definition

Create or update a certificate.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Certificate> UpdateAsync (this Microsoft.Azure.Management.WebSites.ICertificatesOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.CertificatePatchResource certificateEnvelope, System.Threading.CancellationToken cancellationToken = null);
static member UpdateAsync : Microsoft.Azure.Management.WebSites.ICertificatesOperations * string * string * Microsoft.Azure.Management.WebSites.Models.CertificatePatchResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Certificate>

Parameters

operations
ICertificatesOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the certificate.

certificateEnvelope
CertificatePatchResource

Details of certificate, if it exists already.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Certificate>

Remarks

Create or update a certificate.

Applies to