Skip to main content

sql_pool_transparent_data_encryptions

Creates, updates, deletes, gets or lists a sql_pool_transparent_data_encryptions resource.

Overview

Namesql_pool_transparent_data_encryptions
TypeResource
Idazure.synapse.sql_pool_transparent_data_encryptions

Fields

NameDatatypeDescription
locationtextResource location.
resourceGroupNametextfield from the properties object
sqlPoolNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
transparentDataEncryptionNametextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, sqlPoolName, subscriptionId, transparentDataEncryptionName, workspaceNameGet a SQL pool's transparent data encryption configuration.
listSELECTresourceGroupName, sqlPoolName, subscriptionId, workspaceNameGet list of SQL pool's transparent data encryption configurations.
create_or_updateINSERTresourceGroupName, sqlPoolName, subscriptionId, transparentDataEncryptionName, workspaceNameCreates or updates a Sql pool's transparent data encryption configuration.

SELECT examples

Get list of SQL pool's transparent data encryption configurations.

SELECT
location,
resourceGroupName,
sqlPoolName,
status,
subscriptionId,
transparentDataEncryptionName,
workspaceName
FROM azure.synapse.vw_sql_pool_transparent_data_encryptions
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND sqlPoolName = '{{ sqlPoolName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

Use the following StackQL query and manifest file to create a new sql_pool_transparent_data_encryptions resource.

/*+ create */
INSERT INTO azure.synapse.sql_pool_transparent_data_encryptions (
resourceGroupName,
sqlPoolName,
subscriptionId,
transparentDataEncryptionName,
workspaceName,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ sqlPoolName }}',
'{{ subscriptionId }}',
'{{ transparentDataEncryptionName }}',
'{{ workspaceName }}',
'{{ properties }}'
;