Skip to main content

sql_pool_metadata_sync_configs

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

Overview

Namesql_pool_metadata_sync_configs
TypeResource
Idazure.synapse.sql_pool_metadata_sync_configs

Fields

NameDatatypeDescription
propertiesobjectMetadata Sync Config properties

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, sqlPoolName, subscriptionId, workspaceNameGet the metadata sync configuration for a SQL pool
createINSERTresourceGroupName, sqlPoolName, subscriptionId, workspaceNameSet the metadata sync configuration for a SQL pool

SELECT examples

Get the metadata sync configuration for a SQL pool

SELECT
properties
FROM azure.synapse.sql_pool_metadata_sync_configs
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_metadata_sync_configs resource.

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