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
@@ -424,7 +424,7 @@
|
|
424
424
|
{
|
425
425
|
"disabled": false,
|
426
426
|
"document": "需要迁移的源数据库表信息,用json格式的字符串描述。当MigrateOption.MigrateObject配置为2(指定库表迁移)时必填。\n对于database-table两级结构的数据库:\n[{\"Database\":\"db1\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db2\"}]\n对于database-schema-table三级结构:\n[{\"Database\":\"db1\",\"Schema\":\"s1\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db1\",\"Schema\":\"s2\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db2\",\"Schema\":\"s1\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db3\"},{\"Database\":\"db4\",\"Schema\":\"s1\"}]",
|
427
|
-
"example": "
|
427
|
+
"example": "[{\"Database\":\"db1\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db2\"}]",
|
428
428
|
"member": "string",
|
429
429
|
"name": "DatabaseInfo",
|
430
430
|
"required": false,
|
@@ -469,7 +469,7 @@
|
|
469
469
|
"example": "dts-1kl0iy0v",
|
470
470
|
"member": "string",
|
471
471
|
"name": "JobId",
|
472
|
-
"
|
472
|
+
"output_required": true,
|
473
473
|
"type": "string",
|
474
474
|
"value_allowed_null": false
|
475
475
|
},
|
@@ -737,7 +737,7 @@
|
|
737
737
|
{
|
738
738
|
"disabled": false,
|
739
739
|
"document": "数据迁移任务名称",
|
740
|
-
"example": "
|
740
|
+
"example": "dts-job1",
|
741
741
|
"member": "string",
|
742
742
|
"name": "JobName",
|
743
743
|
"required": false,
|
@@ -800,7 +800,7 @@
|
|
800
800
|
"example": "2",
|
801
801
|
"member": "uint64",
|
802
802
|
"name": "TotalCount",
|
803
|
-
"
|
803
|
+
"output_required": true,
|
804
804
|
"type": "int",
|
805
805
|
"value_allowed_null": false
|
806
806
|
},
|
@@ -810,7 +810,7 @@
|
|
810
810
|
"example": "无",
|
811
811
|
"member": "MigrateJobInfo",
|
812
812
|
"name": "JobList",
|
813
|
-
"
|
813
|
+
"output_required": true,
|
814
814
|
"type": "list",
|
815
815
|
"value_allowed_null": false
|
816
816
|
},
|
@@ -1506,17 +1506,17 @@
|
|
1506
1506
|
"example": "dts-75sekyal",
|
1507
1507
|
"member": "string",
|
1508
1508
|
"name": "JobId",
|
1509
|
-
"
|
1509
|
+
"output_required": true,
|
1510
1510
|
"type": "string",
|
1511
1511
|
"value_allowed_null": false
|
1512
1512
|
},
|
1513
1513
|
{
|
1514
1514
|
"disabled": false,
|
1515
1515
|
"document": "数据迁移任务名称",
|
1516
|
-
"example": "
|
1516
|
+
"example": "dts-75sekyal",
|
1517
1517
|
"member": "string",
|
1518
1518
|
"name": "JobName",
|
1519
|
-
"
|
1519
|
+
"output_required": true,
|
1520
1520
|
"type": "string",
|
1521
1521
|
"value_allowed_null": false
|
1522
1522
|
},
|
@@ -1526,7 +1526,7 @@
|
|
1526
1526
|
"example": "{\"ConsistencyParams\":{\"SelectRowsPerTable\":0,\"TablesSelectAll\":0",
|
1527
1527
|
"member": "MigrateOption",
|
1528
1528
|
"name": "MigrateOption",
|
1529
|
-
"
|
1529
|
+
"output_required": true,
|
1530
1530
|
"type": "object",
|
1531
1531
|
"value_allowed_null": false
|
1532
1532
|
},
|
@@ -1536,7 +1536,7 @@
|
|
1536
1536
|
"example": "mysql",
|
1537
1537
|
"member": "string",
|
1538
1538
|
"name": "SrcDatabaseType",
|
1539
|
-
"
|
1539
|
+
"output_required": true,
|
1540
1540
|
"type": "string",
|
1541
1541
|
"value_allowed_null": false
|
1542
1542
|
},
|
@@ -1546,7 +1546,7 @@
|
|
1546
1546
|
"example": "cdb",
|
1547
1547
|
"member": "string",
|
1548
1548
|
"name": "SrcAccessType",
|
1549
|
-
"
|
1549
|
+
"output_required": true,
|
1550
1550
|
"type": "string",
|
1551
1551
|
"value_allowed_null": false
|
1552
1552
|
},
|
@@ -1556,7 +1556,7 @@
|
|
1556
1556
|
"example": "{\"AccessKey\":\"\",\"CcnId\":\"\",\"CvmInstanceId\":\"\",\"EngineVersion\":\"\"",
|
1557
1557
|
"member": "SrcInfo",
|
1558
1558
|
"name": "SrcInfo",
|
1559
|
-
"
|
1559
|
+
"output_required": true,
|
1560
1560
|
"type": "object",
|
1561
1561
|
"value_allowed_null": false
|
1562
1562
|
},
|
@@ -1566,7 +1566,7 @@
|
|
1566
1566
|
"example": "mysql",
|
1567
1567
|
"member": "string",
|
1568
1568
|
"name": "DstDatabaseType",
|
1569
|
-
"
|
1569
|
+
"output_required": true,
|
1570
1570
|
"type": "string",
|
1571
1571
|
"value_allowed_null": false
|
1572
1572
|
},
|
@@ -1576,7 +1576,7 @@
|
|
1576
1576
|
"example": "cdb",
|
1577
1577
|
"member": "string",
|
1578
1578
|
"name": "DstAccessType",
|
1579
|
-
"
|
1579
|
+
"output_required": true,
|
1580
1580
|
"type": "string",
|
1581
1581
|
"value_allowed_null": false
|
1582
1582
|
},
|
@@ -1586,17 +1586,17 @@
|
|
1586
1586
|
"example": "{\"CcnId\":\"\",\"CvmInstanceId\":\"\",\"InstanceId\":\"crs-eciqrvyo\",\"Ip\":",
|
1587
1587
|
"member": "DstInfo",
|
1588
1588
|
"name": "DstInfo",
|
1589
|
-
"
|
1589
|
+
"output_required": true,
|
1590
1590
|
"type": "object",
|
1591
1591
|
"value_allowed_null": false
|
1592
1592
|
},
|
1593
1593
|
{
|
1594
1594
|
"disabled": false,
|
1595
1595
|
"document": "需要迁移的源数据库表信息,如果需要迁移的是整个实例,该字段为[]",
|
1596
|
-
"example": "\"\"",
|
1596
|
+
"example": "[{\"Database\":\"db1\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db2\"}]",
|
1597
1597
|
"member": "string",
|
1598
1598
|
"name": "DatabaseInfo",
|
1599
|
-
"
|
1599
|
+
"output_required": true,
|
1600
1600
|
"type": "string",
|
1601
1601
|
"value_allowed_null": false
|
1602
1602
|
},
|
@@ -1606,7 +1606,7 @@
|
|
1606
1606
|
"example": "2022-04-14 16:35:23",
|
1607
1607
|
"member": "datetime",
|
1608
1608
|
"name": "CreateTime",
|
1609
|
-
"
|
1609
|
+
"output_required": true,
|
1610
1610
|
"type": "string",
|
1611
1611
|
"value_allowed_null": false
|
1612
1612
|
},
|
@@ -1616,7 +1616,7 @@
|
|
1616
1616
|
"example": "2022-04-14 16:48:33",
|
1617
1617
|
"member": "datetime",
|
1618
1618
|
"name": "StartTime",
|
1619
|
-
"
|
1619
|
+
"output_required": true,
|
1620
1620
|
"type": "string",
|
1621
1621
|
"value_allowed_null": false
|
1622
1622
|
},
|
@@ -1626,17 +1626,17 @@
|
|
1626
1626
|
"example": "2022-04-14 16:48:33",
|
1627
1627
|
"member": "datetime",
|
1628
1628
|
"name": "EndTime",
|
1629
|
-
"
|
1629
|
+
"output_required": true,
|
1630
1630
|
"type": "string",
|
1631
1631
|
"value_allowed_null": false
|
1632
1632
|
},
|
1633
1633
|
{
|
1634
1634
|
"disabled": false,
|
1635
|
-
"document": "任务状态,取值为:1-创建中(Creating),3-校验中(Checking)4-校验通过(CheckPass),5-校验不通过(CheckNotPass),7-任务运行(Running),8-准备完成(ReadyComplete),9-任务成功(Success),10-任务失败(Failed),11-撤销中(Stopping),12-完成中(Completing)",
|
1635
|
+
"document": "任务状态,取值为:1-创建中(Creating),3-校验中(Checking)4-校验通过(CheckPass),5-校验不通过(CheckNotPass),7-任务运行(Running),8-准备完成(ReadyComplete),9-任务成功(Success),10-任务失败(Failed),11-撤销中(Stopping),12-完成中(Completing),23-未知状态(Unknown)",
|
1636
1636
|
"example": "6",
|
1637
1637
|
"member": "int64",
|
1638
1638
|
"name": "Status",
|
1639
|
-
"
|
1639
|
+
"output_required": true,
|
1640
1640
|
"type": "int",
|
1641
1641
|
"value_allowed_null": false
|
1642
1642
|
},
|
@@ -1646,27 +1646,27 @@
|
|
1646
1646
|
"example": "{\"CurrentStepProgress\":\"0\",\"MasterSlaveDistance\":-1,\"Progress\":\"",
|
1647
1647
|
"member": "MigrateDetailInfo",
|
1648
1648
|
"name": "Detail",
|
1649
|
-
"
|
1649
|
+
"output_required": true,
|
1650
1650
|
"type": "object",
|
1651
1651
|
"value_allowed_null": false
|
1652
1652
|
},
|
1653
1653
|
{
|
1654
1654
|
"disabled": false,
|
1655
1655
|
"document": "任务错误信息提示,当任务发生错误时,不为null或者空值",
|
1656
|
-
"example": "
|
1656
|
+
"example": "无",
|
1657
1657
|
"member": "ErrorInfo",
|
1658
1658
|
"name": "ErrorInfo",
|
1659
|
-
"
|
1659
|
+
"output_required": true,
|
1660
1660
|
"type": "list",
|
1661
1661
|
"value_allowed_null": false
|
1662
1662
|
},
|
1663
1663
|
{
|
1664
1664
|
"disabled": false,
|
1665
1665
|
"document": "标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
1666
|
-
"example": "
|
1666
|
+
"example": "无",
|
1667
1667
|
"member": "TagItem",
|
1668
1668
|
"name": "Tags",
|
1669
|
-
"
|
1669
|
+
"output_required": true,
|
1670
1670
|
"type": "list",
|
1671
1671
|
"value_allowed_null": true
|
1672
1672
|
},
|
@@ -1676,7 +1676,7 @@
|
|
1676
1676
|
"example": "[{\"AccessKey\":\"\",\"CcnId\":\"\",\"CvmInstanceId\":\"\",\"EngineVersion\":\"",
|
1677
1677
|
"member": "SrcInfo",
|
1678
1678
|
"name": "SrcInfoMulti",
|
1679
|
-
"
|
1679
|
+
"output_required": true,
|
1680
1680
|
"type": "list",
|
1681
1681
|
"value_allowed_null": true
|
1682
1682
|
}
|
@@ -1848,7 +1848,7 @@
|
|
1848
1848
|
{
|
1849
1849
|
"disabled": false,
|
1850
1850
|
"document": "数据迁移任务名称",
|
1851
|
-
"example": "
|
1851
|
+
"example": "dts-75sekyal",
|
1852
1852
|
"member": "string",
|
1853
1853
|
"name": "JobName",
|
1854
1854
|
"required": false,
|
@@ -1902,7 +1902,7 @@
|
|
1902
1902
|
{
|
1903
1903
|
"disabled": false,
|
1904
1904
|
"document": "当选择'指定库表'迁移的时候, 需要设置待迁移的源数据库表信息,用符合json数组格式的字符串描述, 如下所例。\n\n对于database-table两级结构的数据库:\n[{\"Database\":\"db1\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db2\"}]\n对于database-schema-table三级结构:\n[{\"Database\":\"db1\",\"Schema\":\"s1\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db1\",\"Schema\":\"s2\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db2\",\"Schema\":\"s1\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db3\"},{\"Database\":\"db4\",\"Schema\":\"s1\"}]\n\n如果是'整个实例'的迁移模式,不需设置该字段",
|
1905
|
-
"example": "
|
1905
|
+
"example": "[{\"Database\":\"db1\",\"Table\":[\"table1\",\"table2\"]},{\"Database\":\"db2\"}]",
|
1906
1906
|
"member": "string",
|
1907
1907
|
"name": "DatabaseInfo",
|
1908
1908
|
"required": false,
|
@@ -27,19 +27,19 @@
|
|
27
27
|
"CreateMigrateJob": [
|
28
28
|
{
|
29
29
|
"document": "将用户通过专线接入的mysql实例, 全量+增量迁移迁移到腾讯云上海地域的cdb-d0dqi8nv实例上. 其中源实例的接入地域为广州.",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMigrateJob\n<公共请求参数>\n\n{\n \"JobName\": \"设置为一个方便辨识的名称\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcAccessType\": \"dcg\",\n \"SrcInfo\": {\n \"Supplier\": \"others\",\n \"UniqDcgId\": \"dcg-cyrjcc09\",\n \"VpcId\": \"vpc-72jblfaa\",\n \"SubnetId\": \"subnet-7raec42a\",\n \"Ip\": \"192.168.120.136\",\n \"Region\": \"ap-guangzhou\",\n \"User\": \"root\",\n \"Password\": \"yourPassword\",\n \"Port\": 3306\n },\n \"DstDatabaseType\": \"mysql\",\n \"DstAccessType\": \"cdb\",\n \"DstInfo\": {\n \"InstanceId\": \"cdb-d0dqi8nv\",\n \"Region\": \"ap-shanghai\",\n \"ReadOnly\": 0,\n \"User\": \"root\",\n \"Password\": \"yourPassword\"\n },\n \"DatabaseInfo\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMigrateJob\n<公共请求参数>\n\n{\n \"JobName\": \"设置为一个方便辨识的名称\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcAccessType\": \"dcg\",\n \"SrcInfo\": {\n \"Supplier\": \"others\",\n \"UniqDcgId\": \"dcg-cyrjcc09\",\n \"VpcId\": \"vpc-72jblfaa\",\n \"SubnetId\": \"subnet-7raec42a\",\n \"Ip\": \"192.168.120.136\",\n \"Region\": \"ap-guangzhou\",\n \"User\": \"root\",\n \"Password\": \"yourPassword\",\n \"Port\": 3306\n },\n \"DstDatabaseType\": \"mysql\",\n \"DstAccessType\": \"cdb\",\n \"DstInfo\": {\n \"InstanceId\": \"cdb-d0dqi8nv\",\n \"Region\": \"ap-shanghai\",\n \"ReadOnly\": 0,\n \"User\": \"root\",\n \"Password\": \"yourPassword\"\n },\n \"DatabaseInfo\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"负责人\",\n \"TagValue\": \"bob\"\n }\n ],\n \"MigrateOption\": {\n \"ExternParams\": \"\",\n \"MigrateObject\": 1,\n \"RunMode\": 1,\n \"ExpectTime\": \"2020-09-22 00:00:00\",\n \"ConsistencyType\": 2,\n \"MigrateType\": 2,\n \"IsOverrideRoot\": 0\n }\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"JobId\": \"dts-o3s1vxsp\",\n \"RequestId\": \"915bc42a-714f-4faa-915b-a51cc09f5714\"\n }\n}",
|
32
32
|
"title": "创建专线数据迁移任务"
|
33
33
|
},
|
34
34
|
{
|
35
35
|
"document": "从腾讯云mysql实例结构迁移到腾讯云另一个mysql实例,选择部分库表做,不做数据一致性检查。",
|
36
|
-
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMigrateJob\n<公共请求参数>\n\n{\n \"JobName\": \"设置为一个方便辨识的名称\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcAccessType\": \"cdb\",\n \"SrcInfo\": {\n \"Supplier\": \"others\",\n \"InstanceId\": \"cdb-ieow93923\",\n \"User\": \"root\",\n \"Password\": \"yourPassword\"\n },\n \"DstDatabaseType\": \"mysql\",\n \"DstAccessType\": \"cdb\",\n \"DstInfo\": {\n \"InstanceId\": \"cdb-e78e0nnv\",\n \"Region\": \"ap-shanghai\",\n \"ReadOnly\": 0,\n \"User\": \"root\",\n \"Password\": \"yourPassword\"\n },\n \"DatabaseInfo\": \"
|
36
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMigrateJob\n<公共请求参数>\n\n{\n \"JobName\": \"设置为一个方便辨识的名称\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcAccessType\": \"cdb\",\n \"SrcInfo\": {\n \"Supplier\": \"others\",\n \"InstanceId\": \"cdb-ieow93923\",\n \"User\": \"root\",\n \"Password\": \"yourPassword\"\n },\n \"DstDatabaseType\": \"mysql\",\n \"DstAccessType\": \"cdb\",\n \"DstInfo\": {\n \"InstanceId\": \"cdb-e78e0nnv\",\n \"Region\": \"ap-shanghai\",\n \"ReadOnly\": 0,\n \"User\": \"root\",\n \"Password\": \"yourPassword\"\n },\n \"DatabaseInfo\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"负责人\",\n \"TagValue\": \"bob\"\n }\n ],\n \"MigrateOption\": {\n \"ExternParams\": \"\",\n \"MigrateObject\": 1,\n \"RunMode\": 1,\n \"ExpectTime\": \"2020-09-22 00:00:00\",\n \"ConsistencyType\": 5,\n \"MigrateType\": 2,\n \"IsOverrideRoot\": 0\n }\n}",
|
37
37
|
"output": "{\n \"Response\": {\n \"JobId\": \"dts-46i7easd\",\n \"RequestId\": \"bc94c57b-9d69-11e9-84cb-256e968056b0\"\n }\n}",
|
38
38
|
"title": "创建云数据库迁移任务"
|
39
39
|
},
|
40
40
|
{
|
41
41
|
"document": "将用户的mysql公网实例数据, 采用全量方式迁移到腾讯云上海地域的cdb-e78e0nnv实例上. 其中源实例的接入地域为广州. 数据一致性检查做全量检测.",
|
42
|
-
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMigrateJob\n<公共请求参数>\n\n{\n \"JobName\": \"设置为一个方便辨识的名称\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcAccessType\": \"extranet\",\n \"SrcInfo\": {\n \"Supplier\": \"others\",\n \"Ip\": \"14.17.22.36\",\n \"Region\": \"ap-guangzhou\",\n \"User\": \"root\",\n \"Password\": \"yourPassword\",\n \"Port\": 3306\n },\n \"DstDatabaseType\": \"mysql\",\n \"DstAccessType\": \"cdb\",\n \"DstInfo\": {\n \"InstanceId\": \"cdb-e78e0nnv\",\n \"Region\": \"ap-shanghai\",\n \"ReadOnly\": 0,\n \"User\": \"root\",\n \"Password\": \"yourPassword\"\n },\n \"DatabaseInfo\": \"
|
42
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMigrateJob\n<公共请求参数>\n\n{\n \"JobName\": \"设置为一个方便辨识的名称\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcAccessType\": \"extranet\",\n \"SrcInfo\": {\n \"Supplier\": \"others\",\n \"Ip\": \"14.17.22.36\",\n \"Region\": \"ap-guangzhou\",\n \"User\": \"root\",\n \"Password\": \"yourPassword\",\n \"Port\": 3306\n },\n \"DstDatabaseType\": \"mysql\",\n \"DstAccessType\": \"cdb\",\n \"DstInfo\": {\n \"InstanceId\": \"cdb-e78e0nnv\",\n \"Region\": \"ap-shanghai\",\n \"ReadOnly\": 0,\n \"User\": \"root\",\n \"Password\": \"yourPassword\"\n },\n \"DatabaseInfo\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"负责人\",\n \"TagValue\": \"bob\"\n }\n ],\n \"MigrateOption\": {\n \"ExternParams\": \"\",\n \"MigrateObject\": 1,\n \"RunMode\": 1,\n \"ExpectTime\": \"2020-09-22 00:00:00\",\n \"ConsistencyType\": 2,\n \"MigrateType\": 2,\n \"IsOverrideRoot\": 0\n }\n}",
|
43
43
|
"output": "{\n \"Response\": {\n \"JobId\": \"dts-1kl0iy0v\",\n \"RequestId\": \"2201c42a-714f-4faa-915b-a51cc09f5cec\"\n }\n}",
|
44
44
|
"title": "创建公网数据迁移任务"
|
45
45
|
}
|
@@ -86,7 +86,7 @@
|
|
86
86
|
{
|
87
87
|
"document": "",
|
88
88
|
"input": "https://dts.tencentcloudapi.com/?Action=DescribeMigrateJobs\n&Order=CreateTime\n&OrderSeq=DESC\n&Offset=0\n&Limit=2\n&<公共请求参数>",
|
89
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"JobList\": [\n {\n \"JobId\": \"dts-1kl0iy0v\",\n \"JobName\": \"userdts\",\n \"MigrateOption\": {\n \"RunMode\": 1,\n \"ExpectTime\": \"0000-00-00 00:00:00\",\n \"MigrateType\": 2,\n \"MigrateObject\": 2,\n \"ConsistencyType\": 5,\n \"IsOverrideRoot\": 0,\n \"ExternParams\": \"
|
89
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"JobList\": [\n {\n \"JobId\": \"dts-1kl0iy0v\",\n \"JobName\": \"userdts\",\n \"MigrateOption\": {\n \"RunMode\": 1,\n \"ExpectTime\": \"0000-00-00 00:00:00\",\n \"MigrateType\": 2,\n \"MigrateObject\": 2,\n \"ConsistencyType\": 5,\n \"IsOverrideRoot\": 0,\n \"ExternParams\": \"\",\n \"ConsistencyParams\": {\n \"SelectRowsPerTable\": 0,\n \"TablesSelectAll\": 0,\n \"TablesSelectCount\": 0\n }\n },\n \"SrcAccessType\": \"extranet\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcInfo\": {\n \"AccessKey\": \"\",\n \"Ip\": \"9.18.84.24\",\n \"Port\": 10304,\n \"User\": \"root\",\n \"Password\": \"\",\n \"RdsInstanceId\": \"\",\n \"CvmInstanceId\": \"\",\n \"UniqDcgId\": \"\",\n \"SubnetId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"InstanceId\": \"\",\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"\",\n \"CcnId\": \"\",\n \"EngineVersion\": \"\",\n \"Supplier\": \"\"\n },\n \"DstAccessType\": \"cdb\",\n \"DstDatabaseType\": \"mysql\",\n \"DstInfo\": {\n \"InstanceId\": \"cdb-l78e0nbv\",\n \"Ip\": \"\",\n \"Port\": 0,\n \"Region\": \"ap-shanghai\",\n \"ReadOnly\": 0,\n \"User\": \"\",\n \"Password\": \"\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"负责人\",\n \"TagValue\": \"alice\"\n }\n ],\n \"Detail\": {\n \"StepAll\": 0,\n \"StepNow\": 0,\n \"Progress\": \"0\",\n \"CurrentStepProgress\": \"0\",\n \"MasterSlaveDistance\": 0,\n \"SecondsBehindMaster\": 0,\n \"StepInfo\": []\n },\n \"Status\": 1,\n \"DatabaseInfo\": \"\",\n \"CreateTime\": \"2018-05-24 15:06:03\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ErrorInfo\": [],\n \"SrcInfoMulti\": []\n }\n ],\n \"RequestId\": \"c032aab5-b56a-428d-9cf7-e5f324ee408b\"\n }\n}",
|
90
90
|
"title": "查询数据迁移任务"
|
91
91
|
}
|
92
92
|
],
|
@@ -1172,7 +1172,7 @@
|
|
1172
1172
|
{
|
1173
1173
|
"disabled": false,
|
1174
1174
|
"document": "对比任务名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
1175
|
-
"example": "
|
1175
|
+
"example": "compare",
|
1176
1176
|
"member": "string",
|
1177
1177
|
"name": "TaskName",
|
1178
1178
|
"output_required": true,
|
@@ -1485,7 +1485,7 @@
|
|
1485
1485
|
{
|
1486
1486
|
"disabled": false,
|
1487
1487
|
"document": "同步任务名称",
|
1488
|
-
"example": "
|
1488
|
+
"example": "sync-werwfs23",
|
1489
1489
|
"member": "string",
|
1490
1490
|
"name": "JobName",
|
1491
1491
|
"required": false,
|
@@ -4909,7 +4909,7 @@
|
|
4909
4909
|
{
|
4910
4910
|
"disabled": false,
|
4911
4911
|
"document": "同步任务名",
|
4912
|
-
"example": "
|
4912
|
+
"example": "sync-n3gh7md9",
|
4913
4913
|
"member": "string",
|
4914
4914
|
"name": "JobName",
|
4915
4915
|
"required": false,
|
@@ -6776,7 +6776,7 @@
|
|
6776
6776
|
"example": "3",
|
6777
6777
|
"member": "uint64",
|
6778
6778
|
"name": "StepAll",
|
6779
|
-
"
|
6779
|
+
"output_required": true,
|
6780
6780
|
"type": "int",
|
6781
6781
|
"value_allowed_null": true
|
6782
6782
|
},
|
@@ -6786,7 +6786,7 @@
|
|
6786
6786
|
"example": "3",
|
6787
6787
|
"member": "uint64",
|
6788
6788
|
"name": "StepNow",
|
6789
|
-
"
|
6789
|
+
"output_required": true,
|
6790
6790
|
"type": "int",
|
6791
6791
|
"value_allowed_null": true
|
6792
6792
|
},
|
@@ -6796,7 +6796,7 @@
|
|
6796
6796
|
"example": "0",
|
6797
6797
|
"member": "int64",
|
6798
6798
|
"name": "MasterSlaveDistance",
|
6799
|
-
"
|
6799
|
+
"output_required": true,
|
6800
6800
|
"type": "int",
|
6801
6801
|
"value_allowed_null": true
|
6802
6802
|
},
|
@@ -6806,7 +6806,7 @@
|
|
6806
6806
|
"example": "0",
|
6807
6807
|
"member": "int64",
|
6808
6808
|
"name": "SecondsBehindMaster",
|
6809
|
-
"
|
6809
|
+
"output_required": true,
|
6810
6810
|
"type": "int",
|
6811
6811
|
"value_allowed_null": true
|
6812
6812
|
},
|
@@ -6816,7 +6816,7 @@
|
|
6816
6816
|
"example": "[]",
|
6817
6817
|
"member": "StepDetailInfo",
|
6818
6818
|
"name": "StepInfo",
|
6819
|
-
"
|
6819
|
+
"output_required": true,
|
6820
6820
|
"type": "list",
|
6821
6821
|
"value_allowed_null": true
|
6822
6822
|
}
|
@@ -9998,7 +9998,7 @@
|
|
9998
9998
|
{
|
9999
9999
|
"disabled": false,
|
10000
10000
|
"document": "支持的所有操作\n注意:此字段可能返回 null,表示取不到有效值。",
|
10001
|
-
"example": "[\"
|
10001
|
+
"example": "[\"pause\",\"stop\",\"limitRate\",\"view\",\"resize\",\"isolate\",\"postPay2prePay\",\"configureOptObj\"]",
|
10002
10002
|
"member": "string",
|
10003
10003
|
"name": "AllActions",
|
10004
10004
|
"output_required": true,
|
@@ -10275,6 +10275,16 @@
|
|
10275
10275
|
"type": "string",
|
10276
10276
|
"value_allowed_null": true
|
10277
10277
|
},
|
10278
|
+
{
|
10279
|
+
"disabled": false,
|
10280
|
+
"document": "动态修改对象,修改任务的状态等\n注意:此字段可能返回 null,表示取不到有效值。",
|
10281
|
+
"example": "Normal",
|
10282
|
+
"member": "string",
|
10283
|
+
"name": "OptObjStatus",
|
10284
|
+
"output_required": true,
|
10285
|
+
"type": "string",
|
10286
|
+
"value_allowed_null": true
|
10287
|
+
},
|
10278
10288
|
{
|
10279
10289
|
"disabled": false,
|
10280
10290
|
"document": "自动重试时间段设置\n注意:此字段可能返回 null,表示取不到有效值。",
|