ITransparentDataEncryptionOperations.CreateOrUpdateEncryptionProtectorAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new or updates an existing Azure SQL Server Transparent Data Encryption Protector.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.EncryptionProtectorCreateOrUpdateResponse> CreateOrUpdateEncryptionProtectorAsync (string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.EncryptionProtectorCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateEncryptionProtectorAsync : 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 CreateOrUpdateEncryptionProtectorAsync (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.