Shares - List Synchronizations
List Synchronizations in a share
List synchronizations of a share
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/listSynchronizations?api-version=2021-08-01
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/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
|
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
Shares_ListSynchronizations
Sample request
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",
"consumerTenantName": "nda",
"consumerName": "abc@yahoo.com",
"synchronizationId": "runId",
"synchronizationMode": "Incremental"
}
]
}
Definitions
Name | Description |
---|---|
Data |
The data share error model. |
Data |
The data share error body model. |
Share |
A ShareSynchronization data transfer object. |
Share |
List response for get ShareSynchronization. |
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 |
ShareSynchronization
A ShareSynchronization data transfer object.
Name | Type | Description |
---|---|---|
consumerEmail |
string |
Email of the user who created the synchronization |
consumerName |
string |
Name of the user who created the synchronization |
consumerTenantName |
string |
Tenant name of the consumer who created the synchronization |
durationMs |
integer |
synchronization duration |
endTime |
string |
End time of synchronization |
message |
string |
message of synchronization |
startTime |
string |
start time of synchronization |
status |
string |
Raw Status |
synchronizationId |
string |
Synchronization id |
synchronizationMode |
Synchronization mode |
ShareSynchronizationList
List response for get ShareSynchronization.
Name | Type | Description |
---|---|---|
nextLink |
string |
The Url of next result page. |
value |
Collection of items of type DataTransferObjects. |
synchronizationMode
Synchronization mode
Name | Type | Description |
---|---|---|
FullSync |
string |
|
Incremental |
string |