Exemple #1
0
 /// <summary>
 /// Creates a new or updates an existing Azure SQL Server Transparent
 /// Data Encryption Protector.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Sql.ITransparentDataEncryptionOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the Resource Group to which the server
 /// belongs.
 /// </param>
 /// <param name='serverName'>
 /// Required. The name of the Azure SQL Server which will be updated.
 /// </param>
 /// <param name='parameters'>
 /// Required. The required parameters for creating or updating an
 /// Encryption Protector.
 /// </param>
 /// <returns>
 /// Represents the response to a Azure Sql Database Transparent Data
 /// Encryption Protector create or update request.
 /// </returns>
 public static Task <EncryptionProtectorCreateOrUpdateResponse> CreateOrUpdateEncryptionProtectorAsync(this ITransparentDataEncryptionOperations operations, string resourceGroupName, string serverName, EncryptionProtectorCreateOrUpdateParameters parameters)
 {
     return(operations.CreateOrUpdateEncryptionProtectorAsync(resourceGroupName, serverName, parameters, CancellationToken.None));
 }