Share via


ManagedDatabaseTransparentDataEncryptionOperationsExtensions.CreateOrUpdateAsync Method

Definition

Updates a database's transparent data encryption configuration.

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

Parameters

operations
IManagedDatabaseTransparentDataEncryptionOperations

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.

databaseName
String

The name of the managed database for which the security alert policy is defined.

parameters
ManagedTransparentDataEncryption

The database transparent data encryption.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to