CertificatesOperationsExtensions.CreateOrUpdateAsync(ICertificatesOperations, String, String, String, CertificateResource, CancellationToken) Method

Definition

Create or update certificate resource.

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

Parameters

operations
ICertificatesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
String

The name of the Service resource.

certificateName
String

The name of the certificate resource.

certificateResource
CertificateResource

Parameters for the create or update operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<CertificateResource>

Applies to