调用 DescribeValidationTaskInfo 接口查看数据校验任务详情。
同步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
TaskId | String | 是 | cad03b2ed34d45a585d883d90f****** | 数据校验任务 ID。 说明 您可以调用 DescribeValidationTasks 接口查看数据校验任务的 ID。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
TaskInfo | Object |
| 数据校验任务详细信息。更多信息,请参见 TaskInfo。 |
POST /?Action=DescribeValidationTaskInfo&Version=2022-10-01 HTTP/1.1 Content-Type: application/json Host:dts.volcengineapi.com X-Date: 20221001T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20221001/cn-beijing/dts/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645**** { "TaskId":"cad03b2ed34d45a585d883d90f******" }
{ "ResponseMetadata": { "RequestId": "2024121214113278CA6ED7AE6DDEB9E019-180d47", "Action": "DescribeValidationTaskInfo", "Version": "2022-10-01", "Service": "dts", "Region": "cn-beijing" }, "Result": { "TaskInfo": { "ChargeConfig": { "ChargeType": "PostPaid", "OneStep": true }, "ChargeDetail": { "ChargeEndTime": 7258089600000, "ChargeStartTime": 1734392184000, "ChargeStatus": "Closed", "ChargeType": "PostPaid", "OrderNo": "" }, "CreateTime": 1733909824494, "DestConfig": { "Category": "MySQL", "CreateTime": 1733909824479, "DataSourceId": "1866754591849******", "EndpointType": "Volc_MySQL", "ModifyTime": 1733909857524, "VolcMySQLSettings": { "DBInstanceId": "mysql-35f7579****", "DBInstanceName": "", "Password": "******", "RegionSettings": { "Region": "cn-beijing" }, "Username": "rootgg" } }, "EnableCloudMonitor": true, "EndTime": 1733909889423, "ParentTaskID": "7b67a5c60a644cb6b5efa1c2******", "ParentTaskName": "diff", "ProjectName": "default", "SolutionSettings": { "MySQL2MySQLMetaCompareSettings": { "ObjectMappings": [ { "DestObjName": "diff_src", "MappingList": [ { "DestObjName": "*", "ObjectType": "Table", "SrcObjName": "*" } ], "ObjectType": "Database", "SrcObjName": "diff_src" } ] }, "SolutionType": "MySQL2MySQLMetaCompare" }, "SrcConfig": { "Category": "MySQL", "CreateTime": 1733909824477, "DataSourceId": "186675459184******", "EndpointType": "Volc_MySQL", "ModifyTime": 1733909853249, "VolcMySQLSettings": { "DBInstanceId": "mysql-90fb67****", "DBInstanceName": "", "Password": "******", "RegionSettings": { "Region": "cn-beijing" }, "Username": "rootgg" } }, "StartTime": 1733909851187, "TaskId": "cad03b2ed34d45a585d883d9******", "TaskName": "dts-5y16r6nhj1", "TaskStatus": "Canceled", "TaskSubType": "MetaCompare", "TaskType": "DataValidation", "TenantId": "21000****", "TrafficSpec": "Compact" } } }
更多详情,请参见错误码。