Share via


TdeCertificatesOperationsExtensions.CreateAsync Method

Definition

Creates a TDE certificate for a given server.

public static System.Threading.Tasks.Task CreateAsync (this Microsoft.Azure.Management.Sql.ITdeCertificatesOperations operations, string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.Models.TdeCertificate parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Sql.ITdeCertificatesOperations * string * string * Microsoft.Azure.Management.Sql.Models.TdeCertificate * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CreateAsync (operations As ITdeCertificatesOperations, resourceGroupName As String, serverName As String, parameters As TdeCertificate, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ITdeCertificatesOperations

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.

serverName
String

The name of the server.

parameters
TdeCertificate

The requested TDE certificate to be created or updated.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to