请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | DescribeShardTaskInfo | 系统规定参数。取值:DescribeShardTaskInfo。 |
DbName | String | 是 | jjjjjj_ppppp | 数据库名 |
DrdsInstanceId | String | 是 | drdsusrzmd10q4a0 | DRDS实例Id |
SourceTableName | String | 是 | a1 | 源表名 |
TargetTableName | String | 是 | a2 | 目标表名 |
RegionId | String | 否 | cn-hangzhou | RegionId |
返回数据
名称 | 类型 | 示例值 | 描述 |
Data | 返回数据 |
||
RequestId | String | 5D64DE5944A1E541E0CB908A | 请求唯一ID,如果遇到问题请提供这个请求ID,由工作人员为您排查。 |
Success | Boolean | true | 当前API是否请求成功 |
示例
请求示例
http(s)://[Endpoint]/?Action=DescribeShardTaskInfo &<公共请求参数>
正常返回示例
XML
格式
<DescribeShardTaskInfoResponse> <code>200</code> <data> <RequestId>42A9A85B-60F3-4858-88CD-2EE75251D19F</RequestId> <Data> <Status>增量追平</Status> <SourceTableName>a1</SourceTableName> <Progress>0</Progress> <FullCheck> <Progress>0</Progress> <Tps>0</Tps> <Total>0</Total> <Expired>0</Expired> </FullCheck> <Increment> <Tps>0</Tps> <StartTime>2019-09-16 15:12:53</StartTime> <Delay>1568617906</Delay> </Increment> <FullRevise> <Progress>0</Progress> <Tps>0</Tps> <Total>0</Total> <Expired>0</Expired> </FullRevise> <Stage>2</Stage> <Expired>0</Expired> <Review> <Progress>0</Progress> <Tps>0</Tps> <Total>0</Total> <Expired>0</Expired> </Review> <TargetTableName>a2</TargetTableName> <Full> <Progress>100</Progress> <Tps>0</Tps> <Total>2</Total> <StartTime>2019-09-16 15:11:53</StartTime> <Expired>0</Expired> </Full> </Data> <Success>true</Success> </data> <requestId>42A9A85B-60F3-4858-88CD-2EE75251D19F</requestId> <successResponse>true</successResponse> </DescribeShardTaskInfoResponse>
JSON
格式
{ "successResponse":true, "requestId":"42A9A85B-60F3-4858-88CD-2EE75251D19F", "data":{ "Data":{ "Status":"增量追平", "FullRevise":{ "Tps":0, "Expired":0, "Total":0, "Progress":0 }, "Full":{ "Tps":0, "Expired":0, "StartTime":"2019-09-16 15:11:53", "Total":2, "Progress":100 }, "Increment":{ "Tps":0, "Delay":1568617906, "StartTime":"2019-09-16 15:12:53" }, "Expired":"0", "SourceTableName":"a1", "FullCheck":{ "Tps":0, "Expired":0, "Total":0, "Progress":0 }, "Review":{ "Tps":0, "Expired":0, "Total":0, "Progress":0 }, "TargetTableName":"a2", "Stage":"2", "Progress":"0" }, "RequestId":"42A9A85B-60F3-4858-88CD-2EE75251D19F", "Success":true }, "code":"200" }
错误码
访问错误中心查看更多错误码。