Share Subscriptions - List Synchronizations
List Synchronizations in a share subscription.
List synchronizations of a share subscription
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSynchronizations?api-version=2021-08-01
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSynchronizations?api-version=2021-08-01&$skipToken={$skipToken}&$filter={$filter}&$orderby={$orderby}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
account
|
path | True |
string |
The name of the share account. |
|
resource
|
path | True |
string |
The resource group name. |
|
share
|
path | True |
string |
The name of the share subscription. |
|
subscription
|
path | True |
string |
The subscription identifier |
|
api-version
|
query | True |
string |
The api version to use. |
|
$filter
|
query |
string |
Filters the results using OData syntax. |
|
|
$orderby
|
query |
string |
Sorts the results using OData syntax. |
|
|
$skip
|
query |
string |
Continuation token |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Success |
|
| Other Status Codes |
An error response received from the Microsoft.DataShare resource provider. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
ShareSubscriptions_ListSynchronizations
Sample request
POST https://management.azure.com/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSub1/listSynchronizations?api-version=2021-08-01
Sample response
Date: Wed, 13 Sep 2017 17:33:55 GMT
x-ms-request-id: 8e58266a-de42-40d5-b3c4-c6a7e159cfba
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-subscription-reads: 14993
x-ms-correlation-request-id: 5d862c55-4de9-4a46-969d-cf1ed3e235ed
{
"value": [
{
"endTime": "2018-11-14T04:47:52.9614956Z",
"startTime": "2018-11-14T04:47:52.9614956Z",
"durationMs": 2000,
"status": "Completed",
"message": "nda",
"synchronizationId": "runId",
"synchronizationMode": "Incremental"
}
]
}
Definitions
| Name | Description |
|---|---|
|
Data |
The data share error model. |
|
Data |
The data share error body model. |
|
Share |
A ShareSubscriptionSynchronization data transfer object. |
|
Share |
A consumer side list of share subscription synchronizations |
|
synchronization |
Synchronization mode |
DataShareError
The data share error model.
| Name | Type | Description |
|---|---|---|
| error |
The data share error body |
DataShareErrorInfo
The data share error body model.
| Name | Type | Description |
|---|---|---|
| code |
string |
Code of the error |
| details |
Nested details of the error model |
|
| message |
string |
Message of the error |
| target |
string |
Target of the error |
ShareSubscriptionSynchronization
A ShareSubscriptionSynchronization data transfer object.
| Name | Type | Description |
|---|---|---|
| durationMs |
integer (int32) |
Synchronization duration |
| endTime |
string (date-time) |
End time of synchronization |
| message |
string |
message of Synchronization |
| startTime |
string (date-time) |
start time of synchronization |
| status |
string |
Raw Status |
| synchronizationId |
string |
Synchronization id |
| synchronizationMode |
Synchronization Mode |
ShareSubscriptionSynchronizationList
A consumer side list of share subscription synchronizations
| Name | Type | Description |
|---|---|---|
| nextLink |
string |
The Url of next result page. |
| value |
Collection of items of type DataTransferObjects. |
synchronizationMode
Synchronization mode
| Value | Description |
|---|---|
| Incremental | |
| FullSync |