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

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe resource id of the azure resource.
namestringName of the azure resource.
kindstringKind of synchronization setting. Required. "ScheduleBased"
systemDataobjectSystem Data of the Azure resource.
typestringType of the azure resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, account_name, share_name, synchronization_setting_name, subscription_idGet synchronizationSetting in a share. Get a synchronizationSetting in a share.
list_by_shareselectresource_group_name, account_name, share_name, subscription_id$skipTokenList synchronizationSettings in a share. List synchronizationSettings in a share.
createinsertresource_group_name, account_name, share_name, synchronization_setting_name, subscription_id, kindAdds a new synchronization setting to an existing share. Create a synchronizationSetting.
deletedeleteresource_group_name, account_name, share_name, synchronization_setting_name, subscription_idDelete synchronizationSetting in a share. Delete a synchronizationSetting in a share.

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
account_namestringThe name of the share account. Required.
resource_group_namestringThe resource group name. Required.
share_namestringThe name of the share. Required.
subscription_idstring
synchronization_setting_namestringThe name of the synchronizationSetting . Required.
$skipTokenstringcontinuation token. Default value is None.

SELECT examples

Get synchronizationSetting in a share. Get a synchronizationSetting in a share.

SELECT
id,
name,
kind,
systemData,
type
FROM azure.data_share.synchronization_settings
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND share_name = '{{ share_name }}' -- required
AND synchronization_setting_name = '{{ synchronization_setting_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Adds a new synchronization setting to an existing share. Create a synchronizationSetting.

INSERT INTO azure.data_share.synchronization_settings (
kind,
resource_group_name,
account_name,
share_name,
synchronization_setting_name,
subscription_id
)
SELECT
'{{ kind }}' /* required */,
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ share_name }}',
'{{ synchronization_setting_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
kind,
systemData,
type
;

DELETE examples

Delete synchronizationSetting in a share. Delete a synchronizationSetting in a share.

DELETE FROM azure.data_share.synchronization_settings
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND share_name = '{{ share_name }}' --required
AND synchronization_setting_name = '{{ synchronization_setting_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;