tccli 3.0.1239.1__py2.py3-none-any.whl → 3.0.1241.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +66 -69
- tccli/services/apm/v20210622/examples.json +26 -26
- tccli/services/autoscaling/v20180419/api.json +12 -1
- tccli/services/batch/v20170312/api.json +11 -11
- tccli/services/billing/v20180709/api.json +20 -0
- tccli/services/cam/v20190116/api.json +1 -1
- tccli/services/car/v20220110/api.json +1 -1
- tccli/services/car/v20220110/examples.json +3 -3
- tccli/services/cdb/v20170320/api.json +582 -579
- tccli/services/cdb/v20170320/examples.json +9 -9
- tccli/services/cdwdoris/v20211228/api.json +40 -0
- tccli/services/cfg/v20210820/api.json +11 -0
- tccli/services/chdfs/v20201112/api.json +10 -10
- tccli/services/chdfs/v20201112/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/cmq/v20190304/api.json +77 -77
- tccli/services/csip/csip_client.py +281 -16
- tccli/services/csip/v20221121/api.json +1631 -101
- tccli/services/csip/v20221121/examples.json +40 -0
- tccli/services/cvm/cvm_client.py +60 -325
- tccli/services/cvm/v20170312/api.json +618 -1401
- tccli/services/cvm/v20170312/examples.json +8 -48
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +0 -34
- tccli/services/cwp/v20180228/examples.json +0 -8
- tccli/services/cynosdb/v20190107/api.json +452 -458
- tccli/services/cynosdb/v20190107/examples.json +23 -23
- tccli/services/dbbrain/v20191016/api.json +16 -4
- tccli/services/dbbrain/v20191016/examples.json +5 -5
- tccli/services/dbbrain/v20210527/api.json +44 -44
- tccli/services/dbbrain/v20210527/examples.json +8 -8
- tccli/services/dts/v20180330/api.json +30 -30
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +19 -9
- tccli/services/dts/v20211206/examples.json +5 -5
- tccli/services/ecm/v20190719/api.json +55 -48
- tccli/services/ecm/v20190719/examples.json +7 -7
- tccli/services/emr/emr_client.py +493 -16
- tccli/services/emr/v20190103/api.json +1323 -246
- tccli/services/emr/v20190103/examples.json +72 -0
- tccli/services/ess/v20201111/api.json +15 -6
- tccli/services/ess/v20201111/examples.json +12 -0
- tccli/services/essbasic/v20210526/api.json +11 -2
- tccli/services/essbasic/v20210526/examples.json +12 -0
- tccli/services/faceid/v20180301/api.json +3 -3
- tccli/services/gaap/v20180529/api.json +181 -183
- tccli/services/gaap/v20180529/examples.json +31 -37
- tccli/services/gs/v20191118/api.json +3 -3
- tccli/services/gs/v20191118/examples.json +3 -3
- tccli/services/iai/iai_client.py +53 -0
- tccli/services/iai/v20200303/api.json +80 -0
- tccli/services/iai/v20200303/examples.json +14 -0
- tccli/services/iotexplorer/v20190423/api.json +10 -0
- tccli/services/keewidb/v20220308/api.json +188 -190
- tccli/services/live/v20180801/api.json +323 -222
- tccli/services/live/v20180801/examples.json +79 -79
- tccli/services/mna/v20210119/api.json +20 -20
- tccli/services/mps/v20190612/api.json +40 -0
- tccli/services/oceanus/v20190422/api.json +407 -39
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +50 -0
- tccli/services/sms/v20190711/api.json +81 -81
- tccli/services/sms/v20190711/examples.json +8 -8
- tccli/services/sms/v20210111/api.json +39 -39
- tccli/services/sqlserver/v20180328/api.json +235 -139
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +777 -779
- tccli/services/ssl/v20191205/examples.json +8 -8
- tccli/services/tbaas/v20180416/api.json +118 -82
- tccli/services/tbaas/v20180416/examples.json +7 -7
- tccli/services/tcb/v20180608/api.json +18 -18
- tccli/services/tcb/v20180608/examples.json +2 -2
- tccli/services/tcm/v20210413/api.json +6 -6
- tccli/services/tcm/v20210413/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +17 -12
- tccli/services/tdmq/v20200217/api.json +18 -0
- tccli/services/tem/v20210701/api.json +439 -280
- tccli/services/tem/v20210701/examples.json +39 -39
- tccli/services/tke/v20180525/api.json +50 -39
- tccli/services/tke/v20180525/examples.json +51 -21
- tccli/services/trro/v20220325/api.json +27 -27
- tccli/services/trro/v20220325/examples.json +1 -1
- tccli/services/tse/v20201207/api.json +46 -9
- tccli/services/tse/v20201207/examples.json +31 -31
- tccli/services/tsf/v20180326/api.json +448 -434
- tccli/services/tsf/v20180326/examples.json +122 -122
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +278 -37
- tccli/services/vpc/v20170312/examples.json +56 -8
- tccli/services/vpc/vpc_client.py +159 -0
- tccli/services/waf/v20180125/api.json +303 -4
- tccli/services/waf/v20180125/examples.json +25 -1
- tccli/services/waf/waf_client.py +163 -4
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/RECORD +99 -99
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/license_files/LICENSE +0 -0
@@ -146,7 +146,7 @@
|
|
146
146
|
{
|
147
147
|
"document": "",
|
148
148
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCompareReport\n<公共请求参数>\n\n{\n \"JobId\": \"dts-amm1jw5q\",\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\"\n}",
|
149
|
-
"output": "{\n \"Response\": {\n \"Abstract\": {\n \"
|
149
|
+
"output": "{\n \"Response\": {\n \"Abstract\": {\n \"CheckedTables\": 1,\n \"Conclusion\": \"same\",\n \"DifferentRows\": 0,\n \"DifferentTables\": 0,\n \"DstSampleRows\": 0,\n \"FinishedAt\": \"2024-12-20 19:07:20\",\n \"NearlyTableCount\": 1,\n \"Objects\": {\n \"AdvancedObjects\": [],\n \"ObjectItems\": [\n {\n \"DbMode\": \"partial\",\n \"DbName\": \"db_1\",\n \"SchemaName\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"ColumnMode\": \"all\",\n \"Columns\": [],\n \"TableName\": \"tb_1\"\n }\n ],\n \"ViewMode\": \"partial\",\n \"Views\": null\n }\n ],\n \"ObjectMode\": \"partial\"\n },\n \"Options\": {\n \"Method\": \"dataCheck\",\n \"SampleRate\": 100,\n \"ThreadCount\": 1\n },\n \"SkippedTables\": 0,\n \"SrcSampleRows\": 0,\n \"StartedAt\": \"2024-12-20 19:04:03\",\n \"Status\": \"success\",\n \"TotalTables\": 1\n },\n \"Detail\": {\n \"Difference\": {\n \"Items\": [],\n \"TotalCount\": 0\n },\n \"DifferenceAdvancedObjects\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"DifferenceData\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"DifferenceRow\": {\n \"Items\": null,\n \"TotalCount\": 0\n },\n \"Skipped\": {\n \"Items\": [],\n \"TotalCount\": 0\n }\n },\n \"RequestId\": \"a3365b29-2042-4565-9206-8df9e2af1a17\"\n }\n}",
|
150
150
|
"title": "查询一致性校验任务详情"
|
151
151
|
}
|
152
152
|
],
|
@@ -186,7 +186,7 @@
|
|
186
186
|
{
|
187
187
|
"document": "查询某个迁移任务详情",
|
188
188
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMigrationDetail\n<公共请求参数>\n\n{\n \"JobId\": \"dts-amm1jw5q\"\n}",
|
189
|
-
"output": "{\n \"Response\": {\n \"Action\": {\n \"AllAction\": [\n \"view\",\n \"modify\",\n \"check\",\n \"start\",\n \"configure\",\n \"stop\",\n \"complete\",\n \"resume\",\n \"createCmpTask\",\n \"isolate\",\n \"offline\",\n \"resize\",\n \"recover\"\n ],\n \"AllowedAction\": [\n \"view\",\n \"stop\",\n \"complete\",\n \"createCmpTask\",\n \"view\",\n \"isolate\",\n \"resize\"\n ]\n },\n \"CheckStepInfo\": {\n \"EndAt\": \"2022-07-11 17:19:25\",\n \"Progress\": {\n \"Message\": \"success\",\n \"Percent\": 100,\n \"Status\": \"success\",\n \"StepAll\": 12,\n \"Steps\": [\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConnectDBCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"连接DB检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"VersionCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"版本检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"SrcPrivilegeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"源实例权限检查\",\n \"StepNo\": 0,\n \"Warnings\": [\n {\n \"HelpDoc\": \"\",\n \"Message\": \"您的授权情况:GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, CREATE TABLESPACE ON *.* TO 'root'@'%' WITH GRANT OPTION。 源端账号权限范围大于要求的账号权限范围,腾讯云DTS不会使用超过必要的权限,请按照最小化原则给与授权: https://cloud.tencent.com/document/product/571/58700\",\n \"Solution\": \"\"\n }\n ]\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"SimpleParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"部分实例参数检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstPrivilegeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例权限检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstEmptyCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例内容冲突检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstSpaceCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例空间检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"BinlogParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"binlog参数检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConstraintCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"外键依赖检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConstraintRefCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"外键部分库表依赖检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ViewCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"视图检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"WarningParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"警告项检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 0,\n \"StartTime\": \"\",\n \"Status\": \"skipped\",\n \"StepId\": \"OptimizeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"周边检查\",\n \"StepNo\": 0,\n \"Warnings\": [\n {\n \"HelpDoc\": \"\",\n \"Message\": \"skipped\",\n \"Solution\": \"\"\n }\n ]\n }\n ],\n \"StepNow\": 12\n },\n \"StartAt\": \"2022-07-11 17:18:57\"\n },\n \"CompareTask\": {\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\",\n \"Status\": \"consistent\"\n },\n \"CreateTime\": \"2022-07-11 16:20:49\",\n \"DstInfo\": {\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"\",\n \"Host\": \"\",\n \"InstanceId\": \"cdb-o7uph0cj\",\n \"Password\": \"xxx\",\n \"Port\": 0,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ErrorInfo\": [],\n \"ExpectRunTime\": \"2022-07-11 17:16:50\",\n \"JobId\": \"dts-amm1jw5q\",\n \"JobName\": \"test_config_api\",\n \"BriefMsg\": \"\",\n \"MigrateOption\": {\n \"Consistency\": {\n \"Mode\": \"full\"\n },\n \"DatabaseTable\": {\n \"Databases\": [\n {\n \"DBMode\": \"partial\",\n \"DbName\": \"big100\",\n \"EventMode\": \"\",\n \"FunctionMode\": \"\",\n \"NewDbName\": \"\",\n \"NewSchemaName\": \"\",\n \"ProcedureMode\": \"\",\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"SchemaMode\": \"\",\n \"SchemaName\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"NewTableName\": \"\",\n \"TableEditMode\": \"\",\n \"TableName\": \"sbtest1\",\n \"TmpTables\": []\n },\n {\n \"NewTableName\": \"new_sbtest10\",\n \"TableEditMode\": \"rename\",\n \"TableName\": \"sbtest10\",\n \"TmpTables\": []\n },\n {\n \"NewTableName\": \"\",\n \"TableEditMode\": \"\",\n \"TableName\": \"sbtest100\",\n \"TmpTables\": []\n }\n ],\n \"TriggerMode\": \"\",\n \"ViewMode\": \"none\",\n \"Views\": []\n },\n {\n \"DBMode\": \"all\",\n \"DbName\": \"db1\",\n \"EventMode\": \"\",\n \"FunctionMode\": \"\",\n \"NewDbName\": \"\",\n \"NewSchemaName\": \"\",\n \"ProcedureMode\": \"\",\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"SchemaMode\": \"\",\n \"SchemaName\": \"\",\n \"TableMode\": \"\",\n \"Tables\": [],\n \"TriggerMode\": \"\",\n \"ViewMode\": \"\",\n \"Views\": []\n }\n ],\n \"AdvancedObjects\": [\n \"function\"\n ],\n \"ObjectMode\": \"partial\"\n },\n \"ExtraAttr\": [],\n \"IsMigrateAccount\": false,\n \"IsDstReadOnly\": false,\n \"IsOverrideRoot\": false,\n \"MigrateType\": \"fullAndIncrement\"\n },\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\",\n \"RunMode\": \"immediate\",\n \"SrcInfo\": {\n \"AccessType\": \"intranet\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"5.7\",\n \"Host\": \"9.123.456.789\",\n \"InstanceId\": \"\",\n \"Password\": \"xxx\",\n \"Port\": 31035,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"StartTime\": \"2022-07-11 17:20:56\",\n \"Status\": \"readyComplete\",\n \"StepInfo\": {\n \"MasterSlaveDistance\": 0,\n \"SecondsBehindMaster\": 0,\n \"StepAll\": 3,\n \"StepInfo\": [\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:21:59\",\n \"Status\": \"finished\",\n \"StepId\": \"dumper\",\n \"StepName\": \"源库导出\",\n \"StepNo\": 1,\n \"Warnings\": []\n },\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:22:43\",\n \"Status\": \"finished\",\n \"StepId\": \"loader\",\n \"StepName\": \"数据导入\",\n \"StepNo\": 2,\n \"Warnings\": []\n },\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:23:26\",\n \"Status\": \"running\",\n \"StepId\": \"sinker\",\n \"StepName\": \"同步增量\",\n \"StepNo\": 3,\n \"Warnings\": []\n }\n ],\n \"StepNow\": 3\n },\n \"Tags\": [],\n \"TradeInfo\": {\n \"BillingType\": \"billing\",\n \"DealName\": \"20220711715001047929481\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceClass\": \"xlarge\",\n \"IsolateReason\": \"\",\n \"LastDealName\": \"\",\n \"OfflineReason\": \"\",\n \"PayType\": \"postpay\",\n \"TradeStatus\": \"normal\",\n \"OfflineTime\": \"\",\n \"IsolateTime\": \"\"\n },\n \"UpdateTime\": \"2022-07-11 19:53:03\",\n \"DumperResumeCtrl\": \"no\"\n }\n}",
|
189
|
+
"output": "{\n \"Response\": {\n \"Action\": {\n \"AllAction\": [\n \"view\",\n \"modify\",\n \"check\",\n \"start\",\n \"configure\",\n \"stop\",\n \"complete\",\n \"resume\",\n \"createCmpTask\",\n \"isolate\",\n \"offline\",\n \"resize\",\n \"recover\"\n ],\n \"AllowedAction\": [\n \"view\",\n \"stop\",\n \"complete\",\n \"createCmpTask\",\n \"view\",\n \"isolate\",\n \"resize\"\n ]\n },\n \"CheckStepInfo\": {\n \"EndAt\": \"2022-07-11 17:19:25\",\n \"Progress\": {\n \"Message\": \"success\",\n \"Percent\": 100,\n \"Status\": \"success\",\n \"StepAll\": 12,\n \"Steps\": [\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConnectDBCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"连接DB检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"VersionCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"版本检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"SrcPrivilegeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"源实例权限检查\",\n \"StepNo\": 0,\n \"Warnings\": [\n {\n \"HelpDoc\": \"\",\n \"Message\": \"您的授权情况:GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, CREATE TABLESPACE ON *.* TO 'root'@'%' WITH GRANT OPTION。 源端账号权限范围大于要求的账号权限范围,腾讯云DTS不会使用超过必要的权限,请按照最小化原则给与授权: https://cloud.tencent.com/document/product/571/58700\",\n \"Solution\": \"\"\n }\n ]\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"SimpleParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"部分实例参数检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstPrivilegeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例权限检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstEmptyCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例内容冲突检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"DstSpaceCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"目标实例空间检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"BinlogParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"binlog参数检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConstraintCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"外键依赖检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ConstraintRefCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"外键部分库表依赖检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"ViewCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"视图检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 100,\n \"StartTime\": \"\",\n \"Status\": \"finished\",\n \"StepId\": \"WarningParamCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"警告项检查\",\n \"StepNo\": 0,\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"Percent\": 0,\n \"StartTime\": \"\",\n \"Status\": \"skipped\",\n \"StepId\": \"OptimizeCheck\",\n \"StepMessage\": \"\",\n \"StepName\": \"周边检查\",\n \"StepNo\": 0,\n \"Warnings\": [\n {\n \"HelpDoc\": \"\",\n \"Message\": \"skipped\",\n \"Solution\": \"\"\n }\n ]\n }\n ],\n \"StepNow\": 12\n },\n \"StartAt\": \"2022-07-11 17:18:57\"\n },\n \"CompareTask\": {\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\",\n \"Status\": \"consistent\"\n },\n \"CreateTime\": \"2022-07-11 16:20:49\",\n \"DstInfo\": {\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"\",\n \"Host\": \"\",\n \"InstanceId\": \"cdb-o7uph0cj\",\n \"Password\": \"Abc_123456789\",\n \"Port\": 0,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ErrorInfo\": [],\n \"ExpectRunTime\": \"2022-07-11 17:16:50\",\n \"JobId\": \"dts-amm1jw5q\",\n \"JobName\": \"test_config_api\",\n \"BriefMsg\": \"\",\n \"MigrateOption\": {\n \"Consistency\": {\n \"Mode\": \"full\"\n },\n \"DatabaseTable\": {\n \"Databases\": [\n {\n \"DBMode\": \"partial\",\n \"DbName\": \"big100\",\n \"EventMode\": \"\",\n \"FunctionMode\": \"\",\n \"NewDbName\": \"\",\n \"NewSchemaName\": \"\",\n \"ProcedureMode\": \"\",\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"SchemaMode\": \"\",\n \"SchemaName\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"NewTableName\": \"\",\n \"TableEditMode\": \"\",\n \"TableName\": \"sbtest1\",\n \"TmpTables\": []\n },\n {\n \"NewTableName\": \"new_sbtest10\",\n \"TableEditMode\": \"rename\",\n \"TableName\": \"sbtest10\",\n \"TmpTables\": []\n },\n {\n \"NewTableName\": \"\",\n \"TableEditMode\": \"\",\n \"TableName\": \"sbtest100\",\n \"TmpTables\": []\n }\n ],\n \"TriggerMode\": \"\",\n \"ViewMode\": \"none\",\n \"Views\": []\n },\n {\n \"DBMode\": \"all\",\n \"DbName\": \"db1\",\n \"EventMode\": \"\",\n \"FunctionMode\": \"\",\n \"NewDbName\": \"\",\n \"NewSchemaName\": \"\",\n \"ProcedureMode\": \"\",\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"SchemaMode\": \"\",\n \"SchemaName\": \"\",\n \"TableMode\": \"\",\n \"Tables\": [],\n \"TriggerMode\": \"\",\n \"ViewMode\": \"\",\n \"Views\": []\n }\n ],\n \"AdvancedObjects\": [\n \"function\"\n ],\n \"ObjectMode\": \"partial\"\n },\n \"ExtraAttr\": [],\n \"IsMigrateAccount\": false,\n \"IsDstReadOnly\": false,\n \"IsOverrideRoot\": false,\n \"MigrateType\": \"fullAndIncrement\"\n },\n \"RequestId\": \"ac300ff0-00f2-11ed-b005-4930e69d89c2\",\n \"RunMode\": \"immediate\",\n \"SrcInfo\": {\n \"AccessType\": \"intranet\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"5.7\",\n \"Host\": \"9.123.456.789\",\n \"InstanceId\": \"\",\n \"Password\": \"Abc_123456789\",\n \"Port\": 31035,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"StartTime\": \"2022-07-11 17:20:56\",\n \"Status\": \"readyComplete\",\n \"StepInfo\": {\n \"MasterSlaveDistance\": 0,\n \"SecondsBehindMaster\": 0,\n \"StepAll\": 3,\n \"StepInfo\": [\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:21:59\",\n \"Status\": \"finished\",\n \"StepId\": \"dumper\",\n \"StepName\": \"源库导出\",\n \"StepNo\": 1,\n \"Warnings\": []\n },\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:22:43\",\n \"Status\": \"finished\",\n \"StepId\": \"loader\",\n \"StepName\": \"数据导入\",\n \"StepNo\": 2,\n \"Warnings\": []\n },\n {\n \"StepMessage\": \"\",\n \"Percent\": 100,\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:23:26\",\n \"Status\": \"running\",\n \"StepId\": \"sinker\",\n \"StepName\": \"同步增量\",\n \"StepNo\": 3,\n \"Warnings\": []\n }\n ],\n \"StepNow\": 3\n },\n \"Tags\": [],\n \"TradeInfo\": {\n \"BillingType\": \"billing\",\n \"DealName\": \"20220711715001047929481\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceClass\": \"xlarge\",\n \"IsolateReason\": \"\",\n \"LastDealName\": \"\",\n \"OfflineReason\": \"\",\n \"PayType\": \"postpay\",\n \"TradeStatus\": \"normal\",\n \"OfflineTime\": \"\",\n \"IsolateTime\": \"\"\n },\n \"UpdateTime\": \"2022-07-11 19:53:03\",\n \"DumperResumeCtrl\": \"no\"\n }\n}",
|
190
190
|
"title": "查询某个迁移任务详情"
|
191
191
|
}
|
192
192
|
],
|
@@ -250,7 +250,7 @@
|
|
250
250
|
{
|
251
251
|
"document": "查询同步任务列表",
|
252
252
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSyncJobs\n<公共请求参数>\n\n{\n \"JobId\": \"sync-bkm3mppi\"\n}",
|
253
|
-
"output": "{\n \"Response\": {\n \"JobList\": [\n {\n \"Actions\": [\n \"pause\",\n \"stop\",\n \"limitRate\",\n \"view\",\n \"resize\",\n \"isolate\",\n \"postPay2prePay\",\n \"configureOptObj\"\n ],\n \"AllActions\": [\n \"view\",\n \"configure\",\n \"check\",\n \"start\",\n \"stop\",\n \"resume\",\n \"pause\",\n \"continue\",\n \"limitRate\",\n \"resize\",\n \"isolate\",\n \"offline\",\n \"recover\",\n \"postPay2prePay\",\n \"configureOptObj\",\n \"checkOptObj\",\n \"startOptObj\",\n \"createCmpTask\"\n ],\n \"AutoRenew\": 0,\n \"AutoRetryTimeRangeMinutes\": 0,\n \"CreateTime\": \"2023-12-18 20:55:27\",\n \"Detail\": {\n \"CauseOfCompareDisable\": \"当前任务开启了DML过滤()。\",\n \"CurrentStepProgress\": 0,\n \"ErrInfo\": {\n \"Message\": \"\",\n \"Reason\": \"\",\n \"Solution\": \"\"\n },\n \"MasterSlaveDistance\": 0,\n \"Message\": \"\",\n \"Progress\": -1,\n \"SecondsBehindMaster\": 0,\n \"StepAll\": 4,\n \"StepInfos\": [\n {\n \"Errors\": null,\n \"Progress\": -1,\n \"StartTime\": \"2023-12-20 17:03:39\",\n \"Status\": \"finished\",\n \"StepId\": \"schema-init\",\n \"StepName\": \"增量库表初始化\",\n \"StepNo\": 1,\n \"Warnings\": []\n },\n {\n \"Errors\": null,\n \"Progress\": -1,\n \"StartTime\": \"2023-12-20 17:03:49\",\n \"Status\": \"finished\",\n \"StepId\": \"dumper\",\n \"StepName\": \"全量导出\",\n \"StepNo\": 2,\n \"Warnings\": []\n },\n {\n \"Errors\": null,\n \"Progress\": -1,\n \"StartTime\": \"2023-12-20 17:07:50\",\n \"Status\": \"finished\",\n \"StepId\": \"loader\",\n \"StepName\": \"全量导入\",\n \"StepNo\": 3,\n \"Warnings\": []\n },\n {\n \"Errors\": null,\n \"Progress\": -1,\n \"StartTime\": \"2023-12-20 17:16:49\",\n \"Status\": \"running\",\n \"StepId\": \"sinker\",\n \"StepName\": \"同步增量\",\n \"StepNo\": 4,\n \"Warnings\": []\n }\n ],\n \"StepNow\": 4\n },\n \"DstAccessType\": \"noProxy\",\n \"DstDatabaseType\": \"mysql\",\n \"DstInfo\": {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnId\": \"\",\n \"CcnOwnerUin\": \"\",\n \"CvmInstanceId\": \"\",\n \"DatabaseNetEnv\": \"\",\n \"DbKernel\": \"\",\n \"DbName\": \"\",\n \"EncryptConn\": \"\",\n \"EngineVersion\": \"\",\n \"InstanceId\": \"\",\n \"Ip\": \"11.141.232.156\",\n \"Password\": \"\",\n \"Port\": 3306,\n \"Region\": \"ap-guangzhou\",\n \"Role\": \"\",\n \"RoleExternalId\": \"\",\n \"SubnetId\": \"\",\n \"Supplier\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n },\n \"DstInfos\": {\n \"AccessType\": \"\",\n \"DatabaseType\": \"\",\n \"Info\": null,\n \"Region\": \"\"\n },\n \"DstNodeType\": \"single\",\n \"DstRegion\": \"ap-qingyuan\",\n \"DumperResumeCtrl\": \"yes\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ExpectRunTime\": \"0000-00-00 00:00:00\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceClass\": \"medium\",\n \"JobId\": \"sync-09vy1os1\",\n \"JobName\": \"roger_test\",\n \"Objects\": {\n \"Databases\": [\n {\n \"DbMode\": \"All\",\n \"DbName\": \"db_big\",\n \"EventMode\": \"\",\n \"FunctionMode\": \"\",\n \"NewDbName\": \"\",\n \"NewSchemaName\": \"\",\n \"ProcedureMode\": \"\",\n \"SchemaName\": \"\",\n \"TableMode\": \"All\",\n \"TriggerMode\": \"\",\n \"ViewMode\": \"All\"\n }\n ],\n \"Mode\": \"Partial\",\n \"OnlineDDL\": {\n \"Status\": \"\"\n }\n },\n \"OfflineTime\": \"0000-00-00 00:00:00\",\n \"Options\": {\n \"AddAdditionalColumn\": false,\n \"AutoRetryTimeRangeMinutes\": 0,\n \"ConflictHandleOption\": {\n \"ConditionColumn\": \"\",\n \"ConditionOperator\": \"\",\n \"ConditionOrderInSrcAndDst\": \"\"\n },\n \"ConflictHandleType\": \"Cover\",\n \"DdlOptions\": null,\n \"DealOfExistSameTable\": \"ExecuteAfterIgnore\",\n \"FilterBeginCommit\": false,\n \"FilterCheckpoint\": false,\n \"InitType\": \"Full\",\n \"KafkaOption\": {\n \"DDLTopicName\": \"\",\n \"DataType\": \"\",\n \"TopicRules\": [],\n \"TopicType\": \"\"\n },\n \"OpTypes\": null,\n \"RateLimitOption\": {\n \"CurrentDumpRps\": 0,\n \"CurrentDumpThread\": 8,\n \"CurrentLoadRps\": 0,\n \"CurrentLoadThread\": 8,\n \"CurrentSinkerThread\": 32,\n \"DefaultDumpRps\": 0,\n \"DefaultDumpThread\": 8,\n \"DefaultLoadRps\": 0,\n \"DefaultLoadThread\": 8,\n \"DefaultSinkerThread\": 32,\n \"HasUserSetRateLimit\": \"no\"\n },\n \"StartPosition\": \"\"\n },\n \"PayMode\": \"PostPay\",\n \"RunMode\": \"Immediate\",\n \"Specification\": \"\",\n \"SrcAccessType\": \"noProxy\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcInfo\": {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnId\": \"\",\n \"CcnOwnerUin\": \"\",\n \"CvmInstanceId\": \"\",\n \"DatabaseNetEnv\": \"\",\n \"DbKernel\": \"\",\n \"DbName\": \"\",\n \"EncryptConn\": \"\",\n \"EngineVersion\": \"\",\n \"InstanceId\": \"\",\n \"Ip\": \"11.141.232.195\",\n \"Password\": \"\",\n \"Port\": 3306,\n \"Region\": \"ap-guangzhou\",\n \"Role\": \"\",\n \"RoleExternalId\": \"\",\n \"SubnetId\": \"\",\n \"Supplier\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n },\n \"SrcInfos\": {\n \"AccessType\": \"\",\n \"DatabaseType\": \"\",\n \"Info\": null,\n \"Region\": \"\"\n },\n \"SrcNodeType\": \"single\",\n \"SrcRegion\": \"ap-qingyuan\",\n \"StartTime\": \"2023-12-19 15:54:18\",\n \"Status\": \"Running\",\n \"Tags\": [],\n \"TradeStatus\": \"Normal\"\n }\n ],\n \"RequestId\": \"268b0711-a3b2-4692-8c91-88d743bc8b9f\",\n \"TotalCount\": 1\n }\n}",
|
253
|
+
"output": "{\n \"Response\": {\n \"JobList\": [\n {\n \"Actions\": [\n \"pause\",\n \"stop\",\n \"limitRate\",\n \"view\",\n \"resize\",\n \"isolate\",\n \"postPay2prePay\",\n \"configureOptObj\"\n ],\n \"AllActions\": [\n \"view\",\n \"configure\",\n \"check\",\n \"start\",\n \"stop\",\n \"resume\",\n \"pause\",\n \"continue\",\n \"limitRate\",\n \"resize\",\n \"isolate\",\n \"offline\",\n \"recover\",\n \"postPay2prePay\",\n \"configureOptObj\",\n \"checkOptObj\",\n \"startOptObj\",\n \"createCmpTask\"\n ],\n \"AutoRenew\": 0,\n \"AutoRetryTimeRangeMinutes\": 0,\n \"CreateTime\": \"2023-12-18 20:55:27\",\n \"Detail\": {\n \"CauseOfCompareDisable\": \"当前任务开启了DML过滤()。\",\n \"CurrentStepProgress\": 0,\n \"ErrInfo\": {\n \"Message\": \"\",\n \"Reason\": \"\",\n \"Solution\": \"\"\n },\n \"MasterSlaveDistance\": 0,\n \"Message\": \"\",\n \"Progress\": -1,\n \"SecondsBehindMaster\": 0,\n \"StepAll\": 4,\n \"StepInfos\": [\n {\n \"Errors\": null,\n \"Progress\": -1,\n \"StartTime\": \"2023-12-20 17:03:39\",\n \"Status\": \"finished\",\n \"StepId\": \"schema-init\",\n \"StepName\": \"增量库表初始化\",\n \"StepNo\": 1,\n \"Warnings\": []\n },\n {\n \"Errors\": null,\n \"Progress\": -1,\n \"StartTime\": \"2023-12-20 17:03:49\",\n \"Status\": \"finished\",\n \"StepId\": \"dumper\",\n \"StepName\": \"全量导出\",\n \"StepNo\": 2,\n \"Warnings\": []\n },\n {\n \"Errors\": null,\n \"Progress\": -1,\n \"StartTime\": \"2023-12-20 17:07:50\",\n \"Status\": \"finished\",\n \"StepId\": \"loader\",\n \"StepName\": \"全量导入\",\n \"StepNo\": 3,\n \"Warnings\": []\n },\n {\n \"Errors\": null,\n \"Progress\": -1,\n \"StartTime\": \"2023-12-20 17:16:49\",\n \"Status\": \"running\",\n \"StepId\": \"sinker\",\n \"StepName\": \"同步增量\",\n \"StepNo\": 4,\n \"Warnings\": []\n }\n ],\n \"StepNow\": 4\n },\n \"DstAccessType\": \"noProxy\",\n \"DstDatabaseType\": \"mysql\",\n \"DstInfo\": {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnId\": \"\",\n \"CcnOwnerUin\": \"\",\n \"CvmInstanceId\": \"\",\n \"DatabaseNetEnv\": \"\",\n \"DbKernel\": \"\",\n \"DbName\": \"\",\n \"EncryptConn\": \"\",\n \"EngineVersion\": \"\",\n \"InstanceId\": \"\",\n \"Ip\": \"11.141.232.156\",\n \"Password\": \"\",\n \"Port\": 3306,\n \"Region\": \"ap-guangzhou\",\n \"Role\": \"\",\n \"RoleExternalId\": \"\",\n \"SubnetId\": \"\",\n \"Supplier\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n },\n \"DstInfos\": {\n \"AccessType\": \"\",\n \"DatabaseType\": \"\",\n \"Info\": null,\n \"Region\": \"\"\n },\n \"DstNodeType\": \"single\",\n \"DstRegion\": \"ap-qingyuan\",\n \"DumperResumeCtrl\": \"yes\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ExpectRunTime\": \"0000-00-00 00:00:00\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceClass\": \"medium\",\n \"JobId\": \"sync-09vy1os1\",\n \"JobName\": \"roger_test\",\n \"Objects\": {\n \"Databases\": [\n {\n \"DbMode\": \"All\",\n \"DbName\": \"db_big\",\n \"EventMode\": \"\",\n \"FunctionMode\": \"\",\n \"NewDbName\": \"\",\n \"NewSchemaName\": \"\",\n \"ProcedureMode\": \"\",\n \"SchemaName\": \"\",\n \"TableMode\": \"All\",\n \"TriggerMode\": \"\",\n \"ViewMode\": \"All\"\n }\n ],\n \"Mode\": \"Partial\",\n \"OnlineDDL\": {\n \"Status\": \"\"\n }\n },\n \"OfflineTime\": \"0000-00-00 00:00:00\",\n \"OptObjStatus\": \"Normal\",\n \"Options\": {\n \"AddAdditionalColumn\": false,\n \"AutoRetryTimeRangeMinutes\": 0,\n \"ConflictHandleOption\": {\n \"ConditionColumn\": \"\",\n \"ConditionOperator\": \"\",\n \"ConditionOrderInSrcAndDst\": \"\"\n },\n \"ConflictHandleType\": \"Cover\",\n \"DdlOptions\": null,\n \"DealOfExistSameTable\": \"ExecuteAfterIgnore\",\n \"FilterBeginCommit\": false,\n \"FilterCheckpoint\": false,\n \"InitType\": \"Full\",\n \"KafkaOption\": {\n \"DDLTopicName\": \"\",\n \"DataType\": \"\",\n \"TopicRules\": [],\n \"TopicType\": \"\"\n },\n \"OpTypes\": null,\n \"RateLimitOption\": {\n \"CurrentDumpRps\": 0,\n \"CurrentDumpThread\": 8,\n \"CurrentLoadRps\": 0,\n \"CurrentLoadThread\": 8,\n \"CurrentSinkerThread\": 32,\n \"DefaultDumpRps\": 0,\n \"DefaultDumpThread\": 8,\n \"DefaultLoadRps\": 0,\n \"DefaultLoadThread\": 8,\n \"DefaultSinkerThread\": 32,\n \"HasUserSetRateLimit\": \"no\"\n },\n \"StartPosition\": \"\"\n },\n \"PayMode\": \"PostPay\",\n \"RunMode\": \"Immediate\",\n \"Specification\": \"\",\n \"SrcAccessType\": \"noProxy\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcInfo\": {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnId\": \"\",\n \"CcnOwnerUin\": \"\",\n \"CvmInstanceId\": \"\",\n \"DatabaseNetEnv\": \"\",\n \"DbKernel\": \"\",\n \"DbName\": \"\",\n \"EncryptConn\": \"\",\n \"EngineVersion\": \"\",\n \"InstanceId\": \"\",\n \"Ip\": \"11.141.232.195\",\n \"Password\": \"\",\n \"Port\": 3306,\n \"Region\": \"ap-guangzhou\",\n \"Role\": \"\",\n \"RoleExternalId\": \"\",\n \"SubnetId\": \"\",\n \"Supplier\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n },\n \"SrcInfos\": {\n \"AccessType\": \"\",\n \"DatabaseType\": \"\",\n \"Info\": null,\n \"Region\": \"\"\n },\n \"SrcNodeType\": \"single\",\n \"SrcRegion\": \"ap-qingyuan\",\n \"StartTime\": \"2023-12-19 15:54:18\",\n \"Status\": \"Running\",\n \"Tags\": [],\n \"TradeStatus\": \"Normal\"\n }\n ],\n \"RequestId\": \"268b0711-a3b2-4692-8c91-88d743bc8b9f\",\n \"TotalCount\": 1\n }\n}",
|
254
254
|
"title": "查询同步任务列表"
|
255
255
|
}
|
256
256
|
],
|
@@ -369,8 +369,8 @@
|
|
369
369
|
"ModifyMigrationJob": [
|
370
370
|
{
|
371
371
|
"document": "",
|
372
|
-
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMigrationJob\n<公共请求参数>\n\n{\n \"JobId\": \"
|
373
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
372
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMigrationJob\n<公共请求参数>\n\n{\n \"JobId\": \"dts-efyc7e7l\",\n \"JobName\": \"dts-efyc7e7l\",\n \"RunMode\": \"immediate\",\n \"ExpectRunTime\": \"2024-12-20 19:01:07\",\n \"MigrateOption\": {\n \"MigrateType\": \"fullAndIncrement\",\n \"Consistency\": {\n \"Mode\": \"full\"\n },\n \"DatabaseTable\": {\n \"ObjectMode\": \"partial\",\n \"Databases\": [\n {\n \"DbName\": \"db_1\",\n \"NewDbName\": \"\",\n \"SchemaName\": \"\",\n \"NewSchemaName\": \"\",\n \"DBMode\": \"partial\",\n \"SchemaMode\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"TableName\": \"tb_1\",\n \"NewTableName\": \"\",\n \"TmpTables\": [],\n \"TableEditMode\": \"\"\n }\n ],\n \"ViewMode\": \"partial\",\n \"Views\": [\n {\n \"ViewName\": \"view_tb_1\",\n \"NewViewName\": \"\"\n }\n ],\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"FunctionMode\": \"\",\n \"TriggerMode\": \"\",\n \"EventMode\": \"\",\n \"ProcedureMode\": \"\",\n \"Functions\": [],\n \"Procedures\": [],\n \"Events\": [],\n \"Triggers\": []\n }\n ],\n \"AdvancedObjects\": []\n },\n \"IsMigrateAccount\": true,\n \"IsOverrideRoot\": true,\n \"IsDstReadOnly\": true,\n \"ExtraAttr\": []\n },\n \"SrcInfo\": {\n \"Supplier\": \"\",\n \"Region\": \"ap-qingyuan\",\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"NodeType\": \"\",\n \"Info\": [\n {\n \"Role\": \"\",\n \"DbKernel\": \"\",\n \"Host\": \"\",\n \"Port\": 0,\n \"User\": \"tencent\",\n \"Password\": \"tencent***\",\n \"CvmInstanceId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"UniqDcgId\": \"\",\n \"InstanceId\": \"cdb-4gp2nzqy\",\n \"CcnGwId\": \"\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\",\n \"EngineVersion\": \"8.0\",\n \"Account\": \"\",\n \"AccountRole\": \"\",\n \"AccountMode\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\"\n }\n ],\n \"ExtraAttr\": [],\n \"DatabaseNetEnv\": \"\"\n },\n \"DstInfo\": {\n \"Supplier\": \"\",\n \"Region\": \"ap-qingyuan\",\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"NodeType\": \"\",\n \"Info\": [\n {\n \"Role\": \"\",\n \"DbKernel\": \"\",\n \"Host\": \"\",\n \"Port\": 0,\n \"User\": \"tencent\",\n \"Password\": \"tencent***\",\n \"CvmInstanceId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"UniqDcgId\": \"\",\n \"InstanceId\": \"cdb-4gp2nzqy\",\n \"CcnGwId\": \"\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\",\n \"EngineVersion\": \"8.0\",\n \"Account\": \"\",\n \"AccountRole\": \"\",\n \"AccountMode\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\"\n }\n ],\n \"ExtraAttr\": [],\n \"DatabaseNetEnv\": \"\"\n },\n \"Tags\": [],\n \"AutoRetryTimeRangeMinutes\": 0\n}",
|
373
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a3365b29-2042-4565-9206-8df9e2af1a17\"\n }\n}",
|
374
374
|
"title": "配置迁移任务"
|
375
375
|
}
|
376
376
|
],
|