You can call this operation DatalinkReplicationPrecheck to precheck a task.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DatalinkReplicationPrecheck |
Required parameter. Value: DatalinkReplicationPrecheck. |
DbName | String | Yes | test |
Specifies the name of the database. |
DrdsInstanceId | String | Yes | drds************ |
The ID of the DRDS instance. |
DstTableName | String | Yes | test |
The name of the destination table table. |
SrcTableName | String | Yes | test |
The name of the source table. |
Response parameters
Parameter | Type | Sample response | Description |
---|---|---|---|
Data | Long | 111111 |
The ID of the precheck task. |
RequestId | String | F8997D95-94AD-416A-AE70-E24D08****** |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request was sent successfully or not. |
Examples
Sample requests
http(s)://drds.aliyuncs.com/? Action=DatalinkReplicationPrecheck
&DbName=test
&DrdsInstanceId=drds************
&DstTableName=test
&SrcTableName=test
&<Common request parameters>
Sample success responses
XML
fomat
<Data>111111</Data>
<RequestId>F8997D95-94AD-416A-AE70-E24D08******</RequestId>
<Success>true</Success>
JSON
format
{
"Data":"111111",
"RequestId":"F8997D95-94AD-416A-AE70-E24D08******",
"Success":true
}
Error codes
For a list of error codes, visit the API Error Center.