tccli-intl-en 3.0.1265.1__py2.py3-none-any.whl → 3.0.1283.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.
Files changed (185) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argument.py +1 -1
  3. tccli/services/__init__.py +5 -1
  4. tccli/services/advisor/advisor_client.py +10 -4
  5. tccli/services/aiart/aiart_client.py +5 -2
  6. tccli/services/ams/ams_client.py +20 -8
  7. tccli/services/antiddos/antiddos_client.py +350 -140
  8. tccli/services/apigateway/apigateway_client.py +465 -186
  9. tccli/services/apm/apm_client.py +835 -68
  10. tccli/services/apm/v20210622/api.json +3936 -1145
  11. tccli/services/apm/v20210622/examples.json +133 -23
  12. tccli/services/asr/asr_client.py +10 -4
  13. tccli/services/autoscaling/autoscaling_client.py +290 -116
  14. tccli/services/autoscaling/v20180419/api.json +1 -1
  15. tccli/services/batch/batch_client.py +140 -56
  16. tccli/services/bi/bi_client.py +120 -48
  17. tccli/services/billing/billing_client.py +210 -84
  18. tccli/services/cam/cam_client.py +405 -162
  19. tccli/services/captcha/captcha_client.py +5 -2
  20. tccli/services/car/car_client.py +165 -66
  21. tccli/services/cbs/cbs_client.py +190 -76
  22. tccli/services/ccc/ccc_client.py +515 -146
  23. tccli/services/ccc/v20200210/api.json +511 -27
  24. tccli/services/ccc/v20200210/examples.json +24 -0
  25. tccli/services/cdb/cdb_client.py +665 -266
  26. tccli/services/cdc/cdc_client.py +100 -40
  27. tccli/services/cdn/cdn_client.py +220 -88
  28. tccli/services/cdwdoris/cdwdoris_client.py +385 -154
  29. tccli/services/cdwpg/cdwpg_client.py +120 -48
  30. tccli/services/cdz/cdz_client.py +5 -2
  31. tccli/services/cfg/cfg_client.py +80 -32
  32. tccli/services/cfs/cfs_client.py +195 -78
  33. tccli/services/cfw/cfw_client.py +330 -132
  34. tccli/services/chdfs/chdfs_client.py +145 -58
  35. tccli/services/ciam/ciam_client.py +80 -32
  36. tccli/services/ckafka/ckafka_client.py +629 -131
  37. tccli/services/ckafka/v20190819/api.json +2749 -1470
  38. tccli/services/ckafka/v20190819/examples.json +209 -155
  39. tccli/services/clb/clb_client.py +415 -166
  40. tccli/services/clb/v20180317/api.json +29 -14
  41. tccli/services/cloudaudit/cloudaudit_client.py +90 -36
  42. tccli/services/cls/cls_client.py +434 -173
  43. tccli/services/cmq/cmq_client.py +10 -4
  44. tccli/services/config/config_client.py +30 -12
  45. tccli/services/controlcenter/controlcenter_client.py +5 -2
  46. tccli/services/csip/csip_client.py +170 -68
  47. tccli/services/ctsdb/ctsdb_client.py +10 -4
  48. tccli/services/cvm/cvm_client.py +420 -168
  49. tccli/services/cvm/v20170312/api.json +239 -133
  50. tccli/services/cvm/v20170312/examples.json +101 -101
  51. tccli/services/cwp/cwp_client.py +2325 -930
  52. tccli/services/cynosdb/cynosdb_client.py +1887 -577
  53. tccli/services/cynosdb/v20190107/api.json +11763 -7697
  54. tccli/services/cynosdb/v20190107/examples.json +132 -4
  55. tccli/services/dataintegration/dataintegration_client.py +5 -2
  56. tccli/services/dayu/dayu_client.py +515 -206
  57. tccli/services/dbbrain/dbbrain_client.py +210 -84
  58. tccli/services/dc/dc_client.py +90 -36
  59. tccli/services/dcdb/dcdb_client.py +310 -124
  60. tccli/services/dlc/dlc_client.py +808 -216
  61. tccli/services/dlc/v20210125/api.json +534 -13
  62. tccli/services/dlc/v20210125/examples.json +40 -0
  63. tccli/services/dms/dms_client.py +10 -4
  64. tccli/services/dnspod/dnspod_client.py +200 -80
  65. tccli/services/domain/domain_client.py +120 -48
  66. tccli/services/dts/dts_client.py +415 -166
  67. tccli/services/eb/eb_client.py +130 -52
  68. tccli/services/ecdn/ecdn_client.py +75 -30
  69. tccli/services/ecm/ecm_client.py +620 -248
  70. tccli/services/eiam/eiam_client.py +200 -80
  71. tccli/services/emr/emr_client.py +385 -154
  72. tccli/services/es/es_client.py +105 -42
  73. tccli/services/facefusion/facefusion_client.py +15 -6
  74. tccli/services/faceid/faceid_client.py +95 -38
  75. tccli/services/faceid/v20180301/examples.json +2 -2
  76. tccli/services/gaap/gaap_client.py +440 -176
  77. tccli/services/gme/gme_client.py +50 -20
  78. tccli/services/gpm/gpm_client.py +90 -36
  79. tccli/services/gse/gse_client.py +110 -44
  80. tccli/services/gwlb/gwlb_client.py +90 -36
  81. tccli/services/iai/iai_client.py +145 -58
  82. tccli/services/iap/iap_client.py +30 -12
  83. tccli/services/ims/ims_client.py +5 -2
  84. tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +210 -84
  85. tccli/services/iotcloud/iotcloud_client.py +100 -40
  86. tccli/services/ip/ip_client.py +30 -12
  87. tccli/services/kms/kms_client.py +340 -136
  88. tccli/services/lcic/lcic_client.py +265 -106
  89. tccli/services/lighthouse/lighthouse_client.py +370 -148
  90. tccli/services/live/live_client.py +600 -240
  91. tccli/services/lke/lke_client.py +450 -180
  92. tccli/services/lkeap/lkeap_client.py +142 -12
  93. tccli/services/lkeap/v20240522/api.json +263 -0
  94. tccli/services/lkeap/v20240522/examples.json +35 -1
  95. tccli/services/mariadb/mariadb_client.py +250 -100
  96. tccli/services/mdc/mdc_client.py +90 -36
  97. tccli/services/mdl/mdl_client.py +165 -66
  98. tccli/services/mdl/v20200326/api.json +186 -12
  99. tccli/services/mdl/v20200326/examples.json +16 -16
  100. tccli/services/mdp/mdp_client.py +416 -124
  101. tccli/services/mdp/v20200527/api.json +146 -14
  102. tccli/services/mdp/v20200527/examples.json +95 -79
  103. tccli/services/message/__init__.py +4 -0
  104. tccli/services/message/message_client.py +210 -0
  105. tccli/services/message/v20181225/api.json +72 -0
  106. tccli/services/message/v20181225/examples.json +13 -0
  107. tccli/services/mongodb/mongodb_client.py +369 -58
  108. tccli/services/mongodb/v20190725/api.json +811 -226
  109. tccli/services/mongodb/v20190725/examples.json +54 -22
  110. tccli/services/monitor/monitor_client.py +1008 -296
  111. tccli/services/monitor/v20180724/api.json +657 -8
  112. tccli/services/monitor/v20180724/examples.json +152 -4
  113. tccli/services/mps/mps_client.py +684 -184
  114. tccli/services/mps/v20190612/api.json +1656 -222
  115. tccli/services/mps/v20190612/examples.json +60 -10
  116. tccli/services/msp/msp_client.py +35 -14
  117. tccli/services/ocr/ocr_client.py +246 -76
  118. tccli/services/ocr/v20181119/api.json +83 -4
  119. tccli/services/ocr/v20181119/examples.json +8 -0
  120. tccli/services/omics/omics_client.py +100 -40
  121. tccli/services/organization/organization_client.py +580 -232
  122. tccli/services/postgres/postgres_client.py +455 -182
  123. tccli/services/privatedns/privatedns_client.py +155 -62
  124. tccli/services/pts/pts_client.py +240 -96
  125. tccli/services/quota/quota_client.py +229 -2
  126. tccli/services/quota/v20241204/api.json +451 -2
  127. tccli/services/quota/v20241204/examples.json +42 -3
  128. tccli/services/rce/rce_client.py +5 -2
  129. tccli/services/redis/redis_client.py +545 -218
  130. tccli/services/redis/v20180412/api.json +225 -113
  131. tccli/services/redis/v20180412/examples.json +19 -19
  132. tccli/services/region/region_client.py +15 -6
  133. tccli/services/rum/rum_client.py +300 -120
  134. tccli/services/scf/scf_client.py +210 -84
  135. tccli/services/ses/ses_client.py +145 -58
  136. tccli/services/sms/sms_client.py +90 -36
  137. tccli/services/sqlserver/sqlserver_client.py +695 -278
  138. tccli/services/ssl/ssl_client.py +190 -76
  139. tccli/services/ssm/ssm_client.py +120 -48
  140. tccli/services/sts/sts_client.py +25 -10
  141. tccli/services/tag/tag_client.py +150 -60
  142. tccli/services/tat/tat_client.py +95 -38
  143. tccli/services/tbaas/tbaas_client.py +20 -8
  144. tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
  145. tccli/services/tchd/tchd_client.py +5 -2
  146. tccli/services/tcmpp/tcmpp_client.py +520 -208
  147. tccli/services/tcr/tcr_client.py +380 -152
  148. tccli/services/tcsas/tcsas_client.py +295 -118
  149. tccli/services/tcsas/v20250106/api.json +101 -61
  150. tccli/services/tcsas/v20250106/examples.json +2 -2
  151. tccli/services/tcss/tcss_client.py +1650 -660
  152. tccli/services/tdid/tdid_client.py +240 -96
  153. tccli/services/tdmq/tdmq_client.py +470 -188
  154. tccli/services/tem/tem_client.py +280 -112
  155. tccli/services/teo/teo_client.py +1365 -483
  156. tccli/services/teo/v20220901/api.json +354 -39
  157. tccli/services/teo/v20220901/examples.json +24 -0
  158. tccli/services/tione/tione_client.py +5 -2
  159. tccli/services/tiw/tiw_client.py +255 -102
  160. tccli/services/tke/tke_client.py +690 -276
  161. tccli/services/tms/tms_client.py +5 -2
  162. tccli/services/tmt/tmt_client.py +5 -2
  163. tccli/services/trabbit/trabbit_client.py +145 -58
  164. tccli/services/trro/trro_client.py +95 -38
  165. tccli/services/trtc/trtc_client.py +255 -102
  166. tccli/services/trtc/v20190722/api.json +6 -6
  167. tccli/services/trtc/v20190722/examples.json +7 -7
  168. tccli/services/tts/tts_client.py +5 -2
  169. tccli/services/vclm/vclm_client.py +10 -4
  170. tccli/services/vm/vm_client.py +20 -8
  171. tccli/services/vod/vod_client.py +895 -358
  172. tccli/services/vpc/v20170312/api.json +970 -75
  173. tccli/services/vpc/v20170312/examples.json +106 -10
  174. tccli/services/vpc/vpc_client.py +2159 -644
  175. tccli/services/waf/waf_client.py +535 -214
  176. tccli/services/wedata/v20250806/api.json +13644 -0
  177. tccli/services/wedata/v20250806/examples.json +621 -0
  178. tccli/services/wedata/wedata_client.py +6067 -1263
  179. tccli/services/yunjing/yunjing_client.py +355 -142
  180. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1283.1.dist-info}/METADATA +4 -7
  181. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1283.1.dist-info}/RECORD +185 -179
  182. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1283.1.dist-info}/WHEEL +1 -1
  183. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1283.1.dist-info}/entry_points.txt +0 -1
  184. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1283.1.dist-info}/LICENSE +0 -0
  185. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1283.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,10 @@
240
272
  ],
241
273
  "DescribeBackupConfig": [
242
274
  {
243
- "document": " ",
244
- "input": "https://cynosdb.tencentcloudapi.com/?Action=DescribeBackupConfig\n&ClusterId=cynosdbmysql-45knmnra\n&<Common request parameters>",
245
- "output": "{\n \"Response\": {\n \"BackupFreq\": [\n \"full\",\n \"increment\",\n \"increment\",\n \"increment\",\n \"increment\",\n \"increment\",\n \"increment\"\n ],\n \"BackupType\": \"\",\n \"BackupTimeEnd\": 21600,\n \"BackupTimeBeg\": 7200,\n \"RequestId\": \"180877\",\n \"ReserveDuration\": 604800\n }\n}",
246
- "title": "Querying the backup configuration information"
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": ""
247
279
  }
248
280
  ],
249
281
  "DescribeBackupDownloadRestriction": [
@@ -310,6 +342,14 @@
310
342
  "title": "Query the Binlog Log List of a Cluster"
311
343
  }
312
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
+ ],
313
353
  "DescribeClusterDatabaseTables": [
314
354
  {
315
355
  "document": " ",
@@ -318,6 +358,14 @@
318
358
  "title": "Access the table List"
319
359
  }
320
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
+ ],
321
369
  "DescribeClusterDetail": [
322
370
  {
323
371
  "document": "This example shows you how to describe cluster information.",
@@ -398,6 +446,14 @@
398
446
  "title": "Query Task Flow Information"
399
447
  }
400
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
+ ],
401
457
  "DescribeInstanceDetail": [
402
458
  {
403
459
  "document": " ",
@@ -454,6 +510,14 @@
454
510
  "title": "Query the Instance ID List Within the Unified Cluster"
455
511
  }
456
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
+ ],
457
521
  "DescribeIsolatedInstances": [
458
522
  {
459
523
  "document": " ",
@@ -596,6 +660,14 @@
596
660
  "title": "Query the Supported Database Proxy Versions"
597
661
  }
598
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
+ ],
599
671
  "DescribeZones": [
600
672
  {
601
673
  "document": "This example shows you how to view only the availability zones that the user has the permission to access.",
@@ -644,6 +716,14 @@
644
716
  "title": "Query the Price for Resizing Prepaid Resources"
645
717
  }
646
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
+ ],
647
727
  "InquirePriceRenew": [
648
728
  {
649
729
  "document": " ",
@@ -828,6 +908,14 @@
828
908
  "title": "Modifying the instance parameters"
829
909
  }
830
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
+ ],
831
919
  "ModifyMaintainPeriodConfig": [
832
920
  {
833
921
  "document": " ",
@@ -1002,6 +1090,14 @@
1002
1090
  "title": ""
1003
1091
  }
1004
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
+ ],
1005
1101
  "ReplayInstanceAuditLog": [
1006
1102
  {
1007
1103
  "document": "This example shows you how to replay an instance audit log.",
@@ -1034,6 +1130,22 @@
1034
1130
  "title": "Resuming a serverless cluster"
1035
1131
  }
1036
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
+ ],
1037
1149
  "SearchClusterDatabases": [
1038
1150
  {
1039
1151
  "document": "",
@@ -1058,6 +1170,22 @@
1058
1170
  "title": "Setting the auto-renewal flag"
1059
1171
  }
1060
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
+ ],
1061
1189
  "SwitchClusterVpc": [
1062
1190
  {
1063
1191
  "document": "This example shows you how to switch network.",
@@ -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) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
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="HmacSHA256")
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]]