Enables or disables image matching for a data synchronization instance.
When you use Data Transmission Service (DTS) to synchronize data, other data sources may write data to the destination instance. In this case, data may become inconsistent between the source and destination instances. To ensure data consistency, you can enable image matching.
After you call this operation, you can call the DescribeSynchronizationJobReplicatorCompare operation to verify whether image matching is enabled for the data synchronization instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ConfigureSynchronizationJobReplicatorCompare |
The operation that you want to perform. Set the value to ConfigureSynchronizationJobReplicatorCompare. |
SynchronizationJobId | String | Yes | dtsexjk1alb116**** |
The ID of the data synchronization instance. You can call the DescribeSynchronizationJobs operation to query the instance ID. |
RegionId | String | No | cn-hangzhou |
The ID of the region where the data synchronization instance resides. For more information, see List of supported regions. |
SynchronizationDirection | String | No | Forward |
The synchronization direction. Valid values:
Note
|
SynchronizationReplicatorCompareEnable | Boolean | No | true |
Specifies whether to enable image matching. Valid values:
|
ClientToken | String | No | 0c593ea1-3bea-11e9-b96b-88e9fe63**** |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The ClientToken parameter can contain only ASCII characters and cannot exceed 64 characters in length. |
AccountId | String | No | 12323344**** |
The ID of the Alibaba Cloud account. You do not need to specify this parameter because this parameter will be removed in the future. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ErrCode | String | InternalError |
The error code returned if the call failed. |
ErrMessage | String | The request processing has failed due to some unknown error. |
The error message returned if the call failed. |
RequestId | String | 86A8FF0F-FA92-449D-B559-05CFF9F9**** |
The ID of the request. |
Success | String | true |
Indicates whether the call was successful. |
Examples
Sample requests
http(s)://dts.aliyuncs.com/?Action=ConfigureSynchronizationJobReplicatorCompare
&SynchronizationJobId=dtsexjk1alb116****
&<Common request parameters>
Sample responses
XML
format
<ConfigureSynchronizationJobReplicatorCompareResponse>
<RequestId>86A8FF0F-FA92-449D-B559-05CFF9F9****</RequestId>
<Success>true</Success>
</ConfigureSynchronizationJobReplicatorCompareResponse>
JSON
format
{
"RequestId": "86A8FF0F-FA92-449D-B559-05CFF9F9****",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.