Udostępnij za pośrednictwem


CertificatesOperationsExtensions.UpdateAsync 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 = default);
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>
<Extension()>
Public Function UpdateAsync (operations As ICertificatesOperations, resourceGroupName As String, name As String, certificateEnvelope As CertificatePatchResource, 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
CertificatePatchResource

Details of certificate, if it exists already.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Create or update a certificate.

Applies to