tccli-intl-en 3.0.1168.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 (294) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argument.py +1 -1
  3. tccli/plugins/sso/__init__.py +14 -0
  4. tccli/plugins/sso/login.py +23 -6
  5. tccli/plugins/sso/texts.py +4 -0
  6. tccli/services/__init__.py +49 -2
  7. tccli/services/advisor/advisor_client.py +10 -4
  8. tccli/services/ai3d/__init__.py +4 -0
  9. tccli/services/ai3d/ai3d_client.py +266 -0
  10. tccli/services/ai3d/v20250513/api.json +264 -0
  11. tccli/services/ai3d/v20250513/examples.json +20 -0
  12. tccli/services/aiart/aiart_client.py +5 -2
  13. tccli/services/ams/ams_client.py +20 -8
  14. tccli/services/antiddos/antiddos_client.py +350 -140
  15. tccli/services/apigateway/apigateway_client.py +465 -186
  16. tccli/services/apm/apm_client.py +835 -68
  17. tccli/services/apm/v20210622/api.json +3936 -1145
  18. tccli/services/apm/v20210622/examples.json +133 -23
  19. tccli/services/asr/asr_client.py +10 -4
  20. tccli/services/autoscaling/autoscaling_client.py +341 -114
  21. tccli/services/autoscaling/v20180419/api.json +514 -333
  22. tccli/services/autoscaling/v20180419/examples.json +46 -38
  23. tccli/services/batch/batch_client.py +140 -56
  24. tccli/services/bi/__init__.py +4 -0
  25. tccli/services/bi/bi_client.py +1498 -0
  26. tccli/services/bi/v20220105/api.json +5769 -0
  27. tccli/services/bi/v20220105/examples.json +215 -0
  28. tccli/services/billing/billing_client.py +1055 -134
  29. tccli/services/billing/v20180709/api.json +1654 -243
  30. tccli/services/billing/v20180709/examples.json +169 -25
  31. tccli/services/cam/cam_client.py +405 -162
  32. tccli/services/captcha/captcha_client.py +5 -2
  33. tccli/services/captcha/v20190722/api.json +16 -6
  34. tccli/services/captcha/v20190722/examples.json +3 -3
  35. tccli/services/car/car_client.py +165 -66
  36. tccli/services/cbs/cbs_client.py +190 -76
  37. tccli/services/ccc/ccc_client.py +1167 -268
  38. tccli/services/ccc/v20200210/api.json +2263 -202
  39. tccli/services/ccc/v20200210/examples.json +116 -12
  40. tccli/services/cdb/cdb_client.py +665 -266
  41. tccli/services/cdb/v20170320/api.json +426 -173
  42. tccli/services/cdb/v20170320/examples.json +6 -6
  43. tccli/services/cdc/cdc_client.py +100 -40
  44. tccli/services/cdc/v20201214/api.json +2 -2
  45. tccli/services/cdc/v20201214/examples.json +4 -4
  46. tccli/services/cdn/cdn_client.py +220 -88
  47. tccli/services/cdwdoris/cdwdoris_client.py +385 -154
  48. tccli/services/cdwpg/cdwpg_client.py +120 -48
  49. tccli/services/cdz/__init__.py +4 -0
  50. tccli/services/cdz/cdz_client.py +210 -0
  51. tccli/services/cdz/v20221123/api.json +233 -0
  52. tccli/services/cdz/v20221123/examples.json +12 -0
  53. tccli/services/cfg/cfg_client.py +80 -32
  54. tccli/services/cfg/v20210820/api.json +30 -10
  55. tccli/services/cfg/v20210820/examples.json +1 -1
  56. tccli/services/cfs/cfs_client.py +195 -78
  57. tccli/services/cfw/cfw_client.py +330 -132
  58. tccli/services/chdfs/chdfs_client.py +145 -58
  59. tccli/services/ciam/ciam_client.py +80 -32
  60. tccli/services/ckafka/ckafka_client.py +1033 -255
  61. tccli/services/ckafka/v20190819/api.json +3378 -1681
  62. tccli/services/ckafka/v20190819/examples.json +254 -160
  63. tccli/services/clb/clb_client.py +1054 -469
  64. tccli/services/clb/v20180317/api.json +2307 -1024
  65. tccli/services/clb/v20180317/examples.json +186 -126
  66. tccli/services/cloudaudit/cloudaudit_client.py +90 -36
  67. tccli/services/cls/cls_client.py +434 -173
  68. tccli/services/cmq/cmq_client.py +14 -803
  69. tccli/services/cmq/v20190304/api.json +173 -1367
  70. tccli/services/cmq/v20190304/examples.json +0 -120
  71. tccli/services/config/config_client.py +30 -12
  72. tccli/services/controlcenter/controlcenter_client.py +229 -2
  73. tccli/services/controlcenter/v20230110/api.json +528 -5
  74. tccli/services/controlcenter/v20230110/examples.json +32 -0
  75. tccli/services/csip/csip_client.py +339 -78
  76. tccli/services/csip/v20221121/api.json +1011 -38
  77. tccli/services/csip/v20221121/examples.json +24 -0
  78. tccli/services/ctsdb/__init__.py +4 -0
  79. tccli/services/ctsdb/ctsdb_client.py +266 -0
  80. tccli/services/ctsdb/v20230202/api.json +677 -0
  81. tccli/services/ctsdb/v20230202/examples.json +20 -0
  82. tccli/services/cvm/cvm_client.py +706 -189
  83. tccli/services/cvm/v20170312/api.json +1141 -510
  84. tccli/services/cvm/v20170312/examples.json +174 -128
  85. tccli/services/cwp/cwp_client.py +2325 -930
  86. tccli/services/cynosdb/cynosdb_client.py +3051 -575
  87. tccli/services/cynosdb/v20190107/api.json +14074 -7139
  88. tccli/services/cynosdb/v20190107/examples.json +597 -287
  89. tccli/services/dataintegration/dataintegration_client.py +5 -2
  90. tccli/services/dayu/dayu_client.py +515 -206
  91. tccli/services/dbbrain/dbbrain_client.py +210 -84
  92. tccli/services/dc/dc_client.py +90 -36
  93. tccli/services/dcdb/dcdb_client.py +310 -124
  94. tccli/services/dlc/dlc_client.py +859 -214
  95. tccli/services/dlc/v20210125/api.json +637 -13
  96. tccli/services/dlc/v20210125/examples.json +48 -0
  97. tccli/services/dms/dms_client.py +10 -4
  98. tccli/services/dnspod/dnspod_client.py +390 -111
  99. tccli/services/dnspod/v20210323/api.json +196 -0
  100. tccli/services/dnspod/v20210323/examples.json +24 -0
  101. tccli/services/domain/domain_client.py +120 -48
  102. tccli/services/dts/dts_client.py +415 -166
  103. tccli/services/eb/eb_client.py +130 -52
  104. tccli/services/ecdn/ecdn_client.py +75 -30
  105. tccli/services/ecm/ecm_client.py +620 -248
  106. tccli/services/eiam/eiam_client.py +200 -80
  107. tccli/services/emr/emr_client.py +3104 -117
  108. tccli/services/emr/v20190103/api.json +15311 -4361
  109. tccli/services/emr/v20190103/examples.json +452 -42
  110. tccli/services/es/es_client.py +105 -42
  111. tccli/services/facefusion/facefusion_client.py +15 -6
  112. tccli/services/faceid/faceid_client.py +95 -38
  113. tccli/services/faceid/v20180301/api.json +172 -45
  114. tccli/services/faceid/v20180301/examples.json +3 -3
  115. tccli/services/gaap/gaap_client.py +440 -176
  116. tccli/services/gme/gme_client.py +50 -20
  117. tccli/services/gpm/gpm_client.py +90 -36
  118. tccli/services/gse/gse_client.py +110 -44
  119. tccli/services/gwlb/gwlb_client.py +90 -36
  120. tccli/services/hunyuan/__init__.py +4 -0
  121. tccli/services/hunyuan/hunyuan_client.py +266 -0
  122. tccli/services/hunyuan/v20230901/api.json +270 -0
  123. tccli/services/hunyuan/v20230901/examples.json +20 -0
  124. tccli/services/iai/iai_client.py +145 -58
  125. tccli/services/iai/v20200303/api.json +187 -51
  126. tccli/services/iai/v20200303/examples.json +30 -12
  127. tccli/services/iap/iap_client.py +30 -12
  128. tccli/services/ims/ims_client.py +5 -2
  129. tccli/services/ims/v20201229/api.json +133 -141
  130. tccli/services/ims/v20201229/examples.json +3 -3
  131. tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +516 -72
  132. tccli/services/intlpartnersmgt/v20220928/api.json +976 -60
  133. tccli/services/intlpartnersmgt/v20220928/examples.json +50 -2
  134. tccli/services/iotcloud/iotcloud_client.py +100 -40
  135. tccli/services/iotcloud/v20210408/api.json +216 -107
  136. tccli/services/iotcloud/v20210408/examples.json +9 -9
  137. tccli/services/ip/ip_client.py +30 -12
  138. tccli/services/kms/kms_client.py +1226 -227
  139. tccli/services/kms/v20190118/api.json +1562 -144
  140. tccli/services/kms/v20190118/examples.json +204 -78
  141. tccli/services/lcic/lcic_client.py +265 -106
  142. tccli/services/lighthouse/lighthouse_client.py +370 -148
  143. tccli/services/lighthouse/v20200324/api.json +14 -14
  144. tccli/services/lighthouse/v20200324/examples.json +5 -5
  145. tccli/services/live/live_client.py +804 -232
  146. tccli/services/live/v20180801/api.json +272 -0
  147. tccli/services/live/v20180801/examples.json +32 -0
  148. tccli/services/lke/__init__.py +4 -0
  149. tccli/services/lke/lke_client.py +5194 -0
  150. tccli/services/lke/v20231130/api.json +14803 -0
  151. tccli/services/lke/v20231130/examples.json +736 -0
  152. tccli/services/lkeap/__init__.py +4 -0
  153. tccli/services/lkeap/lkeap_client.py +602 -0
  154. tccli/services/lkeap/v20240522/api.json +953 -0
  155. tccli/services/lkeap/v20240522/examples.json +92 -0
  156. tccli/services/mariadb/mariadb_client.py +250 -100
  157. tccli/services/mdc/mdc_client.py +90 -36
  158. tccli/services/mdl/mdl_client.py +402 -82
  159. tccli/services/mdl/v20200326/api.json +1144 -58
  160. tccli/services/mdl/v20200326/examples.json +48 -16
  161. tccli/services/mdp/mdp_client.py +785 -122
  162. tccli/services/mdp/v20200527/api.json +1168 -44
  163. tccli/services/mdp/v20200527/examples.json +151 -79
  164. tccli/services/message/__init__.py +4 -0
  165. tccli/services/message/message_client.py +210 -0
  166. tccli/services/message/v20181225/api.json +72 -0
  167. tccli/services/message/v20181225/examples.json +13 -0
  168. tccli/services/mongodb/mongodb_client.py +1452 -136
  169. tccli/services/mongodb/v20190725/api.json +4393 -1462
  170. tccli/services/mongodb/v20190725/examples.json +265 -71
  171. tccli/services/monitor/monitor_client.py +1008 -296
  172. tccli/services/monitor/v20180724/api.json +660 -11
  173. tccli/services/monitor/v20180724/examples.json +152 -4
  174. tccli/services/mps/mps_client.py +1573 -354
  175. tccli/services/mps/v20190612/api.json +12394 -7243
  176. tccli/services/mps/v20190612/examples.json +244 -84
  177. tccli/services/msp/msp_client.py +35 -14
  178. tccli/services/ocr/ocr_client.py +596 -102
  179. tccli/services/ocr/v20181119/api.json +2271 -181
  180. tccli/services/ocr/v20181119/examples.json +70 -8
  181. tccli/services/omics/omics_client.py +100 -40
  182. tccli/services/organization/organization_client.py +580 -232
  183. tccli/services/postgres/postgres_client.py +455 -182
  184. tccli/services/postgres/v20170312/api.json +134 -109
  185. tccli/services/postgres/v20170312/examples.json +14 -14
  186. tccli/services/privatedns/privatedns_client.py +206 -60
  187. tccli/services/privatedns/v20201028/api.json +179 -0
  188. tccli/services/privatedns/v20201028/examples.json +8 -0
  189. tccli/services/pts/pts_client.py +240 -96
  190. tccli/services/quota/__init__.py +4 -0
  191. tccli/services/quota/quota_client.py +434 -0
  192. tccli/services/quota/v20241204/api.json +548 -0
  193. tccli/services/quota/v20241204/examples.json +51 -0
  194. tccli/services/rce/rce_client.py +5 -2
  195. tccli/services/redis/redis_client.py +698 -212
  196. tccli/services/redis/v20180412/api.json +968 -563
  197. tccli/services/redis/v20180412/examples.json +98 -56
  198. tccli/services/region/__init__.py +4 -0
  199. tccli/services/region/region_client.py +322 -0
  200. tccli/services/region/v20220627/api.json +399 -0
  201. tccli/services/region/v20220627/examples.json +29 -0
  202. tccli/services/rum/rum_client.py +300 -120
  203. tccli/services/scf/scf_client.py +210 -84
  204. tccli/services/ses/ses_client.py +368 -69
  205. tccli/services/ses/v20201002/api.json +240 -0
  206. tccli/services/ses/v20201002/examples.json +32 -0
  207. tccli/services/smh/__init__.py +4 -0
  208. tccli/services/smh/smh_client.py +714 -0
  209. tccli/services/smh/v20210712/api.json +1287 -0
  210. tccli/services/smh/v20210712/examples.json +85 -0
  211. tccli/services/sms/sms_client.py +90 -36
  212. tccli/services/sqlserver/sqlserver_client.py +3855 -470
  213. tccli/services/sqlserver/v20180328/api.json +9757 -3347
  214. tccli/services/sqlserver/v20180328/examples.json +480 -20
  215. tccli/services/ssl/ssl_client.py +504 -72
  216. tccli/services/ssl/v20191205/api.json +789 -21
  217. tccli/services/ssl/v20191205/examples.json +54 -0
  218. tccli/services/ssm/ssm_client.py +120 -48
  219. tccli/services/sts/sts_client.py +25 -10
  220. tccli/services/tag/tag_client.py +150 -60
  221. tccli/services/tat/tat_client.py +95 -38
  222. tccli/services/tbaas/__init__.py +4 -0
  223. tccli/services/tbaas/tbaas_client.py +378 -0
  224. tccli/services/tbaas/v20180416/api.json +551 -0
  225. tccli/services/tbaas/v20180416/examples.json +37 -0
  226. tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
  227. tccli/services/tcaplusdb/v20190823/api.json +836 -760
  228. tccli/services/tcaplusdb/v20190823/examples.json +3 -3
  229. tccli/services/tchd/tchd_client.py +5 -2
  230. tccli/services/tcmpp/tcmpp_client.py +520 -208
  231. tccli/services/tcr/tcr_client.py +380 -152
  232. tccli/services/tcsas/tcsas_client.py +295 -118
  233. tccli/services/tcsas/v20250106/api.json +155 -79
  234. tccli/services/tcsas/v20250106/examples.json +3 -3
  235. tccli/services/tcss/tcss_client.py +1650 -660
  236. tccli/services/tdid/tdid_client.py +240 -96
  237. tccli/services/tdmq/tdmq_client.py +2876 -466
  238. tccli/services/tdmq/v20200217/api.json +11607 -3958
  239. tccli/services/tdmq/v20200217/examples.json +562 -264
  240. tccli/services/tem/tem_client.py +280 -112
  241. tccli/services/teo/teo_client.py +4507 -966
  242. tccli/services/teo/v20220901/api.json +7341 -1405
  243. tccli/services/teo/v20220901/examples.json +679 -99
  244. tccli/services/tione/__init__.py +4 -0
  245. tccli/services/tione/tione_client.py +210 -0
  246. tccli/services/tione/v20211111/api.json +3074 -0
  247. tccli/services/tione/v20211111/examples.json +12 -0
  248. tccli/services/tiw/tiw_client.py +255 -102
  249. tccli/services/tke/tke_client.py +741 -274
  250. tccli/services/tke/v20180525/api.json +132 -7
  251. tccli/services/tke/v20180525/examples.json +42 -16
  252. tccli/services/tms/tms_client.py +5 -2
  253. tccli/services/tms/v20201229/api.json +91 -100
  254. tccli/services/tmt/tmt_client.py +5 -2
  255. tccli/services/trabbit/__init__.py +4 -0
  256. tccli/services/trabbit/trabbit_client.py +1778 -0
  257. tccli/services/trabbit/v20230418/api.json +4772 -0
  258. tccli/services/trabbit/v20230418/examples.json +237 -0
  259. tccli/services/trocket/__init__.py +4 -0
  260. tccli/services/trocket/trocket_client.py +2450 -0
  261. tccli/services/trocket/v20230308/api.json +6062 -0
  262. tccli/services/trocket/v20230308/examples.json +339 -0
  263. tccli/services/trro/trro_client.py +95 -38
  264. tccli/services/trtc/trtc_client.py +928 -192
  265. tccli/services/trtc/v20190722/api.json +1810 -256
  266. tccli/services/trtc/v20190722/examples.json +100 -6
  267. tccli/services/tts/tts_client.py +5 -2
  268. tccli/services/vclm/vclm_client.py +10 -4
  269. tccli/services/vm/v20210922/api.json +61 -30
  270. tccli/services/vm/v20210922/examples.json +0 -12
  271. tccli/services/vm/vm_client.py +20 -8
  272. tccli/services/vod/v20180717/api.json +332 -52
  273. tccli/services/vod/v20180717/examples.json +9 -1
  274. tccli/services/vod/v20240718/api.json +1105 -0
  275. tccli/services/vod/v20240718/examples.json +97 -0
  276. tccli/services/vod/vod_client.py +1316 -350
  277. tccli/services/vpc/v20170312/api.json +1166 -106
  278. tccli/services/vpc/v20170312/examples.json +197 -23
  279. tccli/services/vpc/vpc_client.py +2413 -739
  280. tccli/services/waf/v20180125/api.json +1372 -194
  281. tccli/services/waf/v20180125/examples.json +89 -1
  282. tccli/services/waf/waf_client.py +1149 -245
  283. tccli/services/wedata/v20210820/api.json +1577 -231
  284. tccli/services/wedata/v20210820/examples.json +74 -12
  285. tccli/services/wedata/v20250806/api.json +13644 -0
  286. tccli/services/wedata/v20250806/examples.json +621 -0
  287. tccli/services/wedata/wedata_client.py +6366 -1191
  288. tccli/services/yunjing/yunjing_client.py +355 -142
  289. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/METADATA +4 -7
  290. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/RECORD +294 -230
  291. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/WHEEL +1 -1
  292. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/entry_points.txt +0 -1
  293. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/LICENSE +0 -0
  294. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/top_level.txt +0 -0
@@ -2,16 +2,16 @@
2
2
  "actions": {
3
3
  "AllocateHosts": [
4
4
  {
5
- "document": "This example shows you how to purchase a monthly subscribed HS1 CDH instance in Guangzhou Zone 2 for one month, with the auto-renewal enabled.",
6
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AllocateHosts\n<Common request parameters>\n\n{\n \"HostChargeType\": \"PREPAID\",\n \"HostCount\": \"1\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-2\"\n },\n \"HostType\": \"HS1\",\n \"HostChargePrepaid\": {\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"Period\": \"1\"\n }\n}",
7
- "output": "{\n \"Response\": {\n \"HostIdSet\": [\n \"host-lan4lb2k\"\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
8
- "title": "Purchasing a monthly subscribed CDH instance"
5
+ "document": "This example shows you how to purchase a hourly-billed HC20 CDH instance in Singapore Zone 1.",
6
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AllocateHosts\n<Common request parameters>\n\n{\n \"Placement\": {\n \"Zone\": \"ap-singapore-1\"\n },\n \"HostChargeType\": \"POSTPAID_BY_HOUR\",\n \"HostType\": \"HC20\",\n \"HostCount\": 1,\n \"TagSpecification\": [\n {\n \"ResourceType\": \"host\",\n \"Tags\": [\n {\n \"Key\": \"MyKey\",\n \"Value\": \"MyValue\"\n }\n ]\n }\n ]\n}",
7
+ "output": "{\n \"Response\": {\n \"HostIdSet\": [\n \"host-hd25xn3s\"\n ],\n \"RequestId\": \"073aa87b-67a3-4409-b57d-e38ce3384b2b\"\n }\n}",
8
+ "title": "Purchasing a hourly-billed CDH instance"
9
9
  }
10
10
  ],
11
11
  "AssociateInstancesKeyPairs": [
12
12
  {
13
13
  "document": " ",
14
- "input": "https://cvm.tencentcloudapi.com/?Action=AssociateInstancesKeyPairs\n&InstanceIds.0=ins-1e4r6y8i\n&InstanceIds.1=ins-3e56fg78\n&KeyIds.0=skey-4e5ty7i8\n&<Common request parameters>",
14
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssociateInstancesKeyPairs\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-1e4r6y8i\",\n \"ins-3e56fg78\"\n ],\n \"KeyIds\": [\n \"skey-4e5ty7i8\"\n ]\n}",
15
15
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
16
16
  "title": "Binding a key pair to CVM"
17
17
  }
@@ -19,7 +19,7 @@
19
19
  "AssociateSecurityGroups": [
20
20
  {
21
21
  "document": " ",
22
- "input": "https://cvm.tencentcloudapi.com/?Action=AssociateSecurityGroups\n&InstanceIds.0=ins-2zvpghhc\n&InstanceIds.1=ins-915zrb0p\n&SecurityGroupIds.0=sg-9id3l839\n&<Common request parameters>",
22
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssociateSecurityGroups\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-915zrb0p\",\n \"ins-2zvpghhc\"\n ],\n \"SecurityGroupIds\": [\n \"sg-9id3l839\"\n ]\n}",
23
23
  "output": "{\n \"Response\": {\n \"RequestId\": \"3385dcf2-e1f0-4ed8-a924-c296721ab65f\"\n }\n}",
24
24
  "title": "Associating multiple instances with one security group"
25
25
  }
@@ -27,32 +27,32 @@
27
27
  "ConfigureChcAssistVpc": [
28
28
  {
29
29
  "document": "This example shows you how to configure the out-of-band network and deployment network of a CHC host.",
30
- "input": "https://cvm.tencentcloudapi.com/?Action=ConfigureChcAssistVpc\n&ChcIds.0=chc-1a2b3c4d\n&ChcIds.1=chc-adf34aft\n&BmcVirtualPrivateCloud.SubnetId=\"subnet-12345678\"\n&BmcVirtualPrivateCloud.VpcId=\"vpc-12345678\"\n&BmcVirtualPrivateCloud.PrivateIpAddresses.0=10.0.0.2\n&BmcVirtualPrivateCloud.PrivateIpAddresses.1=10.0.0.3\n&BmcSecurityGroupIds.0=sg-12345678\n&DeployVirtualPrivateCloud.SubnetId=\"subnet-1234abcd\"\n&DeployVirtualPrivateCloud.VpcId=\"vpc-1234abcd8\"\n&DeployVirtualPrivateCloud.PrivateIpAddresses.0=10.0.1.2\n&DeployVirtualPrivateCloud.PrivateIpAddresses.1=10.0.1.3\n&DeploySecurityGroupIds.0=sg-8a7f6d5s\n&<Common request parameters>",
31
- "output": "{\n \"Response\": {\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
30
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConfigureChcAssistVpc\n<Common request parameters>\n\n{\n \"ChcIds\": [\n \"chc-1a2b3c4d\",\n \"chc-adf34aft\"\n ],\n \"BmcVirtualPrivateCloud\": {\n \"VpcId\": \"vpc-12345678\",\n \"SubnetId\": \"subnet-12345678\",\n \"PrivateIpAddresses\": [\n \"10.0.0.2\",\n \"10.0.0.3\"\n ]\n },\n \"BmcSecurityGroupIds\": [\n \"sg-12345678\"\n ],\n \"DeployVirtualPrivateCloud\": {\n \"VpcId\": \"vpc-1234abcd8\",\n \"SubnetId\": \"subnet-1234abcd\",\n \"PrivateIpAddresses\": [\n \"10.0.1.2\",\n \"10.0.1.3\"\n ]\n },\n \"DeploySecurityGroupIds\": [\n \"sg-8a7f6d5s\"\n ]\n}",
31
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
32
32
  "title": "Configuring the out-of-band network and deployment network of a CHC"
33
33
  }
34
34
  ],
35
35
  "ConfigureChcDeployVpc": [
36
36
  {
37
37
  "document": "This example shows you how to configure the deployment network of a CHC.",
38
- "input": "https://cvm.tencentcloudapi.com/?Action=ConfigureChcDeployVpc\n&ChcIds.0=chc-1a2b3c4d\n&ChcIds.1=chc-adf34aft\n&DeployVirtualPrivateCloud.SubnetId=\"subnet-1234abcd\"\n&DeployVirtualPrivateCloud.VpcId=\"vpc-1234abcd8\"\n&DeployVirtualPrivateCloud.PrivateIpAddresses.0=10.0.1.2\n&DeployVirtualPrivateCloud.PrivateIpAddresses.1=10.0.1.3\n&DeploySecurityGroupIds.0=sg-8a7f6d5s\n&ChcDeployExtraConfig.MiniOsType=public\n&ChcDeployExtraConfig.BootType=x86_legacy\n&ChcDeployExtraConfig.BootFile=pxelinux.0\n&ChcDeployExtraConfig.NextServerAddress=169.254.68.10\n&<Common request parameters>",
39
- "output": "{\n \"Response\": {\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
38
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConfigureChcDeployVpc\n<Common request parameters>\n\n{\n \"ChcIds\": [\n \"chc-ej2pc1yr\"\n ],\n \"DeployVirtualPrivateCloud\": {\n \"VpcId\": \"vpc-oa69jq11\",\n \"SubnetId\": \"subnet-ov1xx3u3\",\n \"PrivateIpAddresses\": [\n \"11.97.4.66\"\n ]\n },\n \"DeploySecurityGroupIds\": [\n \"sg-j9ro1lex\"\n ]\n}",
39
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a35f2e81-435f-4bb0-898c-35e3bc9cb5f3\"\n }\n}",
40
40
  "title": "Configuring the deployment network of a CHC host"
41
41
  }
42
42
  ],
43
43
  "ConvertOperatingSystems": [
44
44
  {
45
45
  "document": "This example shows you how to perform operating system switching on instance ins-6pb6lrmy.",
46
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConvertOperatingSystem\n<Common request parameters>\n\n\n\n{\n \"InstanceIds\": [\n \"ins-6pb6lrmy\"\n ]\n}",
47
- "output": "{\n \"Response\": {\n \"SupportTargetOSList\": [\n {\n \"TargetOSType\": \"TencentOS\",\n \"TargetOSVersion\": \"2.4\"\n }\n ],\n \"TaskId\": \"12345678\",\n \"RequestId\": \"abc\"\n }\n}",
46
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConvertOperatingSystems\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-6pb6lrmy\"\n ]\n}",
47
+ "output": "{\n \"Response\": {\n \"SupportTargetOSList\": [\n {\n \"TargetOSType\": \"TencentOS\",\n \"TargetOSVersion\": \"2.4\"\n }\n ],\n \"TaskId\": \"12345678\",\n \"RequestId\": \"c8825ac1-0d07-4f3c-a35e-599eb1acd6fc\"\n }\n}",
48
48
  "title": "Performing Operating System Switching"
49
49
  }
50
50
  ],
51
51
  "CreateDisasterRecoverGroup": [
52
52
  {
53
53
  "document": "This example shows you how to create a spread placement group.",
54
- "input": "https://cvm.tencentcloudapi.com/?Action=CreateDisasterRecoverGroup\n&Name=Physical machine spread placement group\n&Type=HOST\n&<Common request parameters>",
55
- "output": "{\n \"Response\": {\n \"Type\": \"HOST\",\n \"DisasterRecoverGroupId\": \"ps-qajfd25h\",\n \"Name\": \"Physical machine spread placement group\",\n \"CvmQuotaTotal\": 50,\n \"CurrentNum\": 0,\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"RequestId\": \"21387009-9b9c-4b57-8fa2-8228f702ff6c\"\n }\n}",
54
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDisasterRecoverGroup\n<Common request parameters>\n\n{\n \"Name\": \"MySWDisasterRecoverGroup\",\n \"Type\": \"SW\",\n \"Affinity\": 3,\n \"TagSpecification\": [\n {\n \"ResourceType\": \"ps\",\n \"Tags\": [\n {\n \"Key\": \"MySWDisasterRecoverGroupKey\",\n \"Value\": \"MySWDisasterRecoverGroupValue\"\n }\n ]\n }\n ]\n}",
55
+ "output": "{\n \"Response\": {\n \"CreateTime\": \"2025-11-17T07:43:06Z\",\n \"CurrentNum\": 0,\n \"CvmQuotaTotal\": 20,\n \"DisasterRecoverGroupId\": \"ps-39lmgkht\",\n \"Name\": \"MySWDisasterRecoverGroup\",\n \"RequestId\": \"59216e4c-c24d-46f8-bc88-ebc5081a595f\",\n \"Type\": \"SW\"\n }\n}",
56
56
  "title": "Creating a spread placement group"
57
57
  }
58
58
  ],
@@ -67,23 +67,23 @@
67
67
  "CreateKeyPair": [
68
68
  {
69
69
  "document": " ",
70
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateKeyPair\n<Common request parameters>\n\n\n\n{\n \"ProjectId\": 0,\n \"KeyName\": \"Tencent\"\n}",
70
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateKeyPair\n<Common request parameters>\n\n{\n \"ProjectId\": 0,\n \"KeyName\": \"Tencent\"\n}",
71
71
  "output": "{\n \"Response\": {\n \"KeyPair\": {\n \"KeyId\": \"skey-mv9yzyjj\",\n \"KeyName\": \"Tencent\",\n \"ProjectId\": 0,\n \"PublicKey\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDP0Yw2T4itUKOJQIK69c1Asy1UO88cxEbujR5Jbr0e/Ey1v4ZKAUzDnsBnFlf4hKPA1YvMB8RBYj4GcLtM7PrKnBNNram8rgl73X/klOO8oqKv+J/XUA7KHH1Y6wcn1RTRTMdDHbGhW1q/UpfeylNTbf+wEIWhEfaL5FKQm4hqCw== skey_112168\",\n \"PrivateKey\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIICXgIBAAKBgQDP0Yw2T4itUKOJQIK69c1Asy1UO88cxEbujR5Jbr0e/Ey1v4ZK\\nAUzDnsBnFlf4hKPA1YvMB8RBYj4GcLtM7PrKnBNNram8rgl73X/klOO8oqKv+J/X\\nUA7KHH1Y6wcn1RTRTMdDHbGhW1q/UpfeylNTbf+wEIWhEfaL5FKQm4hqCwIDAQAB\\nAoGBAJEvSu5SaCD02hs0F2C4Aln2E2/qjMoDEa7spcEVfUhdaNX8ZLvk5pUvnikm\\nwfSb7a71QUIcFu66zKxBK4kVcirBRCR8nTAQbQ6AhXQYP+y6ihZ9Z/g6BBEeqCpV\\nuGPmKnhdxdJ8Al2huEZKJFUQhKM8XdP7dqn6yFDm0L2sTK6RAkEA9IbhP4/2CVSC\\n6d8j5nj3ejPx25R3wc4G+st1tZn1O/TRqUknbVEvsxZC63bRjHiw086QIWr61L8f\\nqQBLZ58DMwJBANmRv3aHVxv5sMlV0F3hD5ZgWEDIIjxD7oiBzU1rqvF6OpTQc1cF\\nrnwxAXDtYYJ75B8qQEL1ph/zIE5YW0hlfckCQQCyVTwpUyCopU3kqqxQBaDXKtMU\\nxS6h1VQZzBDIpMPJOj8+Ku/qNe+HuJCNkVY6EDtF/bv340GTrt+0LVbQ95MpAkEA\\nxcvwUdTXB9LnuxKuHTsoDaFHepW4MivcJvRC7njM7z4dFf+wbFP4/mUbF0xoUtVJ\\nXl/uDjH/tpo1K6S+UEIcqQJAfLQywCQdZ/qOJn0PwxiOhwniikSnZuZPNSw8T+kg\\n/oxijESOLAJBnt3S/g+D530Enjitvfc9mEB7mh0VmwWvPg==\\n-----END RSA PRIVATE KEY-----\\n\"\n },\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
72
72
  "title": "Creating a Key Pair"
73
73
  }
74
74
  ],
75
75
  "CreateLaunchTemplate": [
76
76
  {
77
- "document": "This example shows you how to create an instance in Guangzhou Zone 2 using the image `img-pmqg1cw7` and the instance launch template `test`. All other parameters keep the default values. ",
78
- "input": "https://cvm.tencentcloudapi.com/?Action=CreateLaunchTemplate\n&Placement.Zone=ap-guangzhou-2\n&ImageId=img-pmqg1cw7\n&LaunchTemplateName=test\n&<Common request parameters>",
77
+ "document": "This example shows you how to only pass the required parameters such as Zone, image id and launch template ID, while other parameters use system default values. Specific configuration is as follows: The instance location is Guangzhou Zone 6, the image id is img-pmqg1cw7, and the instance launch template name is myTemplate.",
78
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLaunchTemplate\n<Common request parameters>\n\n{\n \"LaunchTemplateName\": \"myTemplate\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-6\"\n },\n \"ImageId\": \"img-pmqg1cw7\"\n}",
79
79
  "output": "{\n \"Response\": {\n \"LaunchTemplateId\": \"lt-lobxe2yo\",\n \"RequestId\": \"9b4ad85f-1657-4445-111d-3c0a9fbec309\"\n }\n}",
80
- "title": "Creating an instance launch template with minimal parameters"
80
+ "title": "Use the Simplest Parameters to Create an Instance Launch Template"
81
81
  }
82
82
  ],
83
83
  "CreateLaunchTemplateVersion": [
84
84
  {
85
- "document": "This example shows you how to create a new launch template version in Guangzhou Zone 1.",
86
- "input": "https://cvm.tencentcloudapi.com/?Action=CreateLaunchTemplateVersion\n&Placement.Zone=ap-guangzhou-1\n&LaunchTemplateId=lt-lobxe2yo\n&<Common request parameters>",
85
+ "document": "This example shows you how to create a new launch template version in Guangzhou Zone 6.",
86
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLaunchTemplateVersion\n<Common request parameters>\n\n{\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-6\"\n },\n \"LaunchTemplateId\": \"lt-f6q777hr\"\n}",
87
87
  "output": "{\n \"Response\": {\n \"LaunchTemplateVersionNumber\": 7,\n \"RequestId\": \"9b4ad85f-1657-4445-111d-3c0a9fbec309\"\n }\n}",
88
88
  "title": "Creating an instance launch template version"
89
89
  }
@@ -91,21 +91,21 @@
91
91
  "DeleteDisasterRecoverGroups": [
92
92
  {
93
93
  "document": "This example shows you how to delete a spread placement group.",
94
- "input": "https://cvm.tencentcloudapi.com/?Action=DeleteDisasterRecoverGroups\n&DisasterRecoverGroupIds.0=ps-58l1hu01\n&<Common request parameters>",
95
- "output": "{\n \"Response\": {\n \"RequestId\": \"8e50cdb5-56dc-408b-89b0-31818958d424\"\n }\n}",
94
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDisasterRecoverGroups\n<Common request parameters>\n\n{\n \"DisasterRecoverGroupIds\": [\n \"ps-39lmgkht\"\n ]\n}",
95
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4f57ce54-4639-4daa-b29f-37ab55f82809\"\n }\n}",
96
96
  "title": "Deleting a spread placement group"
97
97
  }
98
98
  ],
99
99
  "DeleteImages": [
100
100
  {
101
101
  "document": "This example shows you how to delete the image `img-34vaef8fe`. If the image is in use or the image ID does not exist, no operation will be performed, and an error code will be returned.",
102
- "input": "https://cvm.tencentcloudapi.com/?Action=DeleteImages\n&ImageIds.0=img-34vaef8fe\n&<Common request parameters>",
102
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteImages\n<Common request parameters>\n\n{\n \"ImageIds\": [\n \"img-34vaef8fe\"\n ]\n}",
103
103
  "output": "{\n \"Response\": {\n \"RequestId\": \"71e69b56-32be-4412-ab45-49eded6a87be\"\n }\n}",
104
104
  "title": "Deleting an image"
105
105
  },
106
106
  {
107
107
  "document": "This example shows you how to delete the image `img-34vaef8fe`. If the image is in use or the image ID does not exist, no operation will be performed and an error code will be returned.",
108
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteImages\n<Common request parameters>\n\n{\n \"ImageIds\": [\n \"img-mfih409y\"\n ],\n \"DryRun\": \"True\",\n \"DeleteBindedSnap\": \"True\"\n}",
108
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteImages\n<Common request parameters>\n\n{\n \"ImageIds\": [\n \"img-mfih409y\"\n ],\n \"DryRun\": true,\n \"DeleteBindedSnap\": true\n}",
109
109
  "output": "{\n \"Response\": {\n \"RequestId\": \"f24aca43-5135-4c9b-81fb-734969ce4c78\"\n }\n}",
110
110
  "title": "Checking whether the specified image can be deleted"
111
111
  }
@@ -113,7 +113,7 @@
113
113
  "DeleteKeyPairs": [
114
114
  {
115
115
  "document": " ",
116
- "input": "https://cvm.tencentcloudapi.com/?Action=DeleteKeyPairs\n&KeyIds.0=skey-mv9yzyjj\n&<Common request parameters>",
116
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteKeyPairs\n<Common request parameters>\n\n{\n \"KeyIds\": [\n \"skey-mv9yzyjj\"\n ]\n}",
117
117
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
118
118
  "title": "Deleting a key pair"
119
119
  }
@@ -121,7 +121,7 @@
121
121
  "DeleteLaunchTemplate": [
122
122
  {
123
123
  "document": " ",
124
- "input": "https://cvm.tencentcloudapi.com/?Action=DeleteLaunchTemplate\n&LaunchTemplateId=lt-34vaef8fe\n&<Common request parameters>",
124
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteLaunchTemplate\n<Common request parameters>\n\n{\n \"LaunchTemplateId\": \"lt-34vaef8fe\"\n}",
125
125
  "output": "{\n \"Response\": {\n \"RequestId\": \"9b4ad85f-1657-4445-111d-3c0a9fbec311\"\n }\n}",
126
126
  "title": "Deleting an instance launch template"
127
127
  }
@@ -129,7 +129,7 @@
129
129
  "DeleteLaunchTemplateVersions": [
130
130
  {
131
131
  "document": "This example deletes version 2 and 3 of the instance launch template `lt-34vaef8fe`.",
132
- "input": "https://cvm.tencentcloudapi.com/?Action=DeleteLaunchTemplateVersions\n&LaunchTemplateId=lt-34vaef8fe\n&LaunchTemplateVersions.0=2\n&LaunchTemplateVersions.1=3\n&<Common request parameters>",
132
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteLaunchTemplateVersions\n<Common request parameters>\n\n{\n \"LaunchTemplateId\": \"lt-34vaef8fe\",\n \"LaunchTemplateVersions\": [\n 2,\n 3\n ]\n}",
133
133
  "output": "{\n \"Response\": {\n \"RequestId\": \"9b4ad85f-1657-4445-111d-3c0a9fbec311\"\n }\n}",
134
134
  "title": "Deletes one or more instance launch template versions"
135
135
  }
@@ -146,14 +146,14 @@
146
146
  {
147
147
  "document": "This example shows you how to query an instance by the CHC ID.",
148
148
  "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeChcHosts\n<Common request parameters>\n\n{\n \"ChcIds\": [\n \"chc-1a2b3c4d\"\n ]\n}",
149
- "output": "{\n \"Response\": {\n \"ChcHostSet\": [\n {\n \"ChcId\": \"chc-1a2b3c4d\",\n \"InstanceName\": \"Hosted CVM instance\",\n \"SerialNumber\": \"sn34asdfabd\",\n \"InstanceState\": \"RUNNING\",\n \"DeviceType\": \"CHC_HS1\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-2\"\n },\n \"BmcVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-a2676p0e\",\n \"VpcId\": \"vpc-g7wzcv7n\"\n },\n \"BmcIp\": \"10.12.10.34\",\n \"BmcSecurityGroupIds\": [\n \"sg-1a2b3c4d\"\n ],\n \"DeployVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-a26734fs\",\n \"VpcId\": \"vpc-g7wz234f\"\n },\n \"DeployIp\": \"10.12.20.34\",\n \"DeploySecurityGroupIds\": [\n \"sg-1a2b34af\"\n ],\n \"CvmInstanceId\": \"ins-1a2bafst\",\n \"CreatedTime\": \"2020-03-10T02:43:51Z\",\n \"HardwareDescription\": \"50C 128G 12*4T\",\n \"Memory\": 128,\n \"DeployMAC\": \"52:54:00:68:CC:00\",\n \"BmcMAC\": \"52:54:00:68:CC:01\",\n \"Disk\": \"12*4T\",\n \"CPU\": 50\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
149
+ "output": "{\n \"Response\": {\n \"ChcHostSet\": [\n {\n \"ChcId\": \"chc-1a2b3c4d\",\n \"InstanceName\": \"Hosted CVM instance\",\n \"SerialNumber\": \"sn34asdfabd\",\n \"InstanceState\": \"RUNNING\",\n \"DeviceType\": \"CHC_HS1\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-6\"\n },\n \"BmcVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-a2676p0e\",\n \"VpcId\": \"vpc-g7wzcv7n\"\n },\n \"BmcIp\": \"10.12.10.34\",\n \"BmcSecurityGroupIds\": [\n \"sg-1a2b3c4d\"\n ],\n \"DeployVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-a26734fs\",\n \"VpcId\": \"vpc-g7wz234f\"\n },\n \"DeployIp\": \"10.12.20.34\",\n \"DeploySecurityGroupIds\": [\n \"sg-1a2b34af\"\n ],\n \"CvmInstanceId\": \"ins-1a2bafst\",\n \"CreatedTime\": \"2020-03-10T02:43:51Z\",\n \"HardwareDescription\": \"50C 128G 12*4T\",\n \"Memory\": 128,\n \"DeployMAC\": \"52:54:00:68:CC:00\",\n \"BmcMAC\": \"52:54:00:68:CC:01\",\n \"Disk\": \"12*4T\",\n \"CPU\": 50\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
150
150
  "title": "Querying an instance by the CHC ID"
151
151
  }
152
152
  ],
153
153
  "DescribeDisasterRecoverGroupQuota": [
154
154
  {
155
155
  "document": "This example shows you how to query the quota of your placement groups.",
156
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeDisasterRecoverGroupQuota\n&<Common request parameters>",
156
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDisasterRecoverGroupQuota\n<Common request parameters>\n\n{}",
157
157
  "output": "{\n \"Response\": {\n \"GroupQuota\": 10,\n \"CvmInHostGroupQuota\": 50,\n \"CvmInSwGroupQuota\": 20,\n \"CvmInRackGroupQuota\": 30,\n \"CurrentNum\": 25,\n \"RequestId\": \"a13da94a-1cbc-42ca-ac6c-e14ef0c76a7c\"\n }\n}",
158
158
  "title": "Querying placement group quota"
159
159
  }
@@ -161,16 +161,16 @@
161
161
  "DescribeDisasterRecoverGroups": [
162
162
  {
163
163
  "document": "This example shows you how to query the information of a spread placement group.",
164
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeDisasterRecoverGroups\n&<Common request parameters>",
165
- "output": "{\n \"Response\": {\n \"DisasterRecoverGroupSet\": [\n {\n \"DisasterRecoverGroupId\": \"ps-21q9ibvr\",\n \"Name\": \"Database service\",\n \"Type\": \"RACK\",\n \"CvmQuotaTotal\": 30,\n \"CurrentNum\": 0,\n \"InstanceIds\": [],\n \"CreateTime\": \"2018-04-19T02:47:12Z\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"c68ce193-be41-4d13-9a9b-2dc031db6477\"\n }\n}",
164
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDisasterRecoverGroups\n<Common request parameters>\n\n{\n \"Offset\": 0,\n \"Limit\": 100,\n \"Filters\": [\n {\n \"Name\": \"tag:myTagKey\",\n \"Values\": [\n \"myTagVlue\"\n ]\n }\n ]\n}",
165
+ "output": "{\n \"Response\": {\n \"DisasterRecoverGroupSet\": [\n {\n \"Affinity\": 1,\n \"CreateTime\": \"2024-08-28T10:04:56Z\",\n \"CurrentNum\": 0,\n \"CvmQuotaTotal\": 60,\n \"DisasterRecoverGroupId\": \"ps-0f03mwkn\",\n \"InstanceIds\": [],\n \"Name\": \"HostDisasterRecoverGroup\",\n \"Tags\": [\n {\n \"Key\": \"myTagKey\",\n \"Value\": \"myTagVlue\"\n }\n ],\n \"Type\": \"HOST\"\n },\n {\n \"Affinity\": 1,\n \"CreateTime\": \"2024-08-13T04:16:19Z\",\n \"CurrentNum\": 0,\n \"CvmQuotaTotal\": 20,\n \"DisasterRecoverGroupId\": \"ps-ali72vwj\",\n \"InstanceIds\": [],\n \"Name\": \"SWDisasterRecoverGroup\",\n \"Tags\": [\n {\n \"Key\": \"myTagKey\",\n \"Value\": \"myTagVlue\"\n }\n ],\n \"Type\": \"SW\"\n }\n ],\n \"RequestId\": \"52eca90d-08c8-4887-abf0-78d8155cfcfd\",\n \"TotalCount\": 2\n }\n}",
166
166
  "title": "Querying the information of a spread placement group"
167
167
  }
168
168
  ],
169
169
  "DescribeHosts": [
170
170
  {
171
171
  "document": "This example shows you how to query the details of one or more CDH instances.",
172
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeHosts\n&Filters.0.Name=zone\n&Filters.0.Values.0=ap-guangzhou-2\n&Offset=0\n&Limit=20\n&<Common request parameters>",
173
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"HostSet\": [\n {\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-2\",\n \"ProjectId\": 0\n },\n \"HostId\": \"host-ey16rkyg\",\n \"HostType\": \"HS1\",\n \"HostName\": \"bibibibib-111\",\n \"CageId\": \"\",\n \"HostChargeType\": \"PREPAID\",\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"CreatedTime\": \"2018-01-04T09:45:39Z\",\n \"ExpiredTime\": \"2025-05-04T09:45:42Z\",\n \"InstanceIds\": [],\n \"HostState\": \"RUNNING\",\n \"HostResource\": {\n \"CpuTotal\": 24,\n \"CpuAvailable\": 24,\n \"MemTotal\": 56.0,\n \"MemAvailable\": 56.0,\n \"DiskTotal\": 1200,\n \"DiskAvailable\": 1200,\n \"DiskType\": \"LOCAL_BASIC\"\n }\n }\n ],\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
172
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHosts\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Name\": \"zone\",\n \"Values\": [\n \"ap-singapore-1\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 1\n}",
173
+ "output": "{\n \"Response\": {\n \"HostSet\": [\n {\n \"CageId\": \"\",\n \"CreatedTime\": \"2025-11-11T08:37:23Z\",\n \"ExpiredTime\": null,\n \"HostChargeType\": \"POSTPAID_BY_HOUR\",\n \"HostId\": \"host-hd25xn3s\",\n \"HostName\": \"Unnamed\",\n \"HostResource\": {\n \"CpuAvailable\": 32,\n \"CpuTotal\": 32,\n \"DiskAvailable\": 1000,\n \"DiskTotal\": 1000,\n \"DiskType\": \"LOCAL_SSD\",\n \"GpuAvailable\": 0,\n \"GpuTotal\": 0,\n \"MemAvailable\": 96,\n \"MemTotal\": 96\n },\n \"HostState\": \"RUNNING\",\n \"HostType\": \"HC20\",\n \"InstanceIds\": [],\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-singapore-1\"\n },\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\"\n ],\n \"RequestId\": \"801f6cbc-d5eb-4263-90e0-2c568d437544\",\n \"TotalCount\": 2\n }\n}",
174
174
  "title": "Querying the list of CDH instances"
175
175
  }
176
176
  ],
@@ -185,7 +185,7 @@
185
185
  "DescribeImageQuota": [
186
186
  {
187
187
  "document": "This example shows you how to query your image quota.",
188
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeImageQuota\r\n&<Common request parameters>",
188
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImageQuota\n<Common request parameters>\n\n{}",
189
189
  "output": "{\n \"Response\": {\n \"RequestId\": \"71e69b56-32be-4412-ab45-49eded6a87be\",\n \"ImageNumQuota\": 20\n }\n}",
190
190
  "title": "Querying image quota"
191
191
  }
@@ -193,7 +193,7 @@
193
193
  "DescribeImageSharePermission": [
194
194
  {
195
195
  "document": "This example shows you how to query the sharing information of an image whose image ID is img-6pb6lrmy.",
196
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeImageSharePermission\r\n&ImageId=img-6pb6lrmy\r\n&<Common request parameters>",
196
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImageSharePermission\n<Common request parameters>\n\n{\n \"ImageId\": \"img-6pb6lrmy\"\n}",
197
197
  "output": "{\n \"Response\": {\n \"SharePermissionSet\": [\n {\n \"CreatedTime\": \"2018-06-10T11:02:50Z\",\n \"AccountId\": \"101104350000\"\n },\n {\n \"CreatedTime\": \"2018-06-13T15:03:25Z\",\n \"AccountId\": \"101104350001\"\n }\n ],\n \"RequestId\": \"71e69b56-32be-4412-ab45-49eded6a87be\"\n }\n}",
198
198
  "title": "Querying sharing information of a specified image"
199
199
  }
@@ -207,7 +207,7 @@
207
207
  },
208
208
  {
209
209
  "document": "This example shows you how to query all private images under an account.",
210
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImages\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"PRIVATE_IMAGE\"\n ],\n \"Name\": \"image-type\"\n }\n ]\n}",
210
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImages\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"PRIVATE_IMAGE\"\n ],\n \"Name\": \"image-type\"\n }\n ],\n \"Offset\": 0,\n \"Limit\": 1\n}",
211
211
  "output": "{\n \"Response\": {\n \"TotalCount\": 408,\n \"ImageSet\": [\n {\n \"OsName\": \"CentOS 7.4 64-bit\",\n \"ImageSize\": 20,\n \"ImageType\": \"PRIVATE_IMAGE\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"ImageDescription\": \"test-image\",\n \"ImageSource\": \"CREATE_IMAGE\",\n \"ImageId\": \"img-qlzp4oea\",\n \"ImageName\": \"test-image\",\n \"ImageCreator\": \"3205597606\",\n \"ImageState\": \"NORMAL\",\n \"SyncPercent\": null,\n \"SnapshotSet\": [\n {\n \"SnapshotId\": \"snap-gqa37j2p\",\n \"DiskUsage\": \"SYSTEM_DISK\",\n \"DiskSize\": 20\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"Architecture\": \"x86_64\",\n \"Platform\": \"CentOS\",\n \"IsSupportCloudinit\": true\n }\n ],\n \"RequestId\": \"5908394c-5b3f-42e0-a537-8410553890a5\"\n }\n}",
212
212
  "title": "Querying an image by the image type"
213
213
  }
@@ -215,7 +215,7 @@
215
215
  "DescribeImportImageOs": [
216
216
  {
217
217
  "document": " ",
218
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeImportImageOs\r\n&<Common request parameters>",
218
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImportImageOs\n<Common request parameters>\n\n{}",
219
219
  "output": "{\n \"Response\": {\n \"ImportImageOsListSupported\": {\n \"Linux\": [\n \"CentOS\",\n \"Ubuntu\",\n \"Debian\",\n \"OpenSUSE\",\n \"SUSE\",\n \"CoreOS\",\n \"FreeBSD\",\n \"Other Linux\"\n ],\n \"Windows\": [\n \"Windows Server 2008\",\n \"Windows Server 2012\",\n \"Windows Server 2016\"\n ]\n },\n \"ImportImageOsVersionSet\": [\n {\n \"OsName\": \"Windows Server 2008\",\n \"OsVersions\": [\n \"-\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Windows Server 2012\",\n \"OsVersions\": [\n \"-\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Windows Server 2016\",\n \"OsVersions\": [\n \"-\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"CentOS\",\n \"OsVersions\": [\n \"5\",\n \"6\",\n \"7\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"CoreOS\",\n \"OsVersions\": [\n \"7\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Debian\",\n \"OsVersions\": [\n \"6\",\n \"7\",\n \"8\",\n \"9\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"FreeBSD\",\n \"OsVersions\": [\n \"10\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Redhat\",\n \"OsVersions\": [\n \"5\",\n \"6\",\n \"7\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"OpenSUSE\",\n \"OsVersions\": [\n \"11\",\n \"12\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"SUSE\",\n \"OsVersions\": [\n \"10\",\n \"11\",\n \"12\",\n \"13\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Ubuntu\",\n \"OsVersions\": [\n \"10\",\n \"12\",\n \"14\",\n \"16\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Other Linux\",\n \"OsVersions\": [\n \"-\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n }\n ],\n \"RequestId\": \"32064a8f-8d3f-4670-8d4f-60123ca97042\"\n }\n}",
220
220
  "title": "Querying the supported operating systems of imported images"
221
221
  }
@@ -223,29 +223,29 @@
223
223
  "DescribeInstanceFamilyConfigs": [
224
224
  {
225
225
  "document": "This example shows you how to query the supported instance families in the Guangzhou region.",
226
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeInstanceFamilyConfigs\r\n&Region=ap-guangzhou\r\n&<Common request parameters>",
227
- "output": "{\n \"Response\": {\n \"InstanceFamilyConfigSet\": [\n {\n \"InstanceFamilyName\": \"Standard S1\",\n \"InstanceFamily\": \"S1\"\n },\n {\n \"InstanceFamilyName\": \"Network-optimized N1\",\n \"InstanceFamily\": \"N1\"\n },\n {\n \"InstanceFamilyName\": \"High IO I1\",\n \"InstanceFamily\": \"I1\"\n },\n {\n \"InstanceFamilyName\": \"MEM optimized M1\",\n \"InstanceFamily\": \"M1\"\n },\n {\n \"InstanceFamilyName\": \"Standard S2\",\n \"InstanceFamily\": \"S2\"\n },\n {\n \"InstanceFamilyName\": \"Standard network enhanced SN2\",\n \"InstanceFamily\": \"SN2\"\n },\n {\n \"InstanceFamilyName\": \"High IO I2\",\n \"InstanceFamily\": \"I2\"\n },\n {\n \"InstanceFamilyName\": \"MEM optimized M2\",\n \"InstanceFamily\": \"M2\"\n },\n {\n \"InstanceFamilyName\": \"Compute C2\",\n \"InstanceFamily\": \"C2\"\n },\n {\n \"InstanceFamilyName\": \"Compute Network-optimized CN2\",\n \"InstanceFamily\": \"CN2\"\n },\n {\n \"InstanceFamilyName\": \"Standard S3\",\n \"InstanceFamily\": \"S3\"\n },\n {\n \"InstanceFamilyName\": \"Compute C3\",\n \"InstanceFamily\": \"C3\"\n },\n {\n \"InstanceFamilyName\": \"FPGA FX2\",\n \"InstanceFamily\": \"FX2\"\n },\n {\n \"InstanceFamilyName\": \"GPU compute GN2\",\n \"InstanceFamily\": \"GN2\"\n },\n {\n \"InstanceFamilyName\": \"GPU rendering GA2\",\n \"InstanceFamily\": \"GA2\"\n },\n {\n \"InstanceFamilyName\": \"GPU compute GN8\",\n \"InstanceFamily\": \"GN8\"\n },\n {\n \"InstanceFamilyName\": \"Dedicated\",\n \"InstanceFamily\": \"CDH\"\n },\n {\n \"InstanceFamilyName\": \"Shared core\",\n \"InstanceFamily\": \"SHARED\"\n },\n {\n \"InstanceFamilyName\": \"Special models\",\n \"InstanceFamily\": \"SPECIAL\"\n },\n {\n \"InstanceFamilyName\": \"Others\",\n \"InstanceFamily\": \"OTHER\"\n }\n ],\n \"RequestId\": \"b061782b-934a-4e53-b1eb-d5f2fed8130e\"\n }\n}",
226
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceFamilyConfigs\nX-TC-Language: en-US\n&<Common request parameters>\n\n{}",
227
+ "output": "{\n \"Response\": {\n \"InstanceFamilyConfigSet\": [\n {\n \"InstanceFamilyName\": \"Standard S1\",\n \"InstanceFamily\": \"S1\"\n },\n {\n \"InstanceFamilyName\": \"Network-optimized N1\",\n \"InstanceFamily\": \"N1\"\n },\n {\n \"InstanceFamilyName\": \"High IO I1\",\n \"InstanceFamily\": \"I1\"\n },\n {\n \"InstanceFamilyName\": \"MEM optimized M1\",\n \"InstanceFamily\": \"M1\"\n },\n {\n \"InstanceFamilyName\": \"Standard S2\",\n \"InstanceFamily\": \"S2\"\n },\n {\n \"InstanceFamilyName\": \"Standard network enhanced SN2\",\n \"InstanceFamily\": \"SN2\"\n },\n {\n \"InstanceFamilyName\": \"High IO I2\",\n \"InstanceFamily\": \"I2\"\n },\n {\n \"InstanceFamilyName\": \"MEM optimized M2\",\n \"InstanceFamily\": \"M2\"\n },\n {\n \"InstanceFamilyName\": \"Compute C2\",\n \"InstanceFamily\": \"C2\"\n },\n {\n \"InstanceFamilyName\": \"Compute Network-optimized CN2\",\n \"InstanceFamily\": \"CN2\"\n },\n {\n \"InstanceFamilyName\": \"Standard S3\",\n \"InstanceFamily\": \"S3\"\n },\n {\n \"InstanceFamilyName\": \"Compute C3\",\n \"InstanceFamily\": \"C3\"\n },\n {\n \"InstanceFamilyName\": \"FPGA FX2\",\n \"InstanceFamily\": \"FX2\"\n },\n {\n \"InstanceFamilyName\": \"GPU compute GN2\",\n \"InstanceFamily\": \"GN2\"\n },\n {\n \"InstanceFamilyName\": \"GPU rendering GA2\",\n \"InstanceFamily\": \"GA2\"\n },\n {\n \"InstanceFamilyName\": \"GPU compute GN8\",\n \"InstanceFamily\": \"GN8\"\n },\n {\n \"InstanceFamilyName\": \"Dedicated\",\n \"InstanceFamily\": \"CDH\"\n },\n {\n \"InstanceFamilyName\": \"Shared core\",\n \"InstanceFamily\": \"SHARED\"\n }\n ],\n \"RequestId\": \"b061782b-934a-4e53-b1eb-d5f2fed8130e\"\n }\n}",
228
228
  "title": "Querying supported instance families"
229
229
  }
230
230
  ],
231
231
  "DescribeInstances": [
232
232
  {
233
- "document": "This example shows you how to query instances in Guangzhou Zone 1 and Guangzhou Zone 2 and return up to one result.",
234
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\": \"1\",\n \"Filters\": [\n {\n \"Values\": [\n \"ap-guangzhou-2\",\n \"ap-guangzhou-1\"\n ],\n \"Name\": \"zone\"\n }\n ],\n \"Offset\": \"0\"\n}",
235
- "output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"e85f1388-0422-410d-8e50-bef540e78c18\",\n \"InstanceState\": \"RUNNING\",\n \"LatestOperationState\": \"SUCCESS\",\n \"LoginSettings\": {\n \"Password\": \"123qwe!@#QWE\",\n \"KeepImageLogin\": \"False\",\n \"KeyIds\": [\n \"skey-b4vakk62\"\n ]\n },\n \"IPv6Addresses\": [\n \"2001:0db8:86a3:08d3:1319:8a2e:0370:7344\"\n ],\n \"RestrictState\": \"PROTECTIVELY_ISOLATED\",\n \"ExpiredTime\": \"2020-09-22T00:00:00+00:00\",\n \"DisasterRecoverGroupId\": \"\",\n \"Memory\": 1,\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"CPU\": 1,\n \"RdmaIpAddresses\": [],\n \"CamRoleName\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Value\": \"test\",\n \"Key\": \"test\"\n }\n ],\n \"InstanceId\": \"ins-xlsyru2j\",\n \"ImageId\": \"img-8toqc6s3\",\n \"StopChargingMode\": \"NOT_APPLICABLE\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"InstanceType\": \"S2.SMALL2\",\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"CdcId\": null,\n \"DiskId\": \"disk-czsodtl1\",\n \"DiskType\": \"CLOUD_SSD\"\n },\n \"Placement\": {\n \"HostId\": \"host-h3m57oik\",\n \"ProjectId\": 1174660,\n \"HostIds\": [],\n \"Zone\": \"ap-guangzhou-1\"\n },\n \"PrivateIpAddresses\": [\n \"172.16.32.78\"\n ],\n \"OsName\": \"CentOS 7.4 64bit\",\n \"SecurityGroupIds\": [\n \"sg-p1ezv4wz\"\n ],\n \"InstanceName\": \"test\",\n \"DataDisks\": [\n {\n \"DeleteWithInstance\": true,\n \"Encrypt\": true,\n \"CdcId\": null,\n \"DiskType\": \"CLOUD_SSD\",\n \"ThroughputPerformance\": 0,\n \"KmsKeyId\": null,\n \"DiskSize\": 50,\n \"SnapshotId\": null,\n \"DiskId\": \"disk-bzsodtn1\"\n }\n ],\n \"IsolatedSource\": \"NOTISOLATED\",\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-mv4sn55k\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-m0cnatxj\",\n \"PrivateIpAddresses\": [\n \"172.16.3.59\"\n ]\n },\n \"LatestOperationRequestId\": \"c7de1287-061d-4ace-8caf-6ad8e5a2f29a\",\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"BandwidthPackageId\": null,\n \"InternetMaxBandwidthOut\": 1\n },\n \"HpcClusterId\": \"\",\n \"LatestOperation\": \"ResetInstancesType\"\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"d655191e-a39d-43d2-8349-8c3f2bf4b327\"\n }\n}",
236
- "title": "Querying the list of instances"
233
+ "document": "This example shows you how to view instance information in Guangzhou Zone 3 or Guangzhou Zone 4 and limit return results to one.",
234
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"ap-guangzhou-3\",\n \"ap-guangzhou-4\"\n ],\n \"Name\": \"zone\"\n }\n ],\n \"Offset\": 0\n}",
235
+ "output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"e85f1388-0422-410d-8e50-bef540e78c18\",\n \"InstanceState\": \"RUNNING\",\n \"DisableApiTermination\": false,\n \"LatestOperationErrorMsg\": \"\",\n \"DefaultLoginPort\": 22,\n \"LicenseType\": \"TencentCloud\",\n \"DefaultLoginUser\": \"root\",\n \"LatestOperationState\": \"SUCCESS\",\n \"LoginSettings\": {\n \"KeyIds\": [\n \"skey-b4vakk62\"\n ]\n },\n \"IPv6Addresses\": [\n \"2001:0db8:86a3:08d3:1319:8a2e:0370:7344\"\n ],\n \"DedicatedClusterId\": \"\",\n \"RestrictState\": \"PROTECTIVELY_ISOLATED\",\n \"ExpiredTime\": \"2020-09-22T00:00:00+00:00\",\n \"DisasterRecoverGroupId\": \"\",\n \"Memory\": 1,\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"CPU\": 1,\n \"RdmaIpAddresses\": [],\n \"CamRoleName\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Key\": \"myKey\",\n \"Value\": \"myValue\"\n }\n ],\n \"InstanceId\": \"ins-xlsyru2j\",\n \"ImageId\": \"img-8toqc6s3\",\n \"StopChargingMode\": \"NOT_APPLICABLE\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"InstanceType\": \"S2.SMALL2\",\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"CdcId\": \"cdc-xxxxxxxx\",\n \"DiskId\": \"disk-czsodtl1\",\n \"DiskType\": \"CLOUD_SSD\"\n },\n \"Placement\": {\n \"HostId\": \"host-h3m57oik\",\n \"ProjectId\": 1174660,\n \"HostIds\": [],\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"PrivateIpAddresses\": [\n \"172.16.32.78\"\n ],\n \"OsName\": \"CentOS 7.4 64bit\",\n \"SecurityGroupIds\": [\n \"sg-p1ezv4wz\"\n ],\n \"InstanceName\": \"myInstance\",\n \"DataDisks\": [\n {\n \"DeleteWithInstance\": true,\n \"Encrypt\": true,\n \"CdcId\": \"cdc-xxxxxxxx\",\n \"DiskType\": \"CLOUD_SSD\",\n \"ThroughputPerformance\": 0,\n \"KmsKeyId\": \"b29c2f37-9f2d-11ef-8836-5254009ad364\",\n \"DiskSize\": 50,\n \"DiskId\": \"disk-bzsodtn1\"\n }\n ],\n \"IsolatedSource\": \"NOTISOLATED\",\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-mv4sn55k\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-m0cnatxj\",\n \"PrivateIpAddresses\": [\n \"172.16.3.59\"\n ]\n },\n \"LatestOperationRequestId\": \"c7de1287-061d-4ace-8caf-6ad8e5a2f29a\",\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 1\n },\n \"HpcClusterId\": \"\",\n \"LatestOperation\": \"ResetInstancesType\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"d655191e-a39d-43d2-8349-8c3f2bf4b327\"\n }\n}",
236
+ "title": "View Instance List"
237
237
  },
238
238
  {
239
- "document": "This example shows you how to query the list of instances associated with the tag `city:shenzhen`.",
240
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\": \"1\",\n \"Filters\": [\n {\n \"Values\": [\n \"shenzhen\"\n ],\n \"Name\": \"tag:city\"\n }\n ],\n \"Offset\": \"0\"\n}",
241
- "output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"68b510db-b4c1-4630-a62b-73d0c7c970f9\",\n \"InstanceState\": \"RUNNING\",\n \"LatestOperationState\": \"SUCCESS\",\n \"OsName\": \"CentOS 7.6 64bit\",\n \"CreatedTime\": \"2020-03-10T02:43:51Z\",\n \"RestrictState\": \"NORMAL\",\n \"ExpiredTime\": \"2020-04-10T02:47:36Z\",\n \"DisasterRecoverGroupId\": \"\",\n \"Memory\": 1,\n \"IPv6Addresses\": null,\n \"CPU\": 1,\n \"CamRoleName\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Value\": \"shenzhen\",\n \"Key\": \"city\"\n }\n ],\n \"InstanceId\": \"ins-9bxebleo\",\n \"ImageId\": \"img-9qabwvbn\",\n \"StopChargingMode\": \"NOT_APPLICABLE\",\n \"InstanceChargeType\": \"PREPAID\",\n \"InstanceType\": \"S1.SMALL1\",\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskId\": \"disk-nucurerk\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"IsolatedSource\": \"NOTISOLATED\",\n \"Placement\": {\n \"ProjectId\": 1174660,\n \"HostId\": null,\n \"Zone\": \"ap-guangzhou-2\"\n },\n \"PrivateIpAddresses\": [\n \"172.16.32.78\"\n ],\n \"LoginSettings\": {\n \"KeyIds\": null\n },\n \"SecurityGroupIds\": [\n \"sg-p1ezv4wz\"\n ],\n \"InstanceName\": \"Test instance\",\n \"DataDisks\": [],\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-a2676p0e\",\n \"AsVpcGateway\": false,\n \"VpcId\": \"vpc-g7wzcv7n\"\n },\n \"LatestOperationRequestId\": \"3554eb5b-1cfa-471a-ae76-dc436c9d43e8\",\n \"InternetAccessible\": {\n \"InternetMaxBandwidthOut\": 1,\n \"InternetChargeType\": \"BANDWIDTH_PREPAID\"\n },\n \"RdmaIpAddresses\": [],\n \"HpcClusterId\": \"\",\n \"LatestOperation\": \"RenewInstances\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
242
- "title": "Querying instances associated with the specified tag"
239
+ "document": "This example shows you how to query the instance status after initiating StopInstances. You can check that the LatestOperation of the instance is StopInstances and the LatestOperationState is OPERATING using DescribeInstances.",
240
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"ap-guangzhou-3\",\n \"ap-guangzhou-4\"\n ],\n \"Name\": \"zone\"\n }\n ],\n \"Offset\": 0\n}",
241
+ "output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"e85f1388-0422-410d-8e50-bef540e78c18\",\n \"InstanceState\": \"RUNNING\",\n \"DisableApiTermination\": false,\n \"LatestOperationErrorMsg\": \"\",\n \"DefaultLoginPort\": 22,\n \"LicenseType\": \"TencentCloud\",\n \"DefaultLoginUser\": \"root\",\n \"LatestOperationState\": \"OPERATING\",\n \"LoginSettings\": {\n \"KeyIds\": [\n \"skey-b4vakk62\"\n ]\n },\n \"IPv6Addresses\": [\n \"2001:0db8:86a3:08d3:1319:8a2e:0370:7344\"\n ],\n \"RestrictState\": \"PROTECTIVELY_ISOLATED\",\n \"ExpiredTime\": \"2020-09-22T00:00:00+00:00\",\n \"DisasterRecoverGroupId\": \"ps-xxxxxxxx\",\n \"Memory\": 1,\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"CPU\": 1,\n \"RdmaIpAddresses\": [],\n \"CamRoleName\": \"\",\n \"DedicatedClusterId\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Key\": \"city\",\n \"Value\": \"shenzhen\"\n }\n ],\n \"InstanceId\": \"ins-xlsyru2j\",\n \"ImageId\": \"img-8toqc6s3\",\n \"StopChargingMode\": \"NOT_APPLICABLE\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"InstanceType\": \"S2.SMALL2\",\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"CdcId\": \"cdc-xxxxxxxx\",\n \"DiskId\": \"disk-czsodtl1\",\n \"DiskType\": \"CLOUD_SSD\"\n },\n \"Placement\": {\n \"HostId\": \"host-h3m57oik\",\n \"ProjectId\": 1174660,\n \"HostIds\": [],\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"PrivateIpAddresses\": [\n \"172.16.32.78\"\n ],\n \"OsName\": \"CentOS 7.4 64bit\",\n \"SecurityGroupIds\": [\n \"sg-p1ezv4wz\"\n ],\n \"InstanceName\": \"myInstance\",\n \"DataDisks\": [\n {\n \"DeleteWithInstance\": true,\n \"Encrypt\": true,\n \"CdcId\": \"cdc-xxxxxxxx\",\n \"DiskType\": \"CLOUD_SSD\",\n \"ThroughputPerformance\": 0,\n \"KmsKeyId\": \"b29c2f37-9f2d-11ef-8836-5254009ad364\",\n \"DiskSize\": 50,\n \"DiskId\": \"disk-bzsodtn1\"\n }\n ],\n \"IsolatedSource\": \"NOTISOLATED\",\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-mv4sn55k\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-m0cnatxj\",\n \"PrivateIpAddresses\": [\n \"172.16.3.59\"\n ]\n },\n \"LatestOperationRequestId\": \"c7de1287-061d-4ace-8caf-6ad8e5a2f29a\",\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 1\n },\n \"HpcClusterId\": \"\",\n \"LatestOperation\": \"StopInstances\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"d655191e-a39d-43d2-8349-8c3f2bf4b327\"\n }\n}",
242
+ "title": "Querying the Latest Operation on an Instance"
243
243
  },
244
244
  {
245
- "document": "This example shows you how to use `DescribeInstances` to query an instance after using `StopInstances` to stop it. You will see that the value of `LatestOperation` is `StopInstances` and `LatestOperationState` is `OPERATING`.",
246
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\": \"1\",\n \"Filters\": [\n {\n \"Values\": [\n \"ap-guangzhou-2\",\n \"ap-guangzhou-1\"\n ],\n \"Name\": \"zone\"\n }\n ],\n \"Offset\": \"0\"\n}",
247
- "output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"e85f1388-0422-410d-8e50-bef540e78c18\",\n \"InstanceState\": \"RUNNING\",\n \"LatestOperationState\": \"OPERATING\",\n \"LoginSettings\": {\n \"Password\": \"123qwe!@#QWE\",\n \"KeepImageLogin\": \"False\",\n \"KeyIds\": [\n \"skey-b4vakk62\"\n ]\n },\n \"IPv6Addresses\": [\n \"2001:0db8:86a3:08d3:1319:8a2e:0370:7344\"\n ],\n \"RestrictState\": \"PROTECTIVELY_ISOLATED\",\n \"ExpiredTime\": \"2020-09-22T00:00:00+00:00\",\n \"DisasterRecoverGroupId\": \"xx\",\n \"Memory\": 1,\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"CPU\": 1,\n \"RdmaIpAddresses\": [],\n \"CamRoleName\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Value\": \"test\",\n \"Key\": \"test\"\n }\n ],\n \"InstanceId\": \"ins-xlsyru2j\",\n \"ImageId\": \"img-8toqc6s3\",\n \"StopChargingMode\": \"NOT_APPLICABLE\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"InstanceType\": \"S2.SMALL2\",\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"CdcId\": null,\n \"DiskId\": \"disk-czsodtl1\",\n \"DiskType\": \"CLOUD_SSD\"\n },\n \"Placement\": {\n \"HostId\": \"host-h3m57oik\",\n \"ProjectId\": 1174660,\n \"HostIds\": [],\n \"Zone\": \"ap-guangzhou-1\"\n },\n \"PrivateIpAddresses\": [\n \"172.16.32.78\"\n ],\n \"OsName\": \"CentOS 7.4 64bit\",\n \"SecurityGroupIds\": [\n \"sg-p1ezv4wz\"\n ],\n \"InstanceName\": \"test\",\n \"DataDisks\": [\n {\n \"DeleteWithInstance\": true,\n \"Encrypt\": true,\n \"CdcId\": null,\n \"DiskType\": \"CLOUD_SSD\",\n \"ThroughputPerformance\": 0,\n \"KmsKeyId\": null,\n \"DiskSize\": 50,\n \"SnapshotId\": null,\n \"DiskId\": \"disk-bzsodtn1\"\n }\n ],\n \"IsolatedSource\": \"NOTISOLATED\",\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-mv4sn55k\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-m0cnatxj\",\n \"PrivateIpAddresses\": [\n \"172.16.3.59\"\n ]\n },\n \"LatestOperationRequestId\": \"c7de1287-061d-4ace-8caf-6ad8e5a2f29a\",\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"BandwidthPackageId\": null,\n \"InternetMaxBandwidthOut\": 1\n },\n \"HpcClusterId\": \"\",\n \"LatestOperation\": \"StopInstances\"\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"d655191e-a39d-43d2-8349-8c3f2bf4b327\"\n }\n}",
248
- "title": "Querying the latest operation and status"
245
+ "document": "This example shows you how to query instances bound with the tag key-value pair (city:shenzhen).",
246
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"shenzhen\"\n ],\n \"Name\": \"tag:city\"\n }\n ],\n \"Offset\": 0\n}",
247
+ "output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"68b510db-b4c1-4630-a62b-73d0c7c970f9\",\n \"InstanceState\": \"RUNNING\",\n \"DisableApiTermination\": false,\n \"LatestOperationErrorMsg\": \"\",\n \"DefaultLoginPort\": 22,\n \"LicenseType\": \"TencentCloud\",\n \"DefaultLoginUser\": \"root\",\n \"LatestOperationState\": \"SUCCESS\",\n \"OsName\": \"CentOS 7.6 64bit\",\n \"CreatedTime\": \"2020-03-10T02:43:51Z\",\n \"RestrictState\": \"NORMAL\",\n \"ExpiredTime\": \"2020-04-10T02:47:36Z\",\n \"DisasterRecoverGroupId\": \"\",\n \"Memory\": 1,\n \"IPv6Addresses\": [\n \"fd76:3600:71e:7800:6:461d:4e8:3add\"\n ],\n \"CPU\": 1,\n \"CamRoleName\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Key\": \"city\",\n \"Value\": \"shenzhen\"\n }\n ],\n \"InstanceId\": \"ins-9bxebleo\",\n \"ImageId\": \"img-9qabwvbn\",\n \"StopChargingMode\": \"NOT_APPLICABLE\",\n \"InstanceChargeType\": \"PREPAID\",\n \"InstanceType\": \"S1.SMALL1\",\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskId\": \"disk-nucurerk\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"IsolatedSource\": \"NOTISOLATED\",\n \"Placement\": {\n \"ProjectId\": 1174660,\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"PrivateIpAddresses\": [\n \"172.16.32.78\"\n ],\n \"LoginSettings\": {\n \"KeyIds\": [\n \"skey-0lqrhzz1\"\n ]\n },\n \"SecurityGroupIds\": [\n \"sg-p1ezv4wz\"\n ],\n \"DedicatedClusterId\": \"\",\n \"InstanceName\": \"Test instance\",\n \"DataDisks\": [],\n \"VirtualPrivateCloud\": {\n \"Ipv6AddressCount\": 1,\n \"PrivateIpAddresses\": [\n \"172.16.3.59\"\n ],\n \"SubnetId\": \"subnet-a2676p0e\",\n \"AsVpcGateway\": false,\n \"VpcId\": \"vpc-g7wzcv7n\"\n },\n \"LatestOperationRequestId\": \"3554eb5b-1cfa-471a-ae76-dc436c9d43e8\",\n \"InternetAccessible\": {\n \"InternetMaxBandwidthOut\": 1,\n \"InternetChargeType\": \"BANDWIDTH_PREPAID\"\n },\n \"RdmaIpAddresses\": [],\n \"HpcClusterId\": \"\",\n \"LatestOperation\": \"RenewInstances\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
248
+ "title": "Querying Instances Bound to Tags"
249
249
  }
250
250
  ],
251
251
  "DescribeInstancesAttributes": [
@@ -259,15 +259,15 @@
259
259
  "DescribeInstancesOperationLimit": [
260
260
  {
261
261
  "document": " ",
262
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeInstancesOperationLimit\r\n&InstanceIds.0=ins-r8hr2upy\r\n&Operation=INSTANCE_DEGRADE\r\n&<Common request parameters>",
263
- "output": "{\n \"Response\": {\n \"InstanceOperationLimitSet\": [\n {\n \"Operation\": \"INSTANCE_DEGRADE\",\n \"InstanceId\": \"ins-r8hr2upy\",\n \"CurrentCount\": 0,\n \"LimitCount\": 5\n }\n ],\n \"RequestId\": \"951caf78-580f-42f6-8b83-a902d051d672\"\n }\n}",
262
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstancesOperationLimit\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-r7ov05ke\"\n ],\n \"Operation\": \"INSTANCE_DEGRADE\"\n}",
263
+ "output": "{\n \"Response\": {\n \"InstanceOperationLimitSet\": [\n {\n \"CurrentCount\": 0,\n \"InstanceId\": \"ins-r7ov05ke\",\n \"LimitCount\": 5,\n \"Operation\": \"INSTANCE_DEGRADE\"\n }\n ],\n \"RequestId\": \"ce7aeaa3-37c9-48e2-abbf-7c1264cf5e9c\"\n }\n}",
264
264
  "title": "Querying the number of configuration downgrade operations allowed"
265
265
  }
266
266
  ],
267
267
  "DescribeInstancesStatus": [
268
268
  {
269
269
  "document": "This example shows you how to query the status of two specified instances.",
270
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeInstancesStatus\n&InstanceIds.0=ins-r8hr2upy\n&InstanceIds.1=ins-5d8a23rs\n&Offset=0\n&Limit=2\n&<Common request parameters>",
270
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstancesStatus\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-r8hr2upy\",\n \"ins-5d8a23rs\"\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
271
271
  "output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"InstanceStatusSet\": [\n {\n \"InstanceId\": \"ins-r8hr2upy\",\n \"InstanceState\": \"RUNNING\"\n },\n {\n \"InstanceId\": \"ins-5d8a23rs\",\n \"InstanceState\": \"STOPPED\"\n }\n ],\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
272
272
  "title": "Querying the list of instance status"
273
273
  }
@@ -275,7 +275,7 @@
275
275
  "DescribeInternetChargeTypeConfigs": [
276
276
  {
277
277
  "document": "This example shows you how to query the list of all network billing modes and select one for the CVM created using the API.",
278
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeInternetChargeTypeConfigs\r\n&<Common request parameters>",
278
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInternetChargeTypeConfigs\nX-TC-Language: en-US\n<Common request parameters>\n\n{}",
279
279
  "output": "{\n \"Response\": {\n \"InternetChargeTypeConfigSet\": [\n {\n \"InternetChargeType\": \"BANDWIDTH_PREPAID\",\n \"Description\": \"Bill by monthly bandwidth subscription\"\n },\n {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"Description\": \"Bill by traffic\"\n },\n {\n \"InternetChargeType\": \"BANDWIDTH_POSTPAID_BY_HOUR\",\n \"Description\": \"Bill by bandwidth usage period\"\n },\n {\n \"InternetChargeType\": \"BANDWIDTH_PACKAGE\",\n \"Description\": \"Bill by bandwidth package\"\n }\n ],\n \"RequestId\": \"c2abdac4-ea7b-4653-b07c-87cc303fabf0\"\n }\n}",
280
280
  "title": "Querying network billing modes"
281
281
  }
@@ -283,24 +283,24 @@
283
283
  "DescribeKeyPairs": [
284
284
  {
285
285
  "document": "This example shows you how to query the list of key pairs.",
286
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeKeyPairs\n&Filters.0.Name=key-name\n&Filters.0.Values.0=Tencent\n&Offset=0\n&Limit=20\n&<Common request parameters>",
287
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"KeyPairSet\": [\n {\n \"KeyId\": \"skey-mv9yzyjj\",\n \"KeyName\": \"Tencent\",\n \"Description\": \"\",\n \"PublicKey\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDP0Yw2T4itUKOJQIK69c1Asy1UO88cxEbujR5Jbr0e/Ey1v4ZKAUzDnsBnFlf4hKPA1YvMB8RBYj4GcLtM7PrKnBNNram8rgl73X/klOO8oqKv+J/XUA7KHH1Y6wcn1RTRTMdDHbGhW1q/UpfeylNTbf+wEIWhEfaL5FKQm4hqCw== skey_112168\",\n \"AssociatedInstanceIds\": [],\n \"CreatedTime\": \"2016-12-02T00:22:40Z\"\n }\n ],\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
286
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKeyPairs\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Name\": \"key-name\",\n \"Values\": [\n \"MyKeyPair\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 1\n}",
287
+ "output": "{\n \"Response\": {\n \"KeyPairSet\": [\n {\n \"AssociatedInstanceIds\": [],\n \"CreatedTime\": \"2025-10-16T08:12:48Z\",\n \"Description\": \"\",\n \"KeyId\": \"skey-1q8j7b93\",\n \"KeyName\": \"MyKeyPair\",\n \"ProjectId\": 0,\n \"PublicKey\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8gSdflU6iZDlLp3uRgfIQ7d9gl4SzF2yO9BJ1VyzhgWkbYsUS8u7qbwxC6UeAc8364FhT4MjVjXi/+6hYpDnnMiK6lqKBxotLupUtkVmYt+osdPP+y3OcCzTqHWCsY3s7AvyvD41+nuH6LrpXZ4LlHJynPc66eqd5gpnCyg2O1sxW+pd2Zigk0QGWiCuVtm4ICEp3DNHG/9wlVzd++xODf398JU3ebxBsXfe46mFSkyBVbsJLuNueZd4eGDS3q0WhimnvpgZoYOGsNPl4GBLCGOHWZrl/9hE+az6P8W7QwpVe5gvy5MG3usk6zpc0f/diZrdXX7 skey-1q8j7b93\",\n \"Tags\": [\n {\n \"Key\": \"MyKeyPairTagKey\",\n \"Value\": \"MyKeyPairTagValue\"\n }\n ]\n }\n ],\n \"RequestId\": \"eebd54d0-a305-4716-9a84-6017ac14e8c8\",\n \"TotalCount\": 120\n }\n}",
288
288
  "title": "Querying the List of Key Pairs"
289
289
  }
290
290
  ],
291
291
  "DescribeLaunchTemplateVersions": [
292
292
  {
293
293
  "document": " ",
294
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeLaunchTemplateVersions\n&LaunchTemplateId=lt-b8v1kcyq\n&<Common request parameters>",
295
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LaunchTemplateVersionSet\": [\n {\n \"LaunchTemplateVersion\": 1,\n \"LaunchTemplateVersionData\": {\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-he88kvqu\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"VpcId\": \"vpc-dcteo7jd\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-2\"\n },\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"ImageId\": \"img-8toqc6s3\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n }\n },\n \"SecurityGroupIds\": [\n \"sg-rf6ogz49\"\n ],\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 100\n },\n \"InstanceName\": \"lt_test\",\n \"InstanceType\": \"S1.SMALL2\",\n \"DataDisks\": [\n {\n \"Encrypt\": false,\n \"DeleteWithInstance\": true,\n \"KmsKeyId\": \"\",\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n {\n \"Encrypt\": true,\n \"DeleteWithInstance\": true,\n \"KmsKeyId\": \"\",\n \"DiskSize\": 60,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n },\n \"CreationTime\": \"2020-12-17T01:54:31Z\",\n \"LaunchTemplateId\": \"lt-b8v1kcyq\",\n \"IsDefaultVersion\": true,\n \"LaunchTemplateVersionDescription\": \"\",\n \"CreatedBy\": \"251009920\"\n }\n ],\n \"RequestId\": \"b2da6ace-add1-48dc-ae73-6fc1eed95f1d\"\n }\n}",
294
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLaunchTemplateVersions\n<Common request parameters>\n\n{\n \"LaunchTemplateId\": \"lt-b8v1kcyq\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
295
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LaunchTemplateVersionSet\": [\n {\n \"LaunchTemplateVersion\": 1,\n \"LaunchTemplateVersionData\": {\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-he88kvqu\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"VpcId\": \"vpc-dcteo7jd\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-6\"\n },\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"ImageId\": \"img-8toqc6s3\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n }\n },\n \"SecurityGroupIds\": [\n \"sg-rf6ogz49\"\n ],\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 100\n },\n \"InstanceName\": \"lt_test\",\n \"InstanceType\": \"S5.16XLARGE256\",\n \"DataDisks\": [\n {\n \"Encrypt\": false,\n \"DeleteWithInstance\": true,\n \"KmsKeyId\": \"\",\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n {\n \"Encrypt\": true,\n \"DeleteWithInstance\": true,\n \"KmsKeyId\": \"\",\n \"DiskSize\": 60,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n },\n \"CreationTime\": \"2020-12-17T01:54:31Z\",\n \"LaunchTemplateId\": \"lt-b8v1kcyq\",\n \"IsDefaultVersion\": true,\n \"LaunchTemplateVersionDescription\": \"\",\n \"CreatedBy\": \"251009920\"\n }\n ],\n \"RequestId\": \"b2da6ace-add1-48dc-ae73-6fc1eed95f1d\"\n }\n}",
296
296
  "title": "Querying instance launch template versions"
297
297
  }
298
298
  ],
299
299
  "DescribeLaunchTemplates": [
300
300
  {
301
301
  "document": " ",
302
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLaunchTemplates\n<Common request parameters>\n\n{\n \"LaunchTemplateIds\": [\n \"lt-q9t8j8eg\"\n ]\n}",
303
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LaunchTemplateSet\": [\n {\n \"LatestVersionNumber\": 12,\n \"LaunchTemplateId\": \"lt-q9t8j8eg\",\n \"LaunchTemplateName\": \"Not named foo\\\"'\\\"'''\\\"\\\"\",\n \"DefaultVersionNumber\": 5,\n \"LaunchTemplateVersionCount\": 8,\n \"CreatedBy\": \"251009920\",\n \"CreationTime\": \"2020-12-16T08:05:02Z\"\n }\n ],\n \"RequestId\": \"b2d70642-c69a-4115-ae4e-f6ddade68fea\"\n }\n}",
302
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLaunchTemplates\n<Common request parameters>\n\n{\n \"LaunchTemplateIds\": [\n \"lt-q9t8j8eg\"\n ]\n}",
303
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LaunchTemplateSet\": [\n {\n \"LatestVersionNumber\": 12,\n \"LaunchTemplateId\": \"lt-q9t8j8eg\",\n \"LaunchTemplateName\": \"MyLaunchTemplateName\",\n \"DefaultVersionNumber\": 5,\n \"LaunchTemplateVersionCount\": 8,\n \"CreatedBy\": \"251009920\",\n \"CreationTime\": \"2020-12-16T08:05:02Z\"\n }\n ],\n \"RequestId\": \"b2d70642-c69a-4115-ae4e-f6ddade68fea\"\n }\n}",
304
304
  "title": "Querying an instance launch template"
305
305
  }
306
306
  ],
@@ -315,32 +315,32 @@
315
315
  "DescribeReservedInstances": [
316
316
  {
317
317
  "document": "This example shows you how to list purchased reserved instances.",
318
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeReservedInstances\n&Filters.0.Name=zone\n&Filters.0.Values.0=ap-guangzhou-1\n&Limit=1\n&<Common request parameters>",
319
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ReservedInstancesSet\": [\n {\n \"ReservedInstanceId\": \"ri-rtbh4han\",\n \"ReservedInstancesId\": \"ri-rtbh4han\",\n \"ReservedInstanceName\": \"riname-01\",\n \"InstanceType\": \"S3.16XLARGE256\",\n \"InstanceFamily\": \"S3\",\n \"Zone\": \"ap-guangzhou-1\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"Duration\": 31536000,\n \"InstanceCount\": 1,\n \"ProductDescription\": \"linux\",\n \"State\": \"active\",\n \"CurrencyCode\": \"USD\",\n \"OfferingType\": \"All Upfront\"\n }\n ],\n \"RequestId\": \"9cb3dd3d-5717-47c4-bf3b-05c7ddb4655b\"\n }\n}",
318
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstances\n<Common request parameters>\n\n{\n \"Offset\": 0,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Name\": \"zone\",\n \"Values\": [\n \"ap-singapore-1\"\n ]\n }\n ]\n}",
319
+ "output": "{\n \"Response\": {\n \"RequestId\": \"dcb99aa2-f50d-43c6-aadd-74775f016db2\",\n \"ReservedInstancesSet\": [\n {\n \"CurrencyCode\": \"USD\",\n \"Duration\": 31536000,\n \"EndTime\": \"2024-07-30 10:59:59\",\n \"InstanceCount\": 1,\n \"InstanceFamily\": \"S5\",\n \"InstanceType\": \"S5.MEDIUM2\",\n \"OfferingType\": \"No Upfront\",\n \"ProductDescription\": \"linux\",\n \"ReservedInstanceId\": \"ri-je53w05q\",\n \"ReservedInstanceName\": \"Unnamed\",\n \"StartTime\": \"2023-07-31 10:00:00\",\n \"State\": \"retired\",\n \"Zone\": \"ap-singapore-1\"\n }\n ],\n \"TotalCount\": 3\n }\n}",
320
320
  "title": "Listing Purchased Reserved Instances"
321
321
  }
322
322
  ],
323
323
  "DescribeReservedInstancesConfigInfos": [
324
324
  {
325
325
  "document": " ",
326
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeReservedInstancesConfigInfos\n&Filters.0.Name=zone\n&Filters.0.Values.0=ap-guangzhou-1\n&Offset=0\n&Limit=1\n&<Common request parameters>",
327
- "output": "{\n \"Response\": {\n \"ReservedInstanceConfigInfos\": [\n {\n \"Type\": \"C\",\n \"TypeName\": \"Compute\",\n \"Order\": 400,\n \"InstanceFamilies\": [\n {\n \"InstanceFamily\": \"C3\",\n \"Order\": 402,\n \"InstanceTypes\": [\n {\n \"InstanceType\": \"C3.LARGE8\",\n \"Cpu\": 4,\n \"Memory\": 8,\n \"Gpu\": 0,\n \"Fpga\": 0,\n \"StorageBlock\": 0,\n \"NetworkCard\": 0,\n \"MaxBandwidth\": 2.5,\n \"Frequency\": \"3.2 GHz\",\n \"CpuModelName\": \"Intel Xeon Skylake 6146\",\n \"Pps\": 60,\n \"Externals\": {},\n \"Remark\": \"\",\n \"Prices\": [\n {\n \"ReservedInstancesOfferingId\": \"de06832b-1961-4efd-a470-efee242812a8\",\n \"OfferingType\": \"All Upfront\",\n \"FixedPrice\": 200.99,\n \"UsagePrice\": 0\n },\n {\n \"ReservedInstancesOfferingId\": \"daa72710-c529-4ab3-afca-917e192ea49d\",\n \"OfferingType\": \"Partial Upfront\",\n \"FixedPrice\": 100.99,\n \"UsagePrice\": 1.99\n },\n {\n \"ReservedInstancesOfferingId\": \"d81353d7-fe7d-43d0-a361-fb5633a9a7e5\",\n \"OfferingType\": \"No Upfront\",\n \"FixedPrice\": 0,\n \"UsagePrice\": 2.99\n }\n ]\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"87eccd3e-9e7a-4b42-be3a-87eccd3e\"\n }\n}",
326
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstancesConfigInfos\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Name\": \"zone\",\n \"Values\": [\n \"ap-singapore-1\"\n ]\n }\n ]\n}",
327
+ "output": "{\n \"Response\": {\n \"RequestId\": \"e54a769e-c5aa-408b-b4df-10425ac14ebf\",\n \"ReservedInstanceConfigInfos\": [\n {\n \"InstanceFamilies\": [\n {\n \"InstanceFamily\": \"S5\",\n \"InstanceTypes\": [\n {\n \"Cpu\": 2,\n \"CpuModelName\": \"Intel Xeon Cascade Lake 8255C/Intel Xeon Cooper Lake\",\n \"Fpga\": 0,\n \"Frequency\": \"2.5GHz/3.1GHz\",\n \"Gpu\": 0,\n \"InstanceType\": \"S5.MEDIUM4\",\n \"MaxBandwidth\": 1.5,\n \"Memory\": 4,\n \"NetworkCard\": 25,\n \"Pps\": 30,\n \"Prices\": [\n {\n \"Duration\": 31536000,\n \"FixedPrice\": 409,\n \"OfferingType\": \"All Upfront\",\n \"ProductDescription\": \"linux\",\n \"ReservedInstancesOfferingId\": \"34919144-2792-4b00-ba8b-0ba804f28a4e\",\n \"UsagePrice\": 0,\n \"Zone\": \"ap-singapore-1\"\n }\n ],\n \"Remark\": \"\",\n \"StorageBlock\": 0\n }\n ],\n \"Order\": 88\n }\n ],\n \"Order\": 100,\n \"Type\": \"S\",\n \"TypeName\": \"Standard\"\n }\n ]\n }\n}",
328
328
  "title": "Querying reserved instance configurations"
329
329
  }
330
330
  ],
331
331
  "DescribeReservedInstancesOfferings": [
332
332
  {
333
333
  "document": " ",
334
- "input": "https://cvm.tencentcloudapi.com/?Action=DescribeReservedInstancesOfferings\r\n&Filters.0.Name=zone\r\n&Filters.0.Values.0=ap-guangzhou-1\r\n&Offset=0\r\n&Limit=1\r\n&<Common request parameters>",
335
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ReservedInstancesOfferingsSet\": [\n {\n \"Zone\": \"ap-guangzhou-1\",\n \"CurrencyCode\": \"USD\",\n \"Duration\": 31536000,\n \"FixedPrice\": 4000.0,\n \"InstanceType\": \"S3.MEDIUM4\",\n \"OfferingType\": \"All Upfront\",\n \"ReservedInstancesOfferingId\": \"noew0342-324f-f3ab-9uut-wrlnth53dcee\",\n \"ProductDescription\": \"linux\",\n \"UsagePrice\": 0.0\n }\n ],\n \"RequestId\": \"b813c959-cc89-41d5-9cc4-ceb7d853dcaa\"\n }\n}",
334
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstancesOfferings\n<Common request parameters>\n\n{\n \"Offset\": 0,\n \"Limit\": 3,\n \"Filters\": [\n {\n \"Name\": \"zone\",\n \"Values\": [\n \"ap-singapore-1\"\n ]\n }\n ]\n}",
335
+ "output": "{\n \"Response\": {\n \"RequestId\": \"0aca8cc9-8812-477f-b442-10cc1a701d48\",\n \"ReservedInstancesOfferingsSet\": [\n {\n \"CurrencyCode\": \"USD\",\n \"Duration\": 31536000,\n \"FixedPrice\": 412,\n \"InstanceType\": \"S5.LARGE8\",\n \"OfferingType\": \"Partial Upfront\",\n \"ProductDescription\": \"linux\",\n \"ReservedInstancesOfferingId\": \"f5ededc6-5057-4863-a61b-fe96b4b96eb5\",\n \"UsagePrice\": 0.05,\n \"Zone\": \"ap-singapore-1\"\n },\n {\n \"CurrencyCode\": \"USD\",\n \"Duration\": 31536000,\n \"FixedPrice\": 0,\n \"InstanceType\": \"S5.LARGE8\",\n \"OfferingType\": \"No Upfront\",\n \"ProductDescription\": \"linux\",\n \"ReservedInstancesOfferingId\": \"7330ec0e-0ee2-4358-a429-4002c936c24d\",\n \"UsagePrice\": 0.1,\n \"Zone\": \"ap-singapore-1\"\n },\n {\n \"CurrencyCode\": \"USD\",\n \"Duration\": 31536000,\n \"FixedPrice\": 1200,\n \"InstanceType\": \"S5.LARGE16\",\n \"OfferingType\": \"All Upfront\",\n \"ProductDescription\": \"linux\",\n \"ReservedInstancesOfferingId\": \"e26bfbf3-85fa-4c88-82a8-0dd2706e60db\",\n \"UsagePrice\": 0,\n \"Zone\": \"ap-singapore-1\"\n }\n ],\n \"TotalCount\": 20\n }\n}",
336
336
  "title": "Describing reserved instance offerings"
337
337
  }
338
338
  ],
339
339
  "DescribeZoneInstanceConfigInfos": [
340
340
  {
341
341
  "document": "This example shows you how to query the list of instance configurations using availability zone and billing mode as filter conditions.",
342
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZoneInstanceConfigInfos\n<Common request parameters>\n\n\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"POSTPAID_BY_HOUR\"\n ],\n \"Name\": \"instance-charge-type\"\n },\n {\n \"Values\": [\n \"ap-guangzhou-2\"\n ],\n \"Name\": \"zone\"\n }\n ]\n}",
343
- "output": "{\n \"Response\": {\n \"InstanceTypeQuotaSet\": [\n {\n \"Status\": \"SELL\",\n \"Zone\": \"ap-guangzhou-2\",\n \"NetworkCard\": 0,\n \"Price\": {\n \"DiscountPrice\": 59.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.0,\n \"UnitPriceThirdStep\": 0.0,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.0,\n \"UnitPriceSecondStep\": 0.0,\n \"OriginalPrice\": 59.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.0,\n \"UnitPriceDiscount\": 0.0,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 708.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 587.64\n },\n \"InstanceFamily\": \"S2\",\n \"Externals\": {},\n \"InstanceType\": \"S2.SMALL1\",\n \"TypeName\": \"Standard S2\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"Memory\": 1,\n \"LocalDiskTypeList\": [],\n \"Cpu\": 1,\n \"SoldOutReason\": \"\",\n \"StorageBlockAmount\": 0,\n \"CpuType\": \"Intel Xeon E5-2680 v4\",\n \"InstancePps\": 20,\n \"InstanceBandwidth\": 1.5,\n \"Gpu\": 0,\n \"GpuCount\": 0.0,\n \"Fpga\": 0,\n \"Remark\": \"\",\n \"Frequency\": \"2.4GHz\"\n }\n ],\n \"RequestId\": \"c28559ca-d3cf-40f0-9664-2ab303484efa\"\n }\n}",
342
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZoneInstanceConfigInfos\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"POSTPAID_BY_HOUR\"\n ],\n \"Name\": \"instance-charge-type\"\n },\n {\n \"Values\": [\n \"ap-guangzhou-6\"\n ],\n \"Name\": \"zone\"\n }\n ]\n}",
343
+ "output": "{\n \"Response\": {\n \"InstanceTypeQuotaSet\": [\n {\n \"Status\": \"SELL\",\n \"Zone\": \"ap-guangzhou-6\",\n \"NetworkCard\": 0,\n \"Price\": {\n \"DiscountPrice\": 59.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.0,\n \"UnitPriceThirdStep\": 0.0,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.0,\n \"UnitPriceSecondStep\": 0.0,\n \"OriginalPrice\": 59.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.0,\n \"UnitPriceDiscount\": 0.0,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 708.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 587.64\n },\n \"InstanceFamily\": \"S2\",\n \"Externals\": {},\n \"InstanceType\": \"S2.SMALL1\",\n \"TypeName\": \"Standard S2\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"Memory\": 1,\n \"LocalDiskTypeList\": [],\n \"Cpu\": 1,\n \"SoldOutReason\": \"\",\n \"StorageBlockAmount\": 0,\n \"CpuType\": \"Intel Xeon E5-2680 v4\",\n \"InstancePps\": 20,\n \"InstanceBandwidth\": 1.5,\n \"Gpu\": 0,\n \"GpuCount\": 0.0,\n \"Fpga\": 0,\n \"Remark\": \"\",\n \"Frequency\": \"2.4GHz\"\n }\n ],\n \"RequestId\": \"c28559ca-d3cf-40f0-9664-2ab303484efa\"\n }\n}",
344
344
  "title": "Obtaining the List of Instance Configurations in an Availability Zone"
345
345
  }
346
346
  ],
@@ -361,7 +361,7 @@
361
361
  "DisassociateInstancesKeyPairs": [
362
362
  {
363
363
  "document": " ",
364
- "input": "https://cvm.tencentcloudapi.com/?Action=DisassociateInstancesKeyPairs\n&InstanceIds.0=ins-w34e5rl9\n&KeyIds.0=skey-e3r6y7ji\n&<Common request parameters>",
364
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisassociateInstancesKeyPairs\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-w34e5rl9\"\n ],\n \"KeyIds\": [\n \"skey-e3r6y7ji\"\n ]\n}",
365
365
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
366
366
  "title": "Disassociating a key pair from an instance"
367
367
  }
@@ -369,7 +369,7 @@
369
369
  "DisassociateSecurityGroups": [
370
370
  {
371
371
  "document": " ",
372
- "input": "https://cvm.tencentcloudapi.com/?Action=DisassociateSecurityGroups\n&InstanceIds.0=ins-2zvpghhc\n&InstanceIds.1=ins-915zrb0p\n&SecurityGroupIds.0=sg-9id3l839\n&<Common request parameters>",
372
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisassociateSecurityGroups\n<Common request parameters>\n\n{\n \"SecurityGroupIds\": [\n \"sg-9id3l839\"\n ],\n \"InstanceIds\": [\n \"ins-2zvpghhc\",\n \"ins-915zrb0p\"\n ]\n}",
373
373
  "output": "{\n \"Response\": {\n \"RequestId\": \"3385dcf2-e1f0-4ed8-a924-c296721ab65f\"\n }\n}",
374
374
  "title": "Disassociating instances from security groups"
375
375
  }
@@ -377,7 +377,7 @@
377
377
  "EnterRescueMode": [
378
378
  {
379
379
  "document": " ",
380
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnterRescueMode\n<Common request parameters>\n\n\n\n{\n \"InstanceId\": \"instance_Id\",\n \"Password\": \"\\\"uu7797UUX\\\"\"\n}",
380
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnterRescueMode\n<Common request parameters>\n\n{\n \"InstanceId\": \"ins-axzc12s\",\n \"Password\": \"Qcloud@TestApi123++\"\n}",
381
381
  "output": "{\n \"Response\": {\n \"RequestId\": \"5920380e-277a-420a-a221-0caac3eb7159\"\n }\n}",
382
382
  "title": "Entering the Rescue Mode"
383
383
  }
@@ -385,7 +385,7 @@
385
385
  "ExitRescueMode": [
386
386
  {
387
387
  "document": " ",
388
- "input": "https://cvm.tencentcloudapi.com/?Action=ExitRescueMode\n&InstanceId=instance_Id\n&<Common request parameters>",
388
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExitRescueMode\n<Common request parameters>\n\n{\n \"InstanceId\": \"ins-axzc12s\"\n}",
389
389
  "output": "{\n \"Response\": {\n \"RequestId\": \"5920380e-277a-420a-a221-0caac3eb7159\"\n }\n}",
390
390
  "title": "Exiting the Rescue Mode"
391
391
  }
@@ -417,15 +417,31 @@
417
417
  "InquirePricePurchaseReservedInstancesOffering": [
418
418
  {
419
419
  "document": " ",
420
- "input": "https://cvm.tencentcloudapi.com/?Action=InquirePricePurchaseReservedInstancesOffering\n&InstanceCount=2\n&ReservedInstancesOfferingId=noew0342-324f-f3ab-9uut-wrlnth53dcee\n&<Common request parameters>",
421
- "output": "{\n \"Response\": {\n \"RequestId\": \"b333ddb8-4aed-4def-a0d9-617043c2614e\"\n }\n}",
420
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquirePricePurchaseReservedInstancesOffering\n<Common request parameters>\n\n{\n \"InstanceCount\": 1,\n \"ReservedInstancesOfferingId\": \"694e115d-e1b2-47f5-8217-bfbdea222da1\"\n}",
421
+ "output": "{\n \"Response\": {\n \"Price\": {\n \"DiscountFixedPrice\": 101,\n \"DiscountUsagePrice\": 0,\n \"FixedPriceDiscount\": 100,\n \"OriginalFixedPrice\": 101,\n \"OriginalUsagePrice\": 0,\n \"UsagePriceDiscount\": 100\n },\n \"RequestId\": \"5e82e4b0-56e5-4461-aff6-2c1d49cc7447\"\n }\n}",
422
422
  "title": "Querying the Price of a Reserved Instance"
423
423
  }
424
424
  ],
425
+ "InquiryPriceModifyInstancesChargeType": [
426
+ {
427
+ "document": "This example shows you how to perform a switchover for the billing mode of an instance to check the price.",
428
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceModifyInstancesChargeType\n<Common request parameters>\n\n{\n \"InstanceChargeType\": \"PREPAID\",\n \"InstanceIds\": [\n \"ins-r8hr2upy\"\n ],\n \"InstanceChargePrepaid\": {\n \"Period\": 1\n }\n}",
429
+ "output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"OriginalPrice\": 720,\n \"DiscountPrice\": 720\n }\n },\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
430
+ "title": "Switching the Billing Mode of an Instance for Price Inquiry"
431
+ }
432
+ ],
433
+ "InquiryPriceRenewInstances": [
434
+ {
435
+ "document": "This example shows you how to perform a renewal instance inquiry with a duration of one month.",
436
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRenewInstances\n<Common request parameters>\n\n{\n \"InstanceChargePrepaid\": {\n \"Period\": 1\n },\n \"InstanceIds\": [\n \"ins-2zvpghhc\"\n ]\n}",
437
+ "output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"OriginalPrice\": 120,\n \"DiscountPrice\": 1.2\n }\n },\n \"RequestId\": \"e2e81b08-d747-455e-b27a-aecc5acafdba\"\n }\n}",
438
+ "title": "Renewal Instance Inquiry"
439
+ }
440
+ ],
425
441
  "InquiryPriceResetInstance": [
426
442
  {
427
443
  "document": " ",
428
- "input": "https://cvm.tencentcloudapi.com/?Action=InquiryPriceResetInstance\n&InstanceId=ins-fd8spnmq\n&<Common request parameters>",
444
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceResetInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"ins-fd8spnmq\"\n}",
429
445
  "output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"UnitPrice\": 0.66,\n \"ChargeUnit\": \"HOUR\",\n \"UnitPriceDiscount\": 0.66,\n \"Discount\": 100\n }\n },\n \"RequestId\": \"56d68b92-7004-4716-b3bf-3c2c231035c9\"\n }\n}",
430
446
  "title": "Inquiring About the Price of a Pay-as-You-Go Instance with New Configurations"
431
447
  }
@@ -433,7 +449,7 @@
433
449
  "InquiryPriceResetInstancesInternetMaxBandwidth": [
434
450
  {
435
451
  "document": "This example shows you how to inquire about the price for changing the bandwidth of the instance ins-fd8spnmq to 20 Mbps.",
436
- "input": "https://cvm.tencentcloudapi.com/?Action=InquiryPriceResetInstancesInternetMaxBandwidth\n&InstanceIds.0=ins-fd8spnmq\n&InternetAccessible.InternetMaxBandwidthOut=20\n&<Common request parameters>",
452
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceResetInstancesInternetMaxBandwidth\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-fd8spnmq\"\n ],\n \"InternetAccessible\": {\n \"InternetMaxBandwidthOut\": 20\n }\n}",
437
453
  "output": "{\n \"Response\": {\n \"Price\": {\n \"BandwidthPrice\": {\n \"UnitPrice\": 0.8,\n \"ChargeUnit\": \"GB\"\n }\n },\n \"RequestId\": \"700864b9-85da-4cb9-bc80-d99eaf9fa047\"\n }\n}",
438
454
  "title": "Inquiring About the Price of a Pay-as-You-Go Instance with a New Bandwidth Cap"
439
455
  }
@@ -441,7 +457,7 @@
441
457
  "InquiryPriceResetInstancesType": [
442
458
  {
443
459
  "document": " ",
444
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceResetInstancesType\n<Common request parameters>\n\n\n\n{\n \"InstanceType\": \"S5.16XLARGE256\",\n \"InstanceIds\": [\n \"ins-xmf2ac34\"\n ]\n}",
460
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceResetInstancesType\n<Common request parameters>\n\n{\n \"InstanceType\": \"S5.16XLARGE256\",\n \"InstanceIds\": [\n \"ins-xmf2ac34\"\n ]\n}",
445
461
  "output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"OriginalPrice\": 8753,\n \"DiscountPrice\": 8753\n }\n },\n \"RequestId\": \"d345aa58-460a-4a13-8382-c6c99d0bc73f\"\n }\n}",
446
462
  "title": "Querying the Price of a Monthly Subscription Instance with Adjusted Configuration"
447
463
  }
@@ -457,27 +473,27 @@
457
473
  "InquiryPriceRunInstances": [
458
474
  {
459
475
  "document": "This example shows you how to inquire about the price for purchasing 1 instance with the following configurations. Availability zone: Shanghai Zone 2; billing mode: monthly subscription for 1 month, with auto-renewal enabled; image ID: img-pmqg1cw7; model: 64C256G standard (S5.16XLARGE256); system disk: 50 GB premium cloud disk; data disk: 100 GB premium cloud disk; network type: VPC; public network billing: pay-as-you-go by traffic on an hourly basis; public network bandwidth cap: 10 Mbps; public IP address: randomly allocated; instance name: QCLOUD-TEST; login password: Qcloud@TestApi123++; Cloud Monitor: enabled; Cloud Security: enabled.",
460
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRunInstances\n<Common request parameters>\n\n\n\n{\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"PREPAID\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 10\n },\n \"InstanceChargePrepaid\": {\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"Period\": 1\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"S5.16XLARGE256\",\n \"DataDisks\": [\n {\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
476
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRunInstances\n<Common request parameters>\n\n{\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"PREPAID\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 10\n },\n \"InstanceChargePrepaid\": {\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"Period\": 1\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"S5.16XLARGE256\",\n \"DataDisks\": [\n {\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
461
477
  "output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"DiscountPrice\": 1804.9,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.0,\n \"UnitPriceThirdStep\": 0.0,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.0,\n \"UnitPriceSecondStep\": 0.0,\n \"OriginalPrice\": 8884.5,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.0,\n \"UnitPriceDiscount\": 0.0,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n },\n \"BandwidthPrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.8,\n \"UnitPriceThirdStep\": 0.0,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.0,\n \"UnitPriceSecondStep\": 0.0,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.0,\n \"UnitPriceDiscount\": 0.52,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n }\n },\n \"RequestId\": \"65b9edac-bca6-496b-a404-29f503b32495\"\n }\n}",
462
478
  "title": "Inquiring About the Price of a Monthly Subscription Instance"
463
479
  },
464
480
  {
465
- "document": "This example shows you how to inquire about the price for purchasing an instance in Shanghai Zone 2 with the image ID `img-pmqg1cw7`. Only the required `Placement.Zone` and `ImageId` parameters are provided. The other parameters use system default values.",
466
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRunInstances\n<Common request parameters>\n\n\n\n{\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"ImageId\": \"img-pmqg1cw7\"\n}",
467
- "output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 16.09,\n \"UnitPriceThirdStep\": 16.09,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 3.33,\n \"UnitPriceSecondStep\": 16.09,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 3.33,\n \"UnitPriceDiscount\": 3.33,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n },\n \"BandwidthPrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.8,\n \"UnitPriceThirdStep\": 0.0,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.0,\n \"UnitPriceSecondStep\": 0.0,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.0,\n \"UnitPriceDiscount\": 0.52,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"xx\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n }\n },\n \"RequestId\": \"65b9edac-bca6-496b-a404-29f503b32495\"\n }\n}",
481
+ "document": "This example shows you how to purchase an instance in Shanghai Zone 2 with the image ID `img-pmqg1cw7`. Only the required `Placement.Zone` and `ImageId` parameters are provided. The other parameters use system default values.",
482
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRunInstances\n<Common request parameters>\n\n{\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"ImageId\": \"img-pmqg1cw7\"\n}",
483
+ "output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.2,\n \"UnitPriceThirdStep\": 0.1,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.06,\n \"UnitPriceSecondStep\": 0.12,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.06,\n \"UnitPriceDiscount\": 0.08,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n },\n \"BandwidthPrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.0,\n \"UnitPriceThirdStep\": 0.0,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.0,\n \"UnitPriceSecondStep\": 0.0,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.0,\n \"UnitPriceDiscount\": 0.0,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n }\n },\n \"RequestId\": \"65b9edac-bca6-496b-a404-29f503b32495\"\n }\n}",
468
484
  "title": "Inquiring About the Price of an Instance with Only Required Parameters"
469
485
  },
470
486
  {
471
487
  "document": "This example shows you how to inquire about the price for purchasing 1 instance with the following configurations. Availability zone: Shanghai Zone 2; billing mode: pay-as-you-go on an hourly basis; image ID: img-pmqg1cw7; model: 64C256G standard (S5.16XLARGE256); system disk: 50 GB premium cloud disk; data disk: 100 GB premium cloud disk; network type: VPC; public network billing: pay-as-you-go by traffic on an hourly basis; public network bandwidth cap: 10 Mbps; public IP address: randomly allocated; instance name: QCLOUD-TEST; login password: Qcloud@TestApi123++; Cloud Monitor: enabled; Cloud Security: enabled.",
472
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRunInstances\n<Common request parameters>\n\n\n\n{\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": \"10\"\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"S5.16XLARGE256\",\n \"DataDisks\": [\n {\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
473
- "output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.2,\n \"UnitPriceThirdStep\": 0.1,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.06,\n \"UnitPriceSecondStep\": 0.12,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.06,\n \"UnitPriceDiscount\": 0.08,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n },\n \"BandwidthPrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.0,\n \"UnitPriceThirdStep\": 0.0,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.0,\n \"UnitPriceSecondStep\": 0.0,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.0,\n \"UnitPriceDiscount\": 0.0,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n }\n },\n \"RequestId\": \"65b9edac-bca6-496b-a404-29f503b32495\"\n }\n}",
488
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRunInstances\n<Common request parameters>\n\n{\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": \"10\"\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"S5.16XLARGE256\",\n \"DataDisks\": [\n {\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
489
+ "output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 16.09,\n \"UnitPriceThirdStep\": 16.09,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 3.33,\n \"UnitPriceSecondStep\": 16.09,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 3.33,\n \"UnitPriceDiscount\": 3.33,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n },\n \"BandwidthPrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.8,\n \"UnitPriceThirdStep\": 0.0,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.0,\n \"UnitPriceSecondStep\": 0.0,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.0,\n \"UnitPriceDiscount\": 0.52,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n }\n },\n \"RequestId\": \"65b9edac-bca6-496b-a404-29f503b32495\"\n }\n}",
474
490
  "title": "Inquiring About the Price of an Hourly-Billed Pay-as-You-Go Instance"
475
491
  }
476
492
  ],
477
493
  "ModifyChcAttribute": [
478
494
  {
479
495
  "document": "This example shows you how to modify the CHC attributes.",
480
- "input": "https://cvm.tencentcloudapi.com/?Action=ModifyChcAttribute\n&ChcIds.0=chc-r8hr2upy\n&ChcIds.1=chc-5d8a23rs\n&InstanceName=server1\n&DeviceType=CHC_HS1\n&<Common request parameters>",
496
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyChcAttribute\n<Common request parameters>\n\n{\n \"ChcIds\": [\n \"chc-r8hr2upy\",\n \"chc-5d8a23rs\"\n ],\n \"InstanceName\": \"server1\",\n \"DeviceType\": \"CHC_HS1\"\n}",
481
497
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
482
498
  "title": "Modifying the CHC host attributes"
483
499
  }
@@ -485,23 +501,23 @@
485
501
  "ModifyDisasterRecoverGroupAttribute": [
486
502
  {
487
503
  "document": "This example shows you how to modify the name of a spread placement group.",
488
- "input": "https://cvm.tencentcloudapi.com/?Action=ModifyDisasterRecoverGroupAttribute\n&DisasterRecoverGroupId=ps-58l1hu01\n&Name=Physical machine spread placement group 1\n&<Common request parameters>",
489
- "output": "{\n \"Response\": {\n \"RequestId\": \"6e185c04-116f-47b7-b21c-e13580c5d0f2\"\n }\n}",
504
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDisasterRecoverGroupAttribute\n<Common request parameters>\n\n{\n \"DisasterRecoverGroupId\": \"ps-39lmgkht\",\n \"Name\": \"NewDisasterRecoverGroupName\"\n}",
505
+ "output": "{\n \"Response\": {\n \"RequestId\": \"0b184884-c513-4cd3-92c9-d4a69b05f44b\"\n }\n}",
490
506
  "title": "Modifying the name of a spread placement group"
491
507
  }
492
508
  ],
493
509
  "ModifyHostsAttribute": [
494
510
  {
495
511
  "document": "This example shows you how to modify the `HostName` attribute of a specified CDH instance.",
496
- "input": "https://cvm.tencentcloudapi.com/?Action=ModifyHostsAttribute\n&HostIds.0=host-ey16rkyg\n&HostName=webserver\n&<Common request parameters>",
512
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHostsAttribute\n<Common request parameters>\n\n{\n \"HostIds\": [\n \"host-h4of75x4\"\n ],\n \"HostName\": \"webServer\"\n}",
497
513
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
498
514
  "title": "Modifying the attributes of a CDH instance"
499
515
  }
500
516
  ],
501
517
  "ModifyImageAttribute": [
502
518
  {
503
- "document": "This example shows you how to rename the image `img-6pb6lrmy` to `sample`.",
504
- "input": "https://cvm.tencentcloudapi.com/?Action=ModifyImageAttribute\n&ImageId=img-6pb6lrmy\n&ImageName=sample\n&<Common request parameters>",
519
+ "document": "This example shows you how to rename the image `img-6pb6lrmy` to `NewImageName`.",
520
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyImageAttribute\n<Common request parameters>\n\n{\n \"ImageId\": \"img-6pb6lrmy\",\n \"ImageName\": \"NewImageName\"\n}",
505
521
  "output": "{\n \"Response\": {\n \"RequestId\": \"71e69b56-32be-4412-ab45-49eded6a87be\"\n }\n}",
506
522
  "title": "Modifying image name"
507
523
  }
@@ -522,10 +538,32 @@
522
538
  "title": "Renaming instances"
523
539
  }
524
540
  ],
541
+ "ModifyInstancesChargeType": [
542
+ {
543
+ "document": "This example shows you how to switch the billing mode of an instance.",
544
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancesChargeType\n<Common request parameters>\n\n{\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"InstanceIds\": [\n \"ins-r8hr2upy\"\n ]\n}",
545
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
546
+ "title": "Switching Instance Billing Mode to Hourly Postpaid in This Example"
547
+ },
548
+ {
549
+ "document": "This example shows you how to switch the billing mode of an instance.",
550
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancesChargeType\n<Common request parameters>\n\n{\n \"InstanceChargeType\": \"PREPAID\",\n \"InstanceIds\": [\n \"ins-r8hr2upy\"\n ],\n \"InstanceChargePrepaid\": {\n \"Period\": 1\n }\n}",
551
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
552
+ "title": "This Example Switches Instance Billing Mode to Prepaid Mode with a Duration of 1 Month"
553
+ }
554
+ ],
555
+ "ModifyInstancesDisasterRecoverGroup": [
556
+ {
557
+ "document": "This example shows you how to adjust the instance location in an instance placement group.",
558
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancesDisasterRecoverGroup\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-r8hr2upy\"\n ],\n \"DisasterRecoverGroupId\": \"ps-a66w6rlb\"\n}",
559
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
560
+ "title": "Adjusting Instance Placement Groups"
561
+ }
562
+ ],
525
563
  "ModifyInstancesProject": [
526
564
  {
527
565
  "document": "This example shows you how to change the projects of two instances.",
528
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancesProject\n<Common request parameters>\n\n{\n \"ProjectId\": \"1045\",\n \"InstanceIds\": [\n \"ins-5d8a23rs\",\n \"ins-r8hr2upy\"\n ]\n}",
566
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancesProject\n<Common request parameters>\n\n{\n \"ProjectId\": 1045,\n \"InstanceIds\": [\n \"ins-5d8a23rs\",\n \"ins-r8hr2upy\"\n ]\n}",
529
567
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
530
568
  "title": "Modifying the projects of two instances"
531
569
  }
@@ -533,29 +571,29 @@
533
571
  "ModifyInstancesRenewFlag": [
534
572
  {
535
573
  "document": "This example shows you how to modify the renewal tags of two instances.",
536
- "input": "https://cvm.tencentcloudapi.com/?Action=ModifyInstancesRenewFlag\n&InstanceIds.0=ins-r8hr2upy\n&InstanceIds.1=ins-5d8a23rs\n&RenewFlag=NOTIFY_AND_AUTO_RENEW\n&<Common request parameters>",
574
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancesRenewFlag\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-r8hr2upy\",\n \"ins-5d8a23rs\"\n ],\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\"\n}",
537
575
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
538
576
  "title": "Modifying the Renewal Flags of Two Instances"
539
577
  }
540
578
  ],
541
579
  "ModifyInstancesVpcAttribute": [
542
580
  {
543
- "document": "This example shows you how to migrate the `r8hr2upy` and `5d8a23rs` instances to the `dcs9x3gz` subnet of the `1urkhbj4` VPC and specify 10.0.0.18 as the private IP of the `r8hr2upy` instance and 10.0.0.19 as that of the `5d8a23rs` instance.",
544
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancesVpcAttribute\n<Common request parameters>\n\n{\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-dcs9x3gz\",\n \"VpcId\": \"vpc-1urkhbj4\",\n \"PrivateIpAddresses\": [\n \"10.0.0.19\",\n \"10.0.0.18\"\n ]\n },\n \"InstanceIds\": [\n \"ins-5d8a23rs\",\n \"ins-r8hr2upy\"\n ]\n}",
545
- "output": "{\n \"Response\": {\n \"RequestId\": \"3c14def19-cfes-470e-b241-90787u6jf5uj\"\n }\n}",
581
+ "document": "This example shows you how to migrate the `ins-r8hr2upy` and `ins-5d8a23rs` instances to the `subnet-dcs9x3gz` subnet of the `vpc-1urkhbj4` VPC and specify 10.0.0.18 as the private IP of the `ins-r8hr2upy` instance and 10.0.0.19 as that of the `ins-5d8a23rs` instance.",
582
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancesVpcAttribute\n<Common request parameters>\n\n{\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-dcs9x3gz\",\n \"VpcId\": \"vpc-1urkhbj4\",\n \"PrivateIpAddresses\": [\n \"10.0.0.19\",\n \"10.0.0.18\"\n ]\n },\n \"InstanceIds\": [\n \"ins-5d8a23rs\",\n \"ins-r8hr2upy\"\n ]\n}",
583
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c8825ac1-0d07-4f3c-a35e-599eb1acd6fc\"\n }\n}",
546
584
  "title": "Migrating instances to a VPC and specifying the subnet and IP"
547
585
  }
548
586
  ],
549
587
  "ModifyKeyPairAttribute": [
550
588
  {
551
589
  "document": "This example shows you how to modify the key pair name.",
552
- "input": "https://cvm.tencentcloudapi.com/?Action=ModifyKeyPairAttribute\n&KeyId=skey-mv9yzyjj\n&KeyName=Tencent\n&<Common request parameters>",
590
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyKeyPairAttribute\n<Common request parameters>\n\n{\n \"KeyId\": \"skey-mv9yzyjj\",\n \"KeyName\": \"MyKeyName\"\n}",
553
591
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
554
592
  "title": "Modifying the key pair name"
555
593
  },
556
594
  {
557
595
  "document": "This example shows you how to modify the key pair description.",
558
- "input": "https://cvm.tencentcloudapi.com/?Action=ModifyKeyPairAttribute\n&KeyId=skey-mv9yzyjj\n&Description=Tencent\n&<Common request parameters>",
596
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyKeyPairAttribute\n<Common request parameters>\n\n{\n \"KeyId\": \"skey-mv9yzyjj\",\n \"Description\": \"MyKeyPairDescription\"\n}",
559
597
  "output": "{\n \"Response\": {\n \"RequestId\": \"aea2227b-fbb7-4cc7-bf29-d49b2b6db97c\"\n }\n}",
560
598
  "title": "Modifying the key pair description"
561
599
  }
@@ -563,7 +601,7 @@
563
601
  "ModifyLaunchTemplateDefaultVersion": [
564
602
  {
565
603
  "document": "This example sets the Version 2 of the instance launch template `lt-34vaef8fe` as the default version.",
566
- "input": "https://cvm.tencentcloudapi.com/?Action=ModifyLaunchTemplateDefaultVersion\n&LaunchTemplateId=lt-34vaef8fe\n&DefaultVersion=2\n&<Common request parameters>",
604
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLaunchTemplateDefaultVersion\n<Common request parameters>\n\n{\n \"LaunchTemplateId\": \"lt-34vaef8fe\",\n \"DefaultVersion\": 2\n}",
567
605
  "output": "{\n \"Response\": {\n \"RequestId\": \"9b4ad85f-1657-4445-111d-3c0a9fbec311\"\n }\n}",
568
606
  "title": "Modifying the default version of the instance launch template"
569
607
  }
@@ -571,8 +609,8 @@
571
609
  "PurchaseReservedInstancesOffering": [
572
610
  {
573
611
  "document": " ",
574
- "input": "https://cvm.tencentcloudapi.com/?Action=PurchaseReservedInstancesOffering\r\n&InstanceCount=2\r\n&ReservedInstancesOfferingId=noew0342-324f-f3ab-9uut-wrlnth53dcee\r\n&<Common request parameters>",
575
- "output": "{\n \"Response\": {\n \"ReservedInstanceId\": \"13d8e599-b8dc-4e8a-80b4-7dce9eb27043\",\n \"RequestId\": \"b333ddb8-4aed-4def-a0d9-617043c2614e\"\n }\n}",
612
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PurchaseReservedInstancesOffering\n<Common request parameters>\n\n{\n \"InstanceCount\": 2,\n \"ReservedInstancesOfferingId\": \"694e115d-e1b2-47f5-8217-bfbdea222da1\",\n \"ReservedInstanceName\": \"MyReservedInstanceName\"\n}",
613
+ "output": "{\n \"Response\": {\n \"ReservedInstanceId\": \"ri-8frq127i\",\n \"RequestId\": \"b333ddb8-4aed-4def-a0d9-617043c2614e\"\n }\n}",
576
614
  "title": "Purchasing a reserved instance"
577
615
  }
578
616
  ],
@@ -587,23 +625,31 @@
587
625
  "RemoveChcAssistVpc": [
588
626
  {
589
627
  "document": "This example shows you how to remove the out-of-band network and deployment network of a CHC host.",
590
- "input": "https://cvm.tencentcloudapi.com/?Action=RemoveChcAssistVpc\n&ChcIds.0=chc-1a2b3c4d\n&ChcIds.1=chc-adf34aft\n&<Common request parameters>",
591
- "output": "{\n \"Response\": {\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
628
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RemoveChcAssistVpc\n<Common request parameters>\n\n{\n \"ChcIds\": [\n \"chc-1a2b3c4d\",\n \"chc-adf34aft\"\n ]\n}",
629
+ "output": "{\n \"Response\": {\n \"RequestId\": \"30cf6d80-8789-43db-aed3-317d0e99b5ba\"\n }\n}",
592
630
  "title": "Removing the out-of-band network and deployment network of a CHC host"
593
631
  }
594
632
  ],
595
633
  "RemoveChcDeployVpc": [
596
634
  {
597
635
  "document": "This example shows you how to remove the deployment network of a CHC host.",
598
- "input": "https://cvm.tencentcloudapi.com/?Action=RemoveChcDeployVpc\n&ChcIds.0=chc-1a2b3c4d\n&ChcIds.1=chc-adf34aft\n&<Common request parameters>",
599
- "output": "{\n \"Response\": {\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
636
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RemoveChcDeployVpc\n<Common request parameters>\n\n{\n \"ChcIds\": [\n \"chc-ejzpceyo\"\n ]\n}",
637
+ "output": "{\n \"Response\": {\n \"RequestId\": \"0b0bf55c-0340-451d-8dde-1211c3ba6d38\"\n }\n}",
600
638
  "title": "Removing the deployment network of a CHC host"
601
639
  }
602
640
  ],
641
+ "RenewInstances": [
642
+ {
643
+ "document": "This example shows you how to renew an instance, specify the instance Id as ins-r8hr2upy, renew for one month, notify that the account is about to expire upon expiration but auto-renewal is not performed.",
644
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RenewInstances\n<Common request parameters>\n\n{\n \"InstanceChargePrepaid\": {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Period\": 1\n },\n \"InstanceIds\": [\n \"ins-r8hr2upy\"\n ]\n}",
645
+ "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
646
+ "title": "Renewing an Instance"
647
+ }
648
+ ],
603
649
  "ResetInstance": [
604
650
  {
605
651
  "document": "This example shows you how to reinstall an instance using the specified image, login password, and enhanced services, and expand the system disk of the instance.",
606
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"ins-r8hr2upy\",\n \"SystemDisk\": {\n \"DiskSize\": \"60\"\n },\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": \"TRUE\"\n },\n \"MonitorService\": {\n \"Enabled\": \"TRUE\"\n }\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\"\n}",
652
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"ins-r8hr2upy\",\n \"SystemDisk\": {\n \"DiskSize\": 60\n },\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n }\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\"\n}",
607
653
  "output": "{\n \"Response\": {\n \"RequestId\": \"a0a66377-b79f-4a21-846c-d997d6022968\"\n }\n}",
608
654
  "title": "Reinstalling an instance"
609
655
  }
@@ -611,7 +657,7 @@
611
657
  "ResetInstancesInternetMaxBandwidth": [
612
658
  {
613
659
  "document": "This example shows you how to modify the public network bandwidth cap of an instance.",
614
- "input": "https://cvm.tencentcloudapi.com/?Action=ResetInstancesInternetMaxBandwidth\n&InstanceIds.0=ins-r8hr2upy\n&InternetAccessible.InternetMaxBandwidthOut=10\n&StartTime=2017-03-15\n&EndTime=2017-03-16\n&<Common request parameters>",
660
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetInstancesInternetMaxBandwidth\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-dyhinflx\"\n ],\n \"InternetAccessible\": {\n \"InternetMaxBandwidthOut\": 10\n },\n \"StartTime\": \"2025-11-18\",\n \"EndTime\": \"2025-11-19\"\n}",
615
661
  "output": "{\n \"Response\": {\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
616
662
  "title": "Modifying the public network bandwidth cap of an instance"
617
663
  }
@@ -619,7 +665,7 @@
619
665
  "ResetInstancesPassword": [
620
666
  {
621
667
  "document": "This example shows you how to reset the password of a Linux/Windows instance, and then use the new password to log in to the instance.",
622
- "input": "https://cvm.tencentcloudapi.com/?Action=ResetInstancesPassword\n&InstanceIds.0=ins-r8hr2upy\n&InstanceIds.1=ins-5d8a23rs\n&Password=abc123ABC!@#\n&ForceStop=TRUE\n&<Common request parameters>",
668
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetInstancesPassword\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-r8hr2upy\"\n ],\n \"Password\": \"abc123ABC!@#\",\n \"ForceStop\": false\n}",
623
669
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
624
670
  "title": "Resetting the password of a Linux/Windows instance"
625
671
  }
@@ -635,47 +681,47 @@
635
681
  "ResizeInstanceDisks": [
636
682
  {
637
683
  "document": " ",
638
- "input": "https://cvm.tencentcloudapi.com/?Action=ResizeInstanceDisks\n&InstanceId=ins-r8hr2upy\n&DataDisks.0.DiskSize=100\n&<Common request parameters>",
684
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResizeInstanceDisks\n<Common request parameters>\n\n{\n \"InstanceId\": \"ins-dyzp06q6\",\n \"SystemDisk\": {\n \"DiskSize\": 120,\n \"DiskId\": \"disk-7aj2pav4\"\n },\n \"ResizeOnline\": true\n}",
639
685
  "output": "{\n \"Response\": {\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
640
686
  "title": "Resetting the disk size of a specific instance"
641
687
  }
642
688
  ],
643
689
  "RunInstances": [
644
690
  {
645
- "document": "This example shows you how to purchase 1 instance with the following configurations. Availability zone: Shanghai Zone 2; CDH: host-q88gab4i; billing mode: billed by CDH instance; image ID: img-pmqg1cw7; model: 1C1G; system disk: 50 GB premium cloud disk; data disk: 100 GB premium cloud disk; network type: VPC; public network billing: pay-as-you-go by traffic on an hourly basis; public network bandwidth cap: 10 Mbps; public IP address: randomly allocated; instance name: QCLOUD-TEST; login password: Qcloud@TestApi123++; Cloud Monitor: enabled; Cloud Security: enabled.",
646
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<Common request parameters>\n\n\n\n{\n \"SystemDisk\": {\n \"DiskSize\": \"50\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": \"1\",\n \"Placement\": {\n \"HostIds\": [\n \"host-q88gab4i\"\n ],\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"CDHPAID\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": \"TRUE\"\n },\n \"MonitorService\": {\n \"Enabled\": \"TRUE\"\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": \"TRUE\",\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": \"10\"\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"CDH_1C1G\",\n \"DataDisks\": [\n {\n \"DiskSize\": \"100\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
691
+ "document": "This example shows you how to purchase 1 instance with the following configurations. Availability zone: Shanghai Zone 2; billing mode: monthly subscription for 1 month, with auto-renewal enabled; image ID: img-pmqg1cw7; model: 64C256G standard (S5.16XLARGE256); system disk: 50 GB premium cloud disk; data disk: 100 GB premium cloud disk; network type: VPC; public network billing: pay-as-you-go by traffic on an hourly basis; public network bandwidth cap: 10 Mbps; public IP address: randomly allocated; instance name: QCLOUD-TEST; login password: Qcloud@TestApi123++; Cloud Monitor: enabled; Cloud Security: enabled.",
692
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<Common request parameters>\n\n{\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"PREPAID\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 10\n },\n \"InstanceChargePrepaid\": {\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"Period\": 1\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"S5.16XLARGE256\",\n \"DataDisks\": [\n {\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
647
693
  "output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"ins-bfw5zq3y\"\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
648
- "title": "Purchasing a CDH Instance"
694
+ "title": "Purchasing a Monthly Subscription Instance"
649
695
  },
650
696
  {
651
- "document": "This example shows you how to purchase 1 instance with the following configurations. Availability zone: Shanghai Zone 2; billing mode: monthly subscription for 1 month, with auto-renewal enabled; image ID: img-pmqg1cw7; model: 64C256G standard (S5.16XLARGE256); system disk: 50 GB premium cloud disk; data disk: 100 GB premium cloud disk; network type: VPC; public network billing: pay-as-you-go by traffic on an hourly basis; public network bandwidth cap: 10 Mbps; public IP address: randomly allocated; instance name: QCLOUD-TEST; login password: Qcloud@TestApi123++; Cloud Monitor: enabled; Cloud Security: enabled.",
652
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<Common request parameters>\n\n\n\n{\n \"SystemDisk\": {\n \"DiskSize\": \"50\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": \"1\",\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"PREPAID\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": \"TRUE\"\n },\n \"MonitorService\": {\n \"Enabled\": \"TRUE\"\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": \"TRUE\",\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": \"10\"\n },\n \"InstanceChargePrepaid\": {\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"Period\": \"1\"\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"S5.16XLARGE256\",\n \"DataDisks\": [\n {\n \"DiskSize\": \"100\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
653
- "output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"ins-0s7wsh5x\",\n \"ins-03lw8hok\"\n ],\n \"RequestId\": \"3c14def19-cfes-470e-b241-90787u6jf5uj\"\n }\n}",
654
- "title": "Purchasing a Monthly Subscription Instance"
697
+ "document": "This example shows you how to purchase 2 instances with the following configurations. Availability zone: Shanghai Zone 2; billing mode: pay-as-you-go on an hourly basis; image ID: img-dkwyg6sr; model: 64C256G standard (S5.16XLARGE256); system disk: 50 GB premium cloud disk; network type: VPC; VPC ID: 1urkhbj4; subnet ID: dcs9x3gz; private IP address: 10.0.0.18 and 10.0.0.19.",
698
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<Common request parameters>\n\n{\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-dcs9x3gz\",\n \"VpcId\": \"vpc-1urkhbj4\",\n \"PrivateIpAddresses\": [\n \"10.0.0.19\",\n \"10.0.0.18\"\n ]\n },\n \"InstanceCount\": 2,\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"ImageId\": \"img-dkwyg6sr\",\n \"InstanceType\": \"S5.16XLARGE256\"\n}",
699
+ "output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"ins-0s7wsh5x\",\n \"ins-03lw8hok\"\n ],\n \"RequestId\": \"c8825ac1-0d07-4f3c-a35e-599eb1acd6fc\"\n }\n}",
700
+ "title": "Creating an Instance with the Private IP Address Specified"
655
701
  },
656
702
  {
657
- "document": "This example shows you how to purchase an instance in Shanghai Zone 2 with the image ID `img-pmqg1cw7`. Only the required `Placement.Zone` and `ImageId` parameters are provided. The other parameters use system default values.",
658
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<Common request parameters>\n\n\n\n{\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"ImageId\": \"img-pmqg1cw7\"\n}",
703
+ "document": "This example shows you how to purchase 1 instance with the following configurations. Availability zone: Shanghai Zone 2; billing mode: pay-as-you-go on an hourly basis; image ID: img-pmqg1cw7; model: 64C256G standard (S5.16XLARGE256); system disk: 50 GB premium cloud disk; data disk: 100 GB premium cloud disk; network type: VPC; public network billing: pay-as-you-go by traffic on an hourly basis; public network bandwidth cap: 10 Mbps; public IP address: randomly allocated; instance name: QCLOUD-TEST; login password: Qcloud@TestApi123++; Cloud Monitor: enabled; Cloud Security: enabled.",
704
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<Common request parameters>\n\n{\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 10\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"S5.16XLARGE256\",\n \"DataDisks\": [\n {\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
659
705
  "output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"ins-32kcaqoa\"\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
660
- "title": "Purchasing an Instance with Only Required Parameters"
706
+ "title": "Purchasing an Hourly-Billed Pay-as-You-Go Instance"
661
707
  },
662
708
  {
663
- "document": "This example shows you how to purchase 1 instance with the following configurations. Availability zone: Shanghai Zone 2; billing mode: pay-as-you-go on an hourly basis; image ID: img-pmqg1cw7; model: 64C256G standard (S5.16XLARGE256); system disk: 50 GB premium cloud disk; data disk: 100 GB premium cloud disk; network type: VPC; public network billing: pay-as-you-go by traffic on an hourly basis; public network bandwidth cap: 10 Mbps; public IP address: randomly allocated; instance name: QCLOUD-TEST; login password: Qcloud@TestApi123++; Cloud Monitor: enabled; Cloud Security: enabled.",
664
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<Common request parameters>\n\n\n\n{\n \"SystemDisk\": {\n \"DiskSize\": \"50\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": \"1\",\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": \"TRUE\"\n },\n \"MonitorService\": {\n \"Enabled\": \"TRUE\"\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": \"TRUE\",\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": \"10\"\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"S5.16XLARGE256\",\n \"DataDisks\": [\n {\n \"DiskSize\": \"100\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
709
+ "document": "This example shows you how to purchase an instance in Shanghai Zone 2 with the image ID `img-pmqg1cw7`. Only the required `Placement.Zone` and `ImageId` parameters are provided. The other parameters use system default values.",
710
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<Common request parameters>\n\n{\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"ImageId\": \"img-pmqg1cw7\"\n}",
665
711
  "output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"ins-1vogaxgk\"\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
666
- "title": "Purchasing an Hourly-Billed Pay-as-You-Go Instance"
712
+ "title": "Purchasing an Instance with Only Required Parameters"
667
713
  },
668
714
  {
669
- "document": "This example shows you how to purchase 2 instances with the following configurations. Availability zone: Shanghai Zone 2; billing mode: pay-as-you-go on an hourly basis; image ID: img-dkwyg6sr; model: 64C256G standard (S5.16XLARGE256); system disk: 50 GB premium cloud disk; network type: VPC; VPC ID: 1urkhbj4; subnet ID: dcs9x3gz; private IP address: 10.0.0.18 and 10.0.0.19.",
670
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<Common request parameters>\n\n\n\n{\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-dcs9x3gz\",\n \"VpcId\": \"vpc-1urkhbj4\",\n \"PrivateIpAddresses\": [\n \"10.0.0.19\",\n \"10.0.0.18\"\n ]\n },\n \"InstanceCount\": \"2\",\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"SystemDisk\": {\n \"DiskSize\": \"50\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"ImageId\": \"img-dkwyg6sr\",\n \"InstanceType\": \"S5.16XLARGE256\"\n}",
715
+ "document": "This example shows you how to purchase 1 instance with the following configurations. Availability zone: Shanghai Zone 2; CDH: host-q88gab4i; billing mode: billed by CDH instance; image ID: img-pmqg1cw7; model: 1C1G; system disk: 50 GB premium cloud disk; data disk: 100 GB premium cloud disk; network type: VPC; public network billing: pay-as-you-go by traffic on an hourly basis; public network bandwidth cap: 10 Mbps; public IP address: randomly allocated; instance name: QCLOUD-TEST; login password: Qcloud@TestApi123++; Cloud Monitor: enabled; Cloud Security: enabled.",
716
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<Common request parameters>\n\n{\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"HostIds\": [\n \"host-q88gab4i\"\n ],\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"CDHPAID\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 10\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"CDH_1C1G\",\n \"DataDisks\": [\n {\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
671
717
  "output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"ins-0s7wsh5x\"\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
672
- "title": "Creating an Instance with the Private IP Address Specified"
718
+ "title": "Purchasing a CDH Instance"
673
719
  }
674
720
  ],
675
721
  "StartInstances": [
676
722
  {
677
723
  "document": "This example shows you how to start up two shutdown instances at once.",
678
- "input": "https://cvm.tencentcloudapi.com/?Action=StartInstances\n&InstanceIds.0=ins-r8hr2upy\n&InstanceIds.1=ins-5d8a23rs\n&<Common request parameters>",
724
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartInstances\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-r8hr2upy\",\n \"ins-5d8a23rs\"\n ]\n}",
679
725
  "output": "{\n \"Response\": {\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
680
726
  "title": "Starting up instances with the specified IDs"
681
727
  }
@@ -683,7 +729,7 @@
683
729
  "StopInstances": [
684
730
  {
685
731
  "document": "This example shows you how to shut down two instances.",
686
- "input": "https://cvm.tencentcloudapi.com/?Action=StopInstances\n&InstanceIds.0=ins-r8hr2upy\n&InstanceIds.1=ins-5d8a23rs\n&ForceStop=FALSE\n&<Common request parameters>",
732
+ "input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopInstances\n<Common request parameters>\n\n{\n \"InstanceIds\": [\n \"ins-r8hr2upy\",\n \"ins-5d8a23rs\"\n ],\n \"StopType\": \"SOFT\"\n}",
687
733
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
688
734
  "title": "Shutting down instances"
689
735
  }
@@ -691,13 +737,13 @@
691
737
  "SyncImages": [
692
738
  {
693
739
  "document": "This example shows you how to synchronize the image `img-o3ycss2p` to Guangzhou.",
694
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncImages\n<Common request parameters>\n\n\n\n{\n \"ImageIds\": [\n \"img-o3ycss2p\"\n ],\n \"DestinationRegions\": [\n \"ap-guangzhou\"\n ]\n}",
740
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncImages\n<Common request parameters>\n\n{\n \"ImageIds\": [\n \"img-o3ycss2p\"\n ],\n \"DestinationRegions\": [\n \"ap-guangzhou\"\n ]\n}",
695
741
  "output": "{\n \"Response\": {\n \"RequestId\": \"71e69b56-32be-4412-ab45-49eded6a87be\"\n }\n}",
696
742
  "title": "Synchronizing an Image"
697
743
  },
698
744
  {
699
745
  "document": "This example shows you how to synchronize the image `img-o3ycss2p` to Guangzhou.",
700
- "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncImages\n<Common request parameters>\n\n\n\n{\n \"ImageIds\": [\n \"img-o3ycss2p\"\n ],\n \"DestinationRegions\": [\n \"ap-guangzhou\"\n ],\n \"ImageSetRequired\": true\n}",
746
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncImages\n<Common request parameters>\n\n{\n \"ImageIds\": [\n \"img-o3ycss2p\"\n ],\n \"DestinationRegions\": [\n \"ap-guangzhou\"\n ],\n \"ImageSetRequired\": true\n}",
701
747
  "output": "{\n \"Response\": {\n \"ImageSet\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"ImageId\": \"img-evhmf3fy\"\n }\n ],\n \"RequestId\": \"71e69b56-32be-4412-ab45-49eded6a87be\"\n }\n}",
702
748
  "title": "Synchronizing an Image to the Specified Region and Returning the New Image ID"
703
749
  }