tccli 3.0.1236.1__py2.py3-none-any.whl → 3.0.1238.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/__init__.py +3 -0
- tccli/services/aca/__init__.py +4 -0
- tccli/services/aca/aca_client.py +578 -0
- tccli/services/aca/v20210323/api.json +3715 -0
- tccli/services/aca/v20210323/examples.json +69 -0
- tccli/services/aiart/v20221229/api.json +18 -9
- tccli/services/aiart/v20221229/examples.json +2 -2
- tccli/services/apm/v20210622/api.json +25 -22
- tccli/services/apm/v20210622/examples.json +16 -22
- tccli/services/ba/v20200720/api.json +3 -2
- tccli/services/batch/v20170312/api.json +641 -566
- tccli/services/batch/v20170312/examples.json +7 -7
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/billing/v20180709/api.json +2 -2
- tccli/services/bpaas/v20181217/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +116 -99
- tccli/services/cam/v20190116/examples.json +11 -11
- tccli/services/ccc/v20200210/api.json +40 -1
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +257 -207
- tccli/services/cdb/v20170320/examples.json +18 -10
- tccli/services/cdwch/v20200915/api.json +6 -6
- tccli/services/cdwdoris/v20211228/api.json +16 -5
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +29 -13
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +84 -84
- tccli/services/cfs/v20190719/examples.json +6 -6
- tccli/services/chdfs/v20201112/api.json +18 -17
- tccli/services/chdfs/v20201112/examples.json +2 -2
- tccli/services/clb/v20180317/api.json +184 -162
- tccli/services/cloudapp/v20220530/api.json +11 -1
- tccli/services/cloudapp/v20220530/examples.json +3 -3
- tccli/services/cloudaudit/v20190319/api.json +64 -53
- tccli/services/cloudaudit/v20190319/examples.json +5 -5
- tccli/services/cls/v20201016/api.json +21 -21
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/config/v20220802/api.json +2 -0
- tccli/services/config/v20220802/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +5 -5
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +110 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +390 -387
- tccli/services/dcdb/v20180411/examples.json +14 -14
- tccli/services/dlc/v20210125/api.json +162 -7
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/domain/v20180808/api.json +55 -54
- tccli/services/domain/v20180808/examples.json +38 -32
- tccli/services/dsgc/v20190723/api.json +1796 -1623
- tccli/services/dsgc/v20190723/examples.json +217 -211
- tccli/services/dts/v20180330/api.json +143 -106
- tccli/services/dts/v20211206/api.json +57 -46
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +6 -6
- tccli/services/emr/v20190103/api.json +80 -20
- tccli/services/ess/ess_client.py +118 -12
- tccli/services/ess/v20201111/api.json +320 -37
- tccli/services/ess/v20201111/examples.json +19 -3
- tccli/services/essbasic/essbasic_client.py +167 -8
- tccli/services/essbasic/v20210526/api.json +528 -55
- tccli/services/essbasic/v20210526/examples.json +46 -16
- tccli/services/facefusion/v20220927/api.json +12 -1
- tccli/services/fmu/v20191213/api.json +8 -8
- tccli/services/gaap/v20180529/api.json +200 -209
- tccli/services/gwlb/v20240906/api.json +16 -16
- tccli/services/gwlb/v20240906/examples.json +2 -2
- tccli/services/hai/v20230812/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +6 -6
- tccli/services/iss/v20230517/api.json +11 -11
- tccli/services/iss/v20230517/examples.json +31 -31
- tccli/services/keewidb/v20220308/api.json +92 -82
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/lcic/v20220817/api.json +3 -3
- tccli/services/lcic/v20220817/examples.json +2 -2
- tccli/services/lighthouse/v20200324/api.json +18 -18
- tccli/services/lighthouse/v20200324/examples.json +6 -6
- tccli/services/live/v20180801/api.json +32 -14
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/mariadb/v20170312/api.json +285 -263
- tccli/services/mariadb/v20170312/examples.json +12 -12
- tccli/services/mongodb/v20180408/api.json +52 -40
- tccli/services/mongodb/v20180408/examples.json +4 -4
- tccli/services/mongodb/v20190725/api.json +119 -109
- tccli/services/mongodb/v20190725/examples.json +5 -5
- tccli/services/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +222 -0
- tccli/services/monitor/v20180724/examples.json +17 -1
- tccli/services/mps/mps_client.py +228 -16
- tccli/services/mps/v20190612/api.json +385 -23
- tccli/services/mps/v20190612/examples.json +32 -0
- tccli/services/mqtt/v20240516/api.json +1 -1
- tccli/services/mqtt/v20240516/examples.json +1 -1
- tccli/services/msp/v20180319/api.json +2 -2
- tccli/services/ocr/v20181119/api.json +11 -1
- tccli/services/omics/v20221128/api.json +14 -2
- tccli/services/organization/v20210331/api.json +45 -18
- tccli/services/privatedns/v20201028/api.json +90 -81
- tccli/services/privatedns/v20201028/examples.json +18 -18
- tccli/services/pts/v20210728/api.json +8 -0
- tccli/services/redis/redis_client.py +106 -0
- tccli/services/redis/v20180412/api.json +178 -16
- tccli/services/redis/v20180412/examples.json +16 -0
- tccli/services/region/v20220627/api.json +5 -3
- tccli/services/region/v20220627/examples.json +1 -1
- tccli/services/ssl/v20191205/api.json +6 -4
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/sts/v20180813/examples.json +1 -1
- tccli/services/tag/v20180813/api.json +4 -5
- tccli/services/tcb/v20180608/api.json +36 -16
- tccli/services/tdid/v20210519/api.json +30 -38
- tccli/services/tdid/v20210519/examples.json +5 -5
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +64 -1
- tccli/services/tdmq/v20200217/examples.json +9 -1
- tccli/services/teo/teo_client.py +485 -8
- tccli/services/teo/v20220901/api.json +837 -39
- tccli/services/teo/v20220901/examples.json +108 -0
- tccli/services/thpc/v20211109/api.json +32 -34
- tccli/services/thpc/v20220401/api.json +31 -33
- tccli/services/thpc/v20230321/api.json +55 -57
- tccli/services/thpc/v20230321/examples.json +1 -1
- tccli/services/tiia/v20190529/api.json +307 -293
- tccli/services/tiia/v20190529/examples.json +41 -41
- tccli/services/tione/v20211111/api.json +4 -4
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +119 -3
- tccli/services/trocket/v20230308/examples.json +14 -0
- tccli/services/tse/v20201207/api.json +188 -120
- tccli/services/tse/v20201207/examples.json +30 -30
- tccli/services/tsf/v20180326/api.json +826 -745
- tccli/services/tsf/v20180326/examples.json +99 -111
- tccli/services/vclm/v20240523/api.json +1 -1
- tccli/services/vdb/v20230616/api.json +80 -80
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +64 -44
- tccli/services/vpc/v20170312/examples.json +6 -6
- tccli/services/vrs/v20200824/api.json +3 -2
- tccli/services/wedata/v20210820/api.json +550 -40
- tccli/services/wedata/v20210820/examples.json +10 -4
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/RECORD +149 -145
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/license_files/LICENSE +0 -0
@@ -99,7 +99,7 @@
|
|
99
99
|
"DescribeAccountPrivileges": [
|
100
100
|
{
|
101
101
|
"document": "",
|
102
|
-
"input": "https://mariadb.tencentcloudapi.com/?Action=DescribeAccountPrivileges\n&InstanceId=tdsql-fdpjf5zh\n&UserName=testuser1\n&Host=172.17.%\n&DbName
|
102
|
+
"input": "https://mariadb.tencentcloudapi.com/?Action=DescribeAccountPrivileges\n&InstanceId=tdsql-fdpjf5zh\n&UserName=testuser1\n&Host=172.17.%\n&DbName=product_db\n&Type=table\n&Object=prod_user_tbl\n&<公共请求参数>",
|
103
103
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3381c9e9-d87f-4e21-ba1d-596d6f697a7e\",\n \"InstanceId\": \"tdsql-fdpjf5zh\",\n \"UserName\": \"testuser1\",\n \"Host\": \"172.17.%\",\n \"Privileges\": [\n \"SELECT\",\n \"UPDATE\"\n ]\n }\n}",
|
104
104
|
"title": "查询云数据库账号全局权限"
|
105
105
|
}
|
@@ -124,7 +124,7 @@
|
|
124
124
|
{
|
125
125
|
"document": "",
|
126
126
|
"input": "POST / HTTP/1.1\nHost: mariadb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupFiles\n<公共请求参数>\n\n{}",
|
127
|
-
"output": "{\n \"Response\": {\n \"Files\": [\n {\n \"BackupType\": \"Data\",\n \"EndTime\": \"2022-05-20 00:02:19\",\n \"FileName\": \"cos_xtrabackup+1652976129+20220520+000209+3085636221+xbstream.lz4\",\n \"FilePath\": \"cos_backup/tdsql/set_1652843814_8559529/xtrabackup/2022-05-20/cos_xtrabackup+1652976129+20220520+000209+3085636221+xbstream.lz4\",\n \"FileSize\": 48721218,\n \"InstanceId\": \"tdsql-lyzax5rb\",\n \"InstanceName\": \"test-name\",\n \"InstanceStatus\": 2,\n \"ManualBackup\": 0,\n \"ShardId\": \"\",\n \"StartTime\": \"2022-05-20 00:02:09\"\n },\n {\n \"BackupType\": \"Data\",\n \"EndTime\": \"2022-05-19 00:23:03\",\n \"FileName\": \"cos_xtrabackup+1652890972+20220519+002252+3085636221+xbstream.lz4\",\n \"FilePath\": \"cos_backup/tdsql/set_1652843814_8559529/xtrabackup/2022-05-19/cos_xtrabackup+1652890972+20220519+002252+3085636221+xbstream.lz4\",\n \"FileSize\": 47738611,\n \"InstanceId\": \"tdsql-lyzax5rb\",\n \"InstanceName\": \"test-name\",\n \"InstanceStatus\": 2,\n \"ManualBackup\": 0,\n \"ShardId\": \"\",\n \"StartTime\": \"2022-05-19 00:22:52\"\n },\n {\n \"BackupType\": \"Data\",\n \"EndTime\": \"2022-05-18 11:44:52\",\n \"FileName\": \"cos_xtrabackup+1652845485+20220518+114445+3085636221+xbstream.lz4\",\n \"FilePath\": \"cos_backup/tdsql/set_1652843814_8559529/xtrabackup/2022-05-18/cos_xtrabackup+1652845485+20220518+114445+3085636221+xbstream.lz4\",\n \"FileSize\": 10281128,\n \"InstanceId\": \"tdsql-lyzax5rb\",\n \"InstanceName\": \"test-name\",\n \"InstanceStatus\": 2,\n \"ManualBackup\": 0,\n \"ShardId\": \"\",\n \"StartTime\": \"2022-05-18 11:44:45\"\n },\n {\n \"BackupType\": \"Binlog\",\n \"EndTime\": \"2022-05-20 17:13:31\",\n \"FileName\": \"binlog+1652843821+20220518+111701+3085636221+binlog.000002.lz4\",\n \"FilePath\": \"cos_backup/tdsql/set_1652843814_8559529/binlog/2022-05-18/binlog+1652843821+20220518+111701+3085636221+binlog.000002.lz4\",\n \"FileSize\": 51119079,\n \"InstanceId\": \"tdsql-lyzax5rb\",\n \"InstanceName\": \"test-name\",\n \"InstanceStatus\": 2,\n \"ManualBackup\": 0,\n \"ShardId\": \"\",\n \"StartTime\": \"2022-05-18 11:17:01\"\n }\n ],\n \"RequestId\": \"dce77e5f-57b9-4df5-9889-1a4b9f318659\",\n \"TotalCount\": 4\n }\n}",
|
127
|
+
"output": "{\n \"Response\": {\n \"Files\": [\n {\n \"BackupType\": \"Data\",\n \"EndTime\": \"2022-05-20 00:02:19\",\n \"FileName\": \"cos_xtrabackup+1652976129+20220520+000209+3085636221+xbstream.lz4\",\n \"FilePath\": \"cos_backup/tdsql/set_1652843814_8559529/xtrabackup/2022-05-20/cos_xtrabackup+1652976129+20220520+000209+3085636221+xbstream.lz4\",\n \"FileSize\": 48721218,\n \"InstanceId\": \"tdsql-lyzax5rb\",\n \"InstanceName\": \"test-name\",\n \"InstanceStatus\": 2,\n \"ManualBackup\": 0,\n \"ShardId\": \"\",\n \"StartTime\": \"2022-05-20 00:02:09\",\n \"StorageClass\": \"STANDARD\"\n },\n {\n \"BackupType\": \"Data\",\n \"EndTime\": \"2022-05-19 00:23:03\",\n \"FileName\": \"cos_xtrabackup+1652890972+20220519+002252+3085636221+xbstream.lz4\",\n \"FilePath\": \"cos_backup/tdsql/set_1652843814_8559529/xtrabackup/2022-05-19/cos_xtrabackup+1652890972+20220519+002252+3085636221+xbstream.lz4\",\n \"FileSize\": 47738611,\n \"InstanceId\": \"tdsql-lyzax5rb\",\n \"InstanceName\": \"test-name\",\n \"InstanceStatus\": 2,\n \"ManualBackup\": 0,\n \"ShardId\": \"\",\n \"StartTime\": \"2022-05-19 00:22:52\",\n \"StorageClass\": \"STANDARD\"\n },\n {\n \"BackupType\": \"Data\",\n \"EndTime\": \"2022-05-18 11:44:52\",\n \"FileName\": \"cos_xtrabackup+1652845485+20220518+114445+3085636221+xbstream.lz4\",\n \"FilePath\": \"cos_backup/tdsql/set_1652843814_8559529/xtrabackup/2022-05-18/cos_xtrabackup+1652845485+20220518+114445+3085636221+xbstream.lz4\",\n \"FileSize\": 10281128,\n \"InstanceId\": \"tdsql-lyzax5rb\",\n \"InstanceName\": \"test-name\",\n \"InstanceStatus\": 2,\n \"ManualBackup\": 0,\n \"ShardId\": \"\",\n \"StartTime\": \"2022-05-18 11:44:45\",\n \"StorageClass\": \"STANDARD\"\n },\n {\n \"BackupType\": \"Binlog\",\n \"EndTime\": \"2022-05-20 17:13:31\",\n \"FileName\": \"binlog+1652843821+20220518+111701+3085636221+binlog.000002.lz4\",\n \"FilePath\": \"cos_backup/tdsql/set_1652843814_8559529/binlog/2022-05-18/binlog+1652843821+20220518+111701+3085636221+binlog.000002.lz4\",\n \"FileSize\": 51119079,\n \"InstanceId\": \"tdsql-lyzax5rb\",\n \"InstanceName\": \"test-name\",\n \"InstanceStatus\": 2,\n \"ManualBackup\": 0,\n \"ShardId\": \"\",\n \"StartTime\": \"2022-05-18 11:17:01\",\n \"StorageClass\": \"STANDARD\"\n }\n ],\n \"RequestId\": \"dce77e5f-57b9-4df5-9889-1a4b9f318659\",\n \"TotalCount\": 4\n }\n}",
|
128
128
|
"title": "无"
|
129
129
|
}
|
130
130
|
],
|
@@ -219,24 +219,24 @@
|
|
219
219
|
"DescribeDBTmpInstances": [
|
220
220
|
{
|
221
221
|
"document": "",
|
222
|
-
"input": "POST / HTTP/1.1\nHost: mariadb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBTmpInstances\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
223
|
-
"output": "{\n \"Response\": {\n \"TmpInstances\": [\n {\n \"Status\":
|
222
|
+
"input": "POST / HTTP/1.1\nHost: mariadb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBTmpInstances\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsql-oc5srykh\"\n}",
|
223
|
+
"output": "{\n \"Response\": {\n \"TmpInstances\": [\n {\n \"Status\": 2,\n \"SrcInstanceId\": \"tdsql-ow728lmc\",\n \"Zone\": \"ap-guangzhou-3\",\n \"InstanceId\": \"tdsql-oc5srykh\",\n \"Region\": \"ap-guangzhou\",\n \"TempType\": 0,\n \"InstanceRemark\": \"临时实例\",\n \"Vip\": \"10.0.0.30\",\n \"AppId\": 251202055,\n \"PeriodEndTime\": \"2020-09-22 00:00:00\",\n \"Ipv6Flag\": 1,\n \"Vport\": 0,\n \"StatusDesc\": \"运行中\",\n \"Vipv6\": \"\",\n \"CreateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"RequestId\": \"35e66783-c90f-46e2-aeac-758d51133094\"\n }\n}",
|
224
224
|
"title": "无"
|
225
225
|
}
|
226
226
|
],
|
227
227
|
"DescribeDatabaseObjects": [
|
228
228
|
{
|
229
229
|
"document": "",
|
230
|
-
"input": "https://mariadb.tencentcloudapi.com/?Action=DescribeDatabaseObjects\n&InstanceId=tdsql-e9tklsgz\n&DbName=
|
231
|
-
"output": "{\n \"Response\": {\n \"DbName\": \"
|
230
|
+
"input": "https://mariadb.tencentcloudapi.com/?Action=DescribeDatabaseObjects\n&InstanceId=tdsql-e9tklsgz\n&DbName=product_db\n&<公共请求参数>",
|
231
|
+
"output": "{\n \"Response\": {\n \"DbName\": \"product_db\",\n \"Funcs\": [],\n \"InstanceId\": \"tdsql-e9tklsgz\",\n \"Procs\": [\n {\n \"Proc\": \"AddGeometryColumn\"\n },\n {\n \"Proc\": \"DropGeometryColumn\"\n }\n ],\n \"RequestId\": \"a70c33e5-0c38-43a0-9953-234accd84d2a\",\n \"Tables\": [\n {\n \"Table\": \"region\"\n }\n ],\n \"Views\": []\n }\n}",
|
232
232
|
"title": "查询实例的表对象"
|
233
233
|
}
|
234
234
|
],
|
235
235
|
"DescribeDatabaseTable": [
|
236
236
|
{
|
237
237
|
"document": "",
|
238
|
-
"input": "https://mariadb.tencentcloudapi.com/?Action=DescribeDatabaseTable\n&InstanceId=tdsql-e9tklsgz\n&DbName=
|
239
|
-
"output": "{\n \"Response\": {\n \"Cols\": [\n {\n \"Col\": \"id\",\n \"Type\": \"tinyint(4) unsigned\"\n },\n {\n \"Col\": \"name\",\n \"Type\": \"varchar(16)\"\n },\n {\n \"Col\": \"short_name\",\n \"Type\": \"varchar(8)\"\n },\n {\n \"Col\": \"code\",\n \"Type\": \"varchar(256)\"\n }\n ],\n \"DbName\": \"
|
238
|
+
"input": "https://mariadb.tencentcloudapi.com/?Action=DescribeDatabaseTable\n&InstanceId=tdsql-e9tklsgz\n&DbName=product_db\n&Table=region\n&<公共请求参数>",
|
239
|
+
"output": "{\n \"Response\": {\n \"Cols\": [\n {\n \"Col\": \"id\",\n \"Type\": \"tinyint(4) unsigned\"\n },\n {\n \"Col\": \"name\",\n \"Type\": \"varchar(16)\"\n },\n {\n \"Col\": \"short_name\",\n \"Type\": \"varchar(8)\"\n },\n {\n \"Col\": \"code\",\n \"Type\": \"varchar(256)\"\n }\n ],\n \"DbName\": \"product_db\",\n \"InstanceId\": \"tdsql-e9tklsgz\",\n \"RequestId\": \"2de52957-ebe4-4d7b-8985-4e415b3fb360\",\n \"Table\": \"region\"\n }\n}",
|
240
240
|
"title": "查询指定实例的表结构"
|
241
241
|
}
|
242
242
|
],
|
@@ -244,7 +244,7 @@
|
|
244
244
|
{
|
245
245
|
"document": "",
|
246
246
|
"input": "https://mariadb.tencentcloudapi.com/?Action=DescribeDatabases\n&InstanceId=tdsql-e9tklsgz\n&<公共请求参数>",
|
247
|
-
"output": "{\n \"Response\": {\n \"Databases\": [\n {\n \"DbName\": \"information_schema\"\n },\n {\n \"DbName\": \"mysql\"\n },\n {\n \"DbName\": \"performance_schema\"\n },\n {\n \"DbName\": \"
|
247
|
+
"output": "{\n \"Response\": {\n \"Databases\": [\n {\n \"DbName\": \"information_schema\"\n },\n {\n \"DbName\": \"mysql\"\n },\n {\n \"DbName\": \"performance_schema\"\n },\n {\n \"DbName\": \"product_db\"\n }\n ],\n \"InstanceId\": \"tdsql-e9tklsgz\",\n \"RequestId\": \"86cb12ed-0e1f-416c-99a6-79f83a8fd31e\"\n }\n}",
|
248
248
|
"title": "查询实例的库列表"
|
249
249
|
}
|
250
250
|
],
|
@@ -371,7 +371,7 @@
|
|
371
371
|
"GrantAccountPrivileges": [
|
372
372
|
{
|
373
373
|
"document": "",
|
374
|
-
"input": "https://mariadb.tencentcloudapi.com/?Action=GrantAccountPrivileges\n&InstanceId=tdsql-fdpjf5zh\n&UserName=testuser1\n&Host=172.17.%\n&DbName
|
374
|
+
"input": "https://mariadb.tencentcloudapi.com/?Action=GrantAccountPrivileges\n&InstanceId=tdsql-fdpjf5zh\n&UserName=testuser1\n&Host=172.17.%\n&DbName=product_db\n&Type=table\n&Object=prod_user_tbl\n&Privileges.0=select\n&Privileges.1=update\n&<公共请求参数>",
|
375
375
|
"output": "{\n \"Response\": {\n \"RequestId\": \"87201772-351f-4fb5-9164-fe757fbadb79\"\n }\n}",
|
376
376
|
"title": "给云数据库账号赋权"
|
377
377
|
}
|
@@ -411,7 +411,7 @@
|
|
411
411
|
"KillSession": [
|
412
412
|
{
|
413
413
|
"document": "",
|
414
|
-
"input": "https://mariadb.tencentcloudapi.com/?Action=KillSession\n&InstanceId=tdsql-2gk4nxyz\n&SessionId.0=
|
414
|
+
"input": "https://mariadb.tencentcloudapi.com/?Action=KillSession\n&InstanceId=tdsql-2gk4nxyz\n&SessionId.0=11917970\n&SessionId.1=11918810\n&<公共请求参数>",
|
415
415
|
"output": "{\n \"Response\": {\n \"RequestId\": \"14f6980a-7fe1-11ea-b896-525400542aa6\",\n \"TaskId\": 11\n }\n}",
|
416
416
|
"title": "杀死指定会话"
|
417
417
|
}
|
@@ -531,7 +531,7 @@
|
|
531
531
|
"ModifyRealServerAccessStrategy": [
|
532
532
|
{
|
533
533
|
"document": "",
|
534
|
-
"input": "
|
534
|
+
"input": "POST / HTTP/1.1\nHost: mariadb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRealServerAccessStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsql-f35wr6wj\",\n \"RsAccessStrategy\": \"1\"\n}",
|
535
535
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
536
536
|
"title": "请求示例DEMO"
|
537
537
|
}
|
@@ -64,7 +64,7 @@
|
|
64
64
|
"status": "online"
|
65
65
|
},
|
66
66
|
"SetPassword": {
|
67
|
-
"document": "本接口(SetPassword)用于设置(初始化)MongoDB
|
67
|
+
"document": "本接口(SetPassword)用于设置(初始化)MongoDB云数据库实例账户密码。",
|
68
68
|
"input": "SetPasswordRequest",
|
69
69
|
"name": "修改云数据库实例的账户密码",
|
70
70
|
"output": "SetPasswordResponse",
|
@@ -347,7 +347,7 @@
|
|
347
347
|
{
|
348
348
|
"disabled": false,
|
349
349
|
"document": "每个副本集内从节点个数",
|
350
|
-
"example": "",
|
350
|
+
"example": "2",
|
351
351
|
"member": "uint64",
|
352
352
|
"name": "SecondaryNum",
|
353
353
|
"required": true,
|
@@ -356,7 +356,7 @@
|
|
356
356
|
{
|
357
357
|
"disabled": false,
|
358
358
|
"document": "实例内存大小,单位:GB",
|
359
|
-
"example": "",
|
359
|
+
"example": "4",
|
360
360
|
"member": "uint64",
|
361
361
|
"name": "Memory",
|
362
362
|
"required": true,
|
@@ -365,7 +365,7 @@
|
|
365
365
|
{
|
366
366
|
"disabled": false,
|
367
367
|
"document": "实例硬盘大小,单位:GB",
|
368
|
-
"example": "",
|
368
|
+
"example": "100",
|
369
369
|
"member": "uint64",
|
370
370
|
"name": "Volume",
|
371
371
|
"required": true,
|
@@ -373,8 +373,8 @@
|
|
373
373
|
},
|
374
374
|
{
|
375
375
|
"disabled": false,
|
376
|
-
"document": "
|
377
|
-
"example": "",
|
376
|
+
"document": "指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。 - MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。 - MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。 - MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。 - MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。 - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。 - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。",
|
377
|
+
"example": "MONGO_44_WT",
|
378
378
|
"member": "string",
|
379
379
|
"name": "MongoVersion",
|
380
380
|
"required": true,
|
@@ -382,8 +382,8 @@
|
|
382
382
|
},
|
383
383
|
{
|
384
384
|
"disabled": false,
|
385
|
-
"document": "机器类型,
|
386
|
-
"example": "",
|
385
|
+
"document": "机器类型,HIO10G:高IO万兆。",
|
386
|
+
"example": "HIO10G",
|
387
387
|
"member": "string",
|
388
388
|
"name": "MachineCode",
|
389
389
|
"required": true,
|
@@ -392,7 +392,7 @@
|
|
392
392
|
{
|
393
393
|
"disabled": false,
|
394
394
|
"document": "实例数量,默认值为1, 最小值1,最大值为10",
|
395
|
-
"example": "",
|
395
|
+
"example": "1",
|
396
396
|
"member": "uint64",
|
397
397
|
"name": "GoodsNum",
|
398
398
|
"required": true,
|
@@ -401,7 +401,7 @@
|
|
401
401
|
{
|
402
402
|
"disabled": false,
|
403
403
|
"document": "实例所属区域名称,格式如:ap-guangzhou-2",
|
404
|
-
"example": "",
|
404
|
+
"example": "ap-guangzhou-2",
|
405
405
|
"member": "string",
|
406
406
|
"name": "Zone",
|
407
407
|
"required": true,
|
@@ -410,7 +410,7 @@
|
|
410
410
|
{
|
411
411
|
"disabled": false,
|
412
412
|
"document": "时长,购买月数",
|
413
|
-
"example": "",
|
413
|
+
"example": "1",
|
414
414
|
"member": "uint64",
|
415
415
|
"name": "TimeSpan",
|
416
416
|
"required": true,
|
@@ -419,7 +419,7 @@
|
|
419
419
|
{
|
420
420
|
"disabled": false,
|
421
421
|
"document": "实例密码",
|
422
|
-
"example": "",
|
422
|
+
"example": "********",
|
423
423
|
"member": "string",
|
424
424
|
"name": "Password",
|
425
425
|
"required": true,
|
@@ -428,7 +428,7 @@
|
|
428
428
|
{
|
429
429
|
"disabled": false,
|
430
430
|
"document": "项目ID,不填为默认项目",
|
431
|
-
"example": "",
|
431
|
+
"example": "0",
|
432
432
|
"member": "uint64",
|
433
433
|
"name": "ProjectId",
|
434
434
|
"required": false,
|
@@ -437,7 +437,7 @@
|
|
437
437
|
{
|
438
438
|
"disabled": false,
|
439
439
|
"document": "安全组参数",
|
440
|
-
"example": "",
|
440
|
+
"example": "sg-1ad2****",
|
441
441
|
"member": "string",
|
442
442
|
"name": "SecurityGroup",
|
443
443
|
"required": false,
|
@@ -446,7 +446,7 @@
|
|
446
446
|
{
|
447
447
|
"disabled": false,
|
448
448
|
"document": "私有网络ID,如果不传则默认选择基础网络",
|
449
|
-
"example": "",
|
449
|
+
"example": "vpc-0akb****",
|
450
450
|
"member": "string",
|
451
451
|
"name": "UniqVpcId",
|
452
452
|
"required": false,
|
@@ -455,11 +455,20 @@
|
|
455
455
|
{
|
456
456
|
"disabled": false,
|
457
457
|
"document": "私有网络下的子网ID,如果设置了 VpcId,则 SubnetId必填",
|
458
|
-
"example": "",
|
458
|
+
"example": "subnet-fyrt****(",
|
459
459
|
"member": "string",
|
460
460
|
"name": "UniqSubnetId",
|
461
461
|
"required": false,
|
462
462
|
"type": "string"
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"disabled": false,
|
466
|
+
"document": "实例类型,REPLSET-副本集,SHARD-分片集群,默认为REPLSET",
|
467
|
+
"example": "REPLSET",
|
468
|
+
"member": "string",
|
469
|
+
"name": "InstanceType",
|
470
|
+
"required": false,
|
471
|
+
"type": "string"
|
463
472
|
}
|
464
473
|
],
|
465
474
|
"type": "object"
|
@@ -470,18 +479,20 @@
|
|
470
479
|
{
|
471
480
|
"disabled": false,
|
472
481
|
"document": "订单ID",
|
473
|
-
"example": "",
|
482
|
+
"example": "7142863",
|
474
483
|
"member": "string",
|
475
484
|
"name": "DealId",
|
485
|
+
"output_required": true,
|
476
486
|
"type": "string",
|
477
487
|
"value_allowed_null": false
|
478
488
|
},
|
479
489
|
{
|
480
490
|
"disabled": false,
|
481
491
|
"document": "创建的实例ID列表",
|
482
|
-
"example": "",
|
492
|
+
"example": "[\"cmgo-po5f****\"]",
|
483
493
|
"member": "string",
|
484
494
|
"name": "InstanceIds",
|
495
|
+
"output_required": true,
|
485
496
|
"type": "list",
|
486
497
|
"value_allowed_null": false
|
487
498
|
},
|
@@ -515,10 +526,10 @@
|
|
515
526
|
{
|
516
527
|
"disabled": false,
|
517
528
|
"document": "客户端连接信息,包括客户端IP和对应IP的连接数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
518
|
-
"example": "
|
529
|
+
"example": "[{\"Count\":1,\"IP\":\"xx\"},{\"Count\":1,\"IP\":\"xx\"}]",
|
519
530
|
"member": "ClientConnection",
|
520
531
|
"name": "Clients",
|
521
|
-
"
|
532
|
+
"output_required": true,
|
522
533
|
"type": "list",
|
523
534
|
"value_allowed_null": true
|
524
535
|
},
|
@@ -528,7 +539,7 @@
|
|
528
539
|
"example": "10",
|
529
540
|
"member": "int64",
|
530
541
|
"name": "TotalCount",
|
531
|
-
"
|
542
|
+
"output_required": true,
|
532
543
|
"type": "int",
|
533
544
|
"value_allowed_null": true
|
534
545
|
},
|
@@ -546,8 +557,8 @@
|
|
546
557
|
"members": [
|
547
558
|
{
|
548
559
|
"disabled": false,
|
549
|
-
"document": "实例ID列表,格式如:cmgo-
|
550
|
-
"example": "cmgo-
|
560
|
+
"document": "实例ID列表,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同。",
|
561
|
+
"example": "cmgo-7pje****",
|
551
562
|
"member": "string",
|
552
563
|
"name": "InstanceIds",
|
553
564
|
"required": false,
|
@@ -628,7 +639,7 @@
|
|
628
639
|
{
|
629
640
|
"disabled": false,
|
630
641
|
"document": "返回结果集排序的字段,目前支持: \n<ul><li>ProjectId: 按照项目ID排序</li><li>InstanceName:按照实例名称排序</li><li>CreateTime: 根据创建时间排序</li></ul>",
|
631
|
-
"example": "
|
642
|
+
"example": "InstanceName",
|
632
643
|
"member": "string",
|
633
644
|
"name": "OrderBy",
|
634
645
|
"required": false,
|
@@ -637,7 +648,7 @@
|
|
637
648
|
{
|
638
649
|
"disabled": false,
|
639
650
|
"document": "返回结果集排序方式,目前支持:\"ASC\"或者\"DESC\"。\n<ul><li>ASC: 顺序取值</li><li>DESC:倒序取值</li></ul>",
|
640
|
-
"example": "
|
651
|
+
"example": "ASC",
|
641
652
|
"member": "string",
|
642
653
|
"name": "OrderByType",
|
643
654
|
"required": false,
|
@@ -655,17 +666,17 @@
|
|
655
666
|
"example": "19",
|
656
667
|
"member": "uint64",
|
657
668
|
"name": "TotalCount",
|
658
|
-
"
|
669
|
+
"output_required": true,
|
659
670
|
"type": "int",
|
660
671
|
"value_allowed_null": false
|
661
672
|
},
|
662
673
|
{
|
663
674
|
"disabled": false,
|
664
675
|
"document": "实例详细信息",
|
665
|
-
"example": "
|
676
|
+
"example": "{\"Response\":{\"InstanceDetails\":[],\"RequestId\":\"88c9e2c6-a116-4d68-b77e-8136c5e0****\",\"TotalCount\":0}}",
|
666
677
|
"member": "MongoDBInstanceDetail",
|
667
678
|
"name": "InstanceDetails",
|
668
|
-
"
|
679
|
+
"output_required": true,
|
669
680
|
"type": "list",
|
670
681
|
"value_allowed_null": false
|
671
682
|
},
|
@@ -1381,8 +1392,8 @@
|
|
1381
1392
|
"members": [
|
1382
1393
|
{
|
1383
1394
|
"disabled": false,
|
1384
|
-
"document": "实例ID,格式如:cmgo-
|
1385
|
-
"example": "cmgo-
|
1395
|
+
"document": "实例ID,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同",
|
1396
|
+
"example": "cmgo-eqmo****",
|
1386
1397
|
"member": "string",
|
1387
1398
|
"name": "InstanceId",
|
1388
1399
|
"required": true,
|
@@ -1399,8 +1410,8 @@
|
|
1399
1410
|
},
|
1400
1411
|
{
|
1401
1412
|
"disabled": false,
|
1402
|
-
"document": "
|
1403
|
-
"example": "
|
1413
|
+
"document": "指定账户的新密码, 密码格式为8-32个字符长度,至少包含字母、数字和字符(!@#%^*()_)中的两种",
|
1414
|
+
"example": "********",
|
1404
1415
|
"member": "string",
|
1405
1416
|
"name": "Password",
|
1406
1417
|
"required": true,
|
@@ -1415,10 +1426,10 @@
|
|
1415
1426
|
{
|
1416
1427
|
"disabled": false,
|
1417
1428
|
"document": "返回的异步任务ID",
|
1418
|
-
"example": "1082",
|
1429
|
+
"example": "1082****",
|
1419
1430
|
"member": "uint64",
|
1420
1431
|
"name": "FlowId",
|
1421
|
-
"
|
1432
|
+
"output_required": true,
|
1422
1433
|
"type": "int",
|
1423
1434
|
"value_allowed_null": false
|
1424
1435
|
},
|
@@ -1814,8 +1825,8 @@
|
|
1814
1825
|
"members": [
|
1815
1826
|
{
|
1816
1827
|
"disabled": false,
|
1817
|
-
"document": "实例ID,格式如:cmgo-
|
1818
|
-
"example": "",
|
1828
|
+
"document": "实例ID,格式如:cmgo-iga0****。与云数据库控制台页面中显示的实例ID相同",
|
1829
|
+
"example": "cmgo-iga0****",
|
1819
1830
|
"member": "string",
|
1820
1831
|
"name": "InstanceId",
|
1821
1832
|
"required": true,
|
@@ -1824,7 +1835,7 @@
|
|
1824
1835
|
{
|
1825
1836
|
"disabled": false,
|
1826
1837
|
"document": "升级后的内存大小,单位:GB",
|
1827
|
-
"example": "",
|
1838
|
+
"example": "4",
|
1828
1839
|
"member": "uint64",
|
1829
1840
|
"name": "Memory",
|
1830
1841
|
"required": true,
|
@@ -1833,7 +1844,7 @@
|
|
1833
1844
|
{
|
1834
1845
|
"disabled": false,
|
1835
1846
|
"document": "升级后的硬盘大小,单位:GB",
|
1836
|
-
"example": "",
|
1847
|
+
"example": "250",
|
1837
1848
|
"member": "uint64",
|
1838
1849
|
"name": "Volume",
|
1839
1850
|
"required": true,
|
@@ -1842,7 +1853,7 @@
|
|
1842
1853
|
{
|
1843
1854
|
"disabled": false,
|
1844
1855
|
"document": "升级后oplog的大小,单位:GB,默认为磁盘空间的10%,允许设置的最小值为磁盘的10%,最大值为磁盘的90%",
|
1845
|
-
"example": "",
|
1856
|
+
"example": "26",
|
1846
1857
|
"member": "uint64",
|
1847
1858
|
"name": "OplogSize",
|
1848
1859
|
"required": false,
|
@@ -1857,9 +1868,10 @@
|
|
1857
1868
|
{
|
1858
1869
|
"disabled": false,
|
1859
1870
|
"document": "订单ID",
|
1860
|
-
"example": "",
|
1871
|
+
"example": "19297475",
|
1861
1872
|
"member": "string",
|
1862
1873
|
"name": "DealId",
|
1874
|
+
"output_required": true,
|
1863
1875
|
"type": "string",
|
1864
1876
|
"value_allowed_null": false
|
1865
1877
|
},
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"CreateDBInstance": [
|
12
12
|
{
|
13
13
|
"document": "客户需要通过API创建包年包月云数据库实例",
|
14
|
-
"input": "
|
14
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstance\n<公共请求参数>\n\n{\n \"Zone\": \"ap-guangzhou-2\",\n \"UniqVpcId\": \"vpc-0akbol5v\",\n \"TimeSpan\": \"1\",\n \"ProjectId\": \"0\",\n \"MachineCode\": \"TGIO\",\n \"GoodsNum\": \"1\",\n \"Volume\": \"250\",\n \"SecondaryNum\": \"2\",\n \"UniqSubnetId\": \"subnet-fyrtjbqw\",\n \"Memory\": \"4\",\n \"MongoVersion\": \"MONGO_42_WT\",\n \"Password\": \"pwd123456\"\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d88095e5-50e8-4245-a0cf-993a536f9b20\",\n \"DealId\": \"7142863\",\n \"InstanceIds\": [\n \"cmgo-po5f899l\"\n ]\n }\n}",
|
16
16
|
"title": "创建包年包月的云数据库实例"
|
17
17
|
}
|
@@ -28,7 +28,7 @@
|
|
28
28
|
{
|
29
29
|
"document": "",
|
30
30
|
"input": "https://mongodb.tencentcloudapi.com/?Action=DescribeClientConnections\n&InstanceId=cmgo-eqmoaxxx\n&<公共请求参数>",
|
31
|
-
"output": "{\n \"Response\": {\n \"
|
31
|
+
"output": "{\n \"Response\": {\n \"Clients\": [\n {\n \"IP\": \"abc\",\n \"Count\": 1\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
32
32
|
"title": "查询云数据库实例的客户端连接情况"
|
33
33
|
}
|
34
34
|
],
|
@@ -75,7 +75,7 @@
|
|
75
75
|
"SetPassword": [
|
76
76
|
{
|
77
77
|
"document": "",
|
78
|
-
"input": "
|
78
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetPassword\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-eqmoa5sf\",\n \"UserName\": \"test_user\",\n \"Password\": \"test_password123\"\n}",
|
79
79
|
"output": "{\n \"Response\": {\n \"FlowId\": 1082,\n \"RequestId\": \"a02372cf-5e09-4d17-ab79-2ee3f60e86ff\"\n }\n}",
|
80
80
|
"title": "设置云数据库实例账户密码"
|
81
81
|
}
|
@@ -91,7 +91,7 @@
|
|
91
91
|
"UpgradeDBInstance": [
|
92
92
|
{
|
93
93
|
"document": "客户需要通过API升级包年包月的云数据库实例",
|
94
|
-
"input": "https://mongodb.tencentcloudapi.com/?Action=UpgradeDBInstance\
|
94
|
+
"input": "https://mongodb.tencentcloudapi.com/?Action=UpgradeDBInstance\n&Memory=4\n&Volume=250\n&InstanceId=cmgo-f555zzzz\n&OplogSize=26\n&<公共请求参数>",
|
95
95
|
"output": "{\n \"Response\": {\n \"RequestId\": \"be8f4a30-ea2e-4623-8b6b-0ccce04cd9f7\",\n \"DealId\": \"19297475\"\n }\n}",
|
96
96
|
"title": "升级包年包月的云数据库实例"
|
97
97
|
}
|