Queries whether image matching is enabled for a data synchronization instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer automatically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeSynchronizationJobReplicatorCompare

The operation that you want to perform. Set the value to DescribeSynchronizationJobReplicatorCompare.

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:

  • Forward
  • Reverse
Note
  • Default value: Forward.
  • This parameter is required only when the topology of the data synchronization instance is two-way synchronization.
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 E6EB407F-C59F-4682-A682-A00FA6A2****

The ID of the request.

Success String true

Indicates whether the call was successful.

SynchronizationReplicatorCompareEnable Boolean true

Indicates whether image matching is enabled. Valid values:

  • true: Image matching is enabled.
  • false: Image matching is disabled.

Examples

Sample requests

http(s)://dts.aliyuncs.com/?Action=DescribeSynchronizationJobReplicatorCompare
&SynchronizationJobId=dtsexjk1alb116****
&<Common request parameters>

Sample success responses

XML format

<DescribeSynchronizationJobReplicatorCompareResponse>
      <RequestId>E6EB407F-C59F-4682-A682-A00FA6A2****</RequestId>
      <SynchronizationReplicatorCompareEnable>true</SynchronizationReplicatorCompareEnable>
      <Success>true</Success>
</DescribeSynchronizationJobReplicatorCompareResponse>

JSON format

{
    "RequestId": "E6EB407F-C59F-4682-A682-A00FA6A2****",
    "SynchronizationReplicatorCompareEnable": true,
    "Success": true
}

Error codes

For a list of error codes, visit the API Error Center.