tccli-intl-en 3.0.1188.1__py2.py3-none-any.whl → 3.1.28.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/argument.py +1 -1
- tccli/plugins/sso/__init__.py +14 -0
- tccli/plugins/sso/login.py +23 -6
- tccli/plugins/sso/texts.py +4 -0
- tccli/services/__init__.py +46 -2
- tccli/services/advisor/advisor_client.py +10 -4
- tccli/services/ai3d/__init__.py +4 -0
- tccli/services/ai3d/ai3d_client.py +266 -0
- tccli/services/ai3d/v20250513/api.json +264 -0
- tccli/services/ai3d/v20250513/examples.json +20 -0
- tccli/services/aiart/aiart_client.py +5 -2
- tccli/services/ams/ams_client.py +20 -8
- tccli/services/antiddos/antiddos_client.py +350 -140
- tccli/services/apigateway/apigateway_client.py +465 -186
- tccli/services/apm/apm_client.py +835 -68
- tccli/services/apm/v20210622/api.json +3936 -1145
- tccli/services/apm/v20210622/examples.json +133 -23
- tccli/services/asr/asr_client.py +10 -4
- tccli/services/autoscaling/autoscaling_client.py +341 -114
- tccli/services/autoscaling/v20180419/api.json +444 -272
- tccli/services/autoscaling/v20180419/examples.json +46 -38
- tccli/services/batch/batch_client.py +140 -56
- tccli/services/bi/__init__.py +4 -0
- tccli/services/bi/bi_client.py +1498 -0
- tccli/services/bi/v20220105/api.json +5769 -0
- tccli/services/bi/v20220105/examples.json +215 -0
- tccli/services/billing/billing_client.py +1007 -139
- tccli/services/billing/v20180709/api.json +1707 -429
- tccli/services/billing/v20180709/examples.json +161 -25
- tccli/services/cam/cam_client.py +405 -162
- tccli/services/captcha/captcha_client.py +5 -2
- tccli/services/captcha/v20190722/api.json +16 -6
- tccli/services/captcha/v20190722/examples.json +3 -3
- tccli/services/car/car_client.py +165 -66
- tccli/services/cbs/cbs_client.py +190 -76
- tccli/services/ccc/ccc_client.py +1167 -268
- tccli/services/ccc/v20200210/api.json +2263 -202
- tccli/services/ccc/v20200210/examples.json +116 -12
- tccli/services/cdb/cdb_client.py +665 -266
- tccli/services/cdb/v20170320/api.json +463 -208
- tccli/services/cdb/v20170320/examples.json +8 -8
- tccli/services/cdc/cdc_client.py +100 -40
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +220 -88
- tccli/services/cdn/v20180606/api.json +22 -22
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/cdwdoris/cdwdoris_client.py +385 -154
- tccli/services/cdwpg/cdwpg_client.py +120 -48
- tccli/services/cdz/__init__.py +4 -0
- tccli/services/cdz/cdz_client.py +210 -0
- tccli/services/cdz/v20221123/api.json +233 -0
- tccli/services/cdz/v20221123/examples.json +12 -0
- tccli/services/cfg/cfg_client.py +80 -32
- tccli/services/cfg/v20210820/api.json +30 -10
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/cfs_client.py +195 -78
- tccli/services/cfw/cfw_client.py +330 -132
- tccli/services/chdfs/chdfs_client.py +145 -58
- tccli/services/ciam/ciam_client.py +80 -32
- tccli/services/ckafka/ckafka_client.py +1149 -259
- tccli/services/ckafka/v20190819/api.json +3738 -1696
- tccli/services/ckafka/v20190819/examples.json +266 -162
- tccli/services/clb/clb_client.py +1054 -469
- tccli/services/clb/v20180317/api.json +2273 -1020
- tccli/services/clb/v20180317/examples.json +184 -124
- tccli/services/cloudaudit/cloudaudit_client.py +90 -36
- tccli/services/cls/cls_client.py +434 -173
- tccli/services/cmq/cmq_client.py +14 -803
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +30 -12
- tccli/services/controlcenter/controlcenter_client.py +229 -2
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/csip/csip_client.py +339 -78
- tccli/services/csip/v20221121/api.json +1011 -38
- tccli/services/csip/v20221121/examples.json +24 -0
- tccli/services/ctsdb/__init__.py +4 -0
- tccli/services/ctsdb/ctsdb_client.py +266 -0
- tccli/services/ctsdb/v20230202/api.json +677 -0
- tccli/services/ctsdb/v20230202/examples.json +20 -0
- tccli/services/cvm/cvm_client.py +706 -189
- tccli/services/cvm/v20170312/api.json +1003 -453
- tccli/services/cvm/v20170312/examples.json +176 -130
- tccli/services/cwp/cwp_client.py +2325 -930
- tccli/services/cynosdb/cynosdb_client.py +2272 -591
- tccli/services/cynosdb/v20190107/api.json +12480 -7740
- tccli/services/cynosdb/v20190107/examples.json +193 -9
- tccli/services/dataintegration/dataintegration_client.py +5 -2
- tccli/services/dayu/dayu_client.py +515 -206
- tccli/services/dbbrain/dbbrain_client.py +210 -84
- tccli/services/dc/dc_client.py +90 -36
- tccli/services/dcdb/dcdb_client.py +310 -124
- tccli/services/dlc/dlc_client.py +859 -214
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +10 -4
- tccli/services/dnspod/dnspod_client.py +390 -111
- tccli/services/dnspod/v20210323/api.json +196 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/domain_client.py +120 -48
- tccli/services/dts/dts_client.py +415 -166
- tccli/services/eb/eb_client.py +130 -52
- tccli/services/ecdn/ecdn_client.py +75 -30
- tccli/services/ecm/ecm_client.py +620 -248
- tccli/services/eiam/eiam_client.py +200 -80
- tccli/services/emr/emr_client.py +3104 -117
- tccli/services/emr/v20190103/api.json +15311 -4361
- tccli/services/emr/v20190103/examples.json +452 -42
- tccli/services/es/es_client.py +105 -42
- tccli/services/facefusion/facefusion_client.py +15 -6
- tccli/services/faceid/faceid_client.py +95 -38
- tccli/services/faceid/v20180301/api.json +172 -45
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +440 -176
- tccli/services/gme/gme_client.py +50 -20
- tccli/services/gpm/gpm_client.py +90 -36
- tccli/services/gse/gse_client.py +110 -44
- tccli/services/gwlb/gwlb_client.py +90 -36
- tccli/services/hunyuan/__init__.py +4 -0
- tccli/services/hunyuan/hunyuan_client.py +490 -0
- tccli/services/hunyuan/v20230901/api.json +566 -0
- tccli/services/hunyuan/v20230901/examples.json +52 -0
- tccli/services/iai/iai_client.py +145 -58
- tccli/services/iai/v20200303/api.json +187 -51
- tccli/services/iai/v20200303/examples.json +30 -12
- tccli/services/iap/iap_client.py +30 -12
- tccli/services/ims/ims_client.py +5 -2
- tccli/services/ims/v20201229/api.json +133 -141
- tccli/services/ims/v20201229/examples.json +3 -3
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +363 -78
- tccli/services/intlpartnersmgt/v20220928/api.json +513 -22
- tccli/services/intlpartnersmgt/v20220928/examples.json +24 -0
- tccli/services/iotcloud/iotcloud_client.py +100 -40
- tccli/services/iotcloud/v20210408/api.json +216 -107
- tccli/services/iotcloud/v20210408/examples.json +9 -9
- tccli/services/ip/ip_client.py +30 -12
- tccli/services/kms/kms_client.py +1226 -227
- tccli/services/kms/v20190118/api.json +1465 -123
- tccli/services/kms/v20190118/examples.json +129 -3
- tccli/services/lcic/lcic_client.py +265 -106
- tccli/services/lighthouse/lighthouse_client.py +730 -172
- tccli/services/lighthouse/v20200324/api.json +502 -14
- tccli/services/lighthouse/v20200324/examples.json +59 -5
- tccli/services/live/live_client.py +804 -232
- tccli/services/live/v20180801/api.json +272 -0
- tccli/services/live/v20180801/examples.json +32 -0
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +5194 -0
- tccli/services/lke/v20231130/api.json +14803 -0
- tccli/services/lke/v20231130/examples.json +736 -0
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +602 -0
- tccli/services/lkeap/v20240522/api.json +989 -0
- tccli/services/lkeap/v20240522/examples.json +92 -0
- tccli/services/mariadb/mariadb_client.py +250 -100
- tccli/services/mdc/mdc_client.py +90 -36
- tccli/services/mdl/mdl_client.py +402 -82
- tccli/services/mdl/v20200326/api.json +1437 -100
- tccli/services/mdl/v20200326/examples.json +48 -16
- tccli/services/mdp/mdp_client.py +785 -122
- tccli/services/mdp/v20200527/api.json +1336 -49
- tccli/services/mdp/v20200527/examples.json +151 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +1452 -136
- tccli/services/mongodb/v20190725/api.json +4393 -1462
- tccli/services/mongodb/v20190725/examples.json +265 -71
- tccli/services/monitor/monitor_client.py +1008 -296
- tccli/services/monitor/v20180724/api.json +664 -15
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +1878 -379
- tccli/services/mps/v20190612/api.json +7473 -1626
- tccli/services/mps/v20190612/examples.json +276 -82
- tccli/services/mqtt/__init__.py +4 -0
- tccli/services/mqtt/mqtt_client.py +1610 -0
- tccli/services/mqtt/v20240516/api.json +3057 -0
- tccli/services/mqtt/v20240516/examples.json +213 -0
- tccli/services/msp/msp_client.py +35 -14
- tccli/services/ocr/ocr_client.py +515 -74
- tccli/services/ocr/v20181119/api.json +1991 -168
- tccli/services/ocr/v20181119/examples.json +58 -4
- tccli/services/omics/omics_client.py +100 -40
- tccli/services/organization/organization_client.py +580 -232
- tccli/services/postgres/postgres_client.py +455 -182
- tccli/services/postgres/v20170312/api.json +134 -109
- tccli/services/postgres/v20170312/examples.json +14 -14
- tccli/services/privatedns/privatedns_client.py +206 -60
- tccli/services/privatedns/v20201028/api.json +179 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/pts/pts_client.py +240 -96
- tccli/services/quota/__init__.py +4 -0
- tccli/services/quota/quota_client.py +434 -0
- tccli/services/quota/v20241204/api.json +548 -0
- tccli/services/quota/v20241204/examples.json +51 -0
- tccli/services/rce/rce_client.py +5 -2
- tccli/services/redis/redis_client.py +698 -212
- tccli/services/redis/v20180412/api.json +968 -563
- tccli/services/redis/v20180412/examples.json +98 -56
- tccli/services/region/__init__.py +4 -0
- tccli/services/region/region_client.py +322 -0
- tccli/services/region/v20220627/api.json +399 -0
- tccli/services/region/v20220627/examples.json +29 -0
- tccli/services/rum/rum_client.py +300 -120
- tccli/services/scf/scf_client.py +210 -84
- tccli/services/ses/ses_client.py +368 -69
- tccli/services/ses/v20201002/api.json +240 -0
- tccli/services/ses/v20201002/examples.json +32 -0
- tccli/services/smh/__init__.py +4 -0
- tccli/services/smh/smh_client.py +714 -0
- tccli/services/smh/v20210712/api.json +1287 -0
- tccli/services/smh/v20210712/examples.json +85 -0
- tccli/services/sms/sms_client.py +90 -36
- tccli/services/sqlserver/sqlserver_client.py +3855 -470
- tccli/services/sqlserver/v20180328/api.json +9757 -3347
- tccli/services/sqlserver/v20180328/examples.json +480 -20
- tccli/services/ssl/ssl_client.py +504 -72
- tccli/services/ssl/v20191205/api.json +789 -21
- tccli/services/ssl/v20191205/examples.json +54 -0
- tccli/services/ssm/ssm_client.py +120 -48
- tccli/services/sts/sts_client.py +25 -10
- tccli/services/tag/tag_client.py +150 -60
- tccli/services/tat/tat_client.py +95 -38
- tccli/services/tbaas/tbaas_client.py +20 -8
- tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +5 -2
- tccli/services/tcmpp/tcmpp_client.py +520 -208
- tccli/services/tcr/tcr_client.py +380 -152
- tccli/services/tcsas/tcsas_client.py +295 -118
- tccli/services/tcsas/v20250106/api.json +1084 -980
- tccli/services/tcsas/v20250106/examples.json +15 -15
- tccli/services/tcss/tcss_client.py +1650 -660
- tccli/services/tdid/tdid_client.py +240 -96
- tccli/services/tdmq/tdmq_client.py +2876 -466
- tccli/services/tdmq/v20200217/api.json +11607 -3958
- tccli/services/tdmq/v20200217/examples.json +562 -264
- tccli/services/tem/tem_client.py +280 -112
- tccli/services/teo/teo_client.py +4507 -966
- tccli/services/teo/v20220901/api.json +7341 -1405
- tccli/services/teo/v20220901/examples.json +679 -99
- tccli/services/tione/__init__.py +4 -0
- tccli/services/tione/tione_client.py +210 -0
- tccli/services/tione/v20211111/api.json +3074 -0
- tccli/services/tione/v20211111/examples.json +12 -0
- tccli/services/tiw/tiw_client.py +255 -102
- tccli/services/tke/tke_client.py +858 -276
- tccli/services/tke/v20180525/api.json +227 -0
- tccli/services/tke/v20180525/examples.json +24 -0
- tccli/services/tms/tms_client.py +5 -2
- tccli/services/tms/v20201229/api.json +91 -100
- tccli/services/tmt/tmt_client.py +5 -2
- tccli/services/trabbit/trabbit_client.py +145 -58
- tccli/services/trocket/__init__.py +4 -0
- tccli/services/trocket/trocket_client.py +2450 -0
- tccli/services/trocket/v20230308/api.json +6062 -0
- tccli/services/trocket/v20230308/examples.json +339 -0
- tccli/services/trro/trro_client.py +95 -38
- tccli/services/trtc/trtc_client.py +928 -192
- tccli/services/trtc/v20190722/api.json +1810 -256
- tccli/services/trtc/v20190722/examples.json +100 -6
- tccli/services/tts/tts_client.py +5 -2
- tccli/services/vclm/vclm_client.py +10 -4
- tccli/services/vm/v20210922/api.json +61 -30
- tccli/services/vm/v20210922/examples.json +0 -12
- tccli/services/vm/vm_client.py +20 -8
- tccli/services/vod/v20180717/api.json +531 -54
- tccli/services/vod/v20180717/examples.json +25 -7
- tccli/services/vod/v20240718/api.json +1105 -0
- tccli/services/vod/v20240718/examples.json +97 -0
- tccli/services/vod/vod_client.py +1428 -350
- tccli/services/vpc/v20170312/api.json +1031 -133
- tccli/services/vpc/v20170312/examples.json +119 -23
- tccli/services/vpc/vpc_client.py +2159 -644
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1149 -245
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +6067 -1263
- tccli/services/yunjing/yunjing_client.py +355 -142
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/RECORD +292 -232
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/top_level.txt +0 -0
|
@@ -112,6 +112,14 @@
|
|
|
112
112
|
"title": "Creating a Backup"
|
|
113
113
|
}
|
|
114
114
|
],
|
|
115
|
+
"CreateCLSDelivery": [
|
|
116
|
+
{
|
|
117
|
+
"document": "",
|
|
118
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCLSDelivery\n<Common request parameters>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-o971o62r\",\n \"CLSInfoList\": [\n {\n \"TopicId\": \"38b86342-7cb0-4776-9ebd-ff1830035da1\",\n \"TopicOperation\": \"reuse\",\n \"GroupId\": \"17de6e2a-efd0-4fc2-ba2e-8845bd4f9895\",\n \"Region\": \"ap-guangzhou\",\n \"GroupOperation\": \"reuse\"\n }\n ]\n}",
|
|
119
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 148728,\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\"\n }\n}",
|
|
120
|
+
"title": "Create Log Delivery"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
115
123
|
"CreateClusterDatabase": [
|
|
116
124
|
{
|
|
117
125
|
"document": "This example shows you how to create a database.",
|
|
@@ -128,6 +136,14 @@
|
|
|
128
136
|
"title": "Purchasing a New Cluster"
|
|
129
137
|
}
|
|
130
138
|
],
|
|
139
|
+
"CreateIntegrateCluster": [
|
|
140
|
+
{
|
|
141
|
+
"document": "Create Integrate Cluster",
|
|
142
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateIntegrateCluster\n<Common request parameters>\n\n{\n \"DbVersion\": \"8.0\",\n \"InstanceInitInfos\": [\n {\n \"Cpu\": 1,\n \"DeviceType\": \"common\",\n \"InstanceCount\": 1,\n \"InstanceType\": \"rw\",\n \"Memory\": 2\n }\n ],\n \"IntegrateCreateClusterConfig\": {\n \"BackupSaveDays\": 7,\n \"BinlogSaveDays\": 8,\n \"SemiSyncTimeout\": 1000\n },\n \"SubnetId\": \"subnet-3du8lpau\",\n \"VpcId\": \"vpc-r2dqqiyv\",\n \"Zone\": \"ap-guangzhou-4\"\n}",
|
|
143
|
+
"output": "{\n \"Response\": {\n \"BigDealIds\": [],\n \"ClusterIds\": [],\n \"DealNames\": [\n \"20250909448021542853581\"\n ],\n \"RequestId\": \"081ec9cb-d476-4202-8943-966e1e552e3f\",\n \"ResourceIds\": [],\n \"TranId\": \"20250909448021542853591\"\n }\n}",
|
|
144
|
+
"title": "Creating an Integrated Cluster"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
131
147
|
"CreateParamTemplate": [
|
|
132
148
|
{
|
|
133
149
|
"document": "This example shows you how to create a parameter template.",
|
|
@@ -190,6 +206,14 @@
|
|
|
190
206
|
"title": "Deleting a backup"
|
|
191
207
|
}
|
|
192
208
|
],
|
|
209
|
+
"DeleteCLSDelivery": [
|
|
210
|
+
{
|
|
211
|
+
"document": "",
|
|
212
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCLSDelivery\n<Common request parameters>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-o971o62r\",\n \"CLSTopicIds\": [\n \"83dc6703-f43a-4b95-92ec-267bdf9e48c3\",\n \"2a289122-0b01-490b-be75-763da79621fe\"\n ]\n}",
|
|
213
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 176382,\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\"\n }\n}",
|
|
214
|
+
"title": "Delete Log Delivery"
|
|
215
|
+
}
|
|
216
|
+
],
|
|
193
217
|
"DeleteClusterDatabase": [
|
|
194
218
|
{
|
|
195
219
|
"document": " ",
|
|
@@ -222,6 +246,14 @@
|
|
|
222
246
|
"title": "Query a Database Account List"
|
|
223
247
|
}
|
|
224
248
|
],
|
|
249
|
+
"DescribeAuditInstanceList": [
|
|
250
|
+
{
|
|
251
|
+
"document": "This example shows you how to retrieve the audit instance list.",
|
|
252
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuditInstanceList\n<Common request parameters>\n\n{\n \"AuditMode\": 0,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"cynosdbmysql-ins-6990cckk\"\n ],\n \"Name\": \"InstanceId\",\n \"ExactMatch\": true\n }\n ],\n \"AuditSwitch\": 0,\n \"Offset\": 1\n}",
|
|
253
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"43-12121-812w1221213-62usf9093\",\n \"Items\": [\n {\n \"RealStorage\": 0,\n \"BillingAmount\": 0,\n \"LowRealStorage\": 0,\n \"InstanceId\": \"cynosdbmysql-ins-6990cckk\",\n \"CreateAt\": \"2022-03-02 10:09:08\",\n \"AuditStatus\": \"1\",\n \"LogExpireDay\": 1,\n \"AuditAll\": true,\n \"InstanceInfo\": {\n \"ProjectId\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"name\",\n \"TagValue\": \"zhang\"\n }\n ]\n },\n \"HighRealStorage\": 0,\n \"HighLogExpireDay\": 30,\n \"LowLogExpireDay\": 7\n }\n ]\n }\n}",
|
|
254
|
+
"title": "Retrieve the Audit Instance List"
|
|
255
|
+
}
|
|
256
|
+
],
|
|
225
257
|
"DescribeAuditRuleTemplates": [
|
|
226
258
|
{
|
|
227
259
|
"document": "This example shows you how to query audit rule template information.",
|
|
@@ -240,10 +272,18 @@
|
|
|
240
272
|
],
|
|
241
273
|
"DescribeBackupConfig": [
|
|
242
274
|
{
|
|
243
|
-
"document": " ",
|
|
244
|
-
"input": "
|
|
245
|
-
"output": "{\n \"Response\": {\n \"BackupFreq\": [\n \"full\",\n \"
|
|
246
|
-
"title": "
|
|
275
|
+
"document": "Describe Backup Config",
|
|
276
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupConfig\n<common request parameters>\n\n{\n \"ClusterId\": \"cynosdbmysql-aws1kpv6\"\n}",
|
|
277
|
+
"output": "{\n \"Response\": {\n \"BackupFreq\": [\n \"full\",\n \"full\",\n \"full\",\n \"full\",\n \"full\",\n \"full\",\n \"full\"\n ],\n \"BackupTimeBeg\": 7200,\n \"BackupTimeEnd\": 21600,\n \"BackupType\": \"snapshot\",\n \"LogicBackupConfig\": {\n \"LogicBackupEnable\": \"OFF\",\n \"LogicBackupTimeBeg\": 0,\n \"LogicBackupTimeEnd\": 0,\n \"LogicCrossRegions\": null,\n \"LogicCrossRegionsEnable\": \"\",\n \"LogicReserveDuration\": 0\n },\n \"LogicCrossRegionsConfigUpdateTime\": \"\",\n \"RequestId\": \"e0127059-bb40-4308-a67d-c3bcddba372e\",\n \"ReserveDuration\": 604800\n }\n}",
|
|
278
|
+
"title": ""
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"DescribeBackupDownloadRestriction": [
|
|
282
|
+
{
|
|
283
|
+
"document": "This example shows you how to query the backup download limit.",
|
|
284
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupDownloadRestriction\n<Common request parameters>\n\n{\n \"ClusterIds\": [\n \"cynosdbmysql-2p3wjmzt\"\n ]\n}",
|
|
285
|
+
"output": "{\n \"Response\": {\n \"BackupLimitClusterRestrictions\": [\n {\n \"BackupLimitRestriction\": {\n \"IpComparisonSymbol\": \"In\",\n \"LimitIps\": [],\n \"LimitType\": \"Customize\",\n \"LimitVpcs\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"VpcList\": []\n }\n ],\n \"VpcComparisonSymbol\": \"In\"\n },\n \"ClusterId\": \"cynosdbmysql-2p3wjmzt\"\n }\n ],\n \"RequestId\": \"36eca298-c9b7-4e13-8f33-3c07926ee0d8\"\n }\n}",
|
|
286
|
+
"title": "Query Backup Download Limit"
|
|
247
287
|
}
|
|
248
288
|
],
|
|
249
289
|
"DescribeBackupDownloadUrl": [
|
|
@@ -254,6 +294,14 @@
|
|
|
254
294
|
"title": "Query the Download Address of a Cluster Backup File"
|
|
255
295
|
}
|
|
256
296
|
],
|
|
297
|
+
"DescribeBackupDownloadUserRestriction": [
|
|
298
|
+
{
|
|
299
|
+
"document": "Default backup download source restrictions for user-level settings in the current region",
|
|
300
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupDownloadUserRestriction\n<Common request parameters>\n\n{\n \"Limit\": 1,\n \"Offset\": 0,\n \"OnlyUserRestriction\": false\n}",
|
|
301
|
+
"output": "{\n \"Response\": {\n \"BackupLimitClusterRestrictions\": [\n {\n \"BackupLimitRestriction\": {\n \"IpComparisonSymbol\": \"In\",\n \"LimitIps\": [],\n \"LimitType\": \"Customize\",\n \"LimitVpcs\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"VpcList\": []\n }\n ],\n \"VpcComparisonSymbol\": \"In\"\n },\n \"ClusterId\": \"cynosdbmysql-2p3wjmzt\"\n }\n ],\n \"RequestId\": \"36eca298-c9b7-4e13-8f33-3c07926ee0d8\"\n }\n}",
|
|
302
|
+
"title": "Default Backup Download Source Limit for User-Level Settings in the Current Region"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
257
305
|
"DescribeBackupList": [
|
|
258
306
|
{
|
|
259
307
|
"document": "Queries the backup file list",
|
|
@@ -294,6 +342,14 @@
|
|
|
294
342
|
"title": "Query the Binlog Log List of a Cluster"
|
|
295
343
|
}
|
|
296
344
|
],
|
|
345
|
+
"DescribeChangedParamsAfterUpgrade": [
|
|
346
|
+
{
|
|
347
|
+
"document": "This example shows you how to query comparison results of running parameters during specification adjustment.",
|
|
348
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeChangedParamsAfterUpgrade\n<Common request parameters>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-p8dst5v9\",\n \"DstCpu\": 1,\n \"DstMem\": 1\n}",
|
|
349
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7613eed6-5eb5-4d17-ae69-dd93c44d7ad4\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"ParamName\": \"demoString\",\n \"NewValue\": \"demoString\",\n \"OldValue\": \"demoString\",\n \"ValueFunction\": \"demoString\"\n }\n ]\n }\n}",
|
|
350
|
+
"title": "Querying Comparison Results of Running Parameters During Specification Adjustment"
|
|
351
|
+
}
|
|
352
|
+
],
|
|
297
353
|
"DescribeClusterDatabaseTables": [
|
|
298
354
|
{
|
|
299
355
|
"document": " ",
|
|
@@ -302,6 +358,14 @@
|
|
|
302
358
|
"title": "Access the table List"
|
|
303
359
|
}
|
|
304
360
|
],
|
|
361
|
+
"DescribeClusterDatabases": [
|
|
362
|
+
{
|
|
363
|
+
"document": "",
|
|
364
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDatabases\n<Common request parameters>\n\n{\n \"ClusterId\": \"cynosdbmysql-tsjwe7iu\"\n}",
|
|
365
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 3,\n \"Limit\": 20,\n \"Offset\": 0,\n \"RequestId\": \"806fe1c8-5567-4aa8-a521-ea2414c793b4\",\n \"Databases\": [\n \"database_1\",\n \"database_2\"\n ]\n }\n}",
|
|
366
|
+
"title": "Retrieve a Cluster Database List"
|
|
367
|
+
}
|
|
368
|
+
],
|
|
305
369
|
"DescribeClusterDetail": [
|
|
306
370
|
{
|
|
307
371
|
"document": "This example shows you how to describe cluster information.",
|
|
@@ -342,6 +406,14 @@
|
|
|
342
406
|
"title": "View Cluster Password Complexity Details"
|
|
343
407
|
}
|
|
344
408
|
],
|
|
409
|
+
"DescribeClusterReadOnly": [
|
|
410
|
+
{
|
|
411
|
+
"document": "",
|
|
412
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterReadOnly\n<Common request parameters>\n\n{\n \"ClusterIds\": [\n \"cynosdbmysql-jl17y89v\",\n \"cynosdbmysql-2d9pq38h\"\n ]\n}",
|
|
413
|
+
"output": "{\n \"Response\": {\n \"ClusterReadOnlyValues\": [\n {\n \"ClusterId\": \"cynosdbmysql-jl17y89v\",\n \"ReadOnlyValue\": \"ON\"\n },\n {\n \"ClusterId\": \"cynosdbmysql-2d9pq38h\",\n \"ReadOnlyValue\": \"ON\"\n }\n ],\n \"RequestId\": \"48b7cd8a-f6dd-4e47-a78a-ssfff\"\n }\n}",
|
|
414
|
+
"title": "Query Cluster Read-Only Switch"
|
|
415
|
+
}
|
|
416
|
+
],
|
|
345
417
|
"DescribeClusterTransparentEncryptInfo": [
|
|
346
418
|
{
|
|
347
419
|
"document": "",
|
|
@@ -374,6 +446,14 @@
|
|
|
374
446
|
"title": "Query Task Flow Information"
|
|
375
447
|
}
|
|
376
448
|
],
|
|
449
|
+
"DescribeInstanceCLSLogDelivery": [
|
|
450
|
+
{
|
|
451
|
+
"document": "",
|
|
452
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceCLSLogDelivery\n<Common request parameters>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-o971o62r\"\n}",
|
|
453
|
+
"output": "{\n \"Response\": {\n \"InstanceCLSDeliveryInfos\": [\n {\n \"GroupId\": \"a5532aba-506f-4ec4-a293-e0ac34b69a4e\",\n \"GroupName\": \"cloud_cynos_-test-003_logset\",\n \"InstanceId\": \"cynosdbmysql-ins-o971o62r\",\n \"InstanceName\": \"cynosdbmysql-ins-o971o62r\",\n \"Region\": \"ap-qingyuan\",\n \"Status\": \"running\",\n \"TopicId\": \"2a289122-0b01-490b-be75-763da79621fe\",\n \"TopicName\": \"cloud_cynos_-test-003_topic\"\n },\n {\n \"GroupId\": \"2f484392-d3f1-491c-82a0-00ceaad9281a\",\n \"GroupName\": \"cloud_cynos_-test-002_logset\",\n \"InstanceId\": \"cynosdbmysql-ins-o971o62r\",\n \"InstanceName\": \"cynosdbmysql-ins-o971o62r\",\n \"Region\": \"ap-qingyuan\",\n \"Status\": \"running\",\n \"TopicId\": \"83dc6703-f43a-4b95-92ec-267bdf9e48c3\",\n \"TopicName\": \"cloud_cynos_-test-002_topic\"\n }\n ],\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\",\n \"TotalCount\": 2\n }\n}",
|
|
454
|
+
"title": "Querying Instance Log Shipping Information"
|
|
455
|
+
}
|
|
456
|
+
],
|
|
377
457
|
"DescribeInstanceDetail": [
|
|
378
458
|
{
|
|
379
459
|
"document": " ",
|
|
@@ -430,6 +510,14 @@
|
|
|
430
510
|
"title": "Query the Instance ID List Within the Unified Cluster"
|
|
431
511
|
}
|
|
432
512
|
],
|
|
513
|
+
"DescribeIntegrateTask": [
|
|
514
|
+
{
|
|
515
|
+
"document": "Describe Integrate Task",
|
|
516
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIntegrateTask\n<Common request parameters>\n\n{\n \"DealNames\": [\n \"20250922456021575003931\"\n ]\n}",
|
|
517
|
+
"output": "{\n \"Response\": {\n \"CurrentProgress\": \"5/5\",\n \"CurrentStep\": \"FinishTask\",\n \"RequestId\": \"de351c1d-72fa-477b-997a-8ae045f90da2\",\n \"TaskStatus\": \"success\"\n }\n}",
|
|
518
|
+
"title": "Querying an Integration Task"
|
|
519
|
+
}
|
|
520
|
+
],
|
|
433
521
|
"DescribeIsolatedInstances": [
|
|
434
522
|
{
|
|
435
523
|
"document": " ",
|
|
@@ -572,11 +660,19 @@
|
|
|
572
660
|
"title": "Query the Supported Database Proxy Versions"
|
|
573
661
|
}
|
|
574
662
|
],
|
|
663
|
+
"DescribeTasks": [
|
|
664
|
+
{
|
|
665
|
+
"document": "This example shows you how to query the task list.",
|
|
666
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<Common request parameters>\n\n{\n \"Limit\": 1,\n \"Offset\": 0\n}",
|
|
667
|
+
"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\\\":\\\"Configuration\\\",\\\"value\\\":\\\"1 core, 1 GB Memory\\\"},{\\\"name\\\":\\\"Region\\\",\\\"value\\\":\\\"ap-guangzhou\\\"},{\\\"name\\\":\\\"Availability zone\\\",\\\"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\\\":\\\"Postpaid cluster\\\",\\\"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}",
|
|
668
|
+
"title": "Querying the Task List"
|
|
669
|
+
}
|
|
670
|
+
],
|
|
575
671
|
"DescribeZones": [
|
|
576
672
|
{
|
|
577
673
|
"document": "This example shows you how to view only the availability zones that the user has the permission to access.",
|
|
578
674
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZones\n<Common request parameters>\n\n{}",
|
|
579
|
-
"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\": \"Guangzhou\"\n \"ZoneSet\": [\n {\n \"PhysicalZone\": \"ap-guangzhou-
|
|
675
|
+
"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\": \"Guangzhou\"\n \"ZoneSet\": [\n {\n \"PhysicalZone\": \"ap-guangzhou-3\",\n \"Zone\": \"ap-guangzhou-3\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 100003,\n \"IsSupportNormal\": 0,\n\"ZoneZh\": \"Guangzhou Zone 3\"\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\": \"Guangzhou Zone 5\"\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\": \"Beijing\"\n \"ZoneSet\": [\n {\n \"PhysicalZone\": \"ap-beijing-5\",\n \"Zone\": \"ap-beijing-5\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 800001,\n \"IsSupportNormal\": 0,\n\"ZoneZh\": \"Beijing Zone 5\"\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"whole_rdma\",\n \"IsSupportCreateCluster\": 1\n }\n ]\n }\n ],\n \"RequestId\": \"8fa5cf5-77db-4e32-90ef-22c71ed95f51\"\n }\n}",
|
|
580
676
|
"title": "Query Marketable Regional Availability Zone Information"
|
|
581
677
|
}
|
|
582
678
|
],
|
|
@@ -620,6 +716,14 @@
|
|
|
620
716
|
"title": "Query the Price for Resizing Prepaid Resources"
|
|
621
717
|
}
|
|
622
718
|
],
|
|
719
|
+
"InquirePriceMultiSpec": [
|
|
720
|
+
{
|
|
721
|
+
"document": "",
|
|
722
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquirePriceMultiSpec\n<Common request parameters>\n\n{\n \"Zone\": \"ap-guangzhou-4\",\n \"InstancePayMode\": \"PREPAID\",\n \"StoragePayMode\": \"POSTPAID\",\n \"GoodsSpecs\": [\n {\n \"GoodsNum\": 1,\n \"Cpu\": 1,\n \"Memory\": 1,\n \"TimeSpan\": 1,\n \"TimeUnit\": \"m\"\n }\n ]\n}",
|
|
723
|
+
"output": "{\n \"Response\": {\n \"GoodsPrice\": [\n {\n \"GoodsSpec\": {\n \"Ccu\": 0,\n \"Cpu\": 1,\n \"DeviceType\": \"\",\n \"GoodsNum\": 1,\n \"Memory\": 1,\n \"StorageLimit\": 0,\n \"TimeSpan\": 1,\n \"TimeUnit\": \"m\"\n },\n \"InstancePrice\": {\n \"ChargeUnit\": \"m\",\n \"Discount\": 100,\n \"TotalPrice\": 6000,\n \"TotalPriceDiscount\": 6000,\n \"UnitPrice\": 0,\n \"UnitPriceDiscount\": 0\n },\n \"StoragePrice\": {\n \"ChargeUnit\": \"\",\n \"Discount\": 0,\n \"TotalPrice\": 0,\n \"TotalPriceDiscount\": 0,\n \"UnitPrice\": 0,\n \"UnitPriceDiscount\": 0\n }\n }\n ],\n \"RequestId\": \"b30bbeef-370b-4176c085\"\n }\n}",
|
|
724
|
+
"title": "Querying Multi-Specification Pricing"
|
|
725
|
+
}
|
|
726
|
+
],
|
|
623
727
|
"InquirePriceRenew": [
|
|
624
728
|
{
|
|
625
729
|
"document": " ",
|
|
@@ -692,6 +796,22 @@
|
|
|
692
796
|
"title": "Modify Cluster Backup Configuration"
|
|
693
797
|
}
|
|
694
798
|
],
|
|
799
|
+
"ModifyBackupDownloadRestriction": [
|
|
800
|
+
{
|
|
801
|
+
"document": "",
|
|
802
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBackupDownloadRestriction\n<Common request parameters>\n\n{\n \"ClusterIds\": [\n \"cynosdbmysql-2p3wjmzt\"\n ],\n \"LimitType\": \"NoLimit\",\n \"VpcComparisonSymbol\": \"\",\n \"IpComparisonSymbol\": \"\",\n \"LimitVpcs\": [],\n \"LimitIps\": []\n}",
|
|
803
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1530aee8-5130-45ce-9f4e-dfb50a55e4d4\"\n }\n}",
|
|
804
|
+
"title": "Modify Cluster Download Limit"
|
|
805
|
+
}
|
|
806
|
+
],
|
|
807
|
+
"ModifyBackupDownloadUserRestriction": [
|
|
808
|
+
{
|
|
809
|
+
"document": "",
|
|
810
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBackupDownloadUserRestriction\n<Common request parameters>\n\n{\n \"LimitType\": \"NoLimit\",\n \"VpcComparisonSymbol\": \"\",\n \"IpComparisonSymbol\": \"\",\n \"LimitVpcs\": [],\n \"LimitIps\": []\n}",
|
|
811
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1530aee8-5130-45ce-9f4e-dfb50a55e4d4\"\n }\n}",
|
|
812
|
+
"title": "Modify the Backup File Limit in the User'S Current Region"
|
|
813
|
+
}
|
|
814
|
+
],
|
|
695
815
|
"ModifyBackupName": [
|
|
696
816
|
{
|
|
697
817
|
"document": " ",
|
|
@@ -748,12 +868,20 @@
|
|
|
748
868
|
"title": "Used to Modify/Enable the Cluster Password Complexity"
|
|
749
869
|
}
|
|
750
870
|
],
|
|
871
|
+
"ModifyClusterReadOnly": [
|
|
872
|
+
{
|
|
873
|
+
"document": "",
|
|
874
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyClusterReadOnly\n<Common request parameters>\n\n{\n \"ClusterIds\": [\n \"cynosdbmysql-jl17y89v\",\n \"cynosdbmysql-2d9pq38h\"\n ],\n \"ReadOnlyOperation\": \"ON\",\n \"IsInMaintainPeriod\": \"no\"\n}",
|
|
875
|
+
"output": "{\n \"Response\": {\n \"ClusterTaskIds\": [\n {\n \"ClusterId\": \"cynosdbmysql-jl17y89v\",\n \"TaskId\": \"176551\"\n },\n {\n \"ClusterId\": \"cynosdbmysql-2d9pq38h\",\n \"TaskId\": \"176552\"\n }\n ],\n \"RequestId\": \"48b7cd8a-f6dd-4e47-a78a-ssfff\"\n }\n}",
|
|
876
|
+
"title": "Modify the Cluster Read-Only Switch"
|
|
877
|
+
}
|
|
878
|
+
],
|
|
751
879
|
"ModifyClusterSlaveZone": [
|
|
752
880
|
{
|
|
753
881
|
"document": "",
|
|
754
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyClusterSlaveZone\n<common request parameters>\n\n{\n \"ClusterId\": \"cynosdbmysql-asd\",\n \"OldSlaveZone\": \"ap-guangzhou-
|
|
882
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyClusterSlaveZone\n<common request parameters>\n\n{\n \"ClusterId\": \"cynosdbmysql-asd\",\n \"OldSlaveZone\": \"ap-guangzhou-4\",\n \"NewSlaveZone\": \"ap-guangzhou-3\",\n \"BinlogSyncWay\": \"async\",\n \"SemiSyncTimeout\": 10000\n}",
|
|
755
883
|
"output": "{\n \"Response\": {\n \"FlowId\": 123,\n \"RequestId\": \"128046\"\n }\n}",
|
|
756
|
-
"title": ""
|
|
884
|
+
"title": "Modifies the replica AZ"
|
|
757
885
|
}
|
|
758
886
|
],
|
|
759
887
|
"ModifyDBInstanceSecurityGroups": [
|
|
@@ -780,6 +908,14 @@
|
|
|
780
908
|
"title": "Modifying the instance parameters"
|
|
781
909
|
}
|
|
782
910
|
],
|
|
911
|
+
"ModifyInstanceUpgradeLimitDays": [
|
|
912
|
+
{
|
|
913
|
+
"document": "",
|
|
914
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceUpgradeLimitDays\n<Common request parameters>\n\n{\n \"ClusterId\": \"cynosdbmysql-mwg7212w\",\n \"InstanceId\": \"cynosdbmysql-ins-m6f0hjkx\",\n \"UpgradeLimitDays\": 30\n}",
|
|
915
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"588fbc90-61a4-4125-bc70-65a3f8d1327e\"\n }\n}",
|
|
916
|
+
"title": "Modify the Time Limit for Minor Version Upgrade of an Instance"
|
|
917
|
+
}
|
|
918
|
+
],
|
|
783
919
|
"ModifyMaintainPeriodConfig": [
|
|
784
920
|
{
|
|
785
921
|
"document": " ",
|
|
@@ -954,6 +1090,22 @@
|
|
|
954
1090
|
"title": ""
|
|
955
1091
|
}
|
|
956
1092
|
],
|
|
1093
|
+
"RenewClusters": [
|
|
1094
|
+
{
|
|
1095
|
+
"document": "This example shows you how to renew a cluster.",
|
|
1096
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RenewClusters\n<Common request parameters>\n\n{\n \"TimeUnit\": \"m\",\n \"DealMode\": 0,\n \"ClusterId\": \"cynosdbmysql-grhvkwd\",\n \"TimeSpan\": 1\n}",
|
|
1097
|
+
"output": "{\n \"Response\": {\n \"BigDealIds\": [\n \"20241223054076837313781\",\n \"20241223054076837313781\"\n ],\n \"ClusterIds\": [\n \"cynosdbmysql-b6sy2i0oi\"\n ],\n \"DealNames\": [\n \"20241223054076837520111\",\n \"20241223054076837520121\"\n ],\n \"RequestId\": \"623f7cc5-ce5f-4f11-ad96-97bd07dad332\",\n \"ResourceIds\": [\n \"cynosdbmysql-ins-bx72i9ws\",\n \"cynosdbmysql-ins-i8g3n8xq\"\n ],\n \"TranId\": \"\"\n }\n}",
|
|
1098
|
+
"title": "Renew a Cluster"
|
|
1099
|
+
}
|
|
1100
|
+
],
|
|
1101
|
+
"ReplayInstanceAuditLog": [
|
|
1102
|
+
{
|
|
1103
|
+
"document": "This example shows you how to replay an instance audit log.",
|
|
1104
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<Common request parameters>\n\n{\n \"StartTime\": \"2025-06-26 14:00:00\",\n \"EndTime\": \"2025-06-26 16:00:00\",\n \"SourceClusterId\": \"cynosdbmysql-8j1jtwkv\",\n \"SourceInstanceId\": \"cynosdbmysql-ins-2fbftt98\",\n \"TargetClusterId\": \"cynosdbmysql-kwoft68f\",\n \"TargetInstanceId\": \"cynosdbmysql-ins-431w3zh0\",\n \"TargetUserName\": \"root\",\n \"TargetPassword\": \"Calebzhao123.\"\n}",
|
|
1105
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"y7rtl807j00d80oid44s34c100ros3iy\",\n \"TaskId\": 678\n }\n}",
|
|
1106
|
+
"title": "Replaying Instance Audit Logs"
|
|
1107
|
+
}
|
|
1108
|
+
],
|
|
957
1109
|
"ResetAccountPassword": [
|
|
958
1110
|
{
|
|
959
1111
|
"document": "",
|
|
@@ -978,6 +1130,22 @@
|
|
|
978
1130
|
"title": "Resuming a serverless cluster"
|
|
979
1131
|
}
|
|
980
1132
|
],
|
|
1133
|
+
"RollBackCluster": [
|
|
1134
|
+
{
|
|
1135
|
+
"document": "This example shows you how to perform a cluster rollback.",
|
|
1136
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollBackCluster\n<Common request parameters>\n\n{\n \"RollbackId\": 1,\n \"ClusterId\": \"cynosdbmysql-j9i41hff\",\n \"ExpectTimeThresh\": 1,\n \"RollbackStrategy\": \"snapRollback\",\n \"RollbackTables\": [\n {\n \"Tables\": [\n {\n \"OldTable\": \"old_table\",\n \"NewTable\": \"new_table\"\n }\n ],\n \"Database\": \"old_db1\"\n }\n ],\n \"ExpectTime\": \"2022-01-20 00:00:00\",\n \"RollbackDatabases\": [\n {\n \"NewDatabase\": \"new_db2\",\n \"OldDatabase\": \"old_db2\"\n }\n ]\n}",
|
|
1137
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\",\n \"FlowId\": \"147283\"\n }\n}",
|
|
1138
|
+
"title": "Cluster Rollback"
|
|
1139
|
+
}
|
|
1140
|
+
],
|
|
1141
|
+
"RollbackToNewCluster": [
|
|
1142
|
+
{
|
|
1143
|
+
"document": "This example shows you how to roll back to the new cluster.",
|
|
1144
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollbackToNewCluster\n<Common request parameters>\n\n{\n \"Zone\": \"ap-guangzhou-3\",\n \"ClusterName\": \"\",\n \"ProjectId\": 0,\n \"PayMode\": 0,\n \"OriginalClusterId\": \"cynosdbmysql-0fs2nhc7\",\n \"RollbackId\": 64142,\n \"InstanceInitInfos\": [\n {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"InstanceType\": \"rw\",\n \"InstanceCount\": 1\n }\n ],\n \"UniqVpcId\": \"vpc-ns1jr6ff\",\n \"UniqSubnetId\": \"subnet-gncsqeuq\"\n}",
|
|
1145
|
+
"output": "{\n \"Response\": {\n \"BigDealIds\": [],\n \"ClusterIds\": [],\n \"DealNames\": [\n \"20250928456021591536011\"\n ],\n \"RequestId\": \"0c646e65-3597-44d7-b68b-d43391eedb33\",\n \"ResourceIds\": [],\n \"TranId\": \"20250928456021591536021\"\n }\n}",
|
|
1146
|
+
"title": "Rollback to a New Cluster"
|
|
1147
|
+
}
|
|
1148
|
+
],
|
|
981
1149
|
"SearchClusterDatabases": [
|
|
982
1150
|
{
|
|
983
1151
|
"document": "",
|
|
@@ -1002,6 +1170,22 @@
|
|
|
1002
1170
|
"title": "Setting the auto-renewal flag"
|
|
1003
1171
|
}
|
|
1004
1172
|
],
|
|
1173
|
+
"StartCLSDelivery": [
|
|
1174
|
+
{
|
|
1175
|
+
"document": "",
|
|
1176
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartCLSDelivery\n<Common request parameters>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-o971o62r\",\n \"CLSTopicIds\": [\n \"83dc6703-f43a-4b95-92ec-267bdf9e48c3\",\n \"2a289122-0b01-490b-be75-763da79621fe\"\n ]\n}",
|
|
1177
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 123456,\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\"\n }\n}",
|
|
1178
|
+
"title": "Enabling Log Shipping"
|
|
1179
|
+
}
|
|
1180
|
+
],
|
|
1181
|
+
"StopCLSDelivery": [
|
|
1182
|
+
{
|
|
1183
|
+
"document": "",
|
|
1184
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopCLSDelivery\n<Common request parameters>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-o971o62r\",\n \"CLSTopicIds\": [\n \"83dc6703-f43a-4b95-92ec-267bdf9e48c3\",\n \"2a289122-0b01-490b-be75-763da79621fe\"\n ]\n}",
|
|
1185
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 123456,\n \"RequestId\": \"347698da-03e4-4078-8d96-9a8b219c01a5\"\n }\n}",
|
|
1186
|
+
"title": "Disabling Log Shipping"
|
|
1187
|
+
}
|
|
1188
|
+
],
|
|
1005
1189
|
"SwitchClusterVpc": [
|
|
1006
1190
|
{
|
|
1007
1191
|
"document": "This example shows you how to switch network.",
|
|
@@ -1013,9 +1197,9 @@
|
|
|
1013
1197
|
"SwitchClusterZone": [
|
|
1014
1198
|
{
|
|
1015
1199
|
"document": "",
|
|
1016
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SwitchClusterZone\n<common request parameters>\n\n{\n \"ClusterId\": \"cynosdbmysql-asd\",\n \"OldZone\": \"ap-guangzhou-
|
|
1200
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SwitchClusterZone\n<common request parameters>\n\n{\n \"ClusterId\": \"cynosdbmysql-asd\",\n \"OldZone\": \"ap-guangzhou-4\",\n \"NewZone\": \"ap-guangzhou-3\",\n \"IsInMaintainPeriod\": \"yes\"\n}",
|
|
1017
1201
|
"output": "{\n \"Response\": {\n \"FlowId\": 123,\n \"RequestId\": \"128046\"\n }\n}",
|
|
1018
|
-
"title": ""
|
|
1202
|
+
"title": "Switches to the replica AZ"
|
|
1019
1203
|
}
|
|
1020
1204
|
],
|
|
1021
1205
|
"SwitchProxyVpc": [
|
|
@@ -27,7 +27,10 @@ def doSendMessage(args, parsed_globals):
|
|
|
27
27
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
28
28
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
29
29
|
)
|
|
30
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
30
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
31
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
32
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
33
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
31
34
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
32
35
|
else:
|
|
33
36
|
cred = credential.Credential(
|
|
@@ -39,7 +42,7 @@ def doSendMessage(args, parsed_globals):
|
|
|
39
42
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
40
43
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
41
44
|
)
|
|
42
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
45
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
43
46
|
if g_param[OptionsDefine.Language]:
|
|
44
47
|
profile.language = g_param[OptionsDefine.Language]
|
|
45
48
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|