Skip to main content

synchronization_settings

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

Overview

Namesynchronization_settings
TypeResource
Idazure.data_share.synchronization_settings

Fields

NameDatatypeDescription
idstringThe resource id of the azure resource
namestringName of the azure resource
kindstringKind of synchronization setting.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringType of the azure resource

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, resourceGroupName, shareName, subscriptionId, synchronizationSettingNameGet a synchronizationSetting in a share
list_by_shareSELECTaccountName, resourceGroupName, shareName, subscriptionIdList synchronizationSettings in a share
createINSERTaccountName, resourceGroupName, shareName, subscriptionId, synchronizationSettingName, data__kindCreate a synchronizationSetting
deleteDELETEaccountName, resourceGroupName, shareName, subscriptionId, synchronizationSettingNameDelete a synchronizationSetting in a share

SELECT examples

List synchronizationSettings in a share

SELECT
id,
name,
kind,
systemData,
type
FROM azure.data_share.synchronization_settings
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND shareName = '{{ shareName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.data_share.synchronization_settings (
accountName,
resourceGroupName,
shareName,
subscriptionId,
synchronizationSettingName,
data__kind,
kind
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ shareName }}',
'{{ subscriptionId }}',
'{{ synchronizationSettingName }}',
'{{ data__kind }}',
'{{ kind }}'
;

DELETE example

Deletes the specified synchronization_settings resource.

/*+ delete */
DELETE FROM azure.data_share.synchronization_settings
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND shareName = '{{ shareName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND synchronizationSettingName = '{{ synchronizationSettingName }}';