tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1217.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/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/configure.py +46 -1
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -3
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +118 -4
- tccli/services/asr/v20190614/api.json +21 -20
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +80 -4
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +330 -24
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/bsca/v20210811/api.json +223 -18
- tccli/services/bsca/v20210811/examples.json +4 -4
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +541 -325
- tccli/services/ccc/v20200210/examples.json +26 -18
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +308 -274
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cdn/v20180606/api.json +5 -3
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +54 -4
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1895 -2011
- tccli/services/cfw/v20190904/examples.json +175 -171
- tccli/services/ciam/v20220331/api.json +316 -315
- tccli/services/ciam/v20220331/examples.json +49 -49
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/cloudaudit_client.py +30 -30
- tccli/services/cloudaudit/v20190319/api.json +254 -211
- tccli/services/cloudaudit/v20190319/examples.json +19 -19
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +935 -147
- tccli/services/cls/v20201016/examples.json +43 -5
- tccli/services/csip/v20221121/api.json +2566 -2386
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +191 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6498 -6252
- tccli/services/cwp/v20180228/examples.json +372 -412
- tccli/services/cynosdb/v20190107/api.json +170 -110
- tccli/services/cynosdb/v20190107/examples.json +91 -91
- tccli/services/dasb/v20191018/api.json +859 -637
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/domain/v20180808/api.json +3 -3
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/eb/v20210416/api.json +15 -15
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/es_client.py +249 -37
- tccli/services/es/v20180416/api.json +550 -0
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +192 -38
- tccli/services/ess/v20201111/examples.json +35 -9
- tccli/services/essbasic/essbasic_client.py +106 -0
- tccli/services/essbasic/v20210526/api.json +287 -60
- tccli/services/essbasic/v20210526/examples.json +58 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gaap/v20180529/api.json +44 -26
- tccli/services/gaap/v20180529/examples.json +24 -30
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +73 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +279 -9
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +10 -12
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2263 -758
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/organization_client.py +352 -34
- tccli/services/organization/v20210331/api.json +464 -4
- tccli/services/organization/v20210331/examples.json +49 -1
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/scf_client.py +269 -4
- tccli/services/scf/v20180416/api.json +569 -15
- tccli/services/scf/v20180416/examples.json +47 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +98 -5
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +124 -122
- tccli/services/tat/v20201028/examples.json +24 -30
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1984 -1437
- tccli/services/tcss/v20201101/examples.json +350 -368
- tccli/services/tdmq/v20200217/api.json +603 -464
- tccli/services/tdmq/v20200217/examples.json +105 -105
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +429 -372
- tccli/services/tem/v20210701/examples.json +85 -85
- tccli/services/teo/teo_client.py +277 -12
- tccli/services/teo/v20220901/api.json +1029 -124
- tccli/services/teo/v20220901/examples.json +84 -8
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +270 -58
- tccli/services/tke/v20180525/api.json +79 -27
- tccli/services/tke/v20180525/examples.json +9 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tms/tms_client.py +4 -57
- tccli/services/tms/v20201229/api.json +0 -354
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +293 -52
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1195 -892
- tccli/services/vpc/v20170312/examples.json +84 -68
- tccli/services/vpc/vpc_client.py +168 -62
- tccli/services/waf/v20180125/api.json +2611 -2187
- tccli/services/waf/v20180125/examples.json +224 -284
- tccli/services/waf/waf_client.py +225 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +1595 -25
- tccli/services/wedata/v20210820/examples.json +44 -4
- tccli/services/wedata/wedata_client.py +265 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
- tccli/services/cr/__init__.py +0 -4
- tccli/services/cr/cr_client.py +0 -1626
- tccli/services/cr/v20180321/api.json +0 -2829
- tccli/services/cr/v20180321/examples.json +0 -235
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -20,7 +20,7 @@
|
|
20
20
|
{
|
21
21
|
"document": "调整数据库代理地址",
|
22
22
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AdjustCdbProxyAddress\n<公共请求参数>\n\n{\n \"ProxyGroupId\": \"proxy-il2nlsdn\",\n \"ProxyAddressId\": \"proxy-il2nlsdn\",\n \"IsKickOut\": true,\n \"MinCount\": 1,\n \"MaxDelay\": 10,\n \"WeightMode\": \"custom\",\n \"FailOver\": true,\n \"AutoAddRo\": true,\n \"ReadOnly\": false,\n \"TransSplit\": false,\n \"ConnectionPool\": true,\n \"ProxyAllocation\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-2\",\n \"ProxyInstance\": [\n {\n \"InstanceId\": \"cdb-aykuksx3\",\n \"Weight\": 100\n }\n ]\n }\n ]\n}",
|
23
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"111-1314-333-2321212\",\n \"AsyncRequestId\": \"
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"111-1314-333-2321212\",\n \"AsyncRequestId\": \"a6040589-3b098df5-b551d9e5-81c6bfdc\"\n }\n}",
|
24
24
|
"title": "调整数据库代理地址"
|
25
25
|
}
|
26
26
|
],
|
@@ -58,7 +58,7 @@
|
|
58
58
|
{
|
59
59
|
"document": "",
|
60
60
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckMigrateCluster\n<公共请求参数>\n\n{}",
|
61
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
61
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
62
62
|
"title": "高可用实例一键迁移到集群版校验"
|
63
63
|
}
|
64
64
|
],
|
@@ -197,13 +197,13 @@
|
|
197
197
|
"CreateDBInstance": [
|
198
198
|
{
|
199
199
|
"document": "购买主实例",
|
200
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstance\n<公共请求参数>\n\n{\n \"ResourceTags\": [\n {\n \"TagKey\": \"
|
200
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstance\n<公共请求参数>\n\n{\n \"ResourceTags\": [\n {\n \"TagKey\": \"march\",\n \"TagValue\": [\n \"march1\"\n ]\n }\n ],\n \"Zone\": \"ap-guangzhou-3\",\n \"UniqVpcId\": \"vpc-0akbol5v\",\n \"ProjectId\": \"0\",\n \"InstanceRole\": \"master\",\n \"GoodsNum\": \"1\",\n \"Period\": \"1\",\n \"Volume\": \"25\",\n \"EngineVersion\": \"5.6\",\n \"UniqSubnetId\": \"subnet-fyrtjbqw\",\n \"Memory\": \"1000\",\n \"InstanceNodes\": \"2\"\n}",
|
201
201
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"InstanceIds\": [\n \"cdb-pn6gd5jp\"\n ],\n \"DealIds\": [\n \"20171201110011\"\n ]\n }\n}",
|
202
202
|
"title": "购买主实例"
|
203
203
|
},
|
204
204
|
{
|
205
205
|
"document": "购买只读实例",
|
206
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstance\n<公共请求参数>\n\n{\n \"RoGroup\": {\n \"RoGroupMode\": \"allinone\",\n \"RoGroupName\": \"
|
206
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstance\n<公共请求参数>\n\n{\n \"RoGroup\": {\n \"RoGroupMode\": \"allinone\",\n \"RoGroupName\": \"jersey\",\n \"RoMaxDelayTime\": \"5\",\n \"MinRoInGroup\": \"1\",\n \"RoOfflineDelay\": \"1\"\n },\n \"GoodsNum\": \"1\",\n \"InstanceRole\": \"ro\",\n \"MasterInstanceId\": \"cdb-fn3f9xpx\",\n \"Period\": \"1\",\n \"Volume\": \"100\",\n \"Memory\": \"4000\"\n}",
|
207
207
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"DealIds\": [\n \"20171205110051\"\n ],\n \"InstanceIds\": [\n \"cdbro-hlpl4ik9\"\n ]\n }\n}",
|
208
208
|
"title": "购买只读实例"
|
209
209
|
}
|
@@ -211,7 +211,7 @@
|
|
211
211
|
"CreateDBInstanceHour": [
|
212
212
|
{
|
213
213
|
"document": "创建云数据库实例(按量计费)",
|
214
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstanceHour\n<公共请求参数>\n\n{\n \"ResourceTags\": [\n {\n \"TagKey\": \"
|
214
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstanceHour\n<公共请求参数>\n\n{\n \"ResourceTags\": [\n {\n \"TagKey\": \"march\",\n \"TagValue\": [\n \"march1\"\n ]\n }\n ],\n \"Zone\": \"ap-guangzhou-3\",\n \"UniqVpcId\": \"vpc-0akbol5v\",\n \"ProjectId\": \"0\",\n \"SlaveZone\": \"ap-guangzhou-3\",\n \"InstanceRole\": \"master\",\n \"GoodsNum\": \"1\",\n \"DeployMode\": \"0\",\n \"Volume\": \"25\",\n \"EngineVersion\": \"5.6\",\n \"UniqSubnetId\": \"subnet-fyrtjbqw\",\n \"Memory\": \"1000\",\n \"ProtectMode\": \"0\"\n}",
|
215
215
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"InstanceIds\": [\n \"cdb-03brtubb\"\n ],\n \"DealIds\": [\n \"20171201160000002670226599824833\"\n ]\n }\n}",
|
216
216
|
"title": "创建云数据库实例(按量计费)"
|
217
217
|
}
|
@@ -543,8 +543,8 @@
|
|
543
543
|
"DescribeClusterInfo": [
|
544
544
|
{
|
545
545
|
"document": "",
|
546
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-
|
547
|
-
"output": "{\n \"Response\": {\n \"ClusterName\": \"dbname\",\n \"ReadWriteAddress\": {\n \"ResourceId\": \"cdb-
|
546
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-dctw4edd\"\n}",
|
547
|
+
"output": "{\n \"Response\": {\n \"ClusterName\": \"dbname\",\n \"ReadWriteAddress\": {\n \"ResourceId\": \"cdb-dctw4edd\",\n \"UniqVpcId\": \"vpc-hendkj\",\n \"UniqSubnetId\": \"subnet-eushjw\",\n \"Vip\": \"192.168.3.4\",\n \"VPort\": 3306,\n \"WanDomain\": \"gz-cdb-*******.sql.tencentcdb.com\",\n \"WanPort\": 23356\n },\n \"ReadOnlyAddress\": [\n {\n \"ResourceId\": \"cdbro-3a1eccdd\",\n \"UniqVpcId\": \"vpc-ehndjs\",\n \"UniqSubnetId\": \"subnet-euwhsn\",\n \"Vip\": \"192.168.3.5\",\n \"VPort\": 3306,\n \"WanDomain\": \"gz-cdb-*******.sql.tencentcdb.com\",\n \"WanPort\": 23356\n }\n ],\n \"NodeList\": [\n {\n \"NodeId\": \"dbn-qqeo1111\",\n \"Role\": \"master\",\n \"Zone\": \"ap-guangzhou-1\",\n \"Weight\": 1,\n \"Status\": \"online\"\n },\n {\n \"NodeId\": \"dbn-qqeo2222\",\n \"Role\": \"slave\",\n \"Zone\": \"ap-guangzhou-2\",\n \"Weight\": 1,\n \"Status\": \"online\"\n }\n ],\n \"ReadonlyLimit\": 10,\n \"NodeCount\": 2,\n \"RequestId\": \"mnksadas-cb0d-4943-9b17-c3306ed3d\"\n }\n}",
|
548
548
|
"title": "查询集群版实例信息"
|
549
549
|
}
|
550
550
|
],
|
@@ -560,7 +560,7 @@
|
|
560
560
|
{
|
561
561
|
"document": "查询实例特性,诸如内核小版本、是否开启审计等。",
|
562
562
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBFeatures\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-qwerasdf\"\n}",
|
563
|
-
"output": "{\n \"Response\": {\n \"
|
563
|
+
"output": "{\n \"Response\": {\n \"AuditNeedUpgrade\": false,\n \"CurrentSubVersion\": \"20230701\",\n \"EncryptionNeedUpgrade\": false,\n \"IsRemoteRo\": false,\n \"IsSupportAudit\": true,\n \"IsSupportEncryption\": true,\n \"IsSupportUpdateSubVersion\": true,\n \"MasterRegion\": \"\",\n \"RequestId\": \"68782c1e-d613-4451-b993-adef1cc7a3a6\",\n \"TargetSubVersion\": \"20230702\"\n }\n}",
|
564
564
|
"title": "查询实例版本属性"
|
565
565
|
}
|
566
566
|
],
|
@@ -600,7 +600,7 @@
|
|
600
600
|
{
|
601
601
|
"document": "",
|
602
602
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-oaj9cbla\"\n}",
|
603
|
-
"output": "{\n \"Response\": {\n \"DefaultKmsRegion\": \"ap-hongkong\",\n \"Encryption\": \"NO\",\n \"InstanceId\": \"cdb-oaj9cbla\",\n \"InstanceName\": \"cdb_name\",\n \"KeyId\": \"\",\n \"KeyRegion\": \"\",\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
603
|
+
"output": "{\n \"Response\": {\n \"DefaultKmsRegion\": \"ap-hongkong\",\n \"Encryption\": \"NO\",\n \"InstanceId\": \"cdb-oaj9cbla\",\n \"InstanceName\": \"cdb_name\",\n \"KeyId\": \"***-CDB\",\n \"KeyRegion\": \"ap-hongkong\",\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
604
604
|
"title": "查询实例信息"
|
605
605
|
}
|
606
606
|
],
|
@@ -741,8 +741,8 @@
|
|
741
741
|
"DescribeInstanceUpgradeType": [
|
742
742
|
{
|
743
743
|
"document": "",
|
744
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceUpgradeType\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-
|
745
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"InstanceId\": \"cdb-
|
744
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceUpgradeType\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-2wpip1dd\",\n \"DstCpu\": 1,\n \"DstMemory\": 1000,\n \"DstDisk\": 200,\n \"DstVersion\": \"8.0\",\n \"DstProtectMode\": 0,\n \"DstDeployMode\": 0,\n \"DstSlaveZone\": 100003,\n \"DstBackupZone\": 0,\n \"DstCdbType\": \"CUSTOM\"\n}",
|
745
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"InstanceId\": \"cdb-2wpip1dd\",\n \"UpgradeType\": \"Trsf\"\n }\n}",
|
746
746
|
"title": "查询数据库实例升级类型"
|
747
747
|
}
|
748
748
|
],
|
@@ -805,9 +805,9 @@
|
|
805
805
|
"DescribeRoGroups": [
|
806
806
|
{
|
807
807
|
"document": "",
|
808
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoGroups\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-
|
809
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
810
|
-
"title": "查询云数据库实例的所有RO组的信息"
|
808
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoGroups\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-93hvfefg\"\n}",
|
809
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5e18a101-e6f5-440c-a9d3-3b30aef256e1\",\n \"RoGroups\": [\n {\n \"DelayReplicationTime\": 0,\n \"MinRoInGroup\": 1,\n \"RoGroupId\": \"cdbrg-lsj**ijm\",\n \"RoGroupMode\": \"\",\n \"RoGroupName\": \"tommy1\",\n \"RoGroupRegion\": \"ap-beijing\",\n \"RoGroupZone\": \"ap-beijing-6\",\n \"RoInstances\": [\n {\n \"DeadlineTime\": \"2024-11-12 16:11:06\",\n \"DeviceType\": \"CUSTOM\",\n \"EngineVersion\": \"8.0\",\n \"HourFeeStatus\": 1,\n \"InstanceId\": \"cdbro-lsjh**jm\",\n \"InstanceName\": \"cdb_ro_21**63\",\n \"InstanceType\": 3,\n \"MasterInstanceId\": \"cdb-93**fefg\",\n \"Memory\": 4000,\n \"OfflineTime\": \"2024-01-25 15:05:59\",\n \"PayType\": 0,\n \"Qps\": 4400,\n \"Region\": \"ap-beijing\",\n \"RoStatus\": \"online\",\n \"Status\": 1,\n \"SubnetId\": 2738750,\n \"TaskStatus\": 0,\n \"Vip\": \"172.*.32.13\",\n \"Volume\": 60,\n \"VpcId\": 7078258,\n \"Vport\": 3306,\n \"Weight\": 2,\n \"Zone\": \"ap-beijing-6\"\n }\n ],\n \"RoMaxDelayTime\": 10,\n \"RoOfflineDelay\": 1,\n \"UniqSubnetId\": \"subnet-jp6**13n\",\n \"UniqVpcId\": \"vpc-4ko**3u6\",\n \"Vip\": \"172.*.64.7\",\n \"Vport\": 3306,\n \"Weight\": 0,\n \"WeightMode\": \"system\"\n }\n ]\n }\n}",
|
810
|
+
"title": "查询云数据库实例的所有 RO 组的信息"
|
811
811
|
}
|
812
812
|
],
|
813
813
|
"DescribeRoMinScale": [
|
@@ -914,14 +914,6 @@
|
|
914
914
|
"title": "安全组批量解绑云资源"
|
915
915
|
}
|
916
916
|
],
|
917
|
-
"InitDBInstances": [
|
918
|
-
{
|
919
|
-
"document": "",
|
920
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InitDBInstances\n<公共请求参数>\n\n{\n \"NewPassword\": \"xx\",\n \"Vport\": 0,\n \"Parameters\": [\n {\n \"Name\": \"lower_case_table_names\",\n \"Value\": \"1\"\n },\n {\n \"Name\": \"character_set_server\",\n \"Value\": \"utf8\"\n }\n ],\n \"InstanceIds\": [\n \"cdb-f35wr6wj\"\n ]\n}",
|
921
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"AsyncRequestIds\": [\n \"8cd119d4-61ba-11e7-aeff-018cfa1f5560\"\n ]\n }\n}",
|
922
|
-
"title": "初始化新实例"
|
923
|
-
}
|
924
|
-
],
|
925
917
|
"InquiryPriceUpgradeInstances": [
|
926
918
|
{
|
927
919
|
"document": "",
|
@@ -1085,11 +1077,19 @@
|
|
1085
1077
|
"ModifyDBInstanceProject": [
|
1086
1078
|
{
|
1087
1079
|
"document": "",
|
1088
|
-
"input": "https://cdb.tencentcloudapi.com/?Action=ModifyDBInstanceProject\n&InstanceIds.0=cdb-f35wr6wj\n&NewProjectId=
|
1080
|
+
"input": "https://cdb.tencentcloudapi.com/?Action=ModifyDBInstanceProject\n&InstanceIds.0=cdb-f35wr6wj\n&NewProjectId=11954\n&<公共请求参数>",
|
1089
1081
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1a42feb9-82087f71-6a0031ac-699a92a8\"\n }\n}",
|
1090
1082
|
"title": "修改云数据库实例的所属项目"
|
1091
1083
|
}
|
1092
1084
|
],
|
1085
|
+
"ModifyDBInstanceReadOnlyStatus": [
|
1086
|
+
{
|
1087
|
+
"document": "",
|
1088
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceReadOnlyStatus\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-uns231ns\",\n \"ReadOnly\": \"0\"\n}",
|
1089
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2cf0e063-0f70f622-2d5c3f7c-0e612ab0\"\n }\n}",
|
1090
|
+
"title": "设置MySQL云数据库实例为只读"
|
1091
|
+
}
|
1092
|
+
],
|
1093
1093
|
"ModifyDBInstanceSecurityGroups": [
|
1094
1094
|
{
|
1095
1095
|
"document": "",
|
@@ -1141,7 +1141,7 @@
|
|
1141
1141
|
"ModifyNameOrDescByDpId": [
|
1142
1142
|
{
|
1143
1143
|
"document": "",
|
1144
|
-
"input": "https://cdb.tencentcloudapi.com/?Action=ModifyNameOrDescByDpId\n&DeployGroupName=cdb-ezq1vzem\n&Description
|
1144
|
+
"input": "https://cdb.tencentcloudapi.com/?Action=ModifyNameOrDescByDpId\n&DeployGroupName=cdb-ezq1vzem\n&Description=一区群组\n&DeployGroupId=172837\n&<公共请求参数>",
|
1145
1145
|
"output": "{\n \"Response\": {\n \"RequestId\": \"b4a719b5-ffb34ab6-816c43c1-8c6a23eb\"\n }\n}",
|
1146
1146
|
"title": "修改置放群组的名称或者描述"
|
1147
1147
|
}
|
@@ -1203,7 +1203,7 @@
|
|
1203
1203
|
"OpenDBInstanceEncryption": [
|
1204
1204
|
{
|
1205
1205
|
"document": "",
|
1206
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenDBInstanceEncryption\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-qwer1234\",\n \"KeyId\": \"
|
1206
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenDBInstanceEncryption\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-qwer1234\",\n \"KeyId\": \"KMS-CDB\",\n \"KeyRegion\": \"ap-guangzhou\"\n}",
|
1207
1207
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1ac120c8-744a-4c15-be4e-4431511c0233\"\n }\n}",
|
1208
1208
|
"title": "开通加密服务"
|
1209
1209
|
}
|
@@ -1236,7 +1236,7 @@
|
|
1236
1236
|
{
|
1237
1237
|
"document": "",
|
1238
1238
|
"input": "https://cdb.tencentcloudapi.com/?Action=ReleaseIsolatedDBInstances\n&InstanceIds.0=cdb-f35wr6wj\n&<公共请求参数>",
|
1239
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"eeab769d-0c08-456a-971f-dc24f4c585c8\",\n \"Items\": [\n {\n \"InstanceId\": \"cdb-f35wr6wj\",\n \"Code\": 0,\n \"Message\": \"
|
1239
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eeab769d-0c08-456a-971f-dc24f4c585c8\",\n \"Items\": [\n {\n \"InstanceId\": \"cdb-f35wr6wj\",\n \"Code\": 0,\n \"Message\": \"\"\n }\n ]\n }\n}",
|
1240
1240
|
"title": "解隔离云数据库实例"
|
1241
1241
|
}
|
1242
1242
|
],
|
@@ -1251,7 +1251,7 @@
|
|
1251
1251
|
"RenewDBInstance": [
|
1252
1252
|
{
|
1253
1253
|
"document": "",
|
1254
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RenewDBInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-ezq1vzem\",\n \"TimeSpan\": \"
|
1254
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RenewDBInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-ezq1vzem\",\n \"TimeSpan\": \"1\"\n}",
|
1255
1255
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"DealId\": \"20170320233333\"\n }\n}",
|
1256
1256
|
"title": "续费云数据库实例"
|
1257
1257
|
}
|
@@ -1259,8 +1259,8 @@
|
|
1259
1259
|
"ResetPassword": [
|
1260
1260
|
{
|
1261
1261
|
"document": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetPassword\n<公共请求参数>",
|
1262
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetPassword\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1263
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1262
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetPassword\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-c1nl9rpv\",\n \"User\": \"andy\",\n \"Host\": \"172.1.1.1\"\n}",
|
1263
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d5b053f3-d58e-4048-aef9-b8cc9f044951\"\n }\n}",
|
1264
1264
|
"title": "手动刷新轮转密码"
|
1265
1265
|
}
|
1266
1266
|
],
|
@@ -1299,17 +1299,17 @@
|
|
1299
1299
|
"StartReplication": [
|
1300
1300
|
{
|
1301
1301
|
"document": "",
|
1302
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartReplication\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1303
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1302
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartReplication\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdbro-lsjh9i11\"\n}",
|
1303
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"AsyncRequestId\": \"a6040589-3b098df5-b551d9e5-81c6bfdc\"\n }\n}",
|
1304
1304
|
"title": "开启 RO 复制"
|
1305
1305
|
}
|
1306
1306
|
],
|
1307
1307
|
"StopCpuExpand": [
|
1308
1308
|
{
|
1309
1309
|
"document": "用于关闭当前实例的弹性扩容配置。",
|
1310
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopCpuExpand\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1311
|
-
"output": "{\n \"Response\": {\n \"AsyncRequestId\": \"
|
1312
|
-
"title": "
|
1310
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopCpuExpand\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-himitj11\"\n}",
|
1311
|
+
"output": "{\n \"Response\": {\n \"AsyncRequestId\": \"02e874af-e4876fb4-4c672e64-86f17866\",\n \"RequestId\": \"d5b053f3-d58e-4048-aef9-b8cc9f044951\"\n }\n}",
|
1312
|
+
"title": "关闭弹性扩容"
|
1313
1313
|
}
|
1314
1314
|
],
|
1315
1315
|
"StopDBImportJob": [
|
@@ -1323,8 +1323,8 @@
|
|
1323
1323
|
"StopReplication": [
|
1324
1324
|
{
|
1325
1325
|
"document": "",
|
1326
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopReplication\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-
|
1327
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1326
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopReplication\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-himitj11\"\n}",
|
1327
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"AsyncRequestId\": \"a6040589-3b098df5-b551d9e5-81c6bfdc\"\n }\n}",
|
1328
1328
|
"title": "停止 RO 复制"
|
1329
1329
|
}
|
1330
1330
|
],
|
@@ -1339,7 +1339,7 @@
|
|
1339
1339
|
"SubmitInstanceUpgradeCheckJob": [
|
1340
1340
|
{
|
1341
1341
|
"document": "无",
|
1342
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitInstanceUpgradeCheckJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1342
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitInstanceUpgradeCheckJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-g3rbtabc\",\n \"DstMysqlVersion\": \"8.0\"\n}",
|
1343
1343
|
"output": "{\n \"Response\": {\n \"JobId\": 145,\n \"RequestId\": \"a4b54232-d7af-4df3-8329-5110e3ece9c3\"\n }\n}",
|
1344
1344
|
"title": "提交实例升级检查任务"
|
1345
1345
|
}
|
@@ -1355,7 +1355,7 @@
|
|
1355
1355
|
"SwitchDBInstanceMasterSlave": [
|
1356
1356
|
{
|
1357
1357
|
"document": "",
|
1358
|
-
"input": "https://cdb.tencentcloudapi.com/?Action=SwitchDBInstanceMasterSlave\n&InstanceId=cdb-
|
1358
|
+
"input": "https://cdb.tencentcloudapi.com/?Action=SwitchDBInstanceMasterSlave\n&InstanceId=cdb-rqd2jndd\n&DstSlave=second\n&<公共请求参数>",
|
1359
1359
|
"output": "{\n \"Response\": {\n \"RequestId\": \"faae8d6a-38fb-44de-988e-5a0e78aba4a7\",\n \"AsyncRequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
1360
1360
|
"title": "切换实例主从角色"
|
1361
1361
|
}
|