Skip to main content

shares_synchronizations

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

Overview

Nameshares_synchronizations
TypeResource
Idazure.data_share.shares_synchronizations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
consumerEmailstringEmail of the user who created the synchronization
consumerNamestringName of the user who created the synchronization
consumerTenantNamestringTenant name of the consumer who created the synchronization
durationMsinteger (int32)synchronization duration
endTimestring (date-time)End time of synchronization
messagestringmessage of synchronization
startTimestring (date-time)start time of synchronization
statusstringRaw Status
synchronizationIdstringSynchronization id
synchronizationModestringSynchronization mode

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, accountName, shareNameapi-version, $skipToken, $filter, $orderbyList synchronizations of 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
accountNamestringThe name of the share account.
resourceGroupNamestringThe resource group name.
shareNamestringThe name of the share.
subscriptionIdstringThe subscription identifier
$filterstringFilters the results using OData syntax.
$orderbystringSorts the results using OData syntax.
$skipTokenstringContinuation token
api-versionstringThe api version to use.

SELECT examples

List synchronizations of a share

SELECT
consumerEmail,
consumerName,
consumerTenantName,
durationMs,
endTime,
message,
startTime,
status,
synchronizationId,
synchronizationMode
FROM azure.data_share.shares_synchronizations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND shareName = '{{ shareName }}' -- required
AND api-version = '{{ api-version }}'
AND $skipToken = '{{ $skipToken }}'
AND $filter = '{{ $filter }}'
AND $orderby = '{{ $orderby }}'
;