ITransparentDataEncryptionOperations.BeginCreateOrUpdateEncryptionProtectorAsync Method

Definition

Begins creating a new or updating an existing Azure SQL Server Transparent Data Encryption Protector.To determine the status of the operation call GetCreateOrUpdateOperationStatus.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.EncryptionProtectorCreateOrUpdateResponse> BeginCreateOrUpdateEncryptionProtectorAsync (string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.EncryptionProtectorCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginCreateOrUpdateEncryptionProtectorAsync : string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.EncryptionProtectorCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.EncryptionProtectorCreateOrUpdateResponse>
Public Function BeginCreateOrUpdateEncryptionProtectorAsync (resourceGroupName As String, serverName As String, parameters As EncryptionProtectorCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of EncryptionProtectorCreateOrUpdateResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the server belongs.

serverName
String

The name of the Azure SQL Server which will be updated.

parameters
EncryptionProtectorCreateOrUpdateParameters

The required parameters for creating or updating an Encryption Protector.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the response to a Azure Sql Database Transparent Data Encryption Protector create or update request.

Applies to