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
@@ -19,8 +19,8 @@
|
|
19
19
|
"AddInstances": [
|
20
20
|
{
|
21
21
|
"document": "新增只读实例",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddInstances\n<公共请求参数>\n\n{\n \"ReadOnlyCount\":
|
23
|
-
"output": "{\n \"Response\": {\n \"TranId\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddInstances\n<公共请求参数>\n\n{\n \"ReadOnlyCount\": 1,\n \"VpcId\": \"vpc-1ptuei0b\",\n \"ClusterId\": \"cynosdbmysql-6gtlgm5l\",\n \"Memory\": 4,\n \"SubnetId\": \"subnet-1tmw9t4o\",\n \"Cpu\": 2,\n \"UpgradeProxy\": {\n \"Cpu\": 4,\n \"Mem\": 8000,\n \"ReloadBalance\": \"auto\",\n \"ProxyZones\": [\n {\n \"ProxyNodeZone\": \"ap-guangzhou-3\",\n \"ProxyNodeCount\": 1\n }\n ]\n }\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"TranId\": \"myTranId\",\n \"DealNames\": [\n \"182711111\"\n ],\n \"ResourceIds\": [\n \"cynosdbmysql-mwg712mm\"\n ],\n \"BigDealIds\": [\n \"1111\"\n ],\n \"RequestId\": \"48fa5cf5-77db-4e32-90ef-22c71ed95f51\"\n }\n}",
|
24
24
|
"title": "新增实例"
|
25
25
|
}
|
26
26
|
],
|
@@ -59,8 +59,8 @@
|
|
59
59
|
"CloseProxy": [
|
60
60
|
{
|
61
61
|
"document": "关闭数据库代理",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CloseProxy\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
63
|
-
"output": "{\n \"Response\": {\n \"FlowId\":
|
62
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CloseProxy\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-mwg7212w\",\n \"ProxyGroupId\": \"cynosdbmysql-proxy-4378e0ky\",\n \"OnlyCloseRW\": true\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 358874,\n \"TaskId\": 1063084,\n \"RequestId\": \"e4f4f48a-51b1-45be-a9e3-09f0d1412659\"\n }\n}",
|
64
64
|
"title": "关闭数据库代理"
|
65
65
|
}
|
66
66
|
],
|
@@ -83,8 +83,8 @@
|
|
83
83
|
"CreateAccounts": [
|
84
84
|
{
|
85
85
|
"document": "创建用户账号",
|
86
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccounts\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
87
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
86
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccounts\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-asd45qwe\",\n \"Accounts\": [\n {\n \"AccountName\": \"tom\",\n \"AccountPassword\": \"888888@Abcde\",\n \"Host\": \"1.1.1.1\",\n \"Description\": \"AccountDescription\",\n \"MaxUserConnections\": 10\n }\n ]\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2f355036-ad6b-4b09-8d9b-793235f856c5\"\n }\n}",
|
88
88
|
"title": "创建用户账号"
|
89
89
|
}
|
90
90
|
],
|
@@ -123,7 +123,7 @@
|
|
123
123
|
"CreateClusterDatabase": [
|
124
124
|
{
|
125
125
|
"document": "创建数据库",
|
126
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateClusterDatabase\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
126
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateClusterDatabase\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-mwg712en\",\n \"DbName\": \"tom\",\n \"CharacterSet\": \"utf8\",\n \"CollateRule\": \"utf8_general_ci\",\n \"UserHostPrivileges\": [\n {\n \"DbUserName\": \"root\",\n \"DbHost\": \"172.1.1.1\",\n \"DbPrivilege\": \"DDL\"\n }\n ],\n \"Description\": \"tomuse\"\n}",
|
127
127
|
"output": "{\n \"Response\": {\n \"RequestId\": \"f569bea2-0a51-11ec-af61-525400542aa6\"\n }\n}",
|
128
128
|
"title": "创建数据库"
|
129
129
|
}
|
@@ -139,13 +139,13 @@
|
|
139
139
|
"CreateParamTemplate": [
|
140
140
|
{
|
141
141
|
"document": "创建参数模板",
|
142
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateParamTemplate\n<公共请求参数>\n\n{\n \"TemplateDescription\": \"常用模板\",\n \"EngineVersion\": \"5.7\",\n \"TemplateId\":
|
142
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateParamTemplate\n<公共请求参数>\n\n{\n \"TemplateDescription\": \"常用模板\",\n \"EngineVersion\": \"5.7\",\n \"TemplateId\": 93,\n \"TemplateName\": \"5.7常用参数模板\"\n}",
|
143
143
|
"output": "{\n \"Response\": {\n \"RequestId\": \"b7735dc6-5847-4c9b-a713-9745f9afda34\",\n \"TemplateId\": 95\n }\n}",
|
144
144
|
"title": "创建参数模板"
|
145
145
|
},
|
146
146
|
{
|
147
147
|
"document": "自定义参数模板",
|
148
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateParamTemplate\n<公共请求参数>\n\n{\n \"TemplateDescription\": \"API测试\",\n \"EngineVersion\": \"5.7\",\n \"TemplateId\":
|
148
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateParamTemplate\n<公共请求参数>\n\n{\n \"TemplateDescription\": \"API测试\",\n \"EngineVersion\": \"5.7\",\n \"TemplateId\": 100,\n \"DbMode\": \"NORMAL\",\n \"TemplateName\": \"API测试\"\n}",
|
149
149
|
"output": "{\n \"Response\": {\n \"RequestId\": \"edbd6b65-daf0-4ca8-b34f-cc3fd42790d8\",\n \"TemplateId\": 27\n }\n}",
|
150
150
|
"title": "自定义参数模板"
|
151
151
|
}
|
@@ -153,16 +153,16 @@
|
|
153
153
|
"CreateProxy": [
|
154
154
|
{
|
155
155
|
"document": "创建数据库代理",
|
156
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProxy\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
157
|
-
"output": "{\n \"Response\": {\n \"FlowId\":
|
156
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProxy\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-mwg7212w\",\n \"UniqueVpcId\": \"vpc-4pbgo2lk\",\n \"UniqueSubnetId\": \"subnet-a2emqn1t\",\n \"ProxyCount\": 2,\n \"Cpu\": 2,\n \"Mem\": 4000,\n \"ConnectionPoolType\": \"SessionConnectionPool\",\n \"OpenConnectionPool\": \"yes\",\n \"ConnectionPoolTimeOut\": 0,\n \"SecurityGroupIds\": [\n \"sg-qwaszx\"\n ],\n \"Description\": \"Fill in the description\",\n \"ProxyZones\": [\n {\n \"ProxyNodeZone\": \"ap-beijing-6\",\n \"ProxyNodeCount\": 2\n }\n ]\n}",
|
157
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 358874,\n \"TaskId\": 1063084,\n \"RequestId\": \"a88257ed-174e-499c-b390-dc535e664b94\"\n }\n}",
|
158
158
|
"title": "创建数据库代理"
|
159
159
|
}
|
160
160
|
],
|
161
161
|
"CreateProxyEndPoint": [
|
162
162
|
{
|
163
163
|
"document": "创建数据库代理连接点",
|
164
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProxyEndPoint\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-
|
165
|
-
"output": "{\n \"Response\": {\n \"FlowId\":
|
164
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProxyEndPoint\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-dnofdr2d\",\n \"UniqueVpcId\": \"vpc-azx\",\n \"UniqueSubnetId\": \"subnet-qwe\",\n \"ConnectionPoolType\": \"SessionConnectionPool\",\n \"OpenConnectionPool\": \"yes\",\n \"ConnectionPoolTimeOut\": 0,\n \"SecurityGroupIds\": [\n \"sg-dtwhs6\"\n ],\n \"Description\": \"tomnode1\",\n \"Vip\": \"1.1.1.1\",\n \"WeightMode\": \"system\",\n \"AutoAddRo\": \"yes\",\n \"FailOver\": \"\",\n \"ConsistencyType\": \"eventual\",\n \"RwType\": \"READWRITE\",\n \"ConsistencyTimeOut\": 0,\n \"TransSplit\": true,\n \"AccessMode\": \"nearby\",\n \"InstanceWeights\": [\n {\n \"InstanceId\": \"cynosdbmysql-ins-c2twj0qf\",\n \"Weight\": 0\n }\n ]\n}",
|
165
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 146737,\n \"TaskId\": 187463,\n \"ProxyGroupId\": \"cynosdbmysql-proxy-4378e0kd\",\n \"RequestId\": \"a5706353-296a-4992-ad07-ac4a48eeba43\"\n }\n}",
|
166
166
|
"title": "创建数据库代理连接点"
|
167
167
|
}
|
168
168
|
],
|
@@ -225,7 +225,7 @@
|
|
225
225
|
"DeleteParamTemplate": [
|
226
226
|
{
|
227
227
|
"document": "删除参数模板",
|
228
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteParamTemplate\n<公共请求参数>\n\n{\n \"TemplateId\":
|
228
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteParamTemplate\n<公共请求参数>\n\n{\n \"TemplateId\": 93\n}",
|
229
229
|
"output": "{\n \"Response\": {\n \"RequestId\": \"855d70ae-2815-4311-a42e-75a41ee0af8b\"\n }\n}",
|
230
230
|
"title": "删除参数模板"
|
231
231
|
}
|
@@ -250,7 +250,7 @@
|
|
250
250
|
{
|
251
251
|
"document": "查询数据库账号列表",
|
252
252
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccounts\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbysql-on5xw0ni\"\n}",
|
253
|
-
"output": "{\n \"Response\": {\n \"AccountSet\": [\n {\n \"AccountName\": \"
|
253
|
+
"output": "{\n \"Response\": {\n \"AccountSet\": [\n {\n \"AccountName\": \"tom\",\n \"Description\": \"AccountDescription\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"Host\": \"%\",\n \"MaxUserConnections\": 0\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"e4f4f48a-51b1-45be-a9e3-09f0d1412659\"\n }\n}",
|
254
254
|
"title": "查询数据库账号列表"
|
255
255
|
}
|
256
256
|
],
|
@@ -266,7 +266,7 @@
|
|
266
266
|
{
|
267
267
|
"document": "",
|
268
268
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuditLogFiles\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-qwerasdf\"\n}",
|
269
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"Status\": \"creating\",\n \"FileName\": \"audit_log_file\",\n \"DownloadUrl\": \"https://gz-audit-
|
269
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"Status\": \"creating\",\n \"FileName\": \"audit_log_file\",\n \"DownloadUrl\": \"https://gz-audit-32723462.cos.ap-guangzhou.myqcloud.com/183367353_cdb-sdjw3sjc_1694001004_7113542.csv?sign=q-sign-algorithm%3Dsha1%26q-ak%*********************************%26q-sign-time%3D1694001006%3B1694087406%26q-key-time%3D1694001006%3B1694087406%26q-header-list%3D%26q-url-param-list%3D%26q-signature%*******************************************************\",\n \"FileSize\": 123,\n \"CreateTime\": \"2019-03-20 17:09:13\",\n \"ErrMsg\": \"\"\n }\n ]\n }\n}",
|
270
270
|
"title": "创建审计日志文件"
|
271
271
|
}
|
272
272
|
],
|
@@ -317,16 +317,16 @@
|
|
317
317
|
"DescribeBackupDownloadUrl": [
|
318
318
|
{
|
319
319
|
"document": "",
|
320
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupDownloadUrl\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-
|
321
|
-
"output": "{\n \"Response\": {\n \"DownloadUrl\": \"
|
320
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupDownloadUrl\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-dnofdr2d\",\n \"BackupId\": 1879681\n}",
|
321
|
+
"output": "{\n \"Response\": {\n \"DownloadUrl\": \"https://ncdb-bj-pitr-1258***699.cos.ap-beijing.myqcloud.com/cynosdb/data/mysqldump/****9fd2-691a-11ef-b99a-b02628437590/2024-10-28/1879681/data_backup_1879681_20241028022147.xb?q-sign-algorithm=sha1&q-ak=************&q-sign-time=1730079993%3B1730123193&q-key-time=1730079993%3B1730123193&q-header-list=host&q-url-param-list=&q-signature=*****************\",\n \"RequestId\": \"9e56617c-c7cc-44e1-a967-6beb418ad5e7\"\n }\n}",
|
322
322
|
"title": "查询集群备份文件下载地址"
|
323
323
|
}
|
324
324
|
],
|
325
325
|
"DescribeBackupList": [
|
326
326
|
{
|
327
327
|
"document": "查询备份文件列表",
|
328
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupList\n<公共请求参数>\n\n{\n \"Limit\":
|
329
|
-
"output": "{\n \"Response\": {\n \"
|
328
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupList\n<公共请求参数>\n\n{\n \"Limit\": 2,\n \"ClusterId\": \"cynosdbmysql-ck8fmktd\",\n \"Offset\": 0\n}",
|
329
|
+
"output": "{\n \"Response\": {\n \"BackupList\": [\n {\n \"BackupId\": 1880312,\n \"BackupMethod\": \"auto\",\n \"BackupName\": \"\",\n \"BackupStatus\": \"success\",\n \"BackupType\": \"snapshot\",\n \"FileName\": \"jia_20241028040005\",\n \"FileSize\": 10426,\n \"FinishTime\": \"2024-10-28 04:02:34\",\n \"SnapShotType\": \"increment\",\n \"SnapshotId\": 1880312,\n \"SnapshotTime\": \"2024-10-28 04:00:04\",\n \"StartTime\": \"2024-10-28 04:02:14\"\n },\n {\n \"BackupId\": 1879681,\n \"BackupMethod\": \"auto\",\n \"BackupName\": \"\",\n \"BackupStatus\": \"success\",\n \"BackupType\": \"logic\",\n \"FileName\": \"jia_20241028022147\",\n \"FileSize\": 1684666,\n \"FinishTime\": \"2024-10-28 02:22:24\",\n \"SnapShotType\": \"full\",\n \"SnapshotId\": 1879681,\n \"SnapshotTime\": \"2024-10-28 02:21:47\",\n \"StartTime\": \"2024-10-28 02:21:47\"\n }\n ],\n \"RequestId\": \"1f2f4b1e-424d-4740-9b26-d947e957780e\",\n \"TotalCount\": 40\n }\n}",
|
330
330
|
"title": "查询备份文件列表"
|
331
331
|
}
|
332
332
|
],
|
@@ -341,9 +341,9 @@
|
|
341
341
|
"DescribeBinlogDownloadUrl": [
|
342
342
|
{
|
343
343
|
"document": "",
|
344
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBinlogDownloadUrl\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-
|
345
|
-
"output": "{\n \"Response\": {\n \"DownloadUrl\": \"
|
346
|
-
"title": "查询Binlog的下载地址"
|
344
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBinlogDownloadUrl\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-ck8fmktd\",\n \"BinlogId\": 3364561\n}",
|
345
|
+
"output": "{\n \"Response\": {\n \"DownloadUrl\": \"https://ncdb-cdc-bj-1258***699.cos.ap-beijing.myqcloud.com/cynosdb/cdc/BinlogCapture/71***d45-8cfd-11ef-b99a-b02628437590/29.18.12.168_20650_1/mysql-bin.001002/file?q-sign-algorithm=sha1&q-ak=**************&q-sign-time=17300***57%3B1730123657&q-key-time=17300***57%3B1730123657&q-header-list=host&q-url-param-list=&q-signature=**************\",\n \"RequestId\": \"e3159885-b774-40c5-bacb-5d99f2ad1c2c\"\n }\n}",
|
346
|
+
"title": "查询 Binlog 的下载地址"
|
347
347
|
}
|
348
348
|
],
|
349
349
|
"DescribeBinlogSaveDays": [
|
@@ -357,9 +357,9 @@
|
|
357
357
|
"DescribeBinlogs": [
|
358
358
|
{
|
359
359
|
"document": "",
|
360
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBinlogs\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-
|
361
|
-
"output": "{\n \"Response\": {\n \"
|
362
|
-
"title": "查询集群Binlog日志列表"
|
360
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBinlogs\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-mwg7122d\",\n \"StartTime\": \"2024-10-18 11:03:02\",\n \"EndTime\": \"2024-10-25 17:24:50\",\n \"Limit\": 2,\n \"Offset\": 0\n}",
|
361
|
+
"output": "{\n \"Response\": {\n \"Binlogs\": [\n {\n \"BinlogId\": 3364561,\n \"FileName\": \"1_mysql-bin.00**02\",\n \"FileSize\": 815,\n \"FinishTime\": \"2024-10-25 17:24:50\",\n \"StartTime\": \"2024-10-18 11:03:02\"\n }\n ],\n \"RequestId\": \"9052ff42-8a95-4095-8457-9346eb09dc1a\",\n \"TotalCount\": 1\n }\n}",
|
362
|
+
"title": "查询集群 Binlog 日志列表"
|
363
363
|
}
|
364
364
|
],
|
365
365
|
"DescribeChangedParamsAfterUpgrade": [
|
@@ -373,8 +373,8 @@
|
|
373
373
|
"DescribeClusterDatabases": [
|
374
374
|
{
|
375
375
|
"document": "",
|
376
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDatabases\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
377
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 3,\n \"Limit\": 20,\n \"Offset\":
|
376
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDatabases\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-tsjwe7iu\"\n}",
|
377
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 3,\n \"Limit\": 20,\n \"Offset\": 0,\n \"RequestId\": \"806fe1c8-5567-4aa8-a521-ea2414c793b4\",\n \"Databases\": [\n \"test_database_1\",\n \"test_database_2\"\n ]\n }\n}",
|
378
378
|
"title": "获取集群数据库列表"
|
379
379
|
}
|
380
380
|
],
|
@@ -382,14 +382,14 @@
|
|
382
382
|
{
|
383
383
|
"document": "集群信息描述",
|
384
384
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDetail\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbpg-5804k48e\"\n}",
|
385
|
-
"output": "{\n \"Response\": {\n \"Detail\": {\n \"ClusterId\": \"
|
385
|
+
"output": "{\n \"Response\": {\n \"Detail\": {\n \"ClusterId\": \"cynosdbmysql-sgvwu2is\",\n \"ClusterName\": \"cynodbmysql-自定义用户名\",\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-1\",\n \"PhysicalZone\": \"ap-guangzhou-1\",\n \"Status\": \"running\",\n \"StatusDesc\": \"运行中\",\n \"ServerlessStatus\": \"运行中\",\n \"StorageId\": \"cynosdbmysql-sgvwu2is\",\n \"Storage\": 20,\n \"MaxStorageSize\": 1000,\n \"MinStorageSize\": 10,\n \"StoragePayMode\": 0,\n \"VpcName\": \"vpc-osjw7wbx\",\n \"VpcId\": \"vpc-osjw7wbx\",\n \"SubnetName\": \"subnet-stbcji8s\",\n \"SubnetId\": \"subnet-stbcji8s\",\n \"Charset\": \"utf8mb4\",\n \"CreateTime\": \"2020-02-20 20:20:20\",\n \"DbType\": \"MYSQL\",\n \"DbMode\": \"normal\",\n \"DbVersion\": \"5.7\",\n \"StorageLimit\": 20,\n \"UsedStorage\": 14,\n \"Vip\": \"1.2.3.4\",\n \"Vport\": 3306,\n \"RoAddr\": [\n {\n \"IP\": \"1.2.3.5\",\n \"Port\": 3306\n }\n ],\n \"Ability\": {\n \"IsSupportSlaveZone\": \"yes\",\n \"NonsupportSlaveZoneReason\": \"aaabbbccc\",\n \"IsSupportRo\": \"yes\",\n \"NonsupportRoReason\": \"aaabbbccc\",\n \"IsSupportManualSnapshot\": \"yes\"\n },\n \"CynosVersion\": \"3.1.10\",\n \"BusinessType\": \"\",\n \"HasSlaveZone\": \"\",\n \"IsFreeze\": \"no\",\n \"Tasks\": [\n {\n \"TaskId\": 10,\n \"TaskType\": \"taskAutoBackup\",\n \"TaskStatus\": \"processing\",\n \"ObjectId\": \"cynosdbmysql-sgvwu2is\",\n \"ObjectType\": \"taskObjTypeCluster\"\n }\n ],\n \"MasterZone\": \"ap-guangzhou-5\",\n \"SlaveZones\": [\n \"ap-guangzhou-3\"\n ],\n \"InstanceSet\": [\n {\n \"InstanceId\": \"cynosdbmysql-ins-xvs9osn2\",\n \"InstanceName\": \"cynosdbmysql-用户自定义名称\",\n \"InstanceType\": \"rw\",\n \"InstanceStatus\": \"running\",\n \"InstanceStatusDesc\": \"运行中\",\n \"InstanceCpu\": 1,\n \"InstanceMemory\": 2,\n \"InstanceStorage\": 0,\n \"InstanceRole\": \"master\",\n \"MaintainStartTime\": 0,\n \"MaintainDuration\": 0,\n \"MaintainWeekDays\": [\n \"Mon\"\n ],\n \"ServerlessStatus\": \"pause\"\n }\n ],\n \"PayMode\": 0,\n \"PeriodEndTime\": \"2030-01-01 10:01:01\",\n \"ProjectID\": 0,\n \"ResourceTags\": [\n {\n \"TagKey\": \"tagKey-1\",\n \"TagValue\": \"tagValue-1\"\n }\n ],\n \"ProxyStatus\": \"running\",\n \"LogBin\": \"ON\",\n \"IsSkipTrade\": \"no\",\n \"PitrType\": \"redo_pitr\",\n \"IsOpenPasswordComplexity\": \"yes\",\n \"NetworkStatus\": \"whole_rdma\",\n \"ResourcePackages\": [\n {\n \"PackageId\": \"package-xbhsw7wk\",\n \"PackageType\": \"CCU\",\n \"DeductionPriority\": 1\n }\n ],\n \"RenewFlag\": 0,\n \"NetworkType\": \"whole_rdma\",\n \"SlaveZoneAttr\": [\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"BinlogSyncWay\": \"async\"\n }\n ]\n },\n \"RequestId\": \"6febb6f0-b0fc-11ee-93cb-73a07daf38c5\"\n }\n}",
|
386
386
|
"title": "集群信息描述"
|
387
387
|
}
|
388
388
|
],
|
389
389
|
"DescribeClusterDetailDatabases": [
|
390
390
|
{
|
391
391
|
"document": "",
|
392
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDetailDatabases\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbpg-xxxxxxx\",\n \"Limit\":
|
392
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDetailDatabases\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbpg-xxxxxxx\",\n \"Limit\": 20,\n \"DbName\": \"test\",\n \"Offset\": 0\n}",
|
393
393
|
"output": "{\n \"Response\": {\n \"DbInfos\": [\n {\n \"Status\": \"running\",\n \"UserHostPrivileges\": [],\n \"UpdateTime\": \"0001-01-01T00:00:00Z\",\n \"Description\": \"\",\n \"DbId\": 0,\n \"CharacterSet\": \"\",\n \"ClusterId\": \"\",\n \"DbName\": \"mysql\",\n \"Uin\": \"\",\n \"AppId\": 0,\n \"CollateRule\": \"\",\n \"CreateTime\": \"0001-01-01T00:00:00Z\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"6e094b68-0a37-11ec-97e7-525400542aa6\"\n }\n}",
|
394
394
|
"title": "查询数据库列表"
|
395
395
|
}
|
@@ -397,8 +397,8 @@
|
|
397
397
|
"DescribeClusterInstanceGroups": [
|
398
398
|
{
|
399
399
|
"document": "",
|
400
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterInstanceGroups\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
401
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceGroupInfoList\": [\n {\n \"AppId\": 0,\n \"ClusterId\": \"
|
400
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterInstanceGroups\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-sgvwu2is\"\n}",
|
401
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceGroupInfoList\": [\n {\n \"AppId\": 0,\n \"ClusterId\": \"cynosdbmysql-sgvwu2is\",\n \"CreatedTime\": \"2023-03-14 11:25:36\",\n \"DeletedTime\": \"2024-04-19 14:33:28\",\n \"InstanceGroupId\": \"cynosdbmysql-grp-xb3e8nxd\",\n \"Status\": \"deleted\",\n \"Type\": \"ha\",\n \"UpdatedTime\": \"2024-04-19 14:33:27\",\n \"Vip\": \"1.23.4.1\",\n \"Vport\": 3306,\n \"WanDomain\": \"cynosdbmysql-sgvwu2is.wan.domain.com\",\n \"WanIP\": \"3.19.7.1\",\n \"WanPort\": 3306,\n \"WanStatus\": \"closed\",\n \"InstanceSet\": [\n {\n \"Uin\": \"372386743\",\n \"AppId\": 2378462378,\n \"ClusterId\": \"cynosdbmysql-sgvwu2is\",\n \"ClusterName\": \"MyClusterName\",\n \"InstanceId\": \"cynosdbmysql-ins-cbgs2msn\",\n \"InstanceName\": \"MyInstanceName\",\n \"ProjectId\": 298,\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-5\",\n \"Status\": \"deleted\",\n \"StatusDesc\": \"已删除\",\n \"DbMode\": \"NORMAL\",\n \"DbType\": \"MYSQL\",\n \"DbVersion\": \"5.7\",\n \"Cpu\": 1,\n \"Memory\": 2,\n \"Storage\": 30,\n \"InstanceType\": \"rw\",\n \"InstanceRole\": \"master\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"VpcId\": \"vpc-bxgsh3nx\",\n \"SubnetId\": \"subnet-a4sjf8us\",\n \"Vip\": \"172.1.23.4\",\n \"Vport\": 3306,\n \"PayMode\": 1,\n \"PeriodEndTime\": \"2020-09-22 00:00:00\",\n \"DestroyDeadlineText\": \"<4 天\",\n \"IsolateTime\": \"2020-09-22 00:00:00\",\n \"NetType\": 1,\n \"WanDomain\": \"cynosdbmysql-sgvwu2is.wan.domain.com\",\n \"WanIP\": \"34.1.25.122\",\n \"WanPort\": 3306,\n \"WanStatus\": \"isolated\",\n \"DestroyTime\": \"2020-06-12 00:00:00\",\n \"CynosVersion\": \"3.1.10\",\n \"ProcessingTask\": \"taskClosePasswordComplexity\",\n \"RenewFlag\": 1,\n \"MinCpu\": 1,\n \"MaxCpu\": 4,\n \"ServerlessStatus\": \"paused\",\n \"StorageId\": \"cynosdbmysql-sgvwu2is\",\n \"StoragePayMode\": 1,\n \"PhysicalZone\": \"ap-guangzhou-5\",\n \"BusinessType\": \"bus_a\",\n \"Tasks\": [\n {\n \"TaskId\": 34234,\n \"TaskType\": \"taskCreateCluster\",\n \"TaskStatus\": \"success\",\n \"ObjectId\": \"cynosdbmysql-sgvwu2is\",\n \"ObjectType\": \"taskObjTypeCluster\"\n }\n ],\n \"IsFreeze\": \"yes\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"tag_key_1\",\n \"TagValue\": \"tag_value_1\"\n }\n ],\n \"MasterZone\": \"ap-guangzhou-5\",\n \"SlaveZones\": [\n \"ap-guangzhou-7\"\n ],\n \"InstanceNetInfo\": [\n {\n \"InstanceGroupType\": \"ha\",\n \"InstanceGroupId\": \"cynosdbmysql-grp-sb2u8exh\",\n \"VpcId\": \"vpc-2ysb7hsg\",\n \"SubnetId\": \"subnet-t62sji8s\",\n \"NetType\": 1,\n \"Vip\": \"172.3.41.33\",\n \"Vport\": 3306,\n \"WanDomain\": \"cynosdbmysql-sgvwu2is.wan.domain.com\",\n \"WanIP\": \"3.1.5.6\",\n \"WanPort\": 3306,\n \"WanStatus\": \"isolated\"\n }\n ],\n \"ResourcePackages\": [\n {\n \"PackageId\": \"package-xb8sh2js\",\n \"PackageType\": \"CCU\",\n \"DeductionPriority\": 2\n }\n ],\n \"InstanceIndexMode\": \"mixedRowColumn\"\n }\n ],\n \"UniqVpcId\": \"vpc-2ysb7hsg\",\n \"UniqSubnetId\": \"subnet-t62sji8s\",\n \"OldAddrInfo\": {\n \"Vip\": \"12.4.23.44\",\n \"Vport\": 3306,\n \"ReturnTime\": \"2024-01-23 11:23:00\"\n },\n \"ProcessingTasks\": [\n \"taskCloseAudit\"\n ],\n \"Tasks\": [\n {\n \"TaskId\": 234234,\n \"TaskType\": \"taskCloseAudit\",\n \"TaskStatus\": \"processing\",\n \"ObjectId\": \"cynosdbmysql-sgvwu2is\",\n \"ObjectType\": \"taskObjTypeCluster\"\n }\n ],\n \"NetServiceId\": 112496\n }\n ],\n \"RequestId\": \"097ecbc0-a5e8-4c30-a4da-5a0faf312d8b\"\n }\n}",
|
402
402
|
"title": "查询集群实例组信息"
|
403
403
|
}
|
404
404
|
],
|
@@ -413,8 +413,8 @@
|
|
413
413
|
"DescribeClusterParamLogs": [
|
414
414
|
{
|
415
415
|
"document": "",
|
416
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterParamLogs\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-
|
417
|
-
"output": "{\n \"Response\": {\n \"ClusterParamLogs\": [\n {\n \"Status\": \"success\",\n \"CurrentValue\": \"1024\",\n \"UpdateTime\": \"2020-09-22T00:00:00+00:00\",\n \"UpdateValue\": \"1025\",\n \"ParamName\": \"back_log\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"ClusterId\": \"
|
416
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterParamLogs\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-mwg712eh\",\n \"InstanceIds\": [\n \"cynosdbmysql-ins-m6f0hkdb\"\n ],\n \"OrderBy\": \"CreateTime\",\n \"OrderByType\": \"DESC\",\n \"Limit\": 12,\n \"Offset\": 12\n}",
|
417
|
+
"output": "{\n \"Response\": {\n \"ClusterParamLogs\": [\n {\n \"Status\": \"success\",\n \"CurrentValue\": \"1024\",\n \"UpdateTime\": \"2020-09-22T00:00:00+00:00\",\n \"UpdateValue\": \"1025\",\n \"ParamName\": \"back_log\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"ClusterId\": \"cynosdbmysql-mwg712eh\",\n \"InstanceId\": \"cynosdbmysql-ins-m6f0hkdb\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"651fadd0-7daa-11ec-ae84-e3726d36ffa8\"\n }\n}",
|
418
418
|
"title": "查询参数修改记录"
|
419
419
|
}
|
420
420
|
],
|
@@ -422,14 +422,14 @@
|
|
422
422
|
{
|
423
423
|
"document": "查询集群参数",
|
424
424
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterParams\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbpg-1xcycbu8\"\n}",
|
425
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
425
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 226,\n \"Items\": [\n {\n \"CurrentValue\": \"1000\",\n \"Default\": \"60000\",\n \"EnumValue\": [\n \"OFF\",\n \"ON\"\n ],\n \"Max\": \"65535\",\n \"Min\": \"1\",\n \"ParamName\": \"auto_increment_increment\",\n \"NeedReboot\": 0,\n \"ParamType\": \"integer\",\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Description\": \"Determines the starting point for the AUTO_INCREMENT column value.\",\n \"IsGlobal\": 1,\n \"ModifiableInfo\": {\n \"IsModifiable\": 1\n },\n \"IsFunc\": true,\n \"Func\": \"{MIN(DBInitMemory/%d*%d,%d)},4000,32768,2097152\"\n }\n ],\n \"RequestId\": \"806fe1c8-5567-4aa8-a521-ea2414c793b4\"\n }\n}",
|
426
426
|
"title": "查询集群参数"
|
427
427
|
}
|
428
428
|
],
|
429
429
|
"DescribeClusterPasswordComplexity": [
|
430
430
|
{
|
431
431
|
"document": "",
|
432
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterPasswordComplexity\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
432
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterPasswordComplexity\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-mwg7212w\"\n}",
|
433
433
|
"output": "{\n \"Response\": {\n \"RequestId\": \"7651f1c0-3429-11ef-81fc-6fec1c9e2c66\",\n \"ValidatePasswordDictionary\": {\n \"CurrentValue\": \"\",\n \"Default\": \"\",\n \"Description\": \"The dictionary words that validate_password uses for checking passwords.\",\n \"EnumValue\": [],\n \"Func\": \"\",\n \"FuncPattern\": \"\",\n \"IsFunc\": false,\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"0\",\n \"Min\": \"0\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_txsql_dictionary\",\n \"ParamType\": \"string\"\n },\n \"ValidatePasswordLength\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"8\",\n \"Description\": \"The minimum number of characters that validate_password requires passwords to have.\",\n \"EnumValue\": [],\n \"Func\": \"\",\n \"FuncPattern\": \"\",\n \"IsFunc\": false,\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"256\",\n \"Min\": \"8\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_length\",\n \"ParamType\": \"integer\"\n },\n \"ValidatePasswordMixedCaseCount\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"1\",\n \"Description\": \"The minimum number of lowercase and uppercase characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger.\",\n \"EnumValue\": [],\n \"Func\": \"\",\n \"FuncPattern\": \"\",\n \"IsFunc\": false,\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"50\",\n \"Min\": \"1\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_mixed_case_count\",\n \"ParamType\": \"integer\"\n },\n \"ValidatePasswordNumberCount\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"1\",\n \"Description\": \"The minimum number of numeric (digit) characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger. \",\n \"EnumValue\": [],\n \"Func\": \"\",\n \"FuncPattern\": \"\",\n \"IsFunc\": false,\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"50\",\n \"Min\": \"1\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_number_count\",\n \"ParamType\": \"integer\"\n },\n \"ValidatePasswordPolicy\": {\n \"CurrentValue\": \"LOW\",\n \"Default\": \"MEDIUM\",\n \"Description\": \"The password policy enforced by validate_password.\",\n \"EnumValue\": [\n \"MEDIUM\",\n \"STRONG\"\n ],\n \"Func\": \"\",\n \"FuncPattern\": \"\",\n \"IsFunc\": false,\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"2\",\n \"Min\": \"0\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_policy\",\n \"ParamType\": \"enum\"\n },\n \"ValidatePasswordSpecialCharCount\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"1\",\n \"Description\": \"The minimum number of nonalphanumeric characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger. \",\n \"EnumValue\": [],\n \"Func\": \"\",\n \"FuncPattern\": \"\",\n \"IsFunc\": false,\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"50\",\n \"Min\": \"1\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_special_char_count\",\n \"ParamType\": \"integer\"\n }\n }\n}",
|
434
434
|
"title": "查看集群密码复杂度详情"
|
435
435
|
}
|
@@ -437,8 +437,8 @@
|
|
437
437
|
"DescribeClusters": [
|
438
438
|
{
|
439
439
|
"document": "查询集群列表",
|
440
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusters\n<公共请求参数>\n\n{\n \"DbType\": \"MYSQL\",\n \"Limit\":
|
441
|
-
"output": "{\n \"Response\": {\n \"ClusterSet\": [\n {\n \"Ability\": {\n \"IsSupportManualSnapshot\": \"\",\n \"IsSupportRo\": \"yes\",\n \"IsSupportSlaveZone\": \"yes\",\n \"IsSupportTransparentDataEncryption\": \"\",\n \"NoSupportTransparentDataEncryptionReason\": \"\",\n \"NonsupportRoReason\": \"\",\n \"NonsupportSlaveZoneReason\": \"\"\n },\n \"AppId\":
|
440
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusters\n<公共请求参数>\n\n{\n \"DbType\": \"MYSQL\",\n \"Limit\": 20,\n \"Filters\": [\n {\n \"Values\": [\n \"cynosdbpg-ins-bzkxxrmt\"\n ],\n \"Names\": [\n \"InstanceId\"\n ],\n \"ExactMatch\": \"true\"\n }\n ],\n \"Offset\": 0\n}",
|
441
|
+
"output": "{\n \"Response\": {\n \"ClusterSet\": [\n {\n \"Ability\": {\n \"IsSupportManualSnapshot\": \"no\",\n \"IsSupportRo\": \"yes\",\n \"IsSupportSlaveZone\": \"yes\",\n \"IsSupportTransparentDataEncryption\": \"no\",\n \"NoSupportTransparentDataEncryptionReason\": \"current cluster not support transparent data encryption\",\n \"NonsupportRoReason\": \"yes\",\n \"NonsupportSlaveZoneReason\": \"current cluster not support ro\"\n },\n \"AppId\": 2372636427,\n \"BusinessType\": \"bus_a\",\n \"ClusterId\": \"cynosdbmysql-cbsg6tsg\",\n \"ClusterName\": \"MyClusterName\",\n \"CreateTime\": \"2024-05-30 19:26:42\",\n \"CynosVersion\": \"2.1.12\",\n \"DbMode\": \"NORMAL\",\n \"DbType\": \"MYSQL\",\n \"DbVersion\": \"5.7\",\n \"HasSlaveZone\": \"yes\",\n \"InstanceNum\": 2,\n \"IsFreeze\": \"no\",\n \"MasterZone\": \"ap-singapore-3\",\n \"MaxStorageSize\": 30000,\n \"MinStorageSize\": 10,\n \"NetAddrs\": [\n {\n \"Description\": \"descirption\",\n \"InstanceGroupId\": \"cynosdbpg-grp-sbh6ywhs\",\n \"NetType\": \"singleRo\",\n \"UniqSubnetId\": \"subnet-cnhsb8iu\",\n \"UniqVpcId\": \"vpc-iskx6ygc\",\n \"Vip\": \"1.1.1.1\",\n \"Vport\": 3306,\n \"WanDomain\": \"cynosdbpg-bzbsxrmt.wan.domain.com\",\n \"WanIP\": \"3.45.1.9\",\n \"WanPort\": 3306,\n \"WanStatus\": \"init\"\n },\n {\n \"Description\": \"descirption\",\n \"InstanceGroupId\": \"cynosdbpg-grp-bc2b3us4\",\n \"NetType\": \"ha\",\n \"UniqSubnetId\": \"subnet-7shw8ijc\",\n \"UniqVpcId\": \"vpc-y7us28sn\",\n \"Vip\": \"1.1.1.1\",\n \"Vport\": 3306,\n \"WanDomain\": \"cynosdbpg-bzkxxrmt.wan.domain.com\",\n \"WanIP\": \"3.23.1.5\",\n \"WanPort\": 3306,\n \"WanStatus\": \"init\"\n }\n ],\n \"OrderSource\": \"lhdb\",\n \"PayMode\": 1,\n \"PeriodEndTime\": \"2024-06-30 19:32:51\",\n \"PhysicalZone\": \"ap-singapore-3\",\n \"ProcessingTask\": \"taskUpgradeStorage\",\n \"ProjectID\": 23,\n \"Region\": \"ap-singapore\",\n \"RenewFlag\": 1,\n \"ResourcePackages\": [\n {\n \"DeductionPriority\": 0,\n \"PackageId\": \"package-nxuyx1op\",\n \"PackageType\": \"CCU\"\n }\n ],\n \"ResourceTags\": [\n {\n \"TagKey\": \"运营产品\",\n \"TagValue\": \"腾讯云计费产品其它_1649\"\n },\n {\n \"TagKey\": \"运营部门\",\n \"TagValue\": \"计费产品中心_1013\"\n },\n {\n \"TagKey\": \"一级业务\",\n \"TagValue\": \"[N][腾讯云计费产品其它]_979685\"\n },\n {\n \"TagKey\": \"二级业务\",\n \"TagValue\": \"[license管理][license数据引擎]123\"\n }\n ],\n \"ServerlessStatus\": \"paused\",\n \"SlaveZones\": [\n \"ap-singapore-4\"\n ],\n \"Status\": \"running\",\n \"StatusDesc\": \"运行中\",\n \"Storage\": 0,\n \"StorageId\": \"cynosdbpg-bcsu6tsg\",\n \"StorageLimit\": 30000,\n \"StoragePayMode\": 0,\n \"SubnetId\": \"subnet-ybs8jcnw\",\n \"Tasks\": [\n {\n \"ObjectId\": \"cynosdbmysql-k5sm8sh3\",\n \"ObjectType\": \"taskObjTypeCluster\",\n \"TaskId\": 1207003,\n \"TaskStatus\": \"processing\",\n \"TaskType\": \"taskDtsLockResource\"\n }\n ],\n \"Uin\": \"237462834\",\n \"UpdateTime\": \"2024-05-30 19:43:06\",\n \"Vip\": \"1.1.1.1\",\n \"VpcId\": \"vpc-ybs8ue2y\",\n \"Vport\": 3306,\n \"Zone\": \"ap-singapore-3\"\n }\n ],\n \"RequestId\": \"51169b54-61d4-4604-a07e-e519a5527923\",\n \"TotalCount\": 31\n }\n}",
|
442
442
|
"title": "查询集群列表"
|
443
443
|
}
|
444
444
|
],
|
@@ -477,8 +477,8 @@
|
|
477
477
|
"DescribeInstanceErrorLogs": [
|
478
478
|
{
|
479
479
|
"document": "查询错误日志",
|
480
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceErrorLogs\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-
|
481
|
-
"output": "{\n \"Response\": {\n \"
|
480
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceErrorLogs\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-m6f0hkkd\",\n \"Limit\": 1,\n \"Offset\": 0,\n \"StartTime\": \"2024-10-28 10:19:21\",\n \"EndTime\": \"2024-10-28 10:20:01\",\n \"OrderBy\": \"Timestamp\",\n \"OrderByType\": \"DESC\",\n \"LogLevels\": [\n \"note\"\n ],\n \"KeyWords\": [\n \"unconnected\"\n ]\n}",
|
481
|
+
"output": "{\n \"Response\": {\n \"ErrorLogs\": [\n {\n \"Content\": \"Aborted connection 562579 to db: 'unconnected' user: 'unauthenticated' host: '169.214.18.1' (Got an error reading communication packets)\",\n \"Level\": \"note\",\n \"Timestamp\": 1730182001\n }\n ],\n \"RequestId\": \"32f291cb-38c8-4a0c-8fd0-5a4c370ac6df\",\n \"TotalCount\": 3\n }\n}",
|
482
482
|
"title": "查询错误日志"
|
483
483
|
}
|
484
484
|
],
|
@@ -502,15 +502,15 @@
|
|
502
502
|
{
|
503
503
|
"document": "该接口(DescribeInstanceSpecs)用于查询购买页可购买的实例规格",
|
504
504
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceSpecs\n<公共请求参数>\n\n{\n \"DbType\": \"MYSQL\"\n}",
|
505
|
-
"output": "{\n \"Response\": {\n \"InstanceSpecSet\": [\n {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"MaxStorageSize\": 1,\n \"MinStorageSize\": 1,\n \"HasStock\": true,\n \"MachineType\": \"
|
505
|
+
"output": "{\n \"Response\": {\n \"InstanceSpecSet\": [\n {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"MaxStorageSize\": 1,\n \"MinStorageSize\": 1,\n \"HasStock\": true,\n \"MachineType\": \"exclusive\",\n \"MaxIops\": 0,\n \"MaxIoBandWidth\": 0,\n \"ZoneStockInfos\": [\n {\n \"Zone\": \"ap-beijing-3\",\n \"HasStock\": true,\n \"StockCount\": 0\n }\n ],\n \"StockCount\": 0\n }\n ],\n \"RequestId\": \"1c7f08d0-e143-4305-9554-ea236d1a2981\"\n }\n}",
|
506
506
|
"title": "查询购买页可购买的实例规格"
|
507
507
|
}
|
508
508
|
],
|
509
509
|
"DescribeInstances": [
|
510
510
|
{
|
511
511
|
"document": "查询实例列表",
|
512
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Limit\":
|
513
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceSet\": [\n {\n \"Uin\": \"
|
512
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Limit\": 20,\n \"Offset\": 0,\n \"OrderBy\": \"CREATETIME\",\n \"OrderByType\": \"ASC\",\n \"Filters\": [\n {\n \"Names\": [\n \"status\"\n ],\n \"Values\": [\n \"running\"\n ],\n \"ExactMatch\": true,\n \"Name\": \"\",\n \"Operator\": \"\"\n }\n ],\n \"DbType\": \"MYSQL\",\n \"Status\": \"running\",\n \"InstanceIds\": [\n \"cynosdbmysql-ins-1asd5qwe\"\n ]\n}",
|
513
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceSet\": [\n {\n \"Uin\": \"238762734\",\n \"AppId\": 23762834,\n \"ClusterId\": \"cynosdbmysql-asd45qwe\",\n \"ClusterName\": \"MyClusterName\",\n \"InstanceId\": \"cynosdbmysql-ins-asd45qwe\",\n \"InstanceName\": \"MyInstanceName\",\n \"ProjectId\": 2342,\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-3\",\n \"Status\": \"running\",\n \"StatusDesc\": \"运行中\",\n \"DbMode\": \"NORMAL\",\n \"DbType\": \"MYSQL\",\n \"DbVersion\": \"5.7\",\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Storage\": 10,\n \"InstanceType\": \"rw\",\n \"InstanceRole\": \"master\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"VpcId\": \"vpc-12as56\",\n \"SubnetId\": \"subnet-12kasd\",\n \"Vip\": \"192.0.2.1\",\n \"Vport\": 3306,\n \"PayMode\": 0,\n \"PeriodEndTime\": \"2020-09-22 00:00:00\",\n \"DestroyDeadlineText\": \"<5 天\",\n \"IsolateTime\": \"2020-09-22 00:00:00\",\n \"NetType\": 1,\n \"WanDomain\": \"cynosdbpg-bzkxxrmt.wan.domain.com\",\n \"WanIP\": \"3.1.5.2\",\n \"WanPort\": 3306,\n \"WanStatus\": \"running\",\n \"DestroyTime\": \"2024-01-04 00:09:10\",\n \"CynosVersion\": \"2.0.10\",\n \"ProcessingTask\": \"taskUpgradeStorage\",\n \"RenewFlag\": 0,\n \"MinCpu\": 1,\n \"MaxCpu\": 8,\n \"ServerlessStatus\": \"paused\",\n \"StorageId\": \"cynosdbpg-bzkxxrmt\",\n \"StoragePayMode\": 0,\n \"PhysicalZone\": \"ap-guangzhou-3\",\n \"BusinessType\": \"bus_a\",\n \"Tasks\": [\n {\n \"TaskId\": 111110,\n \"TaskType\": \"taskCreateClusters\",\n \"TaskStatus\": \"running\",\n \"ObjectId\": \"cynosdbmysql-asd45qwe\",\n \"ObjectType\": \"cluster\"\n }\n ],\n \"IsFreeze\": \"no\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"tag_key_1\",\n \"TagValue\": \"tag_value_1\"\n }\n ],\n \"MasterZone\": \"ap-guangzhou-3\",\n \"SlaveZones\": [\n \"ap-guangzhou-4\"\n ],\n \"InstanceNetInfo\": [\n {\n \"InstanceGroupType\": \"ha\",\n \"InstanceGroupId\": \"cynosdbmysql-grp-asd45qwe\",\n \"VpcId\": \"vpc-12as45\",\n \"SubnetId\": \"subnet-cbhs7ush\",\n \"NetType\": 1,\n \"Vip\": \"192.0.0.0\",\n \"Vport\": 3306,\n \"WanDomain\": \"cynosdbpg-bzkxxrmt.wan,domain,com\",\n \"WanIP\": \"23.15.5.1\",\n \"WanPort\": 3306,\n \"WanStatus\": \"running\"\n }\n ],\n \"ResourcePackages\": [\n {\n \"DeductionPriority\": 0,\n \"PackageId\": \"package-bhsy2snc\",\n \"PackageType\": \"CCU\"\n }\n ],\n \"InstanceIndexMode\": \"onlyRowIndex\"\n }\n ],\n \"RequestId\": \"fd5759b5-89e9-483c-b79c-d99b27c33192\"\n }\n}",
|
514
514
|
"title": "查询实例列表"
|
515
515
|
}
|
516
516
|
],
|
@@ -533,7 +533,7 @@
|
|
533
533
|
"DescribeParamTemplateDetail": [
|
534
534
|
{
|
535
535
|
"document": "查询参数模板详情",
|
536
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeParamTemplateDetail\n<公共请求参数>\n\n{\n \"TemplateId\":
|
536
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeParamTemplateDetail\n<公共请求参数>\n\n{\n \"TemplateId\": 4837003\n}",
|
537
537
|
"output": "{\n \"Response\": {\n \"DbMode\": \"NORMAL\",\n \"EngineVersion\": \"5.7\",\n \"Items\": [\n {\n \"CurrentValue\": \"1000\",\n \"Default\": \"0\",\n \"Description\": \"The maximum permitted number of simultaneous client connections per user.\",\n \"EnumValue\": [],\n \"Func\": \"\",\n \"IsFunc\": false,\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"10240\",\n \"Min\": \"0\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 1\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"max_user_connections\",\n \"ParamType\": \"integer\",\n \"SupportFunc\": false,\n \"FuncPattern\": \"{MAX(DBInitCpu/%d,%d)},2,4\"\n }\n ],\n \"RequestId\": \"ca8481bf-ba79-42ba-b90b-bd47df104add\",\n \"TemplateDescription\": \"测试模板\",\n \"TemplateId\": 4837003,\n \"TemplateName\": \"测试模板\",\n \"TotalCount\": 1\n }\n}",
|
538
538
|
"title": "查询参数模板详情"
|
539
539
|
}
|
@@ -549,7 +549,7 @@
|
|
549
549
|
"DescribeProjectSecurityGroups": [
|
550
550
|
{
|
551
551
|
"document": "",
|
552
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectSecurityGroups\n<公共请求参数>\n\n{\n \"ProjectId\":
|
552
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectSecurityGroups\n<公共请求参数>\n\n{\n \"ProjectId\": 11954\n}",
|
553
553
|
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Groups\": [\n {\n \"CreateTime\": \"2017-04-13 15:00:06\",\n \"Inbound\": [],\n \"Outbound\": [],\n \"ProjectId\": 0,\n \"SecurityGroupId\": \"sg-ajr1jzgj\",\n \"SecurityGroupName\": \"CynosDB\",\n \"SecurityGroupRemark\": \"\"\n }\n ],\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
554
554
|
"title": "查询项目安全组信息"
|
555
555
|
}
|
@@ -557,8 +557,8 @@
|
|
557
557
|
"DescribeProxies": [
|
558
558
|
{
|
559
559
|
"document": "查询数据库代理",
|
560
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxies\n<公共请求参数>\n\n{\n \"OrderBy\": \"createTime\",\n \"ClusterId\": \"cynosdbmysql-xx\",\n \"Limit\": 0,\n \"Filters\": [\n {\n \"Values\": [\n \"proxyGroupId\"\n ],\n \"Names\": [\n \"cynosdbmysql-proxy-
|
561
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
560
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxies\n<公共请求参数>\n\n{\n \"OrderBy\": \"createTime\",\n \"ClusterId\": \"cynosdbmysql-xx\",\n \"Limit\": 0,\n \"Filters\": [\n {\n \"Values\": [\n \"proxyGroupId\"\n ],\n \"Names\": [\n \"cynosdbmysql-proxy-tshj6btw\"\n ],\n \"ExactMatch\": true\n }\n ],\n \"Offset\": 0,\n \"OrderByType\": \"desc\"\n}",
|
561
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"ProxyGroupInfos\": [\n {\n \"ConnectionPool\": {\n \"ConnectionPoolTimeOut\": 30,\n \"ConnectionPoolType\": \"SessionConnectionPool\",\n \"OpenConnectionPool\": \"yes\"\n },\n \"NetAddrInfos\": [\n {\n \"Description\": \"external-ro new\",\n \"InstanceGroupId\": \"cynosdbmysql-grp-nsiuj4aj\",\n \"NetType\": \"\",\n \"UniqSubnetId\": \"subnet-pmqqss72\",\n \"UniqVpcId\": \"vpc-gvelzo5j\",\n \"Vip\": \"11.2.1.43\",\n \"Vport\": 3306,\n \"WanDomain\": \"test.wan.domain\",\n \"WanIP\": \"11.2.3.43\",\n \"WanPort\": 3306,\n \"WanStatus\": \"open\"\n }\n ],\n \"ProxyGroup\": {\n \"AppId\": 1772344699,\n \"ClusterId\": \"cynosdbmysql-i2weamox\",\n \"CurrentProxyVersion\": \"1.3.11\",\n \"OpenRw\": \"yes\",\n \"ProxyGroupId\": \"cynosdbmysql-proxy-mdhg55su\",\n \"ProxyNodeCount\": 4,\n \"Region\": \"ap-guangzhou\",\n \"Status\": \"running\",\n \"Zone\": \"ap-guangzhou-6\"\n },\n \"ProxyGroupRwInfo\": {\n \"AccessMode\": \"balance\",\n \"AutoAddRo\": \"no\",\n \"ConsistencyTimeOut\": 0,\n \"ConsistencyType\": \"eventual\",\n \"FailOver\": \"no\",\n \"InstanceWeights\": [\n {\n \"InstanceId\": \"cynosdbmysql-ins-ka2i3m48\",\n \"Weight\": 1\n }\n ],\n \"OpenRw\": \"yes\",\n \"RwType\": \"READONLY\",\n \"TransSplit\": false,\n \"WeightMode\": \"system\"\n },\n \"ProxyNodes\": [\n {\n \"AppId\": 1772344699,\n \"ClusterId\": \"cynosdbmysql-i2weamox\",\n \"Cpu\": 2,\n \"Mem\": 4000,\n \"OssProxyNodeName\": \"cynosdbmysql-proxyNode-q52v1wp4\",\n \"ProxyGroupId\": \"cynosdbmysql-proxy-mdhg57su\",\n \"ProxyNodeConnections\": 157,\n \"ProxyNodeId\": \"cynosdbmysql-proxyNode-pv4hg4na\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": \"running\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"Tasks\": [\n {\n \"TaskId\": 123124,\n \"TaskType\": \"taskModifyProxyRwSplit\",\n \"TaskStatus\": \"processing\",\n \"ObjectId\": \"cynosdbmysql-proxy-mdhg57su\",\n \"ObjectType\": \"taskObjTypeCluster\"\n }\n ]\n }\n ],\n \"ProxyNodeInfos\": [\n {\n \"ProxyNodeId\": \"cynosdbmysql-proxyNode-pv4hg4na\",\n \"ProxyNodeConnections\": 157,\n \"Cpu\": 2,\n \"Mem\": 4000,\n \"Status\": \"running\",\n \"ProxyGroupId\": \"cynosdbmysql-proxy-mdhg57su\",\n \"ClusterId\": \"cynosdbmysql-i2weamox\",\n \"AppId\": 1772344699,\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-6\",\n \"OssProxyNodeName\": \"cynosdbmysql-proxyNode-q52v1wp4\"\n }\n ],\n \"RequestId\": \"ed0bd4ca-b5c0-4230-a8b5-6d2dc5ec1eb0\"\n }\n}",
|
562
562
|
"title": "查询数据库代理列表"
|
563
563
|
}
|
564
564
|
],
|
@@ -587,24 +587,24 @@
|
|
587
587
|
"DescribeResourcePackageDetail": [
|
588
588
|
{
|
589
589
|
"document": "查询资源包使用详情\n",
|
590
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourcePackageDetail\n<公共请求参数>\n\n{\n \"PackageId\": \"
|
591
|
-
"output": "{\n \"Response\": {\n \"Total\":
|
590
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourcePackageDetail\n<公共请求参数>\n\n{\n \"PackageId\": \"package-twox8tqx\",\n \"ClusterIds\": [\n \"cynosdbmysql-ou5cnw2x\"\n ],\n \"StartTime\": \"2024-09-28 10:11:23\",\n \"EndTime\": \"2024-10-28 10:11:23\",\n \"Offset\": \"0\",\n \"Limit\": \"20\"\n}",
|
591
|
+
"output": "{\n \"Response\": {\n \"Total\": 20,\n \"Detail\": [\n {\n \"AppId\": 251232125,\n \"PackageId\": \"package-abcr4312\",\n \"InstanceId\": \"cynosdbmysql-ins-anji1234\",\n \"SuccessDeductSpec\": 100,\n \"PackageTotalUsedSpec\": 200,\n \"StartTime\": \"2020-01-01 00:00:01\",\n \"EndTime\": \"2020-01-02 00:00:01\",\n \"ExtendInfo\": \"{\\\"ClusterId\\\":\\\"cynosdbmysql-i58mvikj\\\",\\\"RequestId\\\":\\\"1724306460000666497_c7bedc2d-3454-4fe9-9768-335a9901f10f\\\"}\"\n }\n ],\n \"RequestId\": \"3d56fe0b-f839-42c6-b84e-1d5fbc874cba\"\n }\n}",
|
592
592
|
"title": "查询资源包使用详情"
|
593
593
|
}
|
594
594
|
],
|
595
595
|
"DescribeResourcePackageList": [
|
596
596
|
{
|
597
597
|
"document": "查询资源包列表\n",
|
598
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSourcePackageList\n<公共请求参数>\n\n{\n \"PackageId\": [\n \"package-
|
599
|
-
"output": "{\n \"Response\": {\n \"Total\":
|
598
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSourcePackageList\n<公共请求参数>\n\n{\n \"PackageId\": [\n \"package-bst68sh3\"\n ],\n \"PackageName\": [\n \"自定义资源包名称-1\"\n ],\n \"PackageType\": [\n \"CCU\"\n ],\n \"PackageRegion\": [\n \"chineseMainland\"\n ],\n \"Status\": [\n \"using\"\n ],\n \"OrderBy\": [\n \"createTime\"\n ],\n \"OrderDirection\": \"desc\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
|
599
|
+
"output": "{\n \"Response\": {\n \"Total\": 20,\n \"Detail\": [\n {\n \"AppId\": 12387234,\n \"PackageId\": \"package-cbhsyegx\",\n \"PackageName\": \"MyPackageName\",\n \"PackageType\": \"CCU\",\n \"PackageRegion\": \"chineseMainland\",\n \"Status\": \"using\",\n \"PackageTotalSpec\": 10000000,\n \"PackageUsedSpec\": 2394.3,\n \"HasQuota\": true,\n \"BindInstanceInfos\": [\n {\n \"InstanceId\": \"cynosdbpg-ins-bzkxxrmt\",\n \"InstanceRegion\": \"ap-guangzhou\",\n \"InstanceType\": \"cynosdb-serverless\"\n }\n ],\n \"StartTime\": \"2023-12-10 00:00:00\",\n \"ExpireTime\": \"2025-11-10 00:00:00\"\n }\n ],\n \"RequestId\": \"e0c28bb4-a0f2-4194-a646-b8bcf777b5ce\"\n }\n}",
|
600
600
|
"title": "查询资源包列表"
|
601
601
|
}
|
602
602
|
],
|
603
603
|
"DescribeResourcePackageSaleSpec": [
|
604
604
|
{
|
605
605
|
"document": "查询资源包规格\n",
|
606
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSourcePackageSaleSpec\n<公共请求参数>\n\n{\n \"InstanceType\": \"
|
607
|
-
"output": "{\n \"Response\": {\n \"Total\": 0,\n \"Detail\": [\n {\n \"PackageRegion\": \"
|
606
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSourcePackageSaleSpec\n<公共请求参数>\n\n{\n \"InstanceType\": \"cynosdb-serverless\",\n \"PackageRegion\": \"china\",\n \"PackageType\": \"CCU\",\n \"Offset\": 0,\n \"Limit\": 1\n}",
|
607
|
+
"output": "{\n \"Response\": {\n \"Total\": 0,\n \"Detail\": [\n {\n \"PackageRegion\": \"china\",\n \"PackageType\": \"CCU\",\n \"PackageVersion\": \"common\",\n \"MinPackageSpec\": 50,\n \"MaxPackageSpec\": 100,\n \"ExpireDay\": 180\n }\n ],\n \"RequestId\": \"93c96481-e37c-49f7-aeb5-907ee97a198c\"\n }\n}",
|
608
608
|
"title": "查询资源包规格"
|
609
609
|
}
|
610
610
|
],
|
@@ -612,7 +612,7 @@
|
|
612
612
|
{
|
613
613
|
"document": "",
|
614
614
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourcesByDealName\n<公共请求参数>\n\n{\n \"DealName\": \"201302542054\"\n}",
|
615
|
-
"output": "{\n \"Response\": {\n \"BillingResourceInfos\": [\n {\n \"ClusterId\": \"cynosdbmysql-r8ewihg4\",\n \"InstanceIds\": [\n \"cynosdbmysql-ins-pecl0drs\"\n ],\n \"DealName\": \"
|
615
|
+
"output": "{\n \"Response\": {\n \"BillingResourceInfos\": [\n {\n \"ClusterId\": \"cynosdbmysql-r8ewihg4\",\n \"InstanceIds\": [\n \"cynosdbmysql-ins-pecl0drs\"\n ],\n \"DealName\": \"201302542054\"\n },\n {\n \"ClusterId\": \"cynosdbmysql-hjosrxhu\",\n \"InstanceIds\": [\n \"cynosdbmysql-ins-7f59pahg\"\n ],\n \"DealName\": \"201302542054\"\n }\n ],\n \"RequestId\": \"005b862f-f408-4a95-a7e7-26f3e672e081\"\n }\n}",
|
616
616
|
"title": "查询订单关联实例"
|
617
617
|
}
|
618
618
|
],
|
@@ -635,16 +635,16 @@
|
|
635
635
|
"DescribeSupportProxyVersion": [
|
636
636
|
{
|
637
637
|
"document": "查询支持的数据库代理版本",
|
638
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSupportProxyVersion\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-
|
639
|
-
"output": "{\n \"Response\": {\n \"SupportProxyVersions\": [\n \"3.1.4\"\n ],\n \"CurrentProxyVersion\": \"3.1.1\",\n \"SupportProxyVersionDetail\": [\n {\n \"ProxyVersion\": \"3.1.5\",\n \"ProxyVersionType\": \"BATE\"\n }\n ],\n \"RequestId\": \"
|
638
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSupportProxyVersion\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-dnofdr2c\",\n \"ProxyGroupId\": \"cynosdbmysql-proxy-4378e0kd\"\n}",
|
639
|
+
"output": "{\n \"Response\": {\n \"SupportProxyVersions\": [\n \"3.1.4\"\n ],\n \"CurrentProxyVersion\": \"3.1.1\",\n \"SupportProxyVersionDetail\": [\n {\n \"ProxyVersion\": \"3.1.5\",\n \"ProxyVersionType\": \"BATE\"\n }\n ],\n \"RequestId\": \"a5706353-296a-4992-ad07-ac4a48eeba43\"\n }\n}",
|
640
640
|
"title": "查询支持的数据库代理版本"
|
641
641
|
}
|
642
642
|
],
|
643
643
|
"DescribeTasks": [
|
644
644
|
{
|
645
645
|
"document": "查询任务列表",
|
646
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<公共请求参数>\n\n{\n \"Limit\":
|
647
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"TaskList\": [\n {\n \"ID\":
|
646
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Offset\": 0\n}",
|
647
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"TaskList\": [\n {\n \"ID\": 1,\n \"AppId\": 23623651237,\n \"ClusterId\": \"cynoadbmysql-ydtwlxig\",\n \"CreateTime\": \"2024-10-01 23:22:54\",\n \"DelayTime\": \"2024-10-12 17:52:19\",\n \"ErrMsg\": \"\",\n \"FlowId\": 6521,\n \"Input\": \"{\\\"AppId\\\":251232125,\\\"uin\\\":\\\"700000433509\\\",\\\"operateUin\\\":\\\"700000433509\\\",\\\"region\\\":1,\\\"zoneId\\\":100007,\\\"dealName\\\":\\\"20240627509001289127581\\\",\\\"bigDealId\\\":\\\"20240627509001289141381\\\",\\\"tranId\\\":\\\"20240627509001289127591\\\",\\\"productCode\\\":\\\"p_cynosdb\\\",\\\"subProductCode\\\":\\\"sp_cynosdb_mysql\\\",\\\"payMode\\\":0,\\\"projectId\\\":0,\\\"goodsDetail\\\":{\\\"requestId\\\":\\\"3d56fe0b-f839-42c6-b84e-1d5fbc874cba\\\",\\\"Action\\\":\\\"CreateMultiSpecClusters\\\",\\\"pid\\\":1001166,\\\"extparam\\\":{\\\"token\\\":\\\"\\\"},\\\"timeSpan\\\":3600,\\\"timeUnit\\\":\\\"s\\\",\\\"productCode\\\":\\\"p_cynosdb\\\",\\\"subProductCode\\\":\\\"sp_cynosdb_mysql\\\",\\\"goodsNum\\\":1,\\\"sv_cynosdb_cpu_mysql\\\":1,\\\"sv_cynosdb_memory_mysql\\\":1,\\\"sv_cynosdb_cpu_smallcommoncpu\\\":0,\\\"sv_cynosdb_memory_smallcommonmem\\\":0,\\\"sv_cynosdb_cpu_largecommoncpu\\\":0,\\\"sv_cynosdb_memory_largecommonmem\\\":0,\\\"sv_cynosdb_storage_mysql\\\":0,\\\"sv_cynosdb_ccu_mysql\\\":0,\\\"resourceTags\\\":[{\\\"tagKey\\\":\\\"mockTagKey\\\",\\\"tagValue\\\":\\\"mockTagValue\\\"}],\\\"productInfo\\\":[{\\\"name\\\":\\\"配置\\\",\\\"value\\\":\\\"1核,1GB内存\\\"},{\\\"name\\\":\\\"地域\\\",\\\"value\\\":\\\"ap-guangzhou\\\"},{\\\"name\\\":\\\"可用区\\\",\\\"value\\\":\\\"ap-guangzhou-7\\\"}],\\\"zone\\\":\\\"ap-guangzhou-7\\\",\\\"source\\\":\\\"API\\\",\\\"slaveZone\\\":\\\"\\\",\\\"businessType\\\":\\\"\\\",\\\"vpcId\\\":\\\"vpc-rhfuibtt\\\",\\\"subnetId\\\":\\\"subnet-87qviva4\\\",\\\"dbType\\\":\\\"MYSQL\\\",\\\"dbVersion\\\":\\\"5.7\\\",\\\"cynosVersion\\\":\\\"\\\",\\\"clusterName\\\":\\\"后付费集群\\\",\\\"adminPassword\\\":\\\"Abcde@123\\\",\\\"port\\\":3306,\\\"count\\\":1,\\\"haCount\\\":0,\\\"instanceCount\\\":1,\\\"storageTraceId\\\":\\\"\\\",\\\"storagePayMode\\\":0,\\\"rollbackStrategy\\\":\\\"noneRollback\\\",\\\"OrderSource\\\":\\\"go_test\\\",\\\"isLhdb\\\":\\\"no\\\",\\\"lhdbAppId\\\":0,\\\"isDisableConsole\\\":\\\"no\\\",\\\"sourcePlatform\\\":\\\"\\\",\\\"clusterParams\\\":[{\\\"ParamName\\\":\\\"character_set_server\\\",\\\"CurrentValue\\\":\\\"utf8\\\",\\\"OldValue\\\":\\\"\\\"},{\\\"ParamName\\\":\\\"collation_server\\\",\\\"CurrentValue\\\":\\\"utf8_general_ci\\\",\\\"OldValue\\\":\\\"\\\"}],\\\"ParamTemplateId\\\":0,\\\"instanceType\\\":\\\"rw\\\",\\\"clusterTraceId\\\":\\\"9642a74e-fa27-4f8f-b854-653b3083c4cb\\\",\\\"outside_invisible_is_skip_trade\\\":\\\"\\\",\\\"ClusterInstanceCount\\\":1}}\",\n \"InstanceGrpId\": \"cynosdbmysql-grp-ywnxpisy\",\n \"InstanceGroupId\": \"cynosdbmysql-grp-ywnxpisy\",\n \"InstanceId\": \"cynosdbmysql-qjuxpows\",\n \"ObjectId\": \"cynosdbmysql-grwlskip\",\n \"ObjectType\": \"taskCreateCluster\",\n \"Operator\": \"700000433509\",\n \"Output\": \"{\\\"Storage\\\":3000}\",\n \"Status\": \"success\",\n \"TaskType\": \"taskCreateCluster\",\n \"TriggerTaskId\": 0,\n \"UpdateTime\": \"2024-06-27 16:18:12\",\n \"StartTime\": \"2024-06-27 16:18:07\",\n \"EndTime\": \"2024-06-27 16:18:12\",\n \"ClusterName\": \"MyClusterName\",\n \"InstanceName\": \"MyInstanceName\",\n \"Process\": 100,\n \"ModifyParamsData\": [\n {\n \"Name\": \"sql_auto_is_null\",\n \"OldValue\": \"OFF\",\n \"CurValue\": \"ON\"\n }\n ],\n \"CreateClustersData\": {\n \"Cpu\": 1,\n \"Memory\": 2,\n \"StorageLimit\": 200\n },\n \"RollbackData\": {\n \"Cpu\": 1,\n \"Memory\": 2,\n \"StorageLimit\": 200,\n \"OriginalClusterId\": \"cynosdbmysql-tiwgxyts\",\n \"OriginalClusterName\": \"MyOriginalClusterName\",\n \"RollbackStrategy\": \"timeRollback\",\n \"SnapshotTime\": \"2024-05-12 11:28:55\",\n \"MinCpu\": 2,\n \"MaxCpu\": 8,\n \"SnapShotId\": 5562,\n \"RollbackDatabases\": [\n {\n \"OldDatabase\": \"test_database\",\n \"NewDatabase\": \"new_test_database\"\n }\n ],\n \"RollbackTables\": [\n {\n \"Database\": \"test-database\",\n \"Tables\": [\n {\n \"OldTable\": \"test-table-1\",\n \"NewTable\": \"new-test-table-1\"\n }\n ]\n }\n ],\n \"BackupFileName\": \"cynosdbmysql-oaj6te97_20240610111357\"\n },\n \"ModifyInstanceData\": {\n \"Cpu\": 2,\n \"Memory\": 4,\n \"StorageLimit\": 400,\n \"OldCpu\": 1,\n \"OldMemory\": 2,\n \"OldStorageLimit\": 200,\n \"UpgradeType\": \"upgradeInMaintain\"\n },\n \"ManualBackupData\": {\n \"BackupType\": \"snapshot\",\n \"BackupMethod\": \"manual\",\n \"SnapshotTime\": \"2023-11-03 15:27:22\"\n },\n \"ModifyDbVersionData\": {\n \"OldVersion\": \"3.1.11\",\n \"NewVersion\": \"3.1.13\",\n \"UpgradeType\": \"upgradeInMaintain\"\n },\n \"ClusterSlaveData\": {\n \"OldMasterZone\": \"ap-guangzhou-4\",\n \"OldSlaveZone\": [\n \"ap-guangzhou-7\"\n ],\n \"NewMasterZone\": \"ap-guangzhou-7\",\n \"NewSlaveZone\": [\n \"ap-guangzhou-4\"\n ],\n \"NewSlaveZoneAttr\": [\n {\n \"Zone\": \"ap-guangzhou-4\",\n \"BinlogSyncWay\": \"sync\"\n }\n ],\n \"OldSlaveZoneAttr\": [\n {\n \"Zone\": \"ap-guangzhou-7\",\n \"BinlogSyncWay\": \"async\"\n }\n ]\n },\n \"SwitchClusterLogBin\": {\n \"Status\": \"OFF\"\n },\n \"ModifyInstanceParamsData\": {\n \"ClusterId\": \"cynosdbmysql-tiwgxyts\",\n \"ClusterParamList\": [\n {\n \"ParamName\": \"innodb_backquery_history_limit\",\n \"CurrentValue\": \"1100\",\n \"OldValue\": \"1000\"\n }\n ],\n \"ModifyInstanceParams\": [\n {\n \"InstanceId\": \"cynosdbmysql-ins-twpmnatl\",\n \"ModifyInstanceParamList\": [\n {\n \"ParamName\": \"innodb_secondary_evict_only_lru\",\n \"CurrentValue\": \"ON\",\n \"OldValue\": \"OFF\"\n }\n ]\n }\n ]\n },\n \"TaskMaintainInfo\": {\n \"MaintainStartTime\": 10800,\n \"MaintainDuration\": 3600,\n \"MaintainWeekDays\": [\n \"Mon\",\n \"Tue\",\n \"Wed\",\n \"Thu\",\n \"Fri\"\n ]\n }\n }\n ],\n \"RequestId\": \"3d56fe0b-f839-42c6-b84e-1d5fbc874cba\"\n }\n}",
|
648
648
|
"title": "查询任务列表"
|
649
649
|
}
|
650
650
|
],
|
@@ -652,14 +652,14 @@
|
|
652
652
|
{
|
653
653
|
"document": "仅查看用户有权限的可用区",
|
654
654
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZones\n<公共请求参数>\n\n{}",
|
655
|
-
"output": "{\n \"Response\": {\n \"RegionSet\": [\n {\n \"DbType\": \"MYSQL\",\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 100001,\n \"Modules\": [\n {\n \"ModuleName\": \"is.disable.wan\",\n \"IsDisable\": \"yes\"\n }\n ],\n \"RegionZh\": \"广州\",\n \"ZoneSet\": [\n {\n \"PhysicalZone\": \"ap-guangzhou-2\",\n \"Zone\": \"ap-guangzhou-2\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 100003,\n \"IsSupportNormal\": 0,\n \"ZoneZh\": \"广州二区\",\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"
|
655
|
+
"output": "{\n \"Response\": {\n \"RegionSet\": [\n {\n \"DbType\": \"MYSQL\",\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 100001,\n \"Modules\": [\n {\n \"ModuleName\": \"is.disable.wan\",\n \"IsDisable\": \"yes\"\n }\n ],\n \"RegionZh\": \"广州\",\n \"ZoneSet\": [\n {\n \"PhysicalZone\": \"ap-guangzhou-2\",\n \"Zone\": \"ap-guangzhou-2\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 100003,\n \"IsSupportNormal\": 0,\n \"ZoneZh\": \"广州二区\",\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"tcp\",\n \"IsSupportCreateCluster\": 1\n },\n {\n \"PhysicalZone\": \"ao-guangzhou-5\",\n \"Zone\": \"ap-guangzhou-5\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 100004,\n \"IsSupportNormal\": 0,\n \"ZoneZh\": \"广州五区\",\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"whole_rdma\",\n \"IsSupportCreateCluster\": 0\n }\n ]\n },\n {\n \"DbType\": \"MYSQL\",\n \"Region\": \"ap-beijing\",\n \"RegionId\": 8,\n \"Modules\": [\n {\n \"ModuleName\": \"is.disable.wan\",\n \"IsDisable\": \"no\"\n }\n ],\n \"RegionZh\": \"北京\",\n \"ZoneSet\": [\n {\n \"PhysicalZone\": \"ap-beijing-5\",\n \"Zone\": \"ap-beijing-5\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 800001,\n \"IsSupportNormal\": 0,\n \"ZoneZh\": \"北京五区\",\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"whole_rdma\",\n \"IsSupportCreateCluster\": 1\n }\n ]\n }\n ],\n \"RequestId\": \"8fa5cf5-77db-4e32-90ef-22c71ed95f51\"\n }\n}",
|
656
656
|
"title": "查询可售卖地域可用区信息"
|
657
657
|
}
|
658
658
|
],
|
659
659
|
"DisassociateSecurityGroups": [
|
660
660
|
{
|
661
661
|
"document": "",
|
662
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisassociateSecurityGroups\n<公共请求参数>\n\n{\n \"Zone\": \"ap-
|
662
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisassociateSecurityGroups\n<公共请求参数>\n\n{\n \"Zone\": \"ap-guangzhou-3\",\n \"InstanceIds\": [\n \"cynosdbmysql-gsyw6snx\"\n ],\n \"SecurityGroupIds\": [\n \"sg-ajr1jzgj\"\n ]\n}",
|
663
663
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1a42feb9-82087f71-6a0031ac-699a92a8\"\n }\n}",
|
664
664
|
"title": "安全组批量绑定云资源"
|
665
665
|
}
|
@@ -667,16 +667,16 @@
|
|
667
667
|
"ExportInstanceErrorLogs": [
|
668
668
|
{
|
669
669
|
"document": "导出错误日志",
|
670
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportInstanceErrorLogs\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-xxxxxxxx\",\n \"StartTime\": \"2019-07-04 16:45:32\",\n \"EndTime\": \"2019-07-04 16:55:32\",\n \"Limit\": 10,\n \"Offset\": 0,\n \"LogLevels\": [\n \"error\"\n ],\n \"KeyWords\": [\n \"
|
671
|
-
"output": "{\n \"Response\": {\n \"ErrorLogItems\": [\n {\n \"Timestamp\": \"2019-07-04 16:45:32\",\n \"Level\": \"error\",\n \"Content\": \"
|
670
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportInstanceErrorLogs\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-xxxxxxxx\",\n \"StartTime\": \"2019-07-04 16:45:32\",\n \"EndTime\": \"2019-07-04 16:55:32\",\n \"Limit\": 10,\n \"Offset\": 0,\n \"LogLevels\": [\n \"error\"\n ],\n \"KeyWords\": [\n \"test_keyword\"\n ],\n \"FileType\": \"csv\",\n \"OrderBy\": \"Timestamp\",\n \"OrderByType\": \"ASC\"\n}",
|
671
|
+
"output": "{\n \"Response\": {\n \"ErrorLogItems\": [\n {\n \"Timestamp\": \"2019-07-04 16:45:32\",\n \"Level\": \"error\",\n \"Content\": \"Got an error reading communication packets\"\n }\n ],\n \"RequestId\": \"93b9d0b7-3921-4464-a70b-a8337f40cb39\"\n }\n}",
|
672
672
|
"title": "导出错误日志"
|
673
673
|
}
|
674
674
|
],
|
675
675
|
"ExportInstanceSlowQueries": [
|
676
676
|
{
|
677
677
|
"document": "",
|
678
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportInstanceSlowQueries\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-
|
679
|
-
"output": "{\n \"Response\": {\n \"FileContent\": \"
|
678
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportInstanceSlowQueries\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-93sj6l7d\",\n \"StartTime\": \"2024-10-11 16:36:18\",\n \"EndTime\": \"2024-10-12 16:36:18\",\n \"Offset\": 0,\n \"Limit\": 1,\n \"Username\": \"root\",\n \"Database\": \"db\",\n \"FileType\": \"csv\"\n}",
|
679
|
+
"output": "{\n \"Response\": {\n \"FileContent\": \"执行时间,SQL语句,客户端地址,用户名,数据库名,执行时长(秒),加锁时长(秒),解析行数,返回行数,远程读取次数,远程读取的字节数,远程读取所花费的时间(微秒),远程写入次数,远程写入的字节数,远程写入所花费的时间(微秒),事务提交延迟(微秒)\\n2024-10-11 16:36:18,\\\"INSERT IGNORE INTO sbtest14(id, k, c, pad) VALUES(NULL, 779102\\\",1.1.1.1,root,db,1.227114,0.000003,0,0,0,0,0,0,0,0,0\",\n \"RequestId\": \"9e56617c-c7cc-44e1-a967-6beb418ad5e7\"\n }\n}",
|
680
680
|
"title": "导出实例慢日志"
|
681
681
|
}
|
682
682
|
],
|
@@ -715,8 +715,8 @@
|
|
715
715
|
"InquirePriceRenew": [
|
716
716
|
{
|
717
717
|
"document": "",
|
718
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquirePriceRenew\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-
|
719
|
-
"output": "{\n \"Response\": {\n \"ClusterId\": \"cynosdbmysql-
|
718
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquirePriceRenew\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-prao75jd\",\n \"TimeSpan\": 1,\n \"TimeUnit\": \"m\"\n}",
|
719
|
+
"output": "{\n \"Response\": {\n \"ClusterId\": \"cynosdbmysql-prao75jd\",\n \"InstanceIds\": [\n \"cynosdbmysql-ins-1rh1dodd\"\n ],\n \"InstanceRealTotalPrice\": 15686,\n \"Prices\": [\n {\n \"ChargeUnit\": \"m\",\n \"Discount\": 48.058876,\n \"TotalPrice\": 32640,\n \"TotalPriceDiscount\": 15686,\n \"UnitPrice\": 0,\n \"UnitPriceDiscount\": 0\n }\n ],\n \"RequestId\": \"bbcbe6f9-f8fc-40e6-ba0b-00301b48c8ff\",\n \"StorageRealTotalPrice\": 0\n }\n}",
|
720
720
|
"title": "续费集群询价"
|
721
721
|
}
|
722
722
|
],
|
@@ -787,7 +787,7 @@
|
|
787
787
|
"ModifyBackupConfig": [
|
788
788
|
{
|
789
789
|
"document": "修改备份配置",
|
790
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBackupConfig\n<公共请求参数>\n\n{\n \"BackupTimeBeg\":
|
790
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBackupConfig\n<公共请求参数>\n\n{\n \"BackupTimeBeg\": 7200,\n \"ReserveDuration\": 604800,\n \"ClusterId\": \"cynosdbmysql-45knmnra\",\n \"BackupTimeEnd\": 21600\n}",
|
791
791
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
792
792
|
"title": "修改集群备份配置"
|
793
793
|
}
|
@@ -859,8 +859,8 @@
|
|
859
859
|
"ModifyClusterStorage": [
|
860
860
|
{
|
861
861
|
"document": "调整包年包月存储容量",
|
862
|
-
"input": "https://cynosdb.tencentcloudapi.com/?Action=ModifyClusterStorage\n&ClusterId=cynosdbmysql-
|
863
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"132075\",\n \"TranId\": \"20190522160000003106844584180998\",\n \"BigDealIds\": [\n \"
|
862
|
+
"input": "https://cynosdb.tencentcloudapi.com/?Action=ModifyClusterStorage\n&ClusterId=cynosdbmysql-mwg7121e\n&NewStorageLimit=20\n&OldStorageLimit=10\n&<公共请求参数>",
|
863
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"132075\",\n \"TranId\": \"20190522160000003106844584180998\",\n \"BigDealIds\": [\n \"142759\"\n ],\n \"DealNames\": [\n \"20190522112283\"\n ]\n }\n}",
|
864
864
|
"title": "调整包年包月存储容量"
|
865
865
|
}
|
866
866
|
],
|
@@ -868,7 +868,7 @@
|
|
868
868
|
{
|
869
869
|
"document": "修改实例绑定安全组",
|
870
870
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSecurityGroups\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-j8ynfcpgj\",\n \"SecurityGroupIds\": [\n \"sg-mnbv\"\n ],\n \"Zone\": \"ap-guangzhou-3\"\n}",
|
871
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
871
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"48fa5cf5-77db-4e32-90ef-22c71ed95f51\"\n }\n}",
|
872
872
|
"title": "修改实例绑定安全组"
|
873
873
|
}
|
874
874
|
],
|
@@ -891,8 +891,8 @@
|
|
891
891
|
"ModifyInstanceUpgradeLimitDays": [
|
892
892
|
{
|
893
893
|
"document": "",
|
894
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceUpgradeLimitDays\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
895
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
894
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceUpgradeLimitDays\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-mwg7212w\",\n \"InstanceId\": \"cynosdbmysql-ins-m6f0hjkx\",\n \"UpgradeLimitDays\": 30\n}",
|
895
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"588fbc90-61a4-4125-bc70-65a3f8d1327e\"\n }\n}",
|
896
896
|
"title": "修改实例小版本升级限制时间"
|
897
897
|
}
|
898
898
|
],
|
@@ -907,7 +907,7 @@
|
|
907
907
|
"ModifyParamTemplate": [
|
908
908
|
{
|
909
909
|
"document": "修改参数模板",
|
910
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyParamTemplate\n<公共请求参数>\n\n{\n \"TemplateDescription\": \"勿删\",\n \"TemplateId\":
|
910
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyParamTemplate\n<公共请求参数>\n\n{\n \"TemplateDescription\": \"勿删\",\n \"TemplateId\": 94,\n \"ParamList\": [\n {\n \"CurrentValue\": \"1024\",\n \"ParamName\": \"query_cache_size\"\n }\n ],\n \"TemplateName\": \"5.7常用参数模板-勿删\"\n}",
|
911
911
|
"output": "{\n \"Response\": {\n \"RequestId\": \"916e8185-4749-45af-899f-e57043164675\"\n }\n}",
|
912
912
|
"title": "修改参数模板"
|
913
913
|
}
|
@@ -923,24 +923,24 @@
|
|
923
923
|
"ModifyProxyRwSplit": [
|
924
924
|
{
|
925
925
|
"document": "配置数据库代理读写分离",
|
926
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProxyRwSplit\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-
|
927
|
-
"output": "{\n \"Response\": {\n \"FlowId\":
|
926
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProxyRwSplit\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-dnofdr2d\",\n \"ProxyGroupId\": \"cynosdbmysql-proxy-4378e0kd\",\n \"ConsistencyType\": \"eventual\",\n \"ConsistencyTimeOut\": \"10\",\n \"WeightMode\": \"system\",\n \"InstanceWeights\": [\n {\n \"InstanceId\": \"cynosdbmysql-ins-c2twj0qf\",\n \"Weight\": 0\n }\n ],\n \"FailOver\": \"\",\n \"AutoAddRo\": \"yes\",\n \"OpenRw\": \"yes\",\n \"RwType\": \"READONLY\",\n \"TransSplit\": true,\n \"AccessMode\": \"nearby\",\n \"OpenConnectionPool\": \"yes\",\n \"ConnectionPoolType\": \"SessionConnectionPool\",\n \"ConnectionPoolTimeOut\": 0\n}",
|
927
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 134762,\n \"TaskId\": 146783,\n \"RequestId\": \"a5706353-296a-4992-ad07-ac4a48eeba43\"\n }\n}",
|
928
928
|
"title": "配置数据库代理读写分离"
|
929
929
|
}
|
930
930
|
],
|
931
931
|
"ModifyResourcePackageClusters": [
|
932
932
|
{
|
933
933
|
"document": "给资源包绑定集群",
|
934
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourcePackageClusters\n<公共请求参数>\n\n{\n \"PackageId\": \"package-
|
935
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
934
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourcePackageClusters\n<公共请求参数>\n\n{\n \"PackageId\": \"package-3crr5ldh\",\n \"BindClusterIds\": [\n \"cynosdbmysql-mwg7121t\"\n ],\n \"UnbindClusterIds\": [\n \"cynosdbmysql-kueh122w\"\n ]\n}",
|
935
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a5706353-296a-4992-ad07-ac4a48eeba43\"\n }\n}",
|
936
936
|
"title": "给资源包绑定集群"
|
937
937
|
}
|
938
938
|
],
|
939
939
|
"ModifyResourcePackageName": [
|
940
940
|
{
|
941
941
|
"document": "修改资源包名称",
|
942
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySourcePackageName\n<公共请求参数>\n\n{\n \"PackageId\": \"package-
|
943
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
942
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySourcePackageName\n<公共请求参数>\n\n{\n \"PackageId\": \"package-aqmi9bfd\",\n \"PackageName\": \"自定义资源包名称-1\"\n}",
|
943
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"93c96481-e37c-49f7-aeb5-907ee97a198c\"\n }\n}",
|
944
944
|
"title": "修改资源包名称"
|
945
945
|
}
|
946
946
|
],
|
@@ -963,8 +963,8 @@
|
|
963
963
|
"ModifyVipVport": [
|
964
964
|
{
|
965
965
|
"document": "",
|
966
|
-
"input": "https://cynosdb.tencentcloudapi.com/?Action=ModifyVipVport\n&ClusterId=
|
967
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
966
|
+
"input": "https://cynosdb.tencentcloudapi.com/?Action=ModifyVipVport\n&ClusterId=cynosdbmysql-mwg7121e\n&InstanceGrpId=cynosdbmysql-grp-o48ssqs5\n&Vip=172.1.1.1\n&<公共请求参数>",
|
967
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a5706353-296a-4992-ad07-ac4a48eeba43\",\n \"FlowId\": 134983\n }\n}",
|
968
968
|
"title": "修改ip端口"
|
969
969
|
}
|
970
970
|
],
|
@@ -1035,8 +1035,8 @@
|
|
1035
1035
|
"RefundResourcePackage": [
|
1036
1036
|
{
|
1037
1037
|
"document": "退款资源包\n",
|
1038
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RefundSourcePackage\n<公共请求参数>\n\n{\n \"PackageId\": \"package-
|
1039
|
-
"output": "{\n \"Response\": {\n \"DealNames\": [\n \"
|
1038
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RefundSourcePackage\n<公共请求参数>\n\n{\n \"PackageId\": \"package-jxdncifn\"\n}",
|
1039
|
+
"output": "{\n \"Response\": {\n \"DealNames\": [\n \"3164723785123674\"\n ],\n \"RequestId\": \"a5706353-296a-4992-ad07-ac4a48eeba43\"\n }\n}",
|
1040
1040
|
"title": "退款资源包"
|
1041
1041
|
}
|
1042
1042
|
],
|
@@ -1107,8 +1107,8 @@
|
|
1107
1107
|
"RollbackToNewCluster": [
|
1108
1108
|
{
|
1109
1109
|
"document": "",
|
1110
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollbackToNewCluster\n<公共请求参数>\n\n{\n \"Zone\": \"
|
1111
|
-
"output": "{\n \"Response\": {\n \"TranId\": \"
|
1110
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollbackToNewCluster\n<公共请求参数>\n\n{\n \"Zone\": \"ap-guangzhou-5\",\n \"UniqVpcId\": \"vpc-tsnp6wjk\",\n \"UniqSubnetId\": \"subnet-tsrq2i9e\",\n \"ClusterName\": \"MyClusterName\",\n \"RollbackId\": 1,\n \"OriginalClusterId\": \"cynosdbmysql-tsr2ubsj\",\n \"ExpectTime\": \"2024-10-01 12:01:01\",\n \"AutoVoucher\": 0,\n \"ResourceTags\": [\n {\n \"TagKey\": \"tagKey-1\",\n \"TagValue\": \"tagValue-1\"\n }\n ],\n \"DbMode\": \"MYSQL\",\n \"MinCpu\": 0,\n \"MaxCpu\": 0,\n \"AutoPause\": \"yes\",\n \"AutoPauseDelay\": 0,\n \"SecurityGroupIds\": [\n \"sg-sjcgywls\"\n ],\n \"AlarmPolicyIds\": [\n \"policy-jylgsf32\"\n ],\n \"ClusterParams\": [\n {\n \"ParamName\": \"binlog_cache_size\",\n \"CurrentValue\": \"200\",\n \"OldValue\": \"3000\"\n }\n ],\n \"ParamTemplateId\": 0,\n \"InstanceInitInfos\": [\n {\n \"Cpu\": 1,\n \"Memory\": 2,\n \"InstanceType\": \"rw\",\n \"InstanceCount\": 1,\n \"MinRoCount\": 1,\n \"MaxRoCount\": 2,\n \"MinRoCpu\": 1,\n \"MaxRoCpu\": 4\n }\n ],\n \"DealMode\": 0\n}",
|
1111
|
+
"output": "{\n \"Response\": {\n \"TranId\": \"12635123871523612735\",\n \"DealNames\": [\n \"126351238715236127011\"\n ],\n \"ResourceIds\": [\n \"cynosdbmysql-ins-tsk5bs6w\"\n ],\n \"ClusterIds\": [\n \"cynosdbmysql-kshc2bxu\"\n ],\n \"BigDealIds\": [\n \"12635123871523612735012\"\n ],\n \"RequestId\": \"91331f25-7342-4c58-925c-3deb5aee4a61\"\n }\n}",
|
1112
1112
|
"title": "回档到新集群"
|
1113
1113
|
}
|
1114
1114
|
],
|
@@ -1179,8 +1179,8 @@
|
|
1179
1179
|
"UnbindClusterResourcePackages": [
|
1180
1180
|
{
|
1181
1181
|
"document": "cynos解绑资源包",
|
1182
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnbindSourcePackageCynos\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
1183
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1182
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnbindSourcePackageCynos\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-0n6ib9tr\",\n \"PackageIds\": [\n \"package-3crr5lka\"\n ]\n}",
|
1183
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a5706353-296a-4992-ad07-ac4a48eeba43\"\n }\n}",
|
1184
1184
|
"title": "cynos解绑资源包"
|
1185
1185
|
}
|
1186
1186
|
],
|
@@ -1195,16 +1195,16 @@
|
|
1195
1195
|
"UpgradeInstance": [
|
1196
1196
|
{
|
1197
1197
|
"document": "",
|
1198
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-n7ocdslw\",\n \"UpgradeType\": \"upgradeImmediate\",\n \"Cpu\":
|
1199
|
-
"output": "{\n \"Response\": {\n \"
|
1198
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-n7ocdslw\",\n \"UpgradeType\": \"upgradeImmediate\",\n \"Cpu\": 2,\n \"Memory\": 4,\n \"UpgradeProxy\": {\n \"Cpu\": 4,\n \"Mem\": 8000,\n \"ReloadBalance\": \"auto\",\n \"ProxyZones\": [\n {\n \"ProxyNodeZone\": \"ap-guangzhou-3\",\n \"ProxyNodeCount\": 1\n }\n ]\n }\n}",
|
1199
|
+
"output": "{\n \"Response\": {\n \"BigDealIds\": [],\n \"DealNames\": [\n \"20241025054071351304161\"\n ],\n \"RequestId\": \"588fbc90-61a4-4125-bc70-65a3f8d1327e\",\n \"TranId\": \"20241025054071351304171\"\n }\n}",
|
1200
1200
|
"title": "实例变配"
|
1201
1201
|
}
|
1202
1202
|
],
|
1203
1203
|
"UpgradeProxy": [
|
1204
1204
|
{
|
1205
1205
|
"document": "升级数据库代理配置",
|
1206
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeProxy\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-
|
1207
|
-
"output": "{\n \"Response\": {\n \"FlowId\":
|
1206
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeProxy\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-dnofdr2d\",\n \"ProxyCount\": 2,\n \"Cpu\": 2,\n \"Mem\": 4,\n \"ProxyGroupId\": \"cynosdbmysql-proxy-4378e0kb\",\n \"ReloadBalance\": \"auto\",\n \"IsInMaintainPeriod\": \"no\",\n \"ProxyZones\": [\n {\n \"ProxyNodeZone\": \"ap-guangzhou-3\",\n \"ProxyNodeCount\": 2\n }\n ]\n}",
|
1207
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 127635,\n \"TaskId\": 174673,\n \"RequestId\": \"a5706353-296a-4992-ad07-ac4a48eeba43\"\n }\n}",
|
1208
1208
|
"title": "升级数据库代理配置"
|
1209
1209
|
}
|
1210
1210
|
],
|