Share via


ManagedInstanceTdeCertificatesOperationsExtensions.CreateAsync Method

Definition

Creates a TDE certificate for a given server.

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

Parameters

operations
IManagedInstanceTdeCertificatesOperations

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.

managedInstanceName
String

The name of the managed instance.

parameters
TdeCertificate

The requested TDE certificate to be created or updated.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to