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

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectMetadata Sync Config properties (title: Metadata Sync Config properties)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, workspaceName, sqlPoolNameGet the metadata sync configuration for a SQL pool
createinsertsubscriptionId, resourceGroupName, workspaceName, sqlPoolNameSet the metadata sync configuration for a SQL pool

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
sqlPoolNamestringSQL pool name
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.

SELECT examples

Get the metadata sync configuration for a SQL pool

SELECT
properties
FROM azure.synapse.sql_pool_metadata_sync_configs
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND sqlPoolName = '{{ sqlPoolName }}' -- required
;

INSERT examples

Set the metadata sync configuration for a SQL pool

INSERT INTO azure.synapse.sql_pool_metadata_sync_configs (
data__properties,
subscriptionId,
resourceGroupName,
workspaceName,
sqlPoolName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ workspaceName }}',
'{{ sqlPoolName }}'
RETURNING
properties
;