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
accountName
path True

string

The name of the share account.

resourceGroupName
path True

string

The resource group name.

shareSubscriptionName
path True

string

The name of the share subscription.

subscriptionId
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.

$skipToken
query

string

Continuation token

Responses

Name Type Description
200 OK

ShareSubscriptionSynchronizationList

Success

Other Status Codes

DataShareError

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
DataShareError

The data share error model.

DataShareErrorInfo

The data share error body model.

ShareSubscriptionSynchronization

A ShareSubscriptionSynchronization data transfer object.

ShareSubscriptionSynchronizationList

A consumer side list of share subscription synchronizations

synchronizationMode

Synchronization mode

DataShareError

The data share error model.

Name Type Description
error

DataShareErrorInfo

The data share error body

DataShareErrorInfo

The data share error body model.

Name Type Description
code

string

Code of the error

details

DataShareErrorInfo[]

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

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

synchronizationMode

Synchronization Mode

ShareSubscriptionSynchronizationList

A consumer side list of share subscription synchronizations

Name Type Description
nextLink

string

The Url of next result page.

value

ShareSubscriptionSynchronization[]

Collection of items of type DataTransferObjects.

synchronizationMode

Synchronization mode

Name Type Description
FullSync

string

Incremental

string