tccli-intl-en 3.0.1241.1__py2.py3-none-any.whl → 3.1.16.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 (239) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argument.py +1 -1
  3. tccli/services/__init__.py +29 -1
  4. tccli/services/advisor/advisor_client.py +10 -4
  5. tccli/services/ai3d/__init__.py +4 -0
  6. tccli/services/ai3d/ai3d_client.py +266 -0
  7. tccli/services/ai3d/v20250513/api.json +264 -0
  8. tccli/services/ai3d/v20250513/examples.json +20 -0
  9. tccli/services/aiart/aiart_client.py +5 -2
  10. tccli/services/ams/ams_client.py +20 -8
  11. tccli/services/antiddos/antiddos_client.py +350 -140
  12. tccli/services/apigateway/apigateway_client.py +465 -186
  13. tccli/services/apm/apm_client.py +835 -68
  14. tccli/services/apm/v20210622/api.json +3936 -1145
  15. tccli/services/apm/v20210622/examples.json +133 -23
  16. tccli/services/asr/asr_client.py +10 -4
  17. tccli/services/autoscaling/autoscaling_client.py +290 -116
  18. tccli/services/autoscaling/v20180419/api.json +78 -28
  19. tccli/services/batch/batch_client.py +140 -56
  20. tccli/services/bi/bi_client.py +1244 -6
  21. tccli/services/bi/v20220105/api.json +5340 -107
  22. tccli/services/bi/v20220105/examples.json +196 -1
  23. tccli/services/billing/billing_client.py +210 -84
  24. tccli/services/cam/cam_client.py +405 -162
  25. tccli/services/captcha/captcha_client.py +5 -2
  26. tccli/services/car/car_client.py +165 -66
  27. tccli/services/cbs/cbs_client.py +190 -76
  28. tccli/services/ccc/ccc_client.py +794 -160
  29. tccli/services/ccc/v20200210/api.json +1748 -217
  30. tccli/services/ccc/v20200210/examples.json +64 -0
  31. tccli/services/cdb/cdb_client.py +665 -266
  32. tccli/services/cdb/v20170320/api.json +334 -134
  33. tccli/services/cdb/v20170320/examples.json +3 -3
  34. tccli/services/cdc/cdc_client.py +100 -40
  35. tccli/services/cdc/v20201214/api.json +2 -2
  36. tccli/services/cdc/v20201214/examples.json +4 -4
  37. tccli/services/cdn/cdn_client.py +220 -88
  38. tccli/services/cdwdoris/cdwdoris_client.py +385 -154
  39. tccli/services/cdwpg/cdwpg_client.py +120 -48
  40. tccli/services/cdz/__init__.py +4 -0
  41. tccli/services/cdz/cdz_client.py +210 -0
  42. tccli/services/cdz/v20221123/api.json +233 -0
  43. tccli/services/cdz/v20221123/examples.json +12 -0
  44. tccli/services/cfg/cfg_client.py +80 -32
  45. tccli/services/cfs/cfs_client.py +195 -78
  46. tccli/services/cfw/cfw_client.py +330 -132
  47. tccli/services/chdfs/chdfs_client.py +145 -58
  48. tccli/services/ciam/ciam_client.py +80 -32
  49. tccli/services/ckafka/ckafka_client.py +1033 -255
  50. tccli/services/ckafka/v20190819/api.json +3378 -1681
  51. tccli/services/ckafka/v20190819/examples.json +254 -160
  52. tccli/services/clb/clb_client.py +1054 -469
  53. tccli/services/clb/v20180317/api.json +2273 -1020
  54. tccli/services/clb/v20180317/examples.json +184 -124
  55. tccli/services/cloudaudit/cloudaudit_client.py +90 -36
  56. tccli/services/cls/cls_client.py +434 -173
  57. tccli/services/cmq/cmq_client.py +14 -803
  58. tccli/services/cmq/v20190304/api.json +173 -1367
  59. tccli/services/cmq/v20190304/examples.json +0 -120
  60. tccli/services/config/config_client.py +30 -12
  61. tccli/services/controlcenter/controlcenter_client.py +229 -2
  62. tccli/services/controlcenter/v20230110/api.json +528 -5
  63. tccli/services/controlcenter/v20230110/examples.json +32 -0
  64. tccli/services/csip/csip_client.py +170 -68
  65. tccli/services/ctsdb/ctsdb_client.py +10 -4
  66. tccli/services/cvm/cvm_client.py +706 -189
  67. tccli/services/cvm/v20170312/api.json +851 -382
  68. tccli/services/cvm/v20170312/examples.json +173 -127
  69. tccli/services/cwp/cwp_client.py +2325 -930
  70. tccli/services/cynosdb/cynosdb_client.py +1887 -577
  71. tccli/services/cynosdb/v20190107/api.json +11763 -7697
  72. tccli/services/cynosdb/v20190107/examples.json +132 -4
  73. tccli/services/dataintegration/dataintegration_client.py +5 -2
  74. tccli/services/dayu/dayu_client.py +515 -206
  75. tccli/services/dbbrain/dbbrain_client.py +210 -84
  76. tccli/services/dc/dc_client.py +90 -36
  77. tccli/services/dcdb/dcdb_client.py +310 -124
  78. tccli/services/dlc/dlc_client.py +859 -214
  79. tccli/services/dlc/v20210125/api.json +637 -13
  80. tccli/services/dlc/v20210125/examples.json +48 -0
  81. tccli/services/dms/dms_client.py +10 -4
  82. tccli/services/dnspod/dnspod_client.py +302 -76
  83. tccli/services/dnspod/v20210323/api.json +153 -0
  84. tccli/services/dnspod/v20210323/examples.json +16 -0
  85. tccli/services/domain/domain_client.py +120 -48
  86. tccli/services/dts/dts_client.py +415 -166
  87. tccli/services/eb/eb_client.py +130 -52
  88. tccli/services/ecdn/ecdn_client.py +75 -30
  89. tccli/services/ecm/ecm_client.py +620 -248
  90. tccli/services/eiam/eiam_client.py +200 -80
  91. tccli/services/emr/emr_client.py +2815 -146
  92. tccli/services/emr/v20190103/api.json +14527 -4841
  93. tccli/services/emr/v20190103/examples.json +404 -36
  94. tccli/services/es/es_client.py +105 -42
  95. tccli/services/facefusion/facefusion_client.py +15 -6
  96. tccli/services/faceid/faceid_client.py +95 -38
  97. tccli/services/faceid/v20180301/api.json +107 -14
  98. tccli/services/faceid/v20180301/examples.json +3 -3
  99. tccli/services/gaap/gaap_client.py +440 -176
  100. tccli/services/gme/gme_client.py +50 -20
  101. tccli/services/gpm/gpm_client.py +90 -36
  102. tccli/services/gse/gse_client.py +110 -44
  103. tccli/services/gwlb/gwlb_client.py +90 -36
  104. tccli/services/hunyuan/__init__.py +4 -0
  105. tccli/services/hunyuan/hunyuan_client.py +266 -0
  106. tccli/services/hunyuan/v20230901/api.json +270 -0
  107. tccli/services/hunyuan/v20230901/examples.json +20 -0
  108. tccli/services/iai/iai_client.py +145 -58
  109. tccli/services/iap/iap_client.py +30 -12
  110. tccli/services/ims/ims_client.py +5 -2
  111. tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +210 -84
  112. tccli/services/intlpartnersmgt/v20220928/api.json +11 -11
  113. tccli/services/iotcloud/iotcloud_client.py +100 -40
  114. tccli/services/ip/ip_client.py +30 -12
  115. tccli/services/kms/kms_client.py +340 -136
  116. tccli/services/kms/v20190118/api.json +80 -3
  117. tccli/services/kms/v20190118/examples.json +3 -3
  118. tccli/services/lcic/lcic_client.py +265 -106
  119. tccli/services/lighthouse/lighthouse_client.py +370 -148
  120. tccli/services/lighthouse/v20200324/api.json +14 -14
  121. tccli/services/lighthouse/v20200324/examples.json +5 -5
  122. tccli/services/live/live_client.py +600 -240
  123. tccli/services/lke/lke_client.py +450 -180
  124. tccli/services/lke/v20231130/api.json +182 -39
  125. tccli/services/lkeap/__init__.py +4 -0
  126. tccli/services/lkeap/lkeap_client.py +602 -0
  127. tccli/services/lkeap/v20240522/api.json +953 -0
  128. tccli/services/lkeap/v20240522/examples.json +92 -0
  129. tccli/services/mariadb/mariadb_client.py +250 -100
  130. tccli/services/mdc/mdc_client.py +90 -36
  131. tccli/services/mdl/mdl_client.py +357 -90
  132. tccli/services/mdl/v20200326/api.json +791 -24
  133. tccli/services/mdl/v20200326/examples.json +40 -16
  134. tccli/services/mdp/mdp_client.py +734 -124
  135. tccli/services/mdp/v20200527/api.json +748 -23
  136. tccli/services/mdp/v20200527/examples.json +143 -79
  137. tccli/services/message/__init__.py +4 -0
  138. tccli/services/message/message_client.py +210 -0
  139. tccli/services/message/v20181225/api.json +72 -0
  140. tccli/services/message/v20181225/examples.json +13 -0
  141. tccli/services/mongodb/mongodb_client.py +1404 -141
  142. tccli/services/mongodb/v20190725/api.json +2919 -677
  143. tccli/services/mongodb/v20190725/examples.json +190 -22
  144. tccli/services/monitor/monitor_client.py +1008 -296
  145. tccli/services/monitor/v20180724/api.json +660 -11
  146. tccli/services/monitor/v20180724/examples.json +152 -4
  147. tccli/services/mps/mps_client.py +1489 -429
  148. tccli/services/mps/v20190612/api.json +4750 -1077
  149. tccli/services/mps/v20190612/examples.json +182 -70
  150. tccli/services/msp/msp_client.py +35 -14
  151. tccli/services/ocr/ocr_client.py +417 -82
  152. tccli/services/ocr/v20181119/api.json +1486 -103
  153. tccli/services/ocr/v20181119/examples.json +42 -4
  154. tccli/services/omics/omics_client.py +100 -40
  155. tccli/services/organization/organization_client.py +580 -232
  156. tccli/services/postgres/postgres_client.py +455 -182
  157. tccli/services/privatedns/privatedns_client.py +155 -62
  158. tccli/services/pts/pts_client.py +240 -96
  159. tccli/services/quota/__init__.py +4 -0
  160. tccli/services/quota/quota_client.py +434 -0
  161. tccli/services/quota/v20241204/api.json +548 -0
  162. tccli/services/quota/v20241204/examples.json +51 -0
  163. tccli/services/rce/rce_client.py +5 -2
  164. tccli/services/redis/redis_client.py +545 -218
  165. tccli/services/redis/v20180412/api.json +225 -113
  166. tccli/services/redis/v20180412/examples.json +19 -19
  167. tccli/services/region/region_client.py +15 -6
  168. tccli/services/rum/rum_client.py +300 -120
  169. tccli/services/scf/scf_client.py +210 -84
  170. tccli/services/ses/ses_client.py +145 -58
  171. tccli/services/smh/__init__.py +4 -0
  172. tccli/services/smh/smh_client.py +714 -0
  173. tccli/services/smh/v20210712/api.json +1287 -0
  174. tccli/services/smh/v20210712/examples.json +85 -0
  175. tccli/services/sms/sms_client.py +90 -36
  176. tccli/services/sqlserver/sqlserver_client.py +3855 -470
  177. tccli/services/sqlserver/v20180328/api.json +9725 -3356
  178. tccli/services/sqlserver/v20180328/examples.json +470 -10
  179. tccli/services/ssl/ssl_client.py +190 -76
  180. tccli/services/ssm/ssm_client.py +120 -48
  181. tccli/services/sts/sts_client.py +25 -10
  182. tccli/services/tag/tag_client.py +150 -60
  183. tccli/services/tat/tat_client.py +95 -38
  184. tccli/services/tbaas/tbaas_client.py +20 -8
  185. tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
  186. tccli/services/tcaplusdb/v20190823/api.json +836 -760
  187. tccli/services/tcaplusdb/v20190823/examples.json +3 -3
  188. tccli/services/tchd/tchd_client.py +5 -2
  189. tccli/services/tcmpp/tcmpp_client.py +520 -208
  190. tccli/services/tcr/tcr_client.py +380 -152
  191. tccli/services/tcsas/tcsas_client.py +295 -118
  192. tccli/services/tcsas/v20250106/api.json +155 -79
  193. tccli/services/tcsas/v20250106/examples.json +3 -3
  194. tccli/services/tcss/tcss_client.py +1650 -660
  195. tccli/services/tdid/tdid_client.py +240 -96
  196. tccli/services/tdmq/tdmq_client.py +2876 -466
  197. tccli/services/tdmq/v20200217/api.json +11607 -3958
  198. tccli/services/tdmq/v20200217/examples.json +562 -264
  199. tccli/services/tem/tem_client.py +280 -112
  200. tccli/services/teo/teo_client.py +1590 -540
  201. tccli/services/teo/v20220901/api.json +703 -71
  202. tccli/services/teo/v20220901/examples.json +88 -22
  203. tccli/services/tione/__init__.py +4 -0
  204. tccli/services/tione/tione_client.py +210 -0
  205. tccli/services/tione/v20211111/api.json +3074 -0
  206. tccli/services/tione/v20211111/examples.json +12 -0
  207. tccli/services/tiw/tiw_client.py +255 -102
  208. tccli/services/tke/tke_client.py +690 -276
  209. tccli/services/tms/tms_client.py +5 -2
  210. tccli/services/tmt/tmt_client.py +5 -2
  211. tccli/services/trabbit/trabbit_client.py +145 -58
  212. tccli/services/trocket/__init__.py +4 -0
  213. tccli/services/trocket/trocket_client.py +2450 -0
  214. tccli/services/trocket/v20230308/api.json +6062 -0
  215. tccli/services/trocket/v20230308/examples.json +339 -0
  216. tccli/services/trro/trro_client.py +95 -38
  217. tccli/services/trtc/trtc_client.py +255 -102
  218. tccli/services/trtc/v20190722/api.json +135 -31
  219. tccli/services/trtc/v20190722/examples.json +7 -7
  220. tccli/services/tts/tts_client.py +5 -2
  221. tccli/services/vclm/vclm_client.py +10 -4
  222. tccli/services/vm/vm_client.py +20 -8
  223. tccli/services/vod/vod_client.py +895 -358
  224. tccli/services/vpc/v20170312/api.json +1032 -134
  225. tccli/services/vpc/v20170312/examples.json +119 -23
  226. tccli/services/vpc/vpc_client.py +2159 -644
  227. tccli/services/waf/v20180125/api.json +1372 -194
  228. tccli/services/waf/v20180125/examples.json +89 -1
  229. tccli/services/waf/waf_client.py +1149 -245
  230. tccli/services/wedata/v20250806/api.json +13644 -0
  231. tccli/services/wedata/v20250806/examples.json +621 -0
  232. tccli/services/wedata/wedata_client.py +6067 -1263
  233. tccli/services/yunjing/yunjing_client.py +355 -142
  234. {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/METADATA +4 -7
  235. {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/RECORD +239 -201
  236. {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/WHEEL +1 -1
  237. {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/entry_points.txt +0 -1
  238. {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/LICENSE +0 -0
  239. {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/top_level.txt +0 -0
@@ -3,14 +3,22 @@
3
3
  "AssignProject": [
4
4
  {
5
5
  "document": " ",
6
- "input": "https://mongodb.tencentcloudapi.com/?Action=AssignProject\n&InstanceIds.0=cmgo-eqmoa5sf\n&ProjectId=12\n&<Common request parameters>",
6
+ "input": "https://mongodb.tencentcloudapi.com/?Action=AssignProject\n&InstanceIds.0=cmgo-eqmo****\n&ProjectId=12\n&<Common request parameters>",
7
7
  "output": "{\n \"Response\": {\n \"FlowIds\": [\n 1081\n ],\n \"RequestId\": \"8e2a339e-5ba9-4da3-8dc2-65a0a6314811\"\n }\n}",
8
- "title": "Specifying the project to which an instance belongs"
8
+ "title": "Specifying the Associated Project of a TencentDB for MongoDB Instance"
9
+ }
10
+ ],
11
+ "CreateAccountUser": [
12
+ {
13
+ "document": "This example shows you how to customize an instance account.",
14
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccountUser\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\",\n \"UserName\": \"test_user\",\n \"Password\": \"Abc@123...\",\n \"MongoUserPassword\": \"Abc@123...\",\n \"UserDesc\": \"Test user\",\n \"AuthRole\": [\n {\n \"Mask\": 0,\n \"NameSpace\": \"collection\"\n }\n ]\n}",
15
+ "output": "{\n \"Response\": {\n \"FlowId\": 1680767468,\n \"RequestId\": \"1df930fb-eb7e-4e3f-bcab-15a1aa5fede0\"\n }\n}",
16
+ "title": "Customizing an Account"
9
17
  }
10
18
  ],
11
19
  "CreateBackupDBInstance": [
12
20
  {
13
- "document": "This example shows you how to back up an instance.",
21
+ "document": "This example shows how to back up an instance.",
14
22
  "input": "https://mongodb.tencentcloudapi.com/?Action=CreateBackupDBInstance\n&InstanceId=cmgo-ayxpky6l\n&BackupRemark=remarkInfo\n&BackupMethod=0\n&<Common request parameters>",
15
23
  "output": "{\n \"Response\": {\n \"AsyncRequestId\": \"1680780049\",\n \"RequestId\": \"1df930fb-eb7e-4e3f-bcab-15a1aa5fede0\"\n }\n}",
16
24
  "title": "Backing Up an Instance"
@@ -40,6 +48,30 @@
40
48
  "title": "Creating a TencentDB for MongoDB Instance (Pay-as-You-Go)"
41
49
  }
42
50
  ],
51
+ "CreateLogDownloadTask": [
52
+ {
53
+ "document": "This example shows you how to create a log download task.",
54
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLogDownloadTask\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-k2p5su09\",\n \"StartTime\": \"2024-03-07 9:22:15\",\n \"EndTime\": \"2024-03-07 15:33:15\",\n \"LogComponents\": [\n \"NETWORK\"\n ],\n \"LogConnections\": [],\n \"LogIds\": [],\n \"LogDetailParams\": [\n \"client metadata\"\n ]\n}",
55
+ "output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"1233vvae-23f9dfd\"\n }\n}",
56
+ "title": "Creating a Log Download Task"
57
+ }
58
+ ],
59
+ "DeleteAccountUser": [
60
+ {
61
+ "document": "This example shows you how to delete an instance account.",
62
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAccountUser\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\",\n \"UserName\": \"test_user\",\n \"MongoUserPassword\": \"Abc@123\"\n}",
63
+ "output": "{\n \"Response\": {\n \"FlowId\": 0,\n \"RequestId\": \"1df930fb-eb7e-4e3f-bcab-15a1aa5fede0\"\n }\n}",
64
+ "title": "Deleting an Instance Account"
65
+ }
66
+ ],
67
+ "DeleteLogDownloadTask": [
68
+ {
69
+ "document": "This example shows you how to delete a log download task.",
70
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteLogDownloadTask\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-k2p5su09\",\n \"TaskId\": \"export-28439fb3-90a6-4ca2-bd2f-ad99e99a14e9\"\n}",
71
+ "output": "{\n \"Response\": {\n \"RequestId\": \"q87sfsfds-897asd\",\n \"Status\": 0\n }\n}",
72
+ "title": "Deleting a Log Download Task"
73
+ }
74
+ ],
43
75
  "DescribeAsyncRequestInfo": [
44
76
  {
45
77
  "document": " ",
@@ -51,9 +83,17 @@
51
83
  "DescribeBackupDownloadTask": [
52
84
  {
53
85
  "document": " ",
54
- "input": "https://mongodb.tencentcloudapi.com/?Action=DescribeBackupDownloadTask\n&InstanceId=cmgo-dygv1rnp\n&Status.0=2\n&<Common request parameters>",
55
- "output": "{\n \"Response\": {\n \"RequestId\": \"c41c0c46-7d5a-49b9-832a-557880c1e9ef\",\n \"Tasks\": [\n {\n \"BackupName\": \"cmgo-dygv1rnp_2021-03-26 10:44\",\n \"BackupSize\": 844,\n \"CreateTime\": \"2021-03-26 10:47:37\",\n \"Percent\": 100,\n \"ReplicaSetId\": \"cmgo-dygv1rnp_0\",\n \"Status\": 2,\n \"TimeSpend\": 0,\n \"Url\": \"https://mognodb-backup-test-tar-1251937656.cos.ap-guangzhou.myqcloud.com/cmgo-dygv1rnp_2021-03-26%2010%3A44%2Fcmgo-dygv1rnp_0.tar?q-sign-algorithm=sha1&q-ak=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&q-sign-time=1616726859%3B1616813259&q-key-time=1616726859%3B1616813259&q-header-list=host&q-url-param-list=&q-signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
56
- "title": "Querying backup download task information"
86
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupDownloadTask\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-fdzf****\",\n \"Status\": [\n \"2\"\n ]\n}",
87
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c0c495-4826-4938-a6d7-32146cad2632\",\n \"Tasks\": [\n {\n \"BackupDesc\": \"Set daily scheduled automatic backup in the system background.\",\n \"BackupMethod\": 0,\n \"BackupName\": \"cmgo-fdzf****_2025-09-23 22:03\",\n \"BackupSize\": 5747378,\n \"Bucket\": \"sh-backup-remote-125758****\",\n \"CreateTime\": \"2025-09-24 10:58:55\",\n \"Percent\": 100,\n \"Region\": \"ap-shanghai\",\n \"ReplicaSetId\": \"cmgo-fdzf******\",\n \"Status\": 2,\n \"TimeSpend\": 1,\n \"Url\": \"https://sh-backup-remote-tar-**************\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
88
+ "title": "Querying a Backup Download Task"
89
+ }
90
+ ],
91
+ "DescribeBackupRules": [
92
+ {
93
+ "document": "This example shows you how to query the automatic backup rule information of an instance.",
94
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupRules\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\"\n}",
95
+ "output": "{\n \"Response\": {\n \"BackupMethod\": 0,\n \"BackupSaveTime\": 7,\n \"BackupTime\": 1,\n \"RequestId\": \"07ec4290-d682-11ed-aa06-f56fb86dae78\"\n }\n}",
96
+ "title": "Querying the Automatic Backup Rule Information of an Instance"
57
97
  }
58
98
  ],
59
99
  "DescribeClientConnections": [
@@ -64,11 +104,19 @@
64
104
  "title": "Querying the Client Connection Information on a TencentDB for MongoDB Instance"
65
105
  }
66
106
  ],
107
+ "DescribeCurrentOp": [
108
+ {
109
+ "document": "This example shows you how to query the current operation on the TencentDB for MongoDB instance.",
110
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCurrentOp\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-r3p8****\",\n \"State\": \"primary\"\n}",
111
+ "output": "{\n \"Response\": {\n \"CurrentOps\": [\n {\n \"ExecNode\": \"Primary node\",\n \"MicrosecsRunning\": 103,\n \"NodeName\": \"**.**.**.**:****:*********\",\n \"Ns\": \"admin.$cmd.aggregate\",\n \"Op\": \"command\",\n \"OpId\": 42431451,\n \"Operation\": \"{\\\"Active\\\":true,\\\"AppName\\\":\\\"CMongo\\\",\\\"Client\\\":\\\"**.**.**.**:**\\\",\\\"ClientMetadata\\\":{\\\"application\\\":{\\\"name\\\":\\\"CMongo\\\"},\\\"driver\\\":{\\\"name\\\":\\\"mongo-go-driver\\\",\\\"version\\\":\\\"v1.*.*\\\"},\\\"os\\\":{\\\"architecture\\\":\\\"amd64\\\",\\\"type\\\":\\\"linux\\\"},\\\"platform\\\":\\\"***.**.*\\\"},\\\"Command\\\":{\\\"$db\\\":\\\"admin\\\",\\\"$readPreference\\\":{\\\"mode\\\":\\\"primaryPreferred\\\"},\\\"currentOp\\\":1,\\\"lsid\\\":{\\\"id\\\":{\\\"Data\\\":\\\"************************==\\\",\\\"Subtype\\\":4}},\\\"microsecs_running\\\":{\\\"$gt\\\":0}},\\\"ConnectionId\\\":********,\\\"CurrentOpTime\\\":\\\"2025-09-25T17:41:42.146+0800\\\",\\\"Desc\\\":\\\"conn*******\\\",\\\"Host\\\":\\\"*******64.site:7029\\\",\\\"Insert\\\":null,\\\"KillPending\\\":false,\\\"LockStats\\\":{},\\\"Locks\\\":{},\\\"Lsid\\\":{\\\"id\\\":{\\\"Data\\\":\\\"*******************==\\\",\\\"Subtype\\\":4},\\\"uid\\\":{\\\"Data\\\":\\\"********************************=\\\",\\\"Subtype\\\":0}},\\\"MicroSecsRunning\\\":103,\\\"Msg\\\":\\\"\\\",\\\"Ns\\\":\\\"admin.$cmd.aggregate\\\",\\\"NumYields\\\":0,\\\"Op\\\":\\\"command\\\",\\\"OpId\\\":********,\\\"OriginatingCommand\\\":null,\\\"PlanSummary\\\":\\\"\\\",\\\"Progress\\\":null,\\\"Query\\\":null,\\\"SecsRunning\\\":0,\\\"Transaction\\\":null,\\\"WaitingForLock\\\":false}\",\n \"Query\": \"{\\\"$db\\\":\\\"admin\\\",\\\"$readPreference\\\":{\\\"mode\\\":\\\"primaryPreferred\\\"},\\\"currentOp\\\":1,\\\"lsid\\\":{\\\"id\\\":{\\\"Data\\\":\\\"***********************==\\\",\\\"Subtype\\\":4}},\\\"microsecs_running\\\":{\\\"$gt\\\":0}}\",\n \"ReplicaSetName\": \"cmgo-r3p8****_0\",\n \"State\": \"primary\"\n }\n ],\n \"RequestId\": \"a1f20aaa-83c2-4062-b4f3-7c46ad2e1157\",\n \"TotalCount\": 1\n }\n}",
112
+ "title": "Querying the Current Operation on the TencentDB for MongoDB Instance"
113
+ }
114
+ ],
67
115
  "DescribeDBBackups": [
68
116
  {
69
117
  "document": " ",
70
- "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBBackups\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-f555zzzz\",\n \"BackupMethod\": 1\n}",
71
- "output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"BackupList\": [],\n \"TotalCount\": 0\n }\n}",
118
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBBackups\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-fdzf****\",\n \"BackupMethod\": 0\n}",
119
+ "output": "{\n \"Response\": {\n \"BackupList\": [\n {\n \"BackId\": 10657020,\n \"BackupDesc\": \"Set daily scheduled automatic backup in the system background.\",\n \"BackupMethod\": 0,\n \"BackupName\": \"cmgo-fdzf****_2025-09-17 22:01\",\n \"BackupRegion\": \"\",\n \"BackupSize\": 5747379,\n \"BackupType\": 0,\n \"DeleteTime\": \"2025-09-24 22:01:58\",\n \"EndTime\": \"2025-09-17 22:01:58\",\n \"InstanceId\": \"cmgo-fdzf****\",\n \"RestoreTime\": \"\",\n \"StartTime\": \"2025-09-17 22:01:52\",\n \"Status\": 2\n },\n {\n \"BackId\": 10688339,\n \"BackupDesc\": \"Set daily scheduled automatic backup in the system background.\",\n \"BackupMethod\": 0,\n \"BackupName\": \"cmgo-fdzf****_2025-09-18 22:03\",\n \"BackupRegion\": \"ap-shanghai\",\n \"BackupSize\": 5747378,\n \"BackupType\": 0,\n \"DeleteTime\": \"2025-09-20 22:03:37\",\n \"EndTime\": \"2025-09-18 22:03:44\",\n \"InstanceId\": \"cmgo-fdzf****\",\n \"RestoreTime\": \"\",\n \"StartTime\": \"2025-09-18 22:03:42\",\n \"Status\": 2\n }\n ],\n \"RequestId\": \"0e2eb0e1-f775-4ba8-af9f-e5650a55dce1\",\n \"TotalCount\": 2\n }\n}",
72
120
  "title": "Querying the Backup File Information on a TencentDB for MongoDB Instance"
73
121
  }
74
122
  ],
@@ -88,10 +136,18 @@
88
136
  "title": "Querying the Database List of the Current Instance"
89
137
  },
90
138
  {
91
- "document": "This example shows you how to query the information on all collections of a database when DbName is specified.",
139
+ "document": "This example shows you how to query the information on all collections of the database when DbName is specified.",
92
140
  "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceNamespace\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-qny2****\",\n \"DbName\": \"demo_db0\"\n}",
93
141
  "output": "{\n \"Response\": {\n \"Collections\": [\n \"col148\",\n \"col108\",\n \"col120\"\n ],\n \"RequestId\": \"21b503b5-6606-4efb-b250-63071c2fe565\"\n }\n}",
94
- "title": "Querying All Collections in a Specified Database"
142
+ "title": "Querying All Collections of the Specified Database"
143
+ }
144
+ ],
145
+ "DescribeDBInstanceNodeProperty": [
146
+ {
147
+ "document": "This example shows you how to query the detailed attributes of an instance node.",
148
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceNodeProperty\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-by909vwp\"\n}",
149
+ "output": "{\n \"Response\": {\n \"Mongos\": [\n {\n \"Address\": \"10.8.16.37:30000\",\n \"Hidden\": false,\n \"NodeName\": \"mongos-0\",\n \"Priority\": 0,\n \"ReplicateSetId\": \"\",\n \"Role\": \"MONGOS\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 0,\n \"Zone\": \"ap-guangzhou-3\",\n \"WanServiceAddress\": \"\"\n }\n ],\n \"ReplicateSets\": [\n {\n \"Nodes\": [\n {\n \"Address\": \"\",\n \"Hidden\": false,\n \"NodeName\": \"cmgo-by909vwp_0-node-slave0\",\n \"Priority\": 1,\n \"ReplicateSetId\": \"cmgo-by909vwp_0\",\n \"Role\": \"SECONDARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n },\n {\n \"Nodes\": [\n {\n \"Address\": \"\",\n \"Hidden\": false,\n \"NodeName\": \"cmgo-by909vwp_1-node-slave0\",\n \"Priority\": 1,\n \"ReplicateSetId\": \"cmgo-by909vwp_1\",\n \"Role\": \"SECONDARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Address\": \"\",\n \"Hidden\": false,\n \"NodeName\": \"cmgo-by909vwp_1-node-primary\",\n \"Priority\": 1,\n \"ReplicateSetId\": \"cmgo-by909vwp_1\",\n \"Role\": \"PRIMARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Address\": \"\",\n \"Hidden\": true,\n \"NodeName\": \"cmgo-by909vwp_1-node-slave1\",\n \"Priority\": 0,\n \"ReplicateSetId\": \"cmgo-by909vwp_1\",\n \"Role\": \"SECONDARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n }\n ],\n \"RequestId\": \"14ab088a-9d69-44b4-b39d-e4b8fbbb8f25\"\n }\n}",
150
+ "title": "Querying the Information on an Instance Node"
95
151
  }
96
152
  ],
97
153
  "DescribeDBInstances": [
@@ -102,6 +158,14 @@
102
158
  "title": "Query Instance List"
103
159
  }
104
160
  ],
161
+ "DescribeDetailedSlowLogs": [
162
+ {
163
+ "document": "",
164
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDetailedSlowLogs\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-r3p8****\",\n \"StartTime\": \"2025-09-22 11:53:15\",\n \"EndTime\": \"2025-09-23 11:53:15\"\n}",
165
+ "output": "{\n \"Response\": {\n \"DetailedSlowLogs\": [\n {\n \"Log\": \"Mon Sep 22 20:30:19.980 I COMMAND [conn3725696] command admin.$cmd command: saslContinue { saslContinue: 1, conversationId: 1, payload: BinData(0, ), $clusterTime: { clusterTime: Timestamp(1758544211, 1), signature: { hash: BinData(0, C28B5E1C1EE29**************************), keyId: 75428892796********* } }, $db: \\\"admin\\\", $readPreference: { mode: \\\"primaryPreferred\\\" } } numYields:0 reslen:204 locks:{} protocol:op_msg 184ms\",\n \"NodeName\": \"cmgo-r3p8****_0-node-primary\",\n \"QueryHash\": \"admin..****Continue\"\n }\n ],\n \"RequestId\": \"5e35a1bd-60e6-4a45-8792-d033581b9209\",\n \"TotalCount\": 1\n }\n}",
166
+ "title": "Querying Slow Log Details"
167
+ }
168
+ ],
105
169
  "DescribeInstanceParams": [
106
170
  {
107
171
  "document": "This example shows you how to call this API to obtain the list of configurable parameters for a TencentDB for MongoDB instance.",
@@ -110,27 +174,51 @@
110
174
  "title": "InstanceEnumParam"
111
175
  }
112
176
  ],
177
+ "DescribeInstanceSSL": [
178
+ {
179
+ "document": " ",
180
+ "input": "https://mongodb.tencentcloudapi.com/?Action=DescribeInstanceSSL\n&InstanceId=cmgo-eqmoaxxx\n&<Common request parameters>",
181
+ "output": "{\n \"Response\": {\n \"Status\": 1,\n \"ExpiredTime\": \"2023-05-04 12:13:00\",\n \"CertUrl\": \"http://sample/cert\",\n \"RequestId\": \"12345-abcdef\"\n }\n}",
182
+ "title": "Viewing the Enabling Status of SSL for an Instance"
183
+ }
184
+ ],
185
+ "DescribeLogDownloadTasks": [
186
+ {
187
+ "document": "This example shows you how to query a log download task.",
188
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLogDownloadTasks\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-k2p5su09\",\n \"StartTime\": \"2024-03-07 9:22:15\",\n \"EndTime\": \"2024-03-07 15:33:15\"\n}",
189
+ "output": "{\n \"Response\": {\n \"RequestId\": \"832423fdfsfsd-312jdsf\",\n \"Tasks\": [\n {\n \"CreateTime\": \"2024-03-07 21:01:00\",\n \"FileSize\": 372432,\n \"Percent\": 100,\n \"Status\": 2,\n \"TaskId\": \"export-28439fb3-90a6-4ca2-bd2f-ad99e99a14e9\",\n \"TaskType\": 0,\n \"UpdateTime\": \"2024-03-07 21:14:02\",\n \"Url\": \"\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
190
+ "title": "Querying a Log Download Task"
191
+ }
192
+ ],
193
+ "DescribeMongodbLogs": [
194
+ {
195
+ "document": "This example shows you how to query instance logs.",
196
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMongodbLogs\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-k2p5su09\",\n \"StartTime\": \"2024-03-07 9:22:15\",\n \"EndTime\": \"2024-03-07 15:33:15\",\n \"LogComponents\": [\n \"NETWORK\"\n ],\n \"LogConnections\": [],\n \"LogIds\": [],\n \"LogDetailParams\": [\n \"client metadata\"\n ]\n}",
197
+ "output": "{\n \"Response\": {\n \"LogList\": [\n {\n \"LogComponent\": \"NETWORK\",\n \"LogConnection\": \"conn269939\",\n \"LogDetail\": \"{\\\"t\\\":{\\\"$date\\\":\\\"2024-03-07T10:29:50.027+08:00\\\"},\\\"s\\\":\\\"I\\\", \\\"c\\\":\\\"NETWORK\\\", \\\"id\\\":51800, \\\"ctx\\\":\\\"conn269939\\\",\\\"msg\\\":\\\"client metadata\\\",\\\"attr\\\":{\\\"remote\\\":\\\"127.0.0.1:39024\\\",\\\"client\\\":\\\"conn269939\\\",\\\"doc\\\":{\\\"driver\\\":{\\\"name\\\":\\\"mongo-go-driver\\\",\\\"version\\\":\\\"v1.10.6\\\"},\\\"os\\\":{\\\"type\\\":\\\"linux\\\",\\\"architecture\\\":\\\"amd64\\\"},\\\"platform\\\":\\\"go1.20.4\\\",\\\"application\\\":{\\\"name\\\":\\\"CMongo\\\"}}}}\",\n \"LogId\": \"51800\",\n \"LogLevel\": \"WARNING\",\n \"LogTime\": \"2024-03-07T10:29:50.027+08:00\"\n }\n ],\n \"RequestId\": \"ab2323tf-rqew1111\",\n \"TotalCount\": 1\n }\n}",
198
+ "title": "Querying Logs"
199
+ }
200
+ ],
113
201
  "DescribeSecurityGroup": [
114
202
  {
115
203
  "document": "This example shows you how to query all security groups bound to the current instance.",
116
204
  "input": "https://mongodb.tencentcloudapi.com/?Action=DescribeSecurityGroup\n&InstanceId=cmgo-p8vn****\n&<Common request parameters>",
117
- "output": "{\n \"Response\": {\n \"Groups\": [\n {\n \"ProjectId\": 0,\n \"CreateTime\": \"2022-03-23 12:05:22\",\n \"Inbound\": [\n {\n \"Action\": \"Describe*\",\n \"CidrIp\": \"127.0.0.1\",\n \"PortRange\": \"27017\",\n \"IpProtocol\": \"tcp\",\n \"Id\": \"\",\n \"AddressModule\": \"\",\n \"ServiceModule\": \"\",\n \"Desc\": \"localip\"\n }\n ],\n \"Outbound\": [\n {\n \"Action\": \"Describe*\",\n \"CidrIp\": \"127.0.0.1\",\n \"PortRange\": \"27017\",\n \"IpProtocol\": \"tcp\",\n \"AddressModule\": \"\",\n \"ServiceModule\": \"\",\n \"Desc\": \"localip\"\n }\n ],\n \"SecurityGroupId\": \"sg-cade***\",\n \"SecurityGroupName\": \"sg\",\n \"SecurityGroupRemark\": \"sg-mark\"\n }\n ],\n \"RequestId\": \"bc59fa05-d429-4bcf-863f-1f6f99295485\"\n }\n}",
118
- "title": "Querying Instance Security Groups"
205
+ "output": "{\n \"Response\": {\n \"Groups\": [\n {\n \"CreateTime\": \"2022-06-08 17:06:38\",\n \"Inbound\": [\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"**.**.**.**/24\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"8086\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"**.**.**.**/24\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"****\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"**.**.**.**/24\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"****\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"**.**.**.**/24\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"****\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"**.**.**.**/24\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"****\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"ipm-pvcdf2ty\",\n \"CidrIp\": \"\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"**,**,**,****,**,****\",\n \"ServiceModule\": \"\"\n }\n ],\n \"Outbound\": [],\n \"ProjectId\": 0,\n \"SecurityGroupId\": \"sg-0klp****\",\n \"SecurityGroupName\": \"default\",\n \"SecurityGroupRemark\": \"System created security group\"\n }\n ],\n \"RequestId\": \"21d6a495-f46d-4440-bd25-d4e36f51afdd\"\n }\n}",
206
+ "title": "Querying an Instance Security Group"
119
207
  }
120
208
  ],
121
209
  "DescribeSlowLogPatterns": [
122
210
  {
123
211
  "document": " ",
124
- "input": "https://mongodb.tencentcloudapi.com/?Action=DescribeSlowLogPatterns\n&InstanceId=cmgo-a3bm93hf\n&StartTime=2020-04-20 00:00:00\n&EndTime=2020-04-20 22:00:00\n&SlowMS=100\n&Offset=0\n&Limit=100\n&<Common request parameters>",
212
+ "input": "https://mongodb.tencentcloudapi.com/?Action=DescribeSlowLogPatterns\n&InstanceId=cmgo-a3bm****\n&StartTime=2020-04-20 00:00:00\n&EndTime=2020-04-20 22:00:00\n&SlowMS=100\n&Offset=0\n&Limit=100\n&<Common request parameters>",
125
213
  "output": "{\n \"Response\": {\n \"Count\": 2,\n \"RequestId\": \"895de939-f726-4cb0-bb02-3890289479e3\",\n \"SlowLogPatterns\": [\n {\n \"AverageTime\": 699,\n \"MaxTime\": 5335,\n \"Pattern\": \"admin.$cmd.command\",\n \"Total\": 12\n },\n {\n \"AverageTime\": 271,\n \"MaxTime\": 423,\n \"Pattern\": \"local.system.replset.command\",\n \"Total\": 8\n }\n ]\n }\n}",
126
- "title": "Querying the slow log statistics of database"
214
+ "title": "Querying Database Slow Log Statistics Information"
127
215
  }
128
216
  ],
129
217
  "DescribeSlowLogs": [
130
218
  {
131
219
  "document": "This example shows you how to obtain the slow log information on an instance.",
132
- "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLogs\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-a1sh112****\",\n \"StartTime\": \"2020-09-22 00:00:00\",\n \"EndTime\": \"2020-09-22 00:00:00\",\n \"SlowMS\": 1,\n \"Offset\": 1,\n \"Limit\": 1,\n \"Format\": \"json\"\n}",
133
- "output": "{\n \"Response\": {\n \"Count\": 20,\n \"RequestId\": \"3a36aa6e-67e2-42a9-adfe-fc694334cc78\",\n \"SlowLogs\": [\n \"Mon Apr 20 13:55:21.623 I COMMAND [conn16903] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362114, 1), signature: { hash: BinData(0, 259955995BDC7E0CA35C4276EB23341C03910A48), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362108, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 5335ms\",\n \"Mon Apr 20 14:01:00.309 I COMMAND [conn1313] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362457, 1), signature: { hash: BinData(0, DC2B16681C70845D7B6C8C6C97400D4DFB394CA0), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362455, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 1264ms\",\n \"Mon Apr 20 14:20:15.283 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587363613, 1), signature: { hash: BinData(0, 72D24884320C8A9A26AF8C4DD1127874085DFAE5), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587363603, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 426ms\",\n \"Mon Apr 20 10:25:45.487 I COMMAND [conn48] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.112.91.43:7009\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"10.53.61.24:7004\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { wtimeout: 0, w: 1 }, replicaSetId: ObjectId('5e9d08160c269352426f9575') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 423ms\",\n \"Mon Apr 20 10:25:34.934 I COMMAND [conn28] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 2, protocolVersion: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.112.91.43:7009\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d08160c269352426f9575') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 414ms\",\n \"Mon Apr 20 10:24:52.278 I COMMAND [conn30] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 2, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"100.93.44.26:7012\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d07ebf3f99b58c95a33fb') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 406ms\",\n \"Mon Apr 20 10:25:02.675 I COMMAND [conn50] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"100.93.44.26:7012\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"9.34.46.139:7003\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d07ebf3f99b58c95a33fb') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 373ms\",\n \"Mon Apr 20 18:35:15.103 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587378913, 1), signature: { hash: BinData(0, A3C176F81B64A7473F88F3F40B84C59EC9E1E1AE), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587378912, 1), t: 2 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 248ms\",\n \"Mon Apr 20 10:27:38.171 I COMMAND [conn281] command admin.$cmd command: setFeatureCompatibilityVersion { setFeatureCompatibilityVersion: \\\"4.0\\\", $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 212ms\",\n \"Mon Apr 20 10:26:27.924 I COMMAND [conn111] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_2\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.112.90.165:7002\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.53.80.6:7012\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"100.93.44.26:7013\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d0841f0f688fc992fd087') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 212ms\",\n \"Mon Apr 20 13:55:15.051 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362114, 1), signature: { hash: BinData(0, 259955995BDC7E0CA35C4276EB23341C03910A48), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362085, 6), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 192ms\",\n \"Mon Apr 20 10:27:39.400 I COMMAND [conn213] command admin.$cmd command: setFeatureCompatibilityVersion { setFeatureCompatibilityVersion: \\\"4.0\\\", $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 183ms\",\n \"Mon Apr 20 10:26:09.357 I COMMAND [conn36] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_2\\\", version: 1, members: [ { _id: 1, host: \\\"10.112.90.165:7002\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 59 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 134ms\",\n \"Mon Apr 20 13:00:16.363 I COMMAND [conn16903] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587358814, 1), signature: { hash: BinData(0, 90BD7BB9B481B9825527D89A3579B52E6C0C3915), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587358809, 2), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 123ms\",\n \"Mon Apr 20 13:35:14.983 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587360912, 1), signature: { hash: BinData(0, 06A84575A66B9316D1ECBFB9FB1C7B2F605AB3A8), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587360909, 5), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 122ms\",\n \"Mon Apr 20 10:24:43.760 I COMMAND [conn16] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 39 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 112ms\",\n \"Mon Apr 20 10:25:26.300 I COMMAND [conn15] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 24 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 7 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 110ms\",\n \"Mon Apr 20 10:27:39.400 I COMMAND [conn213] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 107ms\",\n \"Mon Apr 20 10:27:38.065 I COMMAND [conn281] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 2, w: 2 } }, Database: { acquireCount: { w: 1, W: 1 } }, Collection: { acquireCount: { w: 1 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_msg 107ms\",\n \"Mon Apr 20 10:27:38.170 I COMMAND [conn281] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 105ms\"\n ]\n }\n}",
220
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLogs\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-r3p8****\",\n \"StartTime\": \"2025-09-22 00:00:00\",\n \"EndTime\": \"2025-09-23 00:00:00\",\n \"SlowMS\": 100,\n \"Offset\": 1,\n \"Limit\": 1,\n \"Format\": \"json\"\n}",
221
+ "output": "{\n \"Response\": {\n \"Count\": 1,\n \"RequestId\": \"ec514cb8-55a6-41d4-a6e4-896da43886db\",\n \"SlowLogs\": [\n \"Mon Sep 22 20:30:19.980 I COMMAND [conn3725696] command admin.$cmd command: ****Continue { ****Continue: 1, conversationId: 1, payload: BinData(0, ), $clusterTime: { clusterTime: Timestamp(1758544211, 1), signature: { hash: BinData(0, *************************************), keyId: 7542889************ } }, $db: \\\"admin\\\", $readPreference: { mode: \\\"primaryPreferred\\\" } } numYields:0 reslen:204 locks:{} protocol:op_msg 184ms\"\n ]\n }\n}",
134
222
  "title": "Obtaining the Slow Log Information on an Instance"
135
223
  }
136
224
  ],
@@ -142,6 +230,14 @@
142
230
  "title": "Querying Saleable TencentDB for MongoDB Specifications"
143
231
  }
144
232
  ],
233
+ "EnableTransparentDataEncryption": [
234
+ {
235
+ "document": "",
236
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableTransparentDataEncryption\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-igjy****\",\n \"KmsRegion\": \"ap-guangzhou\",\n \"KeyId\": \"AKID********************************\"\n}",
237
+ "output": "{\n \"Response\": {\n \"FlowId\": 17316505316,\n \"RequestId\": \"a8dce7a4-d488-49c9-8d24-33cf623f5992\"\n }\n}",
238
+ "title": "Enabling TDE for an Instance"
239
+ }
240
+ ],
145
241
  "FlushInstanceRouterConfig": [
146
242
  {
147
243
  "document": " ",
@@ -174,6 +270,14 @@
174
270
  "title": "Querying the renewal price of an instance"
175
271
  }
176
272
  ],
273
+ "InstanceEnableSSL": [
274
+ {
275
+ "document": "This example shows you how to disable SSL.",
276
+ "input": "https://mongodb.tencentcloudapi.com/?Action=InstanceEnableSSL\n&InstanceId=cmgo-eqmoaxxx\n&Enable=true\n&<Common request parameters>",
277
+ "output": "{\n \"Response\": {\n \"CertUrl\": \"https://cert-****\",\n \"ExpiredTime\": \"2024-03-29 13:40:56\",\n \"RequestId\": \"5297ebe2-63f8-465f-be7d-41058ce438\",\n \"Status\": 1\n }\n}",
278
+ "title": "Setting the SSL Status for an Instance"
279
+ }
280
+ ],
177
281
  "IsolateDBInstance": [
178
282
  {
179
283
  "document": " ",
@@ -182,10 +286,18 @@
182
286
  "title": "Terminating a pay-as-you-go TencentDB instance"
183
287
  }
184
288
  ],
289
+ "KillOps": [
290
+ {
291
+ "document": " ",
292
+ "input": "https://mongodb.tencentcloudapi.com/?Action=KillOps\n&InstanceId=cmgo-p8vnipr5\n&Operations.0.ReplicaSetName=cmgo-p8vnipr5_0\n&Operations.0.NodeName=10.108.93.135:7017:39920912\n&Operations.0.OpId=61\n&<Common request parameters>",
293
+ "output": "{\n \"Response\": {\n \"RequestId\": \"302530d2-ee57-495e-89d0-51e03b11815e\"\n }\n}",
294
+ "title": "Terminating a Specific Operation Performed on a TencentDB for MongoDB Instance"
295
+ }
296
+ ],
185
297
  "ModifyDBInstanceNetworkAddress": [
186
298
  {
187
299
  "document": "This example shows you how to modify the VIP information on a TencentDB for MongoDB instance.",
188
- "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceNetworkAddress\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\",\n \"OldIpExpiredTime\": 1,\n \"NetworkAddresses\": [\n {\n \"NewIPAddress\": \"10.0.0.10\",\n \"OldIpAddress\": \"10.0.0.1\"\n }\n ],\n \"NewUniqVpcId\": \"vpc-gfb3pqo1\",\n \"NewUniqSubnetId\": \"ins-wsdn61fw\"\n}",
300
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceNetworkAddress\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\",\n \"OldIpExpiredTime\": 1,\n \"NetworkAddresses\": [\n {\n \"NewIPAddress\": \"10.0.0.10\",\n \"OldIpAddress\": \"10.0.0.1\"\n }\n ],\n \"NewUniqVpcId\": \"vpc-gfb3****\",\n \"NewUniqSubnetId\": \"subnet-6fe2****\"\n}",
189
301
  "output": "{\n \"Response\": {\n \"FlowId\": 1679402995,\n \"RequestId\": \"8279f6c2-db93-4b2e-931b-233d780b1a91\"\n }\n}",
190
302
  "title": "Modifying the Network Information on a TencentDB for MongoDB Instance"
191
303
  }
@@ -193,7 +305,7 @@
193
305
  "ModifyDBInstanceSecurityGroup": [
194
306
  {
195
307
  "document": "This example shows you how to modify the inbound rules of security groups for a specified instance.",
196
- "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSecurityGroup\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-14i5dgtl'\",\n \"SecurityGroupIds\": [\n \"sg-l7ipccjl\"\n ]\n}",
308
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSecurityGroup\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-14i5****'\",\n \"SecurityGroupIds\": [\n \"sg-l7ip****\"\n ]\n}",
197
309
  "output": "{\n \"Response\": {\n \"RequestId\": \"bc59fa05-d429-4bcf-863f-1f6f99295485\"\n }\n}",
198
310
  "title": "Modifying the Security Group Information on an Instance"
199
311
  }
@@ -213,11 +325,19 @@
213
325
  },
214
326
  {
215
327
  "document": "This example shows you how to add 2 secondary nodes in total to Guangzhou Zone 2 and Zone 3. The final number of nodes changes to 5.",
216
- "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSpec\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-abcdef\",\n \"Memory\": 4,\n \"Volume\": 100,\n \"OplogSize\": 30,\n \"NodeNum\": 5,\n \"ReplicateSetNum\": 1,\n \"InMaintenance\": 1,\n \"AddNodeList\": [\n {\n \"Role\": \"SECONDARY\",\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"Role\": \"SECONDARY\",\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n}",
328
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSpec\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-p8vn****\",\n \"Memory\": 4,\n \"Volume\": 100,\n \"OplogSize\": 30,\n \"NodeNum\": 5,\n \"ReplicateSetNum\": 1,\n \"InMaintenance\": 1,\n \"AddNodeList\": [\n {\n \"Role\": \"SECONDARY\",\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"Role\": \"SECONDARY\",\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n}",
217
329
  "output": "{\n \"Response\": {\n \"DealId\": \"7142863\",\n \"RequestId\": \"d88095e5-50e8-4245-a0cf-993a536f9b20\"\n }\n}",
218
330
  "title": "Adding Secondary Nodes to a TencentDB for MongoDB Instance"
219
331
  }
220
332
  ],
333
+ "ModifyInstanceParams": [
334
+ {
335
+ "document": "This example shows you how to initiate a modification task of the parameter configuration for a TencentDB for MongoDB instance.",
336
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceParams\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p6umb\",\n \"InstanceParams\": [\n {\n \"Value\": \"operation.profiling.slowOpThresholdMs\",\n \"Key\": \"operation.profiling.slowOpThresholdMs\"\n }\n ]\n}",
337
+ "output": "{\n \"Response\": {\n \"Changed\": true,\n \"RequestId\": \"e51b4590-db7b-4835-9899-1f5c33f92fbf\",\n \"TaskId\": 0\n }\n}",
338
+ "title": "Modifying the Parameter for a TencentDB for MongoDB Instance"
339
+ }
340
+ ],
221
341
  "OfflineIsolatedDBInstance": [
222
342
  {
223
343
  "document": " ",
@@ -244,10 +364,58 @@
244
364
  ],
245
365
  "ResetDBInstancePassword": [
246
366
  {
247
- "document": " ",
248
- "input": "https://mongodb.tencentcloudapi.com/?Action=ResetDBInstancePassword\n&InstanceId=cmgo-7pjedvz7\n&UserName=rwuser\n&Password=111111\n&<Common request parameters>",
367
+ "document": "This example shows you how to change the password of the user accessing the instance.",
368
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetDBInstancePassword\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-7pje****\",\n \"UserName\": \"rwuser\",\n \"Password\": \"*******\"\n}",
249
369
  "output": "{\n \"Response\": {\n \"AsyncRequestId\": \"4769\",\n \"RequestId\": \"e600a8d0-9014-11ea-84c1-01cccde830c6\"\n }\n}",
250
- "title": "Modifying the instance password"
370
+ "title": "Changing the Password of the User Accessing the Instance"
371
+ }
372
+ ],
373
+ "SetAccountUserPrivilege": [
374
+ {
375
+ "document": "This example shows you how to set operation permissions for the specified account of the current instance.",
376
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetAccountUserPrivilege\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p6umb\",\n \"UserName\": \"test_user\",\n \"AuthRole\": [\n {\n \"Mask\": 0,\n \"NameSpace\": \"eg_collection\"\n }\n ]\n}",
377
+ "output": "{\n \"Response\": {\n \"FlowId\": 1680767468,\n \"RequestId\": \"1df930fb-eb7e-4e3f-bcab-15a1aa5fede0\"\n }\n}",
378
+ "title": "Setting Account Permissions for the Current Instance"
379
+ }
380
+ ],
381
+ "SetDBInstanceDeletionProtection": [
382
+ {
383
+ "document": "",
384
+ "input": "https://mongodb.tencentcloudapi.com/?Action=SetDBInstanceDeletionProtection\n&InstanceIds.0=cmgo-8l3r6yyt\n&EnableDeletionProtection=1\n&<Common request parameters>",
385
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1d0d55f9-15ee-4f00-b460-7b645a62cc3a\"\n }\n}",
386
+ "title": "Setting Instance Termination Protection"
387
+ }
388
+ ],
389
+ "SetInstanceMaintenance": [
390
+ {
391
+ "document": "This example shows how to modify the instance maintenance window.",
392
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetInstanceMaintenance\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-9d0p****\",\n \"MaintenanceEnd\": \"21:00\",\n \"MaintenanceStart\": \"20:00\"\n}",
393
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1df930fb-eb7e-4e3f-bcab-15a1aa5fede0\"\n }\n}",
394
+ "title": "Modifying the Instance Maintenance Window"
395
+ }
396
+ ],
397
+ "TerminateDBInstances": [
398
+ {
399
+ "document": "",
400
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TerminateDBInstances\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-7pje****\"\n}",
401
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ccfe11c0-b1d3-11ea-8b51-552abe435100\"\n }\n}",
402
+ "title": "Return and Refund for Monthly Subscription Instance"
403
+ }
404
+ ],
405
+ "UpgradeDBInstanceKernelVersion": [
406
+ {
407
+ "document": "When a new kernel version is launched, you can upgrade the kernel to the latest version.",
408
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeDBInstanceKernelVersion\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-p8vnipr5\"\n}",
409
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2efcf780-9970-11ec-8975-6bc44e3bfad7\",\n \"FlowId\": 19677\n }\n}",
410
+ "title": "Upgrading the Current Kernel Version Number of the Instance"
411
+ }
412
+ ],
413
+ "UpgradeDbInstanceVersion": [
414
+ {
415
+ "document": "This example shows you how to upgrade a TencentDB for MongoDB instance from 3.6 to 4.0.",
416
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeDbInstanceVersion\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-p8vnipr5\",\n \"MongoVersion\": \"MONGO_42_WT\"\n}",
417
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2efcf780-9970-11ec-8975-6bc44e3bfad7\",\n \"FlowId\": 19677\n }\n}",
418
+ "title": "Upgrading an Instance from 3.6 to 4.0"
251
419
  }
252
420
  ]
253
421
  },