tencentcloud-sdk-nodejs 3.0.267 → 3.0.270

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 (506) hide show
  1. package/package.json +1 -1
  2. package/tencentcloud/aa/v20200224/models.js +5 -12
  3. package/tencentcloud/advisor/index.js +3 -0
  4. package/tencentcloud/advisor/v20200721/advisor_client.js +63 -0
  5. package/tencentcloud/advisor/v20200721/index.js +4 -0
  6. package/tencentcloud/advisor/v20200721/models.js +455 -0
  7. package/tencentcloud/af/v20200226/af_client.js +40 -2
  8. package/tencentcloud/af/v20200226/models.js +1111 -48
  9. package/tencentcloud/afc/v20200226/afc_client.js +20 -2
  10. package/tencentcloud/afc/v20200226/models.js +607 -25
  11. package/tencentcloud/ame/v20190916/ame_client.js +367 -32
  12. package/tencentcloud/ame/v20190916/models.js +4498 -473
  13. package/tencentcloud/ams/index.js +1 -1
  14. package/tencentcloud/ams/v20200608/ams_client.js +74 -42
  15. package/tencentcloud/ams/v20200608/models.js +685 -74
  16. package/tencentcloud/ams/v20201229/ams_client.js +150 -0
  17. package/tencentcloud/ams/v20201229/index.js +4 -0
  18. package/tencentcloud/ams/v20201229/models.js +1784 -0
  19. package/tencentcloud/antiddos/index.js +3 -0
  20. package/tencentcloud/antiddos/v20200309/antiddos_client.js +1256 -0
  21. package/tencentcloud/antiddos/v20200309/index.js +4 -0
  22. package/tencentcloud/antiddos/v20200309/models.js +12542 -0
  23. package/tencentcloud/apcas/index.js +3 -0
  24. package/tencentcloud/apcas/v20201127/apcas_client.js +135 -0
  25. package/tencentcloud/apcas/v20201127/index.js +4 -0
  26. package/tencentcloud/apcas/v20201127/models.js +1103 -0
  27. package/tencentcloud/ape/index.js +3 -0
  28. package/tencentcloud/ape/v20200513/ape_client.js +142 -0
  29. package/tencentcloud/ape/v20200513/index.js +4 -0
  30. package/tencentcloud/ape/v20200513/models.js +1222 -0
  31. package/tencentcloud/api/index.js +3 -0
  32. package/tencentcloud/api/v20201106/api_client.js +75 -0
  33. package/tencentcloud/api/v20201106/index.js +4 -0
  34. package/tencentcloud/api/v20201106/models.js +434 -0
  35. package/tencentcloud/apigateway/v20180808/apigateway_client.js +853 -354
  36. package/tencentcloud/apigateway/v20180808/models.js +9848 -3994
  37. package/tencentcloud/apm/index.js +3 -0
  38. package/tencentcloud/apm/v20210622/apm_client.js +123 -0
  39. package/tencentcloud/apm/v20210622/index.js +4 -0
  40. package/tencentcloud/apm/v20210622/models.js +1459 -0
  41. package/tencentcloud/as/v20180419/as_client.js +173 -53
  42. package/tencentcloud/as/v20180419/models.js +1862 -841
  43. package/tencentcloud/asr/v20190614/asr_client.js +65 -23
  44. package/tencentcloud/asr/v20190614/models.js +489 -120
  45. package/tencentcloud/asw/index.js +3 -0
  46. package/tencentcloud/asw/v20200722/asw_client.js +153 -0
  47. package/tencentcloud/asw/v20200722/index.js +4 -0
  48. package/tencentcloud/asw/v20200722/models.js +1170 -0
  49. package/tencentcloud/ba/index.js +3 -0
  50. package/tencentcloud/ba/v20200720/ba_client.js +73 -0
  51. package/tencentcloud/ba/v20200720/index.js +4 -0
  52. package/tencentcloud/ba/v20200720/models.js +244 -0
  53. package/tencentcloud/batch/v20170312/batch_client.js +1 -0
  54. package/tencentcloud/batch/v20170312/models.js +192 -13
  55. package/tencentcloud/bda/v20200324/bda_client.js +75 -21
  56. package/tencentcloud/bda/v20200324/models.js +542 -89
  57. package/tencentcloud/bi/index.js +3 -0
  58. package/tencentcloud/bi/v20220105/bi_client.js +61 -0
  59. package/tencentcloud/bi/v20220105/index.js +4 -0
  60. package/tencentcloud/bi/v20220105/models.js +391 -0
  61. package/tencentcloud/billing/v20180709/billing_client.js +49 -3
  62. package/tencentcloud/billing/v20180709/models.js +1345 -198
  63. package/tencentcloud/bm/v20180423/bm_client.js +5 -3
  64. package/tencentcloud/bm/v20180423/models.js +39 -2
  65. package/tencentcloud/bsca/index.js +3 -0
  66. package/tencentcloud/bsca/v20210811/bsca_client.js +99 -0
  67. package/tencentcloud/bsca/v20210811/index.js +4 -0
  68. package/tencentcloud/bsca/v20210811/models.js +1310 -0
  69. package/tencentcloud/btoe/index.js +3 -0
  70. package/tencentcloud/btoe/v20210303/btoe_client.js +214 -0
  71. package/tencentcloud/btoe/v20210303/index.js +4 -0
  72. package/tencentcloud/btoe/v20210303/models.js +1279 -0
  73. package/tencentcloud/btoe/v20210514/btoe_client.js +203 -0
  74. package/tencentcloud/btoe/v20210514/index.js +4 -0
  75. package/tencentcloud/btoe/v20210514/models.js +1219 -0
  76. package/tencentcloud/cam/v20190116/cam_client.js +372 -62
  77. package/tencentcloud/cam/v20190116/models.js +4355 -1620
  78. package/tencentcloud/captcha/v20190722/captcha_client.js +25 -11
  79. package/tencentcloud/captcha/v20190722/models.js +324 -32
  80. package/tencentcloud/car/index.js +3 -0
  81. package/tencentcloud/car/v20220110/car_client.js +72 -0
  82. package/tencentcloud/car/v20220110/index.js +4 -0
  83. package/tencentcloud/car/v20220110/models.js +237 -0
  84. package/tencentcloud/casb/index.js +3 -0
  85. package/tencentcloud/casb/v20200507/casb_client.js +54 -0
  86. package/tencentcloud/casb/v20200507/index.js +4 -0
  87. package/tencentcloud/casb/v20200507/models.js +158 -0
  88. package/tencentcloud/cat/v20180409/cat_client.js +181 -55
  89. package/tencentcloud/cat/v20180409/models.js +3392 -1784
  90. package/tencentcloud/cbs/v20170312/cbs_client.js +153 -74
  91. package/tencentcloud/cbs/v20170312/models.js +2476 -1572
  92. package/tencentcloud/ccc/v20200210/ccc_client.js +318 -8
  93. package/tencentcloud/ccc/v20200210/models.js +4122 -126
  94. package/tencentcloud/cdb/v20170320/cdb_client.js +664 -277
  95. package/tencentcloud/cdb/v20170320/models.js +11032 -6619
  96. package/tencentcloud/cdc/index.js +3 -0
  97. package/tencentcloud/cdc/v20201214/cdc_client.js +308 -0
  98. package/tencentcloud/cdc/v20201214/index.js +4 -0
  99. package/tencentcloud/cdc/v20201214/models.js +3232 -0
  100. package/tencentcloud/cdn/v20180606/cdn_client.js +521 -70
  101. package/tencentcloud/cdn/v20180606/models.js +15001 -6087
  102. package/tencentcloud/cfg/index.js +3 -0
  103. package/tencentcloud/cfg/v20210820/cfg_client.js +181 -0
  104. package/tencentcloud/cfg/v20210820/index.js +4 -0
  105. package/tencentcloud/cfg/v20210820/models.js +2423 -0
  106. package/tencentcloud/cfs/v20190719/models.js +72 -8
  107. package/tencentcloud/cfw/v20190904/cfw_client.js +835 -81
  108. package/tencentcloud/cfw/v20190904/models.js +7930 -740
  109. package/tencentcloud/chdfs/index.js +1 -1
  110. package/tencentcloud/chdfs/v20190718/chdfs_client.js +257 -97
  111. package/tencentcloud/chdfs/v20190718/models.js +909 -131
  112. package/tencentcloud/chdfs/v20201112/chdfs_client.js +418 -0
  113. package/tencentcloud/chdfs/v20201112/index.js +4 -0
  114. package/tencentcloud/chdfs/v20201112/models.js +2710 -0
  115. package/tencentcloud/cii/index.js +3 -0
  116. package/tencentcloud/cii/v20201210/cii_client.js +74 -0
  117. package/tencentcloud/cii/v20201210/index.js +4 -0
  118. package/tencentcloud/cii/v20201210/models.js +455 -0
  119. package/tencentcloud/cii/v20210408/cii_client.js +225 -0
  120. package/tencentcloud/cii/v20210408/index.js +4 -0
  121. package/tencentcloud/cii/v20210408/models.js +2301 -0
  122. package/tencentcloud/ckafka/v20190819/ckafka_client.js +308 -27
  123. package/tencentcloud/ckafka/v20190819/models.js +4283 -734
  124. package/tencentcloud/clb/v20180317/clb_client.js +292 -81
  125. package/tencentcloud/clb/v20180317/models.js +4315 -1477
  126. package/tencentcloud/cloudaudit/v20190319/cloudaudit_client.js +72 -7
  127. package/tencentcloud/cloudaudit/v20190319/models.js +628 -269
  128. package/tencentcloud/cloudhsm/v20191112/cloudhsm_client.js +20 -2
  129. package/tencentcloud/cloudhsm/v20191112/models.js +392 -36
  130. package/tencentcloud/cls/index.js +3 -0
  131. package/tencentcloud/cls/v20201016/cls_client.js +1073 -0
  132. package/tencentcloud/cls/v20201016/index.js +4 -0
  133. package/tencentcloud/cls/v20201016/models.js +10053 -0
  134. package/tencentcloud/cme/v20191029/cme_client.js +327 -70
  135. package/tencentcloud/cme/v20191029/models.js +7001 -2109
  136. package/tencentcloud/cmq/v20190304/models.js +159 -143
  137. package/tencentcloud/cms/v20190321/models.js +6 -2
  138. package/tencentcloud/common/sdk_version.js +1 -1
  139. package/tencentcloud/cpdp/v20190820/cpdp_client.js +2045 -600
  140. package/tencentcloud/cpdp/v20190820/models.js +30614 -7751
  141. package/tencentcloud/cr/v20180321/cr_client.js +270 -50
  142. package/tencentcloud/cr/v20180321/models.js +2829 -432
  143. package/tencentcloud/cvm/v20170312/cvm_client.js +287 -98
  144. package/tencentcloud/cvm/v20170312/models.js +3701 -779
  145. package/tencentcloud/cwp/v20180228/cwp_client.js +2195 -728
  146. package/tencentcloud/cwp/v20180228/models.js +23373 -5226
  147. package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +280 -59
  148. package/tencentcloud/cynosdb/v20190107/models.js +4049 -1893
  149. package/tencentcloud/dasb/index.js +3 -0
  150. package/tencentcloud/dasb/v20191018/dasb_client.js +351 -0
  151. package/tencentcloud/dasb/v20191018/index.js +4 -0
  152. package/tencentcloud/dasb/v20191018/models.js +3161 -0
  153. package/tencentcloud/dayu/v20180709/dayu_client.js +31 -17
  154. package/tencentcloud/dayu/v20180709/models.js +317 -88
  155. package/tencentcloud/dbbrain/index.js +1 -1
  156. package/tencentcloud/dbbrain/v20191016/dbbrain_client.js +313 -33
  157. package/tencentcloud/dbbrain/v20191016/models.js +3871 -488
  158. package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +613 -0
  159. package/tencentcloud/dbbrain/v20210527/index.js +4 -0
  160. package/tencentcloud/dbbrain/v20210527/models.js +6717 -0
  161. package/tencentcloud/dbdc/index.js +3 -0
  162. package/tencentcloud/dbdc/v20201029/dbdc_client.js +104 -0
  163. package/tencentcloud/dbdc/v20201029/index.js +4 -0
  164. package/tencentcloud/dbdc/v20201029/models.js +1441 -0
  165. package/tencentcloud/dc/v20180410/dc_client.js +110 -16
  166. package/tencentcloud/dc/v20180410/models.js +1125 -184
  167. package/tencentcloud/dcdb/v20180411/dcdb_client.js +395 -85
  168. package/tencentcloud/dcdb/v20180411/models.js +3348 -442
  169. package/tencentcloud/dlc/index.js +3 -0
  170. package/tencentcloud/dlc/v20210125/dlc_client.js +612 -0
  171. package/tencentcloud/dlc/v20210125/index.js +4 -0
  172. package/tencentcloud/dlc/v20210125/models.js +6506 -0
  173. package/tencentcloud/dnspod/index.js +3 -0
  174. package/tencentcloud/dnspod/v20210323/dnspod_client.js +488 -0
  175. package/tencentcloud/dnspod/v20210323/index.js +4 -0
  176. package/tencentcloud/dnspod/v20210323/models.js +4873 -0
  177. package/tencentcloud/domain/v20180808/domain_client.js +185 -109
  178. package/tencentcloud/domain/v20180808/models.js +1267 -132
  179. package/tencentcloud/drm/v20181115/drm_client.js +2 -1
  180. package/tencentcloud/dtf/index.js +3 -0
  181. package/tencentcloud/dtf/v20200506/dtf_client.js +48 -0
  182. package/tencentcloud/dtf/v20200506/index.js +4 -0
  183. package/tencentcloud/dtf/v20200506/models.js +327 -0
  184. package/tencentcloud/dts/v20180330/dts_client.js +11 -127
  185. package/tencentcloud/dts/v20180330/models.js +1022 -1941
  186. package/tencentcloud/eb/index.js +3 -0
  187. package/tencentcloud/eb/v20210416/eb_client.js +393 -0
  188. package/tencentcloud/eb/v20210416/index.js +4 -0
  189. package/tencentcloud/eb/v20210416/models.js +3400 -0
  190. package/tencentcloud/ecdn/v20191012/ecdn_client.js +62 -18
  191. package/tencentcloud/ecdn/v20191012/models.js +542 -189
  192. package/tencentcloud/ecm/v20190719/ecm_client.js +793 -294
  193. package/tencentcloud/ecm/v20190719/models.js +11045 -6108
  194. package/tencentcloud/eiam/index.js +3 -0
  195. package/tencentcloud/eiam/v20210420/eiam_client.js +604 -0
  196. package/tencentcloud/eiam/v20210420/index.js +4 -0
  197. package/tencentcloud/eiam/v20210420/models.js +5565 -0
  198. package/tencentcloud/eis/index.js +3 -0
  199. package/tencentcloud/eis/v20200715/eis_client.js +74 -0
  200. package/tencentcloud/eis/v20200715/index.js +4 -0
  201. package/tencentcloud/eis/v20200715/models.js +548 -0
  202. package/tencentcloud/eis/v20210601/eis_client.js +102 -0
  203. package/tencentcloud/eis/v20210601/index.js +4 -0
  204. package/tencentcloud/eis/v20210601/models.js +788 -0
  205. package/tencentcloud/emr/v20190103/emr_client.js +267 -70
  206. package/tencentcloud/emr/v20190103/models.js +5618 -2073
  207. package/tencentcloud/es/v20180416/es_client.js +237 -57
  208. package/tencentcloud/es/v20180416/models.js +3460 -1058
  209. package/tencentcloud/ess/index.js +3 -0
  210. package/tencentcloud/ess/v20201111/ess_client.js +197 -0
  211. package/tencentcloud/ess/v20201111/index.js +4 -0
  212. package/tencentcloud/ess/v20201111/models.js +2537 -0
  213. package/tencentcloud/essbasic/index.js +3 -0
  214. package/tencentcloud/essbasic/v20201222/essbasic_client.js +791 -0
  215. package/tencentcloud/essbasic/v20201222/index.js +4 -0
  216. package/tencentcloud/essbasic/v20201222/models.js +7555 -0
  217. package/tencentcloud/essbasic/v20210526/essbasic_client.js +260 -0
  218. package/tencentcloud/essbasic/v20210526/index.js +4 -0
  219. package/tencentcloud/essbasic/v20210526/models.js +3332 -0
  220. package/tencentcloud/facefusion/v20181201/facefusion_client.js +1 -1
  221. package/tencentcloud/facefusion/v20181201/models.js +23 -16
  222. package/tencentcloud/faceid/v20180301/faceid_client.js +228 -37
  223. package/tencentcloud/faceid/v20180301/models.js +2839 -598
  224. package/tencentcloud/fmu/v20191213/fmu_client.js +38 -12
  225. package/tencentcloud/fmu/v20191213/models.js +217 -1
  226. package/tencentcloud/ft/v20200304/models.js +15 -7
  227. package/tencentcloud/gaap/v20180529/gaap_client.js +630 -547
  228. package/tencentcloud/gaap/v20180529/models.js +1718 -308
  229. package/tencentcloud/gme/v20180711/gme_client.js +181 -21
  230. package/tencentcloud/gme/v20180711/models.js +1743 -264
  231. package/tencentcloud/gpm/index.js +3 -0
  232. package/tencentcloud/gpm/v20200820/gpm_client.js +281 -0
  233. package/tencentcloud/gpm/v20200820/index.js +4 -0
  234. package/tencentcloud/gpm/v20200820/models.js +2852 -0
  235. package/tencentcloud/gs/v20191118/gs_client.js +79 -14
  236. package/tencentcloud/gs/v20191118/models.js +426 -57
  237. package/tencentcloud/gse/v20191112/gse_client.js +232 -71
  238. package/tencentcloud/gse/v20191112/models.js +2250 -277
  239. package/tencentcloud/hcm/v20181106/models.js +19 -4
  240. package/tencentcloud/iai/v20180301/iai_client.js +17 -83
  241. package/tencentcloud/iai/v20180301/models.js +169 -484
  242. package/tencentcloud/iai/v20200303/iai_client.js +38 -85
  243. package/tencentcloud/iai/v20200303/models.js +304 -487
  244. package/tencentcloud/ic/v20190307/ic_client.js +13 -0
  245. package/tencentcloud/ic/v20190307/models.js +80 -0
  246. package/tencentcloud/icr/index.js +3 -0
  247. package/tencentcloud/icr/v20211014/icr_client.js +57 -0
  248. package/tencentcloud/icr/v20211014/index.js +4 -0
  249. package/tencentcloud/icr/v20211014/models.js +753 -0
  250. package/tencentcloud/ie/v20200304/ie_client.js +119 -46
  251. package/tencentcloud/ie/v20200304/models.js +3853 -1773
  252. package/tencentcloud/iecp/index.js +3 -0
  253. package/tencentcloud/iecp/v20210914/iecp_client.js +1425 -0
  254. package/tencentcloud/iecp/v20210914/index.js +4 -0
  255. package/tencentcloud/iecp/v20210914/models.js +14297 -0
  256. package/tencentcloud/ims/index.js +3 -0
  257. package/tencentcloud/ims/v20200713/ims_client.js +105 -0
  258. package/tencentcloud/ims/v20200713/index.js +4 -0
  259. package/tencentcloud/ims/v20200713/models.js +1649 -0
  260. package/tencentcloud/ims/v20201229/ims_client.js +93 -0
  261. package/tencentcloud/ims/v20201229/index.js +4 -0
  262. package/tencentcloud/ims/v20201229/models.js +1073 -0
  263. package/tencentcloud/index.js +64 -1
  264. package/tencentcloud/iotcloud/index.js +1 -1
  265. package/tencentcloud/iotcloud/v20180614/iotcloud_client.js +293 -54
  266. package/tencentcloud/iotcloud/v20180614/models.js +2597 -490
  267. package/tencentcloud/iotcloud/v20210408/index.js +4 -0
  268. package/tencentcloud/iotcloud/v20210408/iotcloud_client.js +981 -0
  269. package/tencentcloud/iotcloud/v20210408/models.js +8165 -0
  270. package/tencentcloud/iotexplorer/v20190423/iotexplorer_client.js +1027 -209
  271. package/tencentcloud/iotexplorer/v20190423/models.js +8332 -1344
  272. package/tencentcloud/iotvideo/index.js +1 -1
  273. package/tencentcloud/iotvideo/v20191126/iotvideo_client.js +110 -23
  274. package/tencentcloud/iotvideo/v20191126/models.js +1098 -132
  275. package/tencentcloud/iotvideo/v20201215/index.js +4 -0
  276. package/tencentcloud/iotvideo/v20201215/iotvideo_client.js +1085 -0
  277. package/tencentcloud/iotvideo/v20201215/models.js +8982 -0
  278. package/tencentcloud/iotvideoindustry/index.js +3 -0
  279. package/tencentcloud/iotvideoindustry/v20201201/index.js +4 -0
  280. package/tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.js +1443 -0
  281. package/tencentcloud/iotvideoindustry/v20201201/models.js +11256 -0
  282. package/tencentcloud/ivld/index.js +3 -0
  283. package/tencentcloud/ivld/v20210903/index.js +4 -0
  284. package/tencentcloud/ivld/v20210903/ivld_client.js +471 -0
  285. package/tencentcloud/ivld/v20210903/models.js +3686 -0
  286. package/tencentcloud/kms/v20190118/kms_client.js +29 -2
  287. package/tencentcloud/kms/v20190118/models.js +314 -6
  288. package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +923 -60
  289. package/tencentcloud/lighthouse/v20200324/models.js +7326 -755
  290. package/tencentcloud/live/v20180801/live_client.js +299 -47
  291. package/tencentcloud/live/v20180801/models.js +3439 -780
  292. package/tencentcloud/lowcode/index.js +3 -0
  293. package/tencentcloud/lowcode/v20210108/index.js +4 -0
  294. package/tencentcloud/lowcode/v20210108/lowcode_client.js +51 -0
  295. package/tencentcloud/lowcode/v20210108/models.js +626 -0
  296. package/tencentcloud/mariadb/v20170312/mariadb_client.js +364 -52
  297. package/tencentcloud/mariadb/v20170312/models.js +4783 -1756
  298. package/tencentcloud/market/index.js +3 -0
  299. package/tencentcloud/market/v20191010/index.js +4 -0
  300. package/tencentcloud/market/v20191010/market_client.js +60 -0
  301. package/tencentcloud/market/v20191010/models.js +215 -0
  302. package/tencentcloud/memcached/v20190318/models.js +104 -103
  303. package/tencentcloud/mgobe/index.js +1 -1
  304. package/tencentcloud/mgobe/v20201014/index.js +4 -0
  305. package/tencentcloud/mgobe/v20201014/mgobe_client.js +127 -0
  306. package/tencentcloud/mgobe/v20201014/models.js +917 -0
  307. package/tencentcloud/mna/index.js +3 -0
  308. package/tencentcloud/mna/v20210119/index.js +4 -0
  309. package/tencentcloud/mna/v20210119/mna_client.js +79 -0
  310. package/tencentcloud/mna/v20210119/models.js +693 -0
  311. package/tencentcloud/mongodb/v20190725/models.js +3034 -1496
  312. package/tencentcloud/mongodb/v20190725/mongodb_client.js +146 -42
  313. package/tencentcloud/monitor/v20180724/models.js +9006 -2701
  314. package/tencentcloud/monitor/v20180724/monitor_client.js +592 -124
  315. package/tencentcloud/mps/v20190612/models.js +1176 -306
  316. package/tencentcloud/mps/v20190612/mps_client.js +30 -11
  317. package/tencentcloud/mrs/index.js +3 -0
  318. package/tencentcloud/mrs/v20200910/index.js +4 -0
  319. package/tencentcloud/mrs/v20200910/models.js +5464 -0
  320. package/tencentcloud/mrs/v20200910/mrs_client.js +143 -0
  321. package/tencentcloud/nlp/v20190408/models.js +447 -631
  322. package/tencentcloud/nlp/v20190408/nlp_client.js +42 -55
  323. package/tencentcloud/oceanus/index.js +3 -0
  324. package/tencentcloud/oceanus/v20190422/index.js +4 -0
  325. package/tencentcloud/oceanus/v20190422/models.js +3144 -0
  326. package/tencentcloud/oceanus/v20190422/oceanus_client.js +269 -0
  327. package/tencentcloud/ocr/v20181119/models.js +3758 -720
  328. package/tencentcloud/ocr/v20181119/ocr_client.js +221 -66
  329. package/tencentcloud/organization/index.js +1 -1
  330. package/tencentcloud/organization/v20210331/index.js +4 -0
  331. package/tencentcloud/organization/v20210331/models.js +821 -0
  332. package/tencentcloud/organization/v20210331/organization_client.js +101 -0
  333. package/tencentcloud/partners/v20180321/models.js +1097 -48
  334. package/tencentcloud/partners/v20180321/partners_client.js +79 -10
  335. package/tencentcloud/pds/index.js +3 -0
  336. package/tencentcloud/pds/v20210701/index.js +4 -0
  337. package/tencentcloud/pds/v20210701/models.js +271 -0
  338. package/tencentcloud/pds/v20210701/pds_client.js +61 -0
  339. package/tencentcloud/postgres/v20170312/models.js +6120 -1774
  340. package/tencentcloud/postgres/v20170312/postgres_client.js +517 -114
  341. package/tencentcloud/privatedns/index.js +3 -0
  342. package/tencentcloud/privatedns/v20201028/index.js +4 -0
  343. package/tencentcloud/privatedns/v20201028/models.js +2637 -0
  344. package/tencentcloud/privatedns/v20201028/privatedns_client.js +308 -0
  345. package/tencentcloud/rce/index.js +3 -0
  346. package/tencentcloud/rce/v20201103/index.js +4 -0
  347. package/tencentcloud/rce/v20201103/models.js +1450 -0
  348. package/tencentcloud/rce/v20201103/rce_client.js +103 -0
  349. package/tencentcloud/redis/v20180412/models.js +4537 -1516
  350. package/tencentcloud/redis/v20180412/redis_client.js +344 -47
  351. package/tencentcloud/rum/index.js +3 -0
  352. package/tencentcloud/rum/v20210622/index.js +4 -0
  353. package/tencentcloud/rum/v20210622/models.js +7436 -0
  354. package/tencentcloud/rum/v20210622/rum_client.js +760 -0
  355. package/tencentcloud/scf/v20180416/models.js +4547 -2012
  356. package/tencentcloud/scf/v20180416/scf_client.js +253 -41
  357. package/tencentcloud/ses/index.js +3 -0
  358. package/tencentcloud/ses/v20201002/index.js +4 -0
  359. package/tencentcloud/ses/v20201002/models.js +3053 -0
  360. package/tencentcloud/ses/v20201002/ses_client.js +376 -0
  361. package/tencentcloud/smh/index.js +3 -0
  362. package/tencentcloud/smh/v20210712/index.js +4 -0
  363. package/tencentcloud/smh/v20210712/models.js +1370 -0
  364. package/tencentcloud/smh/v20210712/smh_client.js +167 -0
  365. package/tencentcloud/sms/index.js +1 -1
  366. package/tencentcloud/sms/v20190711/models.js +21 -15
  367. package/tencentcloud/sms/v20190711/sms_client.js +10 -8
  368. package/tencentcloud/sms/v20210111/index.js +4 -0
  369. package/tencentcloud/sms/v20210111/models.js +2544 -0
  370. package/tencentcloud/sms/v20210111/sms_client.js +324 -0
  371. package/tencentcloud/soe/v20180724/models.js +129 -38
  372. package/tencentcloud/soe/v20180724/soe_client.js +2 -2
  373. package/tencentcloud/sqlserver/v20180328/models.js +6545 -3062
  374. package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +780 -428
  375. package/tencentcloud/ssa/index.js +3 -0
  376. package/tencentcloud/ssa/v20180608/index.js +4 -0
  377. package/tencentcloud/ssa/v20180608/models.js +6058 -0
  378. package/tencentcloud/ssa/v20180608/ssa_client.js +343 -0
  379. package/tencentcloud/ssl/v20191205/models.js +2455 -739
  380. package/tencentcloud/ssl/v20191205/ssl_client.js +239 -62
  381. package/tencentcloud/sslpod/index.js +3 -0
  382. package/tencentcloud/sslpod/v20190605/index.js +4 -0
  383. package/tencentcloud/sslpod/v20190605/models.js +1375 -0
  384. package/tencentcloud/sslpod/v20190605/sslpod_client.js +171 -0
  385. package/tencentcloud/ssm/v20190923/models.js +1311 -158
  386. package/tencentcloud/ssm/v20190923/ssm_client.js +199 -71
  387. package/tencentcloud/sts/v20180813/models.js +278 -11
  388. package/tencentcloud/sts/v20180813/sts_client.js +40 -12
  389. package/tencentcloud/taf/v20200210/models.js +397 -46
  390. package/tencentcloud/taf/v20200210/taf_client.js +24 -4
  391. package/tencentcloud/tag/v20180813/models.js +972 -174
  392. package/tencentcloud/tag/v20180813/tag_client.js +213 -107
  393. package/tencentcloud/tat/index.js +3 -0
  394. package/tencentcloud/tat/v20201028/index.js +4 -0
  395. package/tencentcloud/tat/v20201028/models.js +3020 -0
  396. package/tencentcloud/tat/v20201028/tat_client.js +310 -0
  397. package/tencentcloud/tbaas/v20180416/models.js +2932 -617
  398. package/tencentcloud/tbaas/v20180416/tbaas_client.js +333 -78
  399. package/tencentcloud/tcaplusdb/v20190823/models.js +3133 -418
  400. package/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.js +231 -19
  401. package/tencentcloud/tcb/v20180608/models.js +10382 -1715
  402. package/tencentcloud/tcb/v20180608/tcb_client.js +809 -107
  403. package/tencentcloud/tcm/index.js +3 -0
  404. package/tencentcloud/tcm/v20210413/index.js +4 -0
  405. package/tencentcloud/tcm/v20210413/models.js +2237 -0
  406. package/tencentcloud/tcm/v20210413/tcm_client.js +95 -0
  407. package/tencentcloud/tcr/v20190924/models.js +5356 -1649
  408. package/tencentcloud/tcr/v20190924/tcr_client.js +820 -364
  409. package/tencentcloud/tcss/index.js +3 -0
  410. package/tencentcloud/tcss/v20201101/index.js +4 -0
  411. package/tencentcloud/tcss/v20201101/models.js +24927 -0
  412. package/tencentcloud/tcss/v20201101/tcss_client.js +2276 -0
  413. package/tencentcloud/tdcpg/index.js +3 -0
  414. package/tencentcloud/tdcpg/v20211118/index.js +4 -0
  415. package/tencentcloud/tdcpg/v20211118/models.js +2777 -0
  416. package/tencentcloud/tdcpg/v20211118/tdcpg_client.js +372 -0
  417. package/tencentcloud/tdid/index.js +3 -0
  418. package/tencentcloud/tdid/v20210519/index.js +4 -0
  419. package/tencentcloud/tdid/v20210519/models.js +978 -0
  420. package/tencentcloud/tdid/v20210519/tdid_client.js +143 -0
  421. package/tencentcloud/tdmq/v20200217/models.js +11577 -1039
  422. package/tencentcloud/tdmq/v20200217/tdmq_client.js +1206 -95
  423. package/tencentcloud/tem/index.js +3 -0
  424. package/tencentcloud/tem/v20201221/index.js +4 -0
  425. package/tencentcloud/tem/v20201221/models.js +3274 -0
  426. package/tencentcloud/tem/v20201221/tem_client.js +275 -0
  427. package/tencentcloud/tem/v20210701/index.js +4 -0
  428. package/tencentcloud/tem/v20210701/models.js +4613 -0
  429. package/tencentcloud/tem/v20210701/tem_client.js +377 -0
  430. package/tencentcloud/teo/index.js +3 -0
  431. package/tencentcloud/teo/v20220106/index.js +4 -0
  432. package/tencentcloud/teo/v20220106/models.js +8307 -0
  433. package/tencentcloud/teo/v20220106/teo_client.js +728 -0
  434. package/tencentcloud/thpc/index.js +3 -0
  435. package/tencentcloud/thpc/v20211109/index.js +4 -0
  436. package/tencentcloud/thpc/v20211109/models.js +1491 -0
  437. package/tencentcloud/thpc/v20211109/thpc_client.js +103 -0
  438. package/tencentcloud/thpc/v20220401/index.js +4 -0
  439. package/tencentcloud/thpc/v20220401/models.js +1775 -0
  440. package/tencentcloud/thpc/v20220401/thpc_client.js +129 -0
  441. package/tencentcloud/tic/index.js +3 -0
  442. package/tencentcloud/tic/v20201117/index.js +4 -0
  443. package/tencentcloud/tic/v20201117/models.js +1368 -0
  444. package/tencentcloud/tic/v20201117/tic_client.js +223 -0
  445. package/tencentcloud/tiia/v20190529/models.js +2135 -538
  446. package/tencentcloud/tiia/v20190529/tiia_client.js +135 -12
  447. package/tencentcloud/tiw/v20190919/models.js +1720 -136
  448. package/tencentcloud/tiw/v20190919/tiw_client.js +213 -72
  449. package/tencentcloud/tke/v20180525/models.js +18759 -1873
  450. package/tencentcloud/tke/v20180525/tke_client.js +1859 -248
  451. package/tencentcloud/tms/index.js +1 -1
  452. package/tencentcloud/tms/v20200713/models.js +546 -66
  453. package/tencentcloud/tms/v20200713/tms_client.js +33 -2
  454. package/tencentcloud/tms/v20201229/index.js +4 -0
  455. package/tencentcloud/tms/v20201229/models.js +495 -0
  456. package/tencentcloud/tms/v20201229/tms_client.js +67 -0
  457. package/tencentcloud/tmt/v20180321/models.js +474 -172
  458. package/tencentcloud/tmt/v20180321/tmt_client.js +63 -33
  459. package/tencentcloud/trtc/v20190722/models.js +3170 -700
  460. package/tencentcloud/trtc/v20190722/trtc_client.js +307 -81
  461. package/tencentcloud/tse/index.js +3 -0
  462. package/tencentcloud/tse/v20201207/index.js +4 -0
  463. package/tencentcloud/tse/v20201207/models.js +946 -0
  464. package/tencentcloud/tse/v20201207/tse_client.js +67 -0
  465. package/tencentcloud/tsf/v20180326/models.js +20614 -6859
  466. package/tencentcloud/tsf/v20180326/tsf_client.js +1438 -417
  467. package/tencentcloud/tsw/index.js +3 -0
  468. package/tencentcloud/tsw/v20200924/index.js +4 -0
  469. package/tencentcloud/tsw/v20200924/models.js +171 -0
  470. package/tencentcloud/tsw/v20200924/tsw_client.js +47 -0
  471. package/tencentcloud/tsw/v20210412/index.js +4 -0
  472. package/tencentcloud/tsw/v20210412/models.js +188 -0
  473. package/tencentcloud/tsw/v20210412/tsw_client.js +72 -0
  474. package/tencentcloud/tts/v20190823/models.js +306 -11
  475. package/tencentcloud/tts/v20190823/tts_client.js +38 -0
  476. package/tencentcloud/ump/index.js +3 -0
  477. package/tencentcloud/ump/v20200918/index.js +4 -0
  478. package/tencentcloud/ump/v20200918/models.js +2811 -0
  479. package/tencentcloud/ump/v20200918/ump_client.js +279 -0
  480. package/tencentcloud/vm/index.js +3 -0
  481. package/tencentcloud/vm/v20200709/index.js +4 -0
  482. package/tencentcloud/vm/v20200709/models.js +2163 -0
  483. package/tencentcloud/vm/v20200709/vm_client.js +126 -0
  484. package/tencentcloud/vm/v20201229/index.js +4 -0
  485. package/tencentcloud/vm/v20201229/models.js +1855 -0
  486. package/tencentcloud/vm/v20201229/vm_client.js +147 -0
  487. package/tencentcloud/vms/index.js +3 -0
  488. package/tencentcloud/vms/v20200902/index.js +4 -0
  489. package/tencentcloud/vms/v20200902/models.js +264 -0
  490. package/tencentcloud/vms/v20200902/vms_client.js +60 -0
  491. package/tencentcloud/vod/v20180717/models.js +12247 -6350
  492. package/tencentcloud/vod/v20180717/vod_client.js +602 -95
  493. package/tencentcloud/vpc/v20170312/models.js +8163 -1403
  494. package/tencentcloud/vpc/v20170312/vpc_client.js +1048 -220
  495. package/tencentcloud/waf/index.js +3 -0
  496. package/tencentcloud/waf/v20180125/index.js +4 -0
  497. package/tencentcloud/waf/v20180125/models.js +4627 -0
  498. package/tencentcloud/waf/v20180125/waf_client.js +491 -0
  499. package/tencentcloud/wav/index.js +3 -0
  500. package/tencentcloud/wav/v20210129/index.js +4 -0
  501. package/tencentcloud/wav/v20210129/models.js +4170 -0
  502. package/tencentcloud/wav/v20210129/wav_client.js +345 -0
  503. package/tencentcloud/zj/index.js +3 -0
  504. package/tencentcloud/zj/v20190121/index.js +4 -0
  505. package/tencentcloud/zj/v20190121/models.js +3419 -0
  506. package/tencentcloud/zj/v20190121/zj_client.js +334 -0
@@ -66,7 +66,7 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
66
66
 
67
67
  /**
68
68
  * 实例类型列表,不同实例机型指定了不同的资源规格,最多支持10种实例机型。
69
- 启动配置,通过 InstanceType 表示单一实例类型,通过 InstanceTypes 表示多实例类型。指定 InstanceTypes 成功启动配置后,原有的 InstanceType 自动失效。
69
+ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定多实例类型,并使原有的InstanceType失效。
70
70
  * @type {Array.<string> || null}
71
71
  */
72
72
  this.InstanceTypes = null;
@@ -89,11 +89,102 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
89
89
  this.LaunchConfigurationName = null;
90
90
 
91
91
  /**
92
- * 经过 Base64 编码后的自定义数据,最大长度不超过16KB。如果要清空UserData,则指定其为空字符串
92
+ * 经过 Base64 编码后的自定义数据,最大长度不超过16KB。如果要清空UserData,则指定其为空字符串。
93
93
  * @type {string || null}
94
94
  */
95
95
  this.UserData = null;
96
96
 
97
+ /**
98
+ * 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的`SecurityGroupId`字段来获取。
99
+ 若指定该参数,请至少提供一个安全组,列表顺序有先后。
100
+ * @type {Array.<string> || null}
101
+ */
102
+ this.SecurityGroupIds = null;
103
+
104
+ /**
105
+ * 公网带宽相关信息设置。
106
+ 当公网出带宽上限为0Mbps时,不支持修改为开通分配公网IP;相应的,当前为开通分配公网IP时,修改的公网出带宽上限值必须大于0Mbps。
107
+ * @type {InternetAccessible || null}
108
+ */
109
+ this.InternetAccessible = null;
110
+
111
+ /**
112
+ * 实例计费类型。具体取值范围如下:
113
+ <br><li>POSTPAID_BY_HOUR:按小时后付费
114
+ <br><li>SPOTPAID:竞价付费
115
+ <br><li>PREPAID:预付费,即包年包月
116
+ * @type {string || null}
117
+ */
118
+ this.InstanceChargeType = null;
119
+
120
+ /**
121
+ * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。
122
+ 若修改实例的付费模式为预付费,则该参数必传;从预付费修改为其他付费模式时,本字段原信息会自动丢弃。
123
+ 当新增该字段时,必须传递购买实例的时长,其它未传递字段会设置为默认值。
124
+ 当修改本字段时,当前付费模式必须为预付费。
125
+ * @type {InstanceChargePrepaid || null}
126
+ */
127
+ this.InstanceChargePrepaid = null;
128
+
129
+ /**
130
+ * 实例的市场相关选项,如竞价实例相关参数。
131
+ 若修改实例的付费模式为竞价付费,则该参数必传;从竞价付费修改为其他付费模式时,本字段原信息会自动丢弃。
132
+ 当新增该字段时,必须传递竞价相关选项下的竞价出价,其它未传递字段会设置为默认值。
133
+ 当修改本字段时,当前付费模式必须为竞价付费。
134
+ * @type {InstanceMarketOptionsRequest || null}
135
+ */
136
+ this.InstanceMarketOptions = null;
137
+
138
+ /**
139
+ * 云盘类型选择策略,取值范围:
140
+ <br><li>ORIGINAL:使用设置的云盘类型。
141
+ <br><li>AUTOMATIC:自动选择当前可用的云盘类型。
142
+ * @type {string || null}
143
+ */
144
+ this.DiskTypePolicy = null;
145
+
146
+ /**
147
+ * 实例系统盘配置信息。
148
+ * @type {SystemDisk || null}
149
+ */
150
+ this.SystemDisk = null;
151
+
152
+ /**
153
+ * 实例数据盘配置信息。
154
+ 最多支持指定11块数据盘。采取整体修改,因此请提供修改后的全部值。
155
+ 数据盘类型默认与系统盘类型保持一致。
156
+ * @type {Array.<DataDisk> || null}
157
+ */
158
+ this.DataDisks = null;
159
+
160
+ /**
161
+ * 云服务器主机名(HostName)的相关设置。
162
+ 不支持windows实例设置主机名。
163
+ 新增该属性时,必须传递云服务器的主机名,其它未传递字段会设置为默认值。
164
+ * @type {HostNameSettings || null}
165
+ */
166
+ this.HostNameSettings = null;
167
+
168
+ /**
169
+ * 云服务器(InstanceName)实例名的相关设置。
170
+ 如果用户在启动配置中设置此字段,则伸缩组创建出的实例 InstanceName 参照此字段进行设置,并传递给 CVM;如果用户未在启动配置中设置此字段,则伸缩组创建出的实例 InstanceName 按照“as-{{ 伸缩组AutoScalingGroupName }}”进行设置,并传递给 CVM。
171
+ 新增该属性时,必须传递云服务器的实例名称,其它未传递字段会设置为默认值。
172
+ * @type {InstanceNameSettings || null}
173
+ */
174
+ this.InstanceNameSettings = null;
175
+
176
+ /**
177
+ * 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。
178
+ * @type {EnhancedService || null}
179
+ */
180
+ this.EnhancedService = null;
181
+
182
+ /**
183
+ * CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
184
+ * @type {string || null}
185
+ */
186
+ this.CamRoleName = null;
187
+
97
188
  }
98
189
 
99
190
  /**
@@ -109,6 +200,61 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
109
200
  this.InstanceTypesCheckPolicy = 'InstanceTypesCheckPolicy' in params ? params.InstanceTypesCheckPolicy : null;
110
201
  this.LaunchConfigurationName = 'LaunchConfigurationName' in params ? params.LaunchConfigurationName : null;
111
202
  this.UserData = 'UserData' in params ? params.UserData : null;
203
+ this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
204
+
205
+ if (params.InternetAccessible) {
206
+ let obj = new InternetAccessible();
207
+ obj.deserialize(params.InternetAccessible)
208
+ this.InternetAccessible = obj;
209
+ }
210
+ this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
211
+
212
+ if (params.InstanceChargePrepaid) {
213
+ let obj = new InstanceChargePrepaid();
214
+ obj.deserialize(params.InstanceChargePrepaid)
215
+ this.InstanceChargePrepaid = obj;
216
+ }
217
+
218
+ if (params.InstanceMarketOptions) {
219
+ let obj = new InstanceMarketOptionsRequest();
220
+ obj.deserialize(params.InstanceMarketOptions)
221
+ this.InstanceMarketOptions = obj;
222
+ }
223
+ this.DiskTypePolicy = 'DiskTypePolicy' in params ? params.DiskTypePolicy : null;
224
+
225
+ if (params.SystemDisk) {
226
+ let obj = new SystemDisk();
227
+ obj.deserialize(params.SystemDisk)
228
+ this.SystemDisk = obj;
229
+ }
230
+
231
+ if (params.DataDisks) {
232
+ this.DataDisks = new Array();
233
+ for (let z in params.DataDisks) {
234
+ let obj = new DataDisk();
235
+ obj.deserialize(params.DataDisks[z]);
236
+ this.DataDisks.push(obj);
237
+ }
238
+ }
239
+
240
+ if (params.HostNameSettings) {
241
+ let obj = new HostNameSettings();
242
+ obj.deserialize(params.HostNameSettings)
243
+ this.HostNameSettings = obj;
244
+ }
245
+
246
+ if (params.InstanceNameSettings) {
247
+ let obj = new InstanceNameSettings();
248
+ obj.deserialize(params.InstanceNameSettings)
249
+ this.InstanceNameSettings = obj;
250
+ }
251
+
252
+ if (params.EnhancedService) {
253
+ let obj = new EnhancedService();
254
+ obj.deserialize(params.EnhancedService)
255
+ this.EnhancedService = obj;
256
+ }
257
+ this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
112
258
 
113
259
  }
114
260
  }
@@ -256,19 +402,53 @@ class ModifyAutoScalingGroupRequest extends AbstractModel {
256
402
  this.Ipv6AddressCount = null;
257
403
 
258
404
  /**
259
- * 多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY。
405
+ * 多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY,默认为 PRIORITY
260
406
  <br><li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。
261
- <br><li> EQUALITY:每次选择当前实例数最少的可用区/子网进行扩容,使得每个可用区/子网都有机会发生扩容,多次扩容出的实例会打散到多个可用区/子网。
407
+ <br><li> EQUALITY:扩容出的实例会打散到多个可用区/子网,保证扩容后的各个可用区/子网实例数相对均衡。
262
408
 
263
409
  与本策略相关的注意点:
264
410
  <br><li> 当伸缩组为基础网络时,本策略适用于多可用区;当伸缩组为VPC网络时,本策略适用于多子网,此时不再考虑可用区因素,例如四个子网ABCD,其中ABC处于可用区1,D处于可用区2,此时考虑子网ABCD进行排序,而不考虑可用区1、2。
265
411
  <br><li> 本策略适用于多可用区/子网,不适用于启动配置的多机型。多机型按照优先级策略进行选择。
266
- <br><li> 创建实例时,先保证多机型的策略,后保证多可用区/子网的策略。例如多机型A、B,多子网1、2、3(按照PRIORITY策略),会按照A1、A2、A3、B1、B2、B3 进行尝试,如果A1售罄,会尝试A2(而非B1)。
267
- <br><li> 无论使用哪种策略,单次伸缩活动总是优先保持使用一种具体配置(机型 * 可用区/子网)。
412
+ <br><li> 按照 PRIORITY 策略创建实例时,先保证多机型的策略,后保证多可用区/子网的策略。例如多机型A、B,多子网1、2、3,会按照A1、A2、A3、B1、B2、B3 进行尝试,如果A1售罄,会尝试A2(而非B1)。
268
413
  * @type {string || null}
269
414
  */
270
415
  this.MultiZoneSubnetPolicy = null;
271
416
 
417
+ /**
418
+ * 伸缩组实例健康检查类型,取值如下:<br><li>CVM:根据实例网络状态判断实例是否处于不健康状态,不健康的网络状态即发生实例 PING 不可达事件,详细判断标准可参考[实例健康检查](https://cloud.tencent.com/document/product/377/8553)<br><li>CLB:根据 CLB 的健康检查状态判断实例是否处于不健康状态,CLB健康检查原理可参考[健康检查](https://cloud.tencent.com/document/product/214/6097)
419
+ * @type {string || null}
420
+ */
421
+ this.HealthCheckType = null;
422
+
423
+ /**
424
+ * CLB健康检查宽限期。
425
+ * @type {number || null}
426
+ */
427
+ this.LoadBalancerHealthCheckGracePeriod = null;
428
+
429
+ /**
430
+ * 实例分配策略,取值包括 LAUNCH_CONFIGURATION 和 SPOT_MIXED。
431
+ <br><li> LAUNCH_CONFIGURATION,代表传统的按照启动配置模式。
432
+ <br><li> SPOT_MIXED,代表竞价混合模式。目前仅支持启动配置为按量计费模式时使用混合模式,混合模式下,伸缩组将根据设定扩容按量或竞价机型。使用混合模式时,关联的启动配置的计费类型不可被修改。
433
+ * @type {string || null}
434
+ */
435
+ this.InstanceAllocationPolicy = null;
436
+
437
+ /**
438
+ * 竞价混合模式下,各计费类型实例的分配策略。
439
+ 仅当 InstanceAllocationPolicy 取 SPOT_MIXED 时可用。
440
+ * @type {SpotMixedAllocationPolicy || null}
441
+ */
442
+ this.SpotMixedAllocationPolicy = null;
443
+
444
+ /**
445
+ * 容量重平衡功能,仅对伸缩组内的竞价实例有效。取值范围:
446
+ <br><li> TRUE,开启该功能,当伸缩组内的竞价实例即将被竞价实例服务自动回收前,AS 主动发起竞价实例销毁流程,如果有配置过缩容 hook,则销毁前 hook 会生效。销毁流程启动后,AS 会异步开启一个扩容活动,用于补齐期望实例数。
447
+ <br><li> FALSE,不开启该功能,则 AS 等待竞价实例被销毁后才会去扩容补齐伸缩组期望实例数。
448
+ * @type {boolean || null}
449
+ */
450
+ this.CapacityRebalance = null;
451
+
272
452
  }
273
453
 
274
454
  /**
@@ -300,6 +480,51 @@ class ModifyAutoScalingGroupRequest extends AbstractModel {
300
480
  }
301
481
  this.Ipv6AddressCount = 'Ipv6AddressCount' in params ? params.Ipv6AddressCount : null;
302
482
  this.MultiZoneSubnetPolicy = 'MultiZoneSubnetPolicy' in params ? params.MultiZoneSubnetPolicy : null;
483
+ this.HealthCheckType = 'HealthCheckType' in params ? params.HealthCheckType : null;
484
+ this.LoadBalancerHealthCheckGracePeriod = 'LoadBalancerHealthCheckGracePeriod' in params ? params.LoadBalancerHealthCheckGracePeriod : null;
485
+ this.InstanceAllocationPolicy = 'InstanceAllocationPolicy' in params ? params.InstanceAllocationPolicy : null;
486
+
487
+ if (params.SpotMixedAllocationPolicy) {
488
+ let obj = new SpotMixedAllocationPolicy();
489
+ obj.deserialize(params.SpotMixedAllocationPolicy)
490
+ this.SpotMixedAllocationPolicy = obj;
491
+ }
492
+ this.CapacityRebalance = 'CapacityRebalance' in params ? params.CapacityRebalance : null;
493
+
494
+ }
495
+ }
496
+
497
+ /**
498
+ * ScaleOutInstances请求参数结构体
499
+ * @class
500
+ */
501
+ class ScaleOutInstancesRequest extends AbstractModel {
502
+ constructor(){
503
+ super();
504
+
505
+ /**
506
+ * 伸缩组ID。
507
+ * @type {string || null}
508
+ */
509
+ this.AutoScalingGroupId = null;
510
+
511
+ /**
512
+ * 希望扩容的实例数量。
513
+ * @type {number || null}
514
+ */
515
+ this.ScaleOutNumber = null;
516
+
517
+ }
518
+
519
+ /**
520
+ * @private
521
+ */
522
+ deserialize(params) {
523
+ if (!params) {
524
+ return;
525
+ }
526
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
527
+ this.ScaleOutNumber = 'ScaleOutNumber' in params ? params.ScaleOutNumber : null;
303
528
 
304
529
  }
305
530
  }
@@ -336,6 +561,24 @@ class AutoScalingNotification extends AbstractModel {
336
561
  */
337
562
  this.AutoScalingNotificationId = null;
338
563
 
564
+ /**
565
+ * 通知接收端类型。
566
+ * @type {string || null}
567
+ */
568
+ this.TargetType = null;
569
+
570
+ /**
571
+ * CMQ 队列名。
572
+ * @type {string || null}
573
+ */
574
+ this.QueueName = null;
575
+
576
+ /**
577
+ * CMQ 主题名。
578
+ * @type {string || null}
579
+ */
580
+ this.TopicName = null;
581
+
339
582
  }
340
583
 
341
584
  /**
@@ -349,6 +592,9 @@ class AutoScalingNotification extends AbstractModel {
349
592
  this.NotificationUserGroupIds = 'NotificationUserGroupIds' in params ? params.NotificationUserGroupIds : null;
350
593
  this.NotificationTypes = 'NotificationTypes' in params ? params.NotificationTypes : null;
351
594
  this.AutoScalingNotificationId = 'AutoScalingNotificationId' in params ? params.AutoScalingNotificationId : null;
595
+ this.TargetType = 'TargetType' in params ? params.TargetType : null;
596
+ this.QueueName = 'QueueName' in params ? params.QueueName : null;
597
+ this.TopicName = 'TopicName' in params ? params.TopicName : null;
352
598
 
353
599
  }
354
600
  }
@@ -496,77 +742,180 @@ class DescribeAutoScalingGroupsRequest extends AbstractModel {
496
742
  }
497
743
 
498
744
  /**
499
- * CreateAutoScalingGroup返回参数结构体
745
+ * 符合条件的启动配置信息的集合。
500
746
  * @class
501
747
  */
502
- class CreateAutoScalingGroupResponse extends AbstractModel {
748
+ class LaunchConfiguration extends AbstractModel {
503
749
  constructor(){
504
750
  super();
505
751
 
506
752
  /**
507
- * 伸缩组ID
508
- * @type {string || null}
753
+ * 实例所属项目ID
754
+ * @type {number || null}
509
755
  */
510
- this.AutoScalingGroupId = null;
756
+ this.ProjectId = null;
511
757
 
512
758
  /**
513
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
759
+ * 启动配置ID。
514
760
  * @type {string || null}
515
761
  */
516
- this.RequestId = null;
517
-
518
- }
519
-
520
- /**
521
- * @private
522
- */
523
- deserialize(params) {
524
- if (!params) {
525
- return;
526
- }
527
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
528
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
529
-
530
- }
531
- }
532
-
533
- /**
534
- * DescribeAccountLimits返回参数结构体
535
- * @class
536
- */
537
- class DescribeAccountLimitsResponse extends AbstractModel {
538
- constructor(){
539
- super();
762
+ this.LaunchConfigurationId = null;
540
763
 
541
764
  /**
542
- * 用户账户被允许创建的启动配置最大数量
543
- * @type {number || null}
765
+ * 启动配置名称。
766
+ * @type {string || null}
544
767
  */
545
- this.MaxNumberOfLaunchConfigurations = null;
768
+ this.LaunchConfigurationName = null;
546
769
 
547
770
  /**
548
- * 用户账户启动配置的当前数量
549
- * @type {number || null}
771
+ * 实例机型。
772
+ * @type {string || null}
550
773
  */
551
- this.NumberOfLaunchConfigurations = null;
774
+ this.InstanceType = null;
552
775
 
553
776
  /**
554
- * 用户账户被允许创建的伸缩组最大数量
555
- * @type {number || null}
777
+ * 实例系统盘配置信息。
778
+ * @type {SystemDisk || null}
556
779
  */
557
- this.MaxNumberOfAutoScalingGroups = null;
780
+ this.SystemDisk = null;
558
781
 
559
782
  /**
560
- * 用户账户伸缩组的当前数量
561
- * @type {number || null}
783
+ * 实例数据盘配置信息。
784
+ * @type {Array.<DataDisk> || null}
562
785
  */
563
- this.NumberOfAutoScalingGroups = null;
786
+ this.DataDisks = null;
564
787
 
565
788
  /**
566
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
567
- * @type {string || null}
789
+ * 实例登录设置。
790
+ * @type {LimitedLoginSettings || null}
568
791
  */
569
- this.RequestId = null;
792
+ this.LoginSettings = null;
793
+
794
+ /**
795
+ * 公网带宽相关信息设置。
796
+ * @type {InternetAccessible || null}
797
+ */
798
+ this.InternetAccessible = null;
799
+
800
+ /**
801
+ * 实例所属安全组。
802
+ * @type {Array.<string> || null}
803
+ */
804
+ this.SecurityGroupIds = null;
805
+
806
+ /**
807
+ * 启动配置关联的伸缩组。
808
+ * @type {Array.<AutoScalingGroupAbstract> || null}
809
+ */
810
+ this.AutoScalingGroupAbstractSet = null;
811
+
812
+ /**
813
+ * 自定义数据。
814
+ 注意:此字段可能返回 null,表示取不到有效值。
815
+ * @type {string || null}
816
+ */
817
+ this.UserData = null;
818
+
819
+ /**
820
+ * 启动配置创建时间。
821
+ * @type {string || null}
822
+ */
823
+ this.CreatedTime = null;
824
+
825
+ /**
826
+ * 实例的增强服务启用情况与其设置。
827
+ * @type {EnhancedService || null}
828
+ */
829
+ this.EnhancedService = null;
830
+
831
+ /**
832
+ * 镜像ID。
833
+ * @type {string || null}
834
+ */
835
+ this.ImageId = null;
836
+
837
+ /**
838
+ * 启动配置当前状态。取值范围:<br><li>NORMAL:正常<br><li>IMAGE_ABNORMAL:启动配置镜像异常<br><li>CBS_SNAP_ABNORMAL:启动配置数据盘快照异常<br><li>SECURITY_GROUP_ABNORMAL:启动配置安全组异常<br>
839
+ * @type {string || null}
840
+ */
841
+ this.LaunchConfigurationStatus = null;
842
+
843
+ /**
844
+ * 实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。
845
+ <br><li>POSTPAID_BY_HOUR:按小时后付费
846
+ <br><li>SPOTPAID:竞价付费
847
+ * @type {string || null}
848
+ */
849
+ this.InstanceChargeType = null;
850
+
851
+ /**
852
+ * 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。
853
+ 注意:此字段可能返回 null,表示取不到有效值。
854
+ * @type {InstanceMarketOptionsRequest || null}
855
+ */
856
+ this.InstanceMarketOptions = null;
857
+
858
+ /**
859
+ * 实例机型列表。
860
+ * @type {Array.<string> || null}
861
+ */
862
+ this.InstanceTypes = null;
863
+
864
+ /**
865
+ * 标签列表。
866
+ * @type {Array.<InstanceTag> || null}
867
+ */
868
+ this.InstanceTags = null;
869
+
870
+ /**
871
+ * 版本号。
872
+ * @type {number || null}
873
+ */
874
+ this.VersionNumber = null;
875
+
876
+ /**
877
+ * 更新时间。
878
+ * @type {string || null}
879
+ */
880
+ this.UpdatedTime = null;
881
+
882
+ /**
883
+ * CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
884
+ * @type {string || null}
885
+ */
886
+ this.CamRoleName = null;
887
+
888
+ /**
889
+ * 上次操作时,InstanceTypesCheckPolicy 取值。
890
+ * @type {string || null}
891
+ */
892
+ this.LastOperationInstanceTypesCheckPolicy = null;
893
+
894
+ /**
895
+ * 云服务器主机名(HostName)的相关设置。
896
+ * @type {HostNameSettings || null}
897
+ */
898
+ this.HostNameSettings = null;
899
+
900
+ /**
901
+ * 云服务器实例名(InstanceName)的相关设置。
902
+ * @type {InstanceNameSettings || null}
903
+ */
904
+ this.InstanceNameSettings = null;
905
+
906
+ /**
907
+ * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
908
+ * @type {InstanceChargePrepaid || null}
909
+ */
910
+ this.InstanceChargePrepaid = null;
911
+
912
+ /**
913
+ * 云盘类型选择策略。取值范围:
914
+ <br><li>ORIGINAL:使用设置的云盘类型
915
+ <br><li>AUTOMATIC:自动选择当前可用区下可用的云盘类型
916
+ * @type {string || null}
917
+ */
918
+ this.DiskTypePolicy = null;
570
919
 
571
920
  }
572
921
 
@@ -577,28 +926,132 @@ class DescribeAccountLimitsResponse extends AbstractModel {
577
926
  if (!params) {
578
927
  return;
579
928
  }
580
- this.MaxNumberOfLaunchConfigurations = 'MaxNumberOfLaunchConfigurations' in params ? params.MaxNumberOfLaunchConfigurations : null;
581
- this.NumberOfLaunchConfigurations = 'NumberOfLaunchConfigurations' in params ? params.NumberOfLaunchConfigurations : null;
582
- this.MaxNumberOfAutoScalingGroups = 'MaxNumberOfAutoScalingGroups' in params ? params.MaxNumberOfAutoScalingGroups : null;
583
- this.NumberOfAutoScalingGroups = 'NumberOfAutoScalingGroups' in params ? params.NumberOfAutoScalingGroups : null;
584
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
929
+ this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
930
+ this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
931
+ this.LaunchConfigurationName = 'LaunchConfigurationName' in params ? params.LaunchConfigurationName : null;
932
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
933
+
934
+ if (params.SystemDisk) {
935
+ let obj = new SystemDisk();
936
+ obj.deserialize(params.SystemDisk)
937
+ this.SystemDisk = obj;
938
+ }
939
+
940
+ if (params.DataDisks) {
941
+ this.DataDisks = new Array();
942
+ for (let z in params.DataDisks) {
943
+ let obj = new DataDisk();
944
+ obj.deserialize(params.DataDisks[z]);
945
+ this.DataDisks.push(obj);
946
+ }
947
+ }
948
+
949
+ if (params.LoginSettings) {
950
+ let obj = new LimitedLoginSettings();
951
+ obj.deserialize(params.LoginSettings)
952
+ this.LoginSettings = obj;
953
+ }
954
+
955
+ if (params.InternetAccessible) {
956
+ let obj = new InternetAccessible();
957
+ obj.deserialize(params.InternetAccessible)
958
+ this.InternetAccessible = obj;
959
+ }
960
+ this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
961
+
962
+ if (params.AutoScalingGroupAbstractSet) {
963
+ this.AutoScalingGroupAbstractSet = new Array();
964
+ for (let z in params.AutoScalingGroupAbstractSet) {
965
+ let obj = new AutoScalingGroupAbstract();
966
+ obj.deserialize(params.AutoScalingGroupAbstractSet[z]);
967
+ this.AutoScalingGroupAbstractSet.push(obj);
968
+ }
969
+ }
970
+ this.UserData = 'UserData' in params ? params.UserData : null;
971
+ this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
972
+
973
+ if (params.EnhancedService) {
974
+ let obj = new EnhancedService();
975
+ obj.deserialize(params.EnhancedService)
976
+ this.EnhancedService = obj;
977
+ }
978
+ this.ImageId = 'ImageId' in params ? params.ImageId : null;
979
+ this.LaunchConfigurationStatus = 'LaunchConfigurationStatus' in params ? params.LaunchConfigurationStatus : null;
980
+ this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
981
+
982
+ if (params.InstanceMarketOptions) {
983
+ let obj = new InstanceMarketOptionsRequest();
984
+ obj.deserialize(params.InstanceMarketOptions)
985
+ this.InstanceMarketOptions = obj;
986
+ }
987
+ this.InstanceTypes = 'InstanceTypes' in params ? params.InstanceTypes : null;
988
+
989
+ if (params.InstanceTags) {
990
+ this.InstanceTags = new Array();
991
+ for (let z in params.InstanceTags) {
992
+ let obj = new InstanceTag();
993
+ obj.deserialize(params.InstanceTags[z]);
994
+ this.InstanceTags.push(obj);
995
+ }
996
+ }
997
+ this.VersionNumber = 'VersionNumber' in params ? params.VersionNumber : null;
998
+ this.UpdatedTime = 'UpdatedTime' in params ? params.UpdatedTime : null;
999
+ this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
1000
+ this.LastOperationInstanceTypesCheckPolicy = 'LastOperationInstanceTypesCheckPolicy' in params ? params.LastOperationInstanceTypesCheckPolicy : null;
1001
+
1002
+ if (params.HostNameSettings) {
1003
+ let obj = new HostNameSettings();
1004
+ obj.deserialize(params.HostNameSettings)
1005
+ this.HostNameSettings = obj;
1006
+ }
1007
+
1008
+ if (params.InstanceNameSettings) {
1009
+ let obj = new InstanceNameSettings();
1010
+ obj.deserialize(params.InstanceNameSettings)
1011
+ this.InstanceNameSettings = obj;
1012
+ }
1013
+
1014
+ if (params.InstanceChargePrepaid) {
1015
+ let obj = new InstanceChargePrepaid();
1016
+ obj.deserialize(params.InstanceChargePrepaid)
1017
+ this.InstanceChargePrepaid = obj;
1018
+ }
1019
+ this.DiskTypePolicy = 'DiskTypePolicy' in params ? params.DiskTypePolicy : null;
585
1020
 
586
1021
  }
587
1022
  }
588
1023
 
589
1024
  /**
590
- * CreatePaiInstance返回参数结构体
1025
+ * DescribeAccountLimits返回参数结构体
591
1026
  * @class
592
1027
  */
593
- class CreatePaiInstanceResponse extends AbstractModel {
1028
+ class DescribeAccountLimitsResponse extends AbstractModel {
594
1029
  constructor(){
595
1030
  super();
596
1031
 
597
1032
  /**
598
- * 当通过本接口来创建实例时会返回该参数,表示一个或多个实例`ID`。返回实例`ID`列表并不代表实例创建成功,可根据 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口查询返回的InstancesSet中对应实例的`ID`的状态来判断创建是否完成;如果实例状态由“准备中”变为“正在运行”,则为创建成功。
599
- * @type {Array.<string> || null}
1033
+ * 用户账户被允许创建的启动配置最大数量
1034
+ * @type {number || null}
1035
+ */
1036
+ this.MaxNumberOfLaunchConfigurations = null;
1037
+
1038
+ /**
1039
+ * 用户账户启动配置的当前数量
1040
+ * @type {number || null}
1041
+ */
1042
+ this.NumberOfLaunchConfigurations = null;
1043
+
1044
+ /**
1045
+ * 用户账户被允许创建的伸缩组最大数量
1046
+ * @type {number || null}
600
1047
  */
601
- this.InstanceIdSet = null;
1048
+ this.MaxNumberOfAutoScalingGroups = null;
1049
+
1050
+ /**
1051
+ * 用户账户伸缩组的当前数量
1052
+ * @type {number || null}
1053
+ */
1054
+ this.NumberOfAutoScalingGroups = null;
602
1055
 
603
1056
  /**
604
1057
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -615,7 +1068,10 @@ class CreatePaiInstanceResponse extends AbstractModel {
615
1068
  if (!params) {
616
1069
  return;
617
1070
  }
618
- this.InstanceIdSet = 'InstanceIdSet' in params ? params.InstanceIdSet : null;
1071
+ this.MaxNumberOfLaunchConfigurations = 'MaxNumberOfLaunchConfigurations' in params ? params.MaxNumberOfLaunchConfigurations : null;
1072
+ this.NumberOfLaunchConfigurations = 'NumberOfLaunchConfigurations' in params ? params.NumberOfLaunchConfigurations : null;
1073
+ this.MaxNumberOfAutoScalingGroups = 'MaxNumberOfAutoScalingGroups' in params ? params.MaxNumberOfAutoScalingGroups : null;
1074
+ this.NumberOfAutoScalingGroups = 'NumberOfAutoScalingGroups' in params ? params.NumberOfAutoScalingGroups : null;
619
1075
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
620
1076
 
621
1077
  }
@@ -656,6 +1112,48 @@ class CreateLaunchConfigurationResponse extends AbstractModel {
656
1112
  }
657
1113
  }
658
1114
 
1115
+ /**
1116
+ * 伸缩配置建议。
1117
+ * @class
1118
+ */
1119
+ class Advice extends AbstractModel {
1120
+ constructor(){
1121
+ super();
1122
+
1123
+ /**
1124
+ * 问题描述。
1125
+ * @type {string || null}
1126
+ */
1127
+ this.Problem = null;
1128
+
1129
+ /**
1130
+ * 问题详情。
1131
+ * @type {string || null}
1132
+ */
1133
+ this.Detail = null;
1134
+
1135
+ /**
1136
+ * 建议解决方案。
1137
+ * @type {string || null}
1138
+ */
1139
+ this.Solution = null;
1140
+
1141
+ }
1142
+
1143
+ /**
1144
+ * @private
1145
+ */
1146
+ deserialize(params) {
1147
+ if (!params) {
1148
+ return;
1149
+ }
1150
+ this.Problem = 'Problem' in params ? params.Problem : null;
1151
+ this.Detail = 'Detail' in params ? params.Detail : null;
1152
+ this.Solution = 'Solution' in params ? params.Solution : null;
1153
+
1154
+ }
1155
+ }
1156
+
659
1157
  /**
660
1158
  * CreateLifecycleHook返回参数结构体
661
1159
  * @class
@@ -691,6 +1189,34 @@ class CreateLifecycleHookResponse extends AbstractModel {
691
1189
  }
692
1190
  }
693
1191
 
1192
+ /**
1193
+ * ClearLaunchConfigurationAttributes返回参数结构体
1194
+ * @class
1195
+ */
1196
+ class ClearLaunchConfigurationAttributesResponse extends AbstractModel {
1197
+ constructor(){
1198
+ super();
1199
+
1200
+ /**
1201
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1202
+ * @type {string || null}
1203
+ */
1204
+ this.RequestId = null;
1205
+
1206
+ }
1207
+
1208
+ /**
1209
+ * @private
1210
+ */
1211
+ deserialize(params) {
1212
+ if (!params) {
1213
+ return;
1214
+ }
1215
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1216
+
1217
+ }
1218
+ }
1219
+
694
1220
  /**
695
1221
  * DescribeAutoScalingGroups返回参数结构体
696
1222
  * @class
@@ -742,78 +1268,60 @@ class DescribeAutoScalingGroupsResponse extends AbstractModel {
742
1268
  }
743
1269
 
744
1270
  /**
745
- * CreatePaiInstance请求参数结构体
1271
+ * CreateScheduledAction请求参数结构体
746
1272
  * @class
747
1273
  */
748
- class CreatePaiInstanceRequest extends AbstractModel {
1274
+ class CreateScheduledActionRequest extends AbstractModel {
749
1275
  constructor(){
750
1276
  super();
751
1277
 
752
1278
  /**
753
- * PAI实例的域名。
1279
+ * 伸缩组ID
754
1280
  * @type {string || null}
755
1281
  */
756
- this.DomainName = null;
757
-
758
- /**
759
- * 公网带宽相关信息设置。
760
- * @type {InternetAccessible || null}
761
- */
762
- this.InternetAccessible = null;
1282
+ this.AutoScalingGroupId = null;
763
1283
 
764
1284
  /**
765
- * 启动脚本的base64编码字符串。
1285
+ * 定时任务名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。同一伸缩组下必须唯一。
766
1286
  * @type {string || null}
767
1287
  */
768
- this.InitScript = null;
1288
+ this.ScheduledActionName = null;
769
1289
 
770
1290
  /**
771
- * 可用区列表。
772
- * @type {Array.<string> || null}
1291
+ * 当定时任务触发时,设置的伸缩组最大实例数。
1292
+ * @type {number || null}
773
1293
  */
774
- this.Zones = null;
1294
+ this.MaxSize = null;
775
1295
 
776
1296
  /**
777
- * VPC ID。
778
- * @type {string || null}
1297
+ * 当定时任务触发时,设置的伸缩组最小实例数。
1298
+ * @type {number || null}
779
1299
  */
780
- this.VpcId = null;
1300
+ this.MinSize = null;
781
1301
 
782
1302
  /**
783
- * 子网列表。
784
- * @type {Array.<string> || null}
1303
+ * 当定时任务触发时,设置的伸缩组期望实例数。
1304
+ * @type {number || null}
785
1305
  */
786
- this.SubnetIds = null;
1306
+ this.DesiredCapacity = null;
787
1307
 
788
1308
  /**
789
- * 实例显示名称。
1309
+ * 定时任务的首次触发时间,取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。
790
1310
  * @type {string || null}
791
1311
  */
792
- this.InstanceName = null;
793
-
794
- /**
795
- * 实例机型列表。
796
- * @type {Array.<string> || null}
797
- */
798
- this.InstanceTypes = null;
799
-
800
- /**
801
- * 实例登录设置。
802
- * @type {LoginSettings || null}
803
- */
804
- this.LoginSettings = null;
1312
+ this.StartTime = null;
805
1313
 
806
1314
  /**
807
- * 实例计费类型。
1315
+ * 定时任务的结束时间,取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。<br><br>此参数与`Recurrence`需要同时指定,到达结束时间之后,定时任务将不再生效。
808
1316
  * @type {string || null}
809
1317
  */
810
- this.InstanceChargeType = null;
1318
+ this.EndTime = null;
811
1319
 
812
1320
  /**
813
- * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
814
- * @type {InstanceChargePrepaid || null}
1321
+ * 定时任务的重复方式。为标准 Cron 格式<br><br>此参数与`EndTime`需要同时指定。
1322
+ * @type {string || null}
815
1323
  */
816
- this.InstanceChargePrepaid = null;
1324
+ this.Recurrence = null;
817
1325
 
818
1326
  }
819
1327
 
@@ -824,32 +1332,14 @@ class CreatePaiInstanceRequest extends AbstractModel {
824
1332
  if (!params) {
825
1333
  return;
826
1334
  }
827
- this.DomainName = 'DomainName' in params ? params.DomainName : null;
828
-
829
- if (params.InternetAccessible) {
830
- let obj = new InternetAccessible();
831
- obj.deserialize(params.InternetAccessible)
832
- this.InternetAccessible = obj;
833
- }
834
- this.InitScript = 'InitScript' in params ? params.InitScript : null;
835
- this.Zones = 'Zones' in params ? params.Zones : null;
836
- this.VpcId = 'VpcId' in params ? params.VpcId : null;
837
- this.SubnetIds = 'SubnetIds' in params ? params.SubnetIds : null;
838
- this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
839
- this.InstanceTypes = 'InstanceTypes' in params ? params.InstanceTypes : null;
840
-
841
- if (params.LoginSettings) {
842
- let obj = new LoginSettings();
843
- obj.deserialize(params.LoginSettings)
844
- this.LoginSettings = obj;
845
- }
846
- this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
847
-
848
- if (params.InstanceChargePrepaid) {
849
- let obj = new InstanceChargePrepaid();
850
- obj.deserialize(params.InstanceChargePrepaid)
851
- this.InstanceChargePrepaid = obj;
852
- }
1335
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
1336
+ this.ScheduledActionName = 'ScheduledActionName' in params ? params.ScheduledActionName : null;
1337
+ this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
1338
+ this.MinSize = 'MinSize' in params ? params.MinSize : null;
1339
+ this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
1340
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
1341
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
1342
+ this.Recurrence = 'Recurrence' in params ? params.Recurrence : null;
853
1343
 
854
1344
  }
855
1345
  }
@@ -863,7 +1353,7 @@ class SystemDisk extends AbstractModel {
863
1353
  super();
864
1354
 
865
1355
  /**
866
- * 系统盘类型。系统盘类型限制详见[CVM实例配置](https://cloud.tencent.com/document/product/213/2177)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><br>默认取值:LOCAL_BASIC
1356
+ * 系统盘类型。系统盘类型限制详见[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><br>默认取值:CLOUD_PREMIUM
867
1357
  注意:此字段可能返回 null,表示取不到有效值。
868
1358
  * @type {string || null}
869
1359
  */
@@ -1035,9 +1525,7 @@ class InstanceNameSettings extends AbstractModel {
1035
1525
  * 云服务器的实例名。
1036
1526
 
1037
1527
  点号(.)和短横线(-)不能作为 InstanceName 的首尾字符,不能连续使用。
1038
-
1039
- 其他类型(Linux 等)实例:字符长度为[2, 40],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。
1040
- 注意:此字段可能返回 null,表示取不到有效值。
1528
+ 字符长度为[2, 40],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。不允许为纯数字。
1041
1529
  * @type {string || null}
1042
1530
  */
1043
1531
  this.InstanceName = null;
@@ -1048,7 +1536,6 @@ class InstanceNameSettings extends AbstractModel {
1048
1536
  ORIGINAL,AS 直接将入参中所填的 InstanceName 传递给 CVM,CVM 可能会对 InstanceName 追加序列号,伸缩组中实例的 InstanceName 会出现冲突的情况。
1049
1537
 
1050
1538
  UNIQUE,入参所填的 InstanceName 相当于实例名前缀,AS 和 CVM 会对其进行拓展,伸缩组中实例的 InstanceName 可以保证唯一。
1051
- 注意:此字段可能返回 null,表示取不到有效值。
1052
1539
  * @type {string || null}
1053
1540
  */
1054
1541
  this.InstanceNameStyle = null;
@@ -1069,18 +1556,54 @@ UNIQUE,入参所填的 InstanceName 相当于实例名前缀,AS 和 CVM 会
1069
1556
  }
1070
1557
 
1071
1558
  /**
1072
- * ModifyScheduledAction返回参数结构体
1559
+ * 伸缩活动状态详细描述。
1073
1560
  * @class
1074
1561
  */
1075
- class ModifyScheduledActionResponse extends AbstractModel {
1562
+ class DetailedStatusMessage extends AbstractModel {
1076
1563
  constructor(){
1077
1564
  super();
1078
1565
 
1079
1566
  /**
1080
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1567
+ * 错误类型。
1081
1568
  * @type {string || null}
1082
1569
  */
1083
- this.RequestId = null;
1570
+ this.Code = null;
1571
+
1572
+ /**
1573
+ * 可用区信息。
1574
+ * @type {string || null}
1575
+ */
1576
+ this.Zone = null;
1577
+
1578
+ /**
1579
+ * 实例ID。
1580
+ * @type {string || null}
1581
+ */
1582
+ this.InstanceId = null;
1583
+
1584
+ /**
1585
+ * 实例计费类型。
1586
+ * @type {string || null}
1587
+ */
1588
+ this.InstanceChargeType = null;
1589
+
1590
+ /**
1591
+ * 子网ID。
1592
+ * @type {string || null}
1593
+ */
1594
+ this.SubnetId = null;
1595
+
1596
+ /**
1597
+ * 错误描述。
1598
+ * @type {string || null}
1599
+ */
1600
+ this.Message = null;
1601
+
1602
+ /**
1603
+ * 实例类型。
1604
+ * @type {string || null}
1605
+ */
1606
+ this.InstanceType = null;
1084
1607
 
1085
1608
  }
1086
1609
 
@@ -1091,54 +1614,64 @@ class ModifyScheduledActionResponse extends AbstractModel {
1091
1614
  if (!params) {
1092
1615
  return;
1093
1616
  }
1094
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1617
+ this.Code = 'Code' in params ? params.Code : null;
1618
+ this.Zone = 'Zone' in params ? params.Zone : null;
1619
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1620
+ this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
1621
+ this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
1622
+ this.Message = 'Message' in params ? params.Message : null;
1623
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
1095
1624
 
1096
1625
  }
1097
1626
  }
1098
1627
 
1099
1628
  /**
1100
- * CreateAutoScalingGroupFromInstance请求参数结构体
1629
+ * ModifyScheduledAction返回参数结构体
1101
1630
  * @class
1102
1631
  */
1103
- class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel {
1632
+ class ModifyScheduledActionResponse extends AbstractModel {
1104
1633
  constructor(){
1105
1634
  super();
1106
1635
 
1107
1636
  /**
1108
- * 伸缩组名称,在您账号中必须唯一。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超55个字节。
1637
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1109
1638
  * @type {string || null}
1110
1639
  */
1111
- this.AutoScalingGroupName = null;
1640
+ this.RequestId = null;
1112
1641
 
1113
- /**
1114
- * 实例ID
1115
- * @type {string || null}
1116
- */
1117
- this.InstanceId = null;
1642
+ }
1118
1643
 
1119
- /**
1120
- * 最小实例数,取值范围为0-2000。
1121
- * @type {number || null}
1122
- */
1123
- this.MinSize = null;
1644
+ /**
1645
+ * @private
1646
+ */
1647
+ deserialize(params) {
1648
+ if (!params) {
1649
+ return;
1650
+ }
1651
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1124
1652
 
1125
- /**
1126
- * 最大实例数,取值范围为0-2000。
1127
- * @type {number || null}
1128
- */
1129
- this.MaxSize = null;
1653
+ }
1654
+ }
1655
+
1656
+ /**
1657
+ * AttachLoadBalancers返回参数结构体
1658
+ * @class
1659
+ */
1660
+ class AttachLoadBalancersResponse extends AbstractModel {
1661
+ constructor(){
1662
+ super();
1130
1663
 
1131
1664
  /**
1132
- * 期望实例数,大小介于最小实例数和最大实例数之间。
1133
- * @type {number || null}
1665
+ * 伸缩活动ID
1666
+ * @type {string || null}
1134
1667
  */
1135
- this.DesiredCapacity = null;
1668
+ this.ActivityId = null;
1136
1669
 
1137
1670
  /**
1138
- * 是否继承实例标签,默认值为False
1139
- * @type {boolean || null}
1671
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1672
+ * @type {string || null}
1140
1673
  */
1141
- this.InheritInstanceTag = null;
1674
+ this.RequestId = null;
1142
1675
 
1143
1676
  }
1144
1677
 
@@ -1149,12 +1682,8 @@ class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel {
1149
1682
  if (!params) {
1150
1683
  return;
1151
1684
  }
1152
- this.AutoScalingGroupName = 'AutoScalingGroupName' in params ? params.AutoScalingGroupName : null;
1153
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1154
- this.MinSize = 'MinSize' in params ? params.MinSize : null;
1155
- this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
1156
- this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
1157
- this.InheritInstanceTag = 'InheritInstanceTag' in params ? params.InheritInstanceTag : null;
1685
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
1686
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1158
1687
 
1159
1688
  }
1160
1689
  }
@@ -1195,18 +1724,18 @@ class ExecuteScalingPolicyResponse extends AbstractModel {
1195
1724
  }
1196
1725
 
1197
1726
  /**
1198
- * ModifyLaunchConfigurationAttributes返回参数结构体
1727
+ * DeleteAutoScalingGroup请求参数结构体
1199
1728
  * @class
1200
1729
  */
1201
- class ModifyLaunchConfigurationAttributesResponse extends AbstractModel {
1730
+ class DeleteAutoScalingGroupRequest extends AbstractModel {
1202
1731
  constructor(){
1203
1732
  super();
1204
1733
 
1205
1734
  /**
1206
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1735
+ * 伸缩组ID
1207
1736
  * @type {string || null}
1208
1737
  */
1209
- this.RequestId = null;
1738
+ this.AutoScalingGroupId = null;
1210
1739
 
1211
1740
  }
1212
1741
 
@@ -1217,7 +1746,7 @@ class ModifyLaunchConfigurationAttributesResponse extends AbstractModel {
1217
1746
  if (!params) {
1218
1747
  return;
1219
1748
  }
1220
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1749
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
1221
1750
 
1222
1751
  }
1223
1752
  }
@@ -1454,6 +1983,41 @@ class DescribeLaunchConfigurationsResponse extends AbstractModel {
1454
1983
  }
1455
1984
  }
1456
1985
 
1986
+ /**
1987
+ * RemoveInstances请求参数结构体
1988
+ * @class
1989
+ */
1990
+ class RemoveInstancesRequest extends AbstractModel {
1991
+ constructor(){
1992
+ super();
1993
+
1994
+ /**
1995
+ * 伸缩组ID
1996
+ * @type {string || null}
1997
+ */
1998
+ this.AutoScalingGroupId = null;
1999
+
2000
+ /**
2001
+ * CVM实例ID列表
2002
+ * @type {Array.<string> || null}
2003
+ */
2004
+ this.InstanceIds = null;
2005
+
2006
+ }
2007
+
2008
+ /**
2009
+ * @private
2010
+ */
2011
+ deserialize(params) {
2012
+ if (!params) {
2013
+ return;
2014
+ }
2015
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
2016
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
2017
+
2018
+ }
2019
+ }
2020
+
1457
2021
  /**
1458
2022
  * DeleteScalingPolicy返回参数结构体
1459
2023
  * @class
@@ -1525,6 +2089,56 @@ class Tag extends AbstractModel {
1525
2089
  }
1526
2090
  }
1527
2091
 
2092
+ /**
2093
+ * DetachLoadBalancers请求参数结构体
2094
+ * @class
2095
+ */
2096
+ class DetachLoadBalancersRequest extends AbstractModel {
2097
+ constructor(){
2098
+ super();
2099
+
2100
+ /**
2101
+ * 伸缩组ID
2102
+ * @type {string || null}
2103
+ */
2104
+ this.AutoScalingGroupId = null;
2105
+
2106
+ /**
2107
+ * 传统负载均衡器ID列表,列表长度上限为20,LoadBalancerIds 和 ForwardLoadBalancerIdentifications 二者同时最多只能指定一个
2108
+ * @type {Array.<string> || null}
2109
+ */
2110
+ this.LoadBalancerIds = null;
2111
+
2112
+ /**
2113
+ * 应用型负载均衡器标识信息列表,列表长度上限为50,LoadBalancerIds 和 ForwardLoadBalancerIdentifications二者同时最多只能指定一个
2114
+ * @type {Array.<ForwardLoadBalancerIdentification> || null}
2115
+ */
2116
+ this.ForwardLoadBalancerIdentifications = null;
2117
+
2118
+ }
2119
+
2120
+ /**
2121
+ * @private
2122
+ */
2123
+ deserialize(params) {
2124
+ if (!params) {
2125
+ return;
2126
+ }
2127
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
2128
+ this.LoadBalancerIds = 'LoadBalancerIds' in params ? params.LoadBalancerIds : null;
2129
+
2130
+ if (params.ForwardLoadBalancerIdentifications) {
2131
+ this.ForwardLoadBalancerIdentifications = new Array();
2132
+ for (let z in params.ForwardLoadBalancerIdentifications) {
2133
+ let obj = new ForwardLoadBalancerIdentification();
2134
+ obj.deserialize(params.ForwardLoadBalancerIdentifications[z]);
2135
+ this.ForwardLoadBalancerIdentifications.push(obj);
2136
+ }
2137
+ }
2138
+
2139
+ }
2140
+ }
2141
+
1528
2142
  /**
1529
2143
  * DescribeAutoScalingInstances请求参数结构体
1530
2144
  * @class
@@ -1534,7 +2148,7 @@ class DescribeAutoScalingInstancesRequest extends AbstractModel {
1534
2148
  super();
1535
2149
 
1536
2150
  /**
1537
- * 待查询云服务器(CVM)的实例ID。参数不支持同时指定InstanceIds和Filters。
2151
+ * 待查询云服务器(CVM)的实例ID。每次请求的上限为100。参数不支持同时指定InstanceIds和Filters。
1538
2152
  * @type {Array.<string> || null}
1539
2153
  */
1540
2154
  this.InstanceIds = null;
@@ -1585,34 +2199,6 @@ class DescribeAutoScalingInstancesRequest extends AbstractModel {
1585
2199
  }
1586
2200
  }
1587
2201
 
1588
- /**
1589
- * 描述了实例登录相关配置与信息,出于安全性考虑,不会描述敏感信息。
1590
- * @class
1591
- */
1592
- class LimitedLoginSettings extends AbstractModel {
1593
- constructor(){
1594
- super();
1595
-
1596
- /**
1597
- * 密钥ID列表。
1598
- * @type {Array.<string> || null}
1599
- */
1600
- this.KeyIds = null;
1601
-
1602
- }
1603
-
1604
- /**
1605
- * @private
1606
- */
1607
- deserialize(params) {
1608
- if (!params) {
1609
- return;
1610
- }
1611
- this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
1612
-
1613
- }
1614
- }
1615
-
1616
2202
  /**
1617
2203
  * ModifyLoadBalancers请求参数结构体
1618
2204
  * @class
@@ -1634,7 +2220,7 @@ class ModifyLoadBalancersRequest extends AbstractModel {
1634
2220
  this.LoadBalancerIds = null;
1635
2221
 
1636
2222
  /**
1637
- * 应用型负载均衡器列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
2223
+ * 应用型负载均衡器列表,目前长度上限为50,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
1638
2224
  * @type {Array.<ForwardLoadBalancer> || null}
1639
2225
  */
1640
2226
  this.ForwardLoadBalancers = null;
@@ -1756,7 +2342,7 @@ class SetInstancesProtectionRequest extends AbstractModel {
1756
2342
  this.InstanceIds = null;
1757
2343
 
1758
2344
  /**
1759
- * 实例是否需要移出保护。
2345
+ * 实例是否需要设置保护。
1760
2346
  * @type {boolean || null}
1761
2347
  */
1762
2348
  this.ProtectedFromScaleIn = null;
@@ -1840,6 +2426,34 @@ class DetachInstancesResponse extends AbstractModel {
1840
2426
  }
1841
2427
  }
1842
2428
 
2429
+ /**
2430
+ * ModifyLaunchConfigurationAttributes返回参数结构体
2431
+ * @class
2432
+ */
2433
+ class ModifyLaunchConfigurationAttributesResponse extends AbstractModel {
2434
+ constructor(){
2435
+ super();
2436
+
2437
+ /**
2438
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2439
+ * @type {string || null}
2440
+ */
2441
+ this.RequestId = null;
2442
+
2443
+ }
2444
+
2445
+ /**
2446
+ * @private
2447
+ */
2448
+ deserialize(params) {
2449
+ if (!params) {
2450
+ return;
2451
+ }
2452
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2453
+
2454
+ }
2455
+ }
2456
+
1843
2457
  /**
1844
2458
  * CreateLaunchConfiguration请求参数结构体
1845
2459
  * @class
@@ -1861,7 +2475,7 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
1861
2475
  this.ImageId = null;
1862
2476
 
1863
2477
  /**
1864
- * 启动配置所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/378/4400) 的返回值中的`projectId`字段来获取。不填为默认项目。
2478
+ * 启动配置所属项目ID。不填为默认项目。
1865
2479
  注意:伸缩组内实例所属项目ID取伸缩组项目ID,与这里取值无关。
1866
2480
  * @type {number || null}
1867
2481
  */
@@ -1920,6 +2534,7 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
1920
2534
  * 实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。
1921
2535
  <br><li>POSTPAID_BY_HOUR:按小时后付费
1922
2536
  <br><li>SPOTPAID:竞价付费
2537
+ <br><li>PREPAID:预付费,即包年包月
1923
2538
  * @type {string || null}
1924
2539
  */
1925
2540
  this.InstanceChargeType = null;
@@ -1968,6 +2583,7 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
1968
2583
 
1969
2584
  /**
1970
2585
  * 云服务器实例名(InstanceName)的相关设置。
2586
+ 如果用户在启动配置中设置此字段,则伸缩组创建出的实例 InstanceName 参照此字段进行设置,并传递给 CVM;如果用户未在启动配置中设置此字段,则伸缩组创建出的实例 InstanceName 按照“as-{{ 伸缩组AutoScalingGroupName }}”进行设置,并传递给 CVM。
1971
2587
  * @type {InstanceNameSettings || null}
1972
2588
  */
1973
2589
  this.InstanceNameSettings = null;
@@ -1978,6 +2594,14 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
1978
2594
  */
1979
2595
  this.InstanceChargePrepaid = null;
1980
2596
 
2597
+ /**
2598
+ * 云盘类型选择策略,默认取值 ORIGINAL,取值范围:
2599
+ <br><li>ORIGINAL:使用设置的云盘类型
2600
+ <br><li>AUTOMATIC:自动选择当前可用的云盘类型
2601
+ * @type {string || null}
2602
+ */
2603
+ this.DiskTypePolicy = null;
2604
+
1981
2605
  }
1982
2606
 
1983
2607
  /**
@@ -2063,6 +2687,7 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
2063
2687
  obj.deserialize(params.InstanceChargePrepaid)
2064
2688
  this.InstanceChargePrepaid = obj;
2065
2689
  }
2690
+ this.DiskTypePolicy = 'DiskTypePolicy' in params ? params.DiskTypePolicy : null;
2066
2691
 
2067
2692
  }
2068
2693
  }
@@ -2088,7 +2713,17 @@ class AutoScalingGroup extends AbstractModel {
2088
2713
  this.AutoScalingGroupName = null;
2089
2714
 
2090
2715
  /**
2091
- * 伸缩组当前状态。取值范围:<br><li>NORMAL:正常<br><li>CVM_ABNORMAL:启动配置异常<br><li>LB_ABNORMAL:负载均衡器异常<br><li>VPC_ABNORMAL:VPC网络异常<br><li>INSUFFICIENT_BALANCE:余额不足<br><li>LB_BACKEND_REGION_NOT_MATCH:CLB实例后端地域与AS服务所在地域不匹配<br>
2716
+ * 伸缩组当前状态。取值范围:<br>
2717
+ <li>NORMAL:正常<br>
2718
+ <li>CVM_ABNORMAL:启动配置异常<br>
2719
+ <li>LB_ABNORMAL:负载均衡器异常<br>
2720
+ <li>LB_LISTENER_ABNORMAL:负载均衡器监听器异常<br>
2721
+ <li>LB_LOCATION_ABNORMAL:负载均衡器监听器转发配置异常<br>
2722
+ <li>VPC_ABNORMAL:VPC网络异常<br>
2723
+ <li>SUBNET_ABNORMAL:VPC子网异常<br>
2724
+ <li>INSUFFICIENT_BALANCE:余额不足<br>
2725
+ <li>LB_BACKEND_REGION_NOT_MATCH:CLB实例后端地域与AS服务所在地域不匹配<br>
2726
+ <li>LB_BACKEND_VPC_NOT_MATCH:CLB实例VPC与伸缩组VPC不匹配
2092
2727
  * @type {string || null}
2093
2728
  */
2094
2729
  this.AutoScalingGroupStatus = null;
@@ -2233,6 +2868,41 @@ class AutoScalingGroup extends AbstractModel {
2233
2868
  */
2234
2869
  this.MultiZoneSubnetPolicy = null;
2235
2870
 
2871
+ /**
2872
+ * 伸缩组实例健康检查类型,取值如下:<br><li>CVM:根据实例网络状态判断实例是否处于不健康状态,不健康的网络状态即发生实例 PING 不可达事件,详细判断标准可参考[实例健康检查](https://cloud.tencent.com/document/product/377/8553)<br><li>CLB:根据 CLB 的健康检查状态判断实例是否处于不健康状态,CLB健康检查原理可参考[健康检查](https://cloud.tencent.com/document/product/214/6097)
2873
+ * @type {string || null}
2874
+ */
2875
+ this.HealthCheckType = null;
2876
+
2877
+ /**
2878
+ * CLB健康检查宽限期
2879
+ * @type {number || null}
2880
+ */
2881
+ this.LoadBalancerHealthCheckGracePeriod = null;
2882
+
2883
+ /**
2884
+ * 实例分配策略,取值包括 LAUNCH_CONFIGURATION 和 SPOT_MIXED。
2885
+ <br><li> LAUNCH_CONFIGURATION,代表传统的按照启动配置模式。
2886
+ <br><li> SPOT_MIXED,代表竞价混合模式。目前仅支持启动配置为按量计费模式时使用混合模式,混合模式下,伸缩组将根据设定扩容按量或竞价机型。使用混合模式时,关联的启动配置的计费类型不可被修改。
2887
+ * @type {string || null}
2888
+ */
2889
+ this.InstanceAllocationPolicy = null;
2890
+
2891
+ /**
2892
+ * 竞价混合模式下,各计费类型实例的分配策略。
2893
+ 仅当 InstanceAllocationPolicy 取 SPOT_MIXED 时才会返回有效值。
2894
+ * @type {SpotMixedAllocationPolicy || null}
2895
+ */
2896
+ this.SpotMixedAllocationPolicy = null;
2897
+
2898
+ /**
2899
+ * 容量重平衡功能,仅对伸缩组内的竞价实例有效。取值范围:
2900
+ <br><li> TRUE,开启该功能,当伸缩组内的竞价实例即将被竞价实例服务自动回收前,AS 主动发起竞价实例销毁流程,如果有配置过缩容 hook,则销毁前 hook 会生效。销毁流程启动后,AS 会异步开启一个扩容活动,用于补齐期望实例数。
2901
+ <br><li> FALSE,不开启该功能,则 AS 等待竞价实例被销毁后才会去扩容补齐伸缩组期望实例数。
2902
+ * @type {boolean || null}
2903
+ */
2904
+ this.CapacityRebalance = null;
2905
+
2236
2906
  }
2237
2907
 
2238
2908
  /**
@@ -2289,6 +2959,16 @@ class AutoScalingGroup extends AbstractModel {
2289
2959
  }
2290
2960
  this.Ipv6AddressCount = 'Ipv6AddressCount' in params ? params.Ipv6AddressCount : null;
2291
2961
  this.MultiZoneSubnetPolicy = 'MultiZoneSubnetPolicy' in params ? params.MultiZoneSubnetPolicy : null;
2962
+ this.HealthCheckType = 'HealthCheckType' in params ? params.HealthCheckType : null;
2963
+ this.LoadBalancerHealthCheckGracePeriod = 'LoadBalancerHealthCheckGracePeriod' in params ? params.LoadBalancerHealthCheckGracePeriod : null;
2964
+ this.InstanceAllocationPolicy = 'InstanceAllocationPolicy' in params ? params.InstanceAllocationPolicy : null;
2965
+
2966
+ if (params.SpotMixedAllocationPolicy) {
2967
+ let obj = new SpotMixedAllocationPolicy();
2968
+ obj.deserialize(params.SpotMixedAllocationPolicy)
2969
+ this.SpotMixedAllocationPolicy = obj;
2970
+ }
2971
+ this.CapacityRebalance = 'CapacityRebalance' in params ? params.CapacityRebalance : null;
2292
2972
 
2293
2973
  }
2294
2974
  }
@@ -2425,7 +3105,7 @@ class UpgradeLifecycleHookRequest extends AbstractModel {
2425
3105
  this.DefaultResult = null;
2426
3106
 
2427
3107
  /**
2428
- * 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从30到3600秒,默认值为300秒
3108
+ * 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从30到7200秒,默认值为300秒
2429
3109
  * @type {number || null}
2430
3110
  */
2431
3111
  this.HeartbeatTimeout = null;
@@ -2474,6 +3154,41 @@ class UpgradeLifecycleHookRequest extends AbstractModel {
2474
3154
  }
2475
3155
  }
2476
3156
 
3157
+ /**
3158
+ * DetachLoadBalancers返回参数结构体
3159
+ * @class
3160
+ */
3161
+ class DetachLoadBalancersResponse extends AbstractModel {
3162
+ constructor(){
3163
+ super();
3164
+
3165
+ /**
3166
+ * 伸缩活动ID
3167
+ * @type {string || null}
3168
+ */
3169
+ this.ActivityId = null;
3170
+
3171
+ /**
3172
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3173
+ * @type {string || null}
3174
+ */
3175
+ this.RequestId = null;
3176
+
3177
+ }
3178
+
3179
+ /**
3180
+ * @private
3181
+ */
3182
+ deserialize(params) {
3183
+ if (!params) {
3184
+ return;
3185
+ }
3186
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
3187
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3188
+
3189
+ }
3190
+ }
3191
+
2477
3192
  /**
2478
3193
  * 告警触发策略。
2479
3194
  * @class
@@ -2596,7 +3311,7 @@ class HostNameSettings extends AbstractModel {
2596
3311
  * 云服务器的主机名。
2597
3312
  <br><li> 点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。
2598
3313
  <br><li> 不支持 Windows 实例。
2599
- <br><li> 其他类型(Linux 等)实例:字符长度为[2, 40],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。
3314
+ <br><li> 其他类型(Linux 等)实例:字符长度为[2, 40],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。不允许为纯数字。
2600
3315
  注意:此字段可能返回 null,表示取不到有效值。
2601
3316
  * @type {string || null}
2602
3317
  */
@@ -2609,42 +3324,7 @@ class HostNameSettings extends AbstractModel {
2609
3324
  注意:此字段可能返回 null,表示取不到有效值。
2610
3325
  * @type {string || null}
2611
3326
  */
2612
- this.HostNameStyle = null;
2613
-
2614
- }
2615
-
2616
- /**
2617
- * @private
2618
- */
2619
- deserialize(params) {
2620
- if (!params) {
2621
- return;
2622
- }
2623
- this.HostName = 'HostName' in params ? params.HostName : null;
2624
- this.HostNameStyle = 'HostNameStyle' in params ? params.HostNameStyle : null;
2625
-
2626
- }
2627
- }
2628
-
2629
- /**
2630
- * ModifyLoadBalancers返回参数结构体
2631
- * @class
2632
- */
2633
- class ModifyLoadBalancersResponse extends AbstractModel {
2634
- constructor(){
2635
- super();
2636
-
2637
- /**
2638
- * 伸缩活动ID
2639
- * @type {string || null}
2640
- */
2641
- this.ActivityId = null;
2642
-
2643
- /**
2644
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2645
- * @type {string || null}
2646
- */
2647
- this.RequestId = null;
3327
+ this.HostNameStyle = null;
2648
3328
 
2649
3329
  }
2650
3330
 
@@ -2655,43 +3335,31 @@ class ModifyLoadBalancersResponse extends AbstractModel {
2655
3335
  if (!params) {
2656
3336
  return;
2657
3337
  }
2658
- this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
2659
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
3338
+ this.HostName = 'HostName' in params ? params.HostName : null;
3339
+ this.HostNameStyle = 'HostNameStyle' in params ? params.HostNameStyle : null;
2660
3340
 
2661
3341
  }
2662
3342
  }
2663
3343
 
2664
3344
  /**
2665
- * DescribePaiInstances请求参数结构体
3345
+ * ModifyLoadBalancers返回参数结构体
2666
3346
  * @class
2667
3347
  */
2668
- class DescribePaiInstancesRequest extends AbstractModel {
3348
+ class ModifyLoadBalancersResponse extends AbstractModel {
2669
3349
  constructor(){
2670
3350
  super();
2671
3351
 
2672
3352
  /**
2673
- * 依据PAI实例的实例ID进行查询。
2674
- * @type {Array.<string> || null}
2675
- */
2676
- this.InstanceIds = null;
2677
-
2678
- /**
2679
- * 过滤条件。
2680
- * @type {Array.<Filter> || null}
2681
- */
2682
- this.Filters = null;
2683
-
2684
- /**
2685
- * 返回数量,默认为20,最大值为100。
2686
- * @type {number || null}
3353
+ * 伸缩活动ID
3354
+ * @type {string || null}
2687
3355
  */
2688
- this.Limit = null;
3356
+ this.ActivityId = null;
2689
3357
 
2690
3358
  /**
2691
- * 偏移量,默认为0
2692
- * @type {number || null}
3359
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
3360
+ * @type {string || null}
2693
3361
  */
2694
- this.Offset = null;
3362
+ this.RequestId = null;
2695
3363
 
2696
3364
  }
2697
3365
 
@@ -2702,18 +3370,8 @@ class DescribePaiInstancesRequest extends AbstractModel {
2702
3370
  if (!params) {
2703
3371
  return;
2704
3372
  }
2705
- this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
2706
-
2707
- if (params.Filters) {
2708
- this.Filters = new Array();
2709
- for (let z in params.Filters) {
2710
- let obj = new Filter();
2711
- obj.deserialize(params.Filters[z]);
2712
- this.Filters.push(obj);
2713
- }
2714
- }
2715
- this.Limit = 'Limit' in params ? params.Limit : null;
2716
- this.Offset = 'Offset' in params ? params.Offset : null;
3373
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
3374
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2717
3375
 
2718
3376
  }
2719
3377
  }
@@ -2750,6 +3408,31 @@ class CreateNotificationConfigurationRequest extends AbstractModel {
2750
3408
  */
2751
3409
  this.NotificationUserGroupIds = null;
2752
3410
 
3411
+ /**
3412
+ * 通知接收端类型,取值如下
3413
+ <br><li>USER_GROUP:用户组
3414
+ <br><li>CMQ_QUEUE:CMQ 队列
3415
+ <br><li>CMQ_TOPIC:CMQ 主题
3416
+ <br><li>TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
3417
+ <br><li>TDMQ_CMQ_QUEUE:TDMQ CMQ 队列
3418
+
3419
+ 默认值为:`USER_GROUP`。
3420
+ * @type {string || null}
3421
+ */
3422
+ this.TargetType = null;
3423
+
3424
+ /**
3425
+ * CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。
3426
+ * @type {string || null}
3427
+ */
3428
+ this.QueueName = null;
3429
+
3430
+ /**
3431
+ * CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。
3432
+ * @type {string || null}
3433
+ */
3434
+ this.TopicName = null;
3435
+
2753
3436
  }
2754
3437
 
2755
3438
  /**
@@ -2762,6 +3445,9 @@ class CreateNotificationConfigurationRequest extends AbstractModel {
2762
3445
  this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
2763
3446
  this.NotificationTypes = 'NotificationTypes' in params ? params.NotificationTypes : null;
2764
3447
  this.NotificationUserGroupIds = 'NotificationUserGroupIds' in params ? params.NotificationUserGroupIds : null;
3448
+ this.TargetType = 'TargetType' in params ? params.TargetType : null;
3449
+ this.QueueName = 'QueueName' in params ? params.QueueName : null;
3450
+ this.TopicName = 'TopicName' in params ? params.TopicName : null;
2765
3451
 
2766
3452
  }
2767
3453
  }
@@ -2817,36 +3503,18 @@ class DescribeScheduledActionsResponse extends AbstractModel {
2817
3503
  }
2818
3504
 
2819
3505
  /**
2820
- * ModifyNotificationConfiguration请求参数结构体
3506
+ * DeleteLifecycleHook请求参数结构体
2821
3507
  * @class
2822
3508
  */
2823
- class ModifyNotificationConfigurationRequest extends AbstractModel {
3509
+ class DeleteLifecycleHookRequest extends AbstractModel {
2824
3510
  constructor(){
2825
3511
  super();
2826
3512
 
2827
3513
  /**
2828
- * 待修改的通知ID
3514
+ * 生命周期挂钩ID
2829
3515
  * @type {string || null}
2830
3516
  */
2831
- this.AutoScalingNotificationId = null;
2832
-
2833
- /**
2834
- * 通知类型,即为需要订阅的通知类型集合,取值范围如下:
2835
- <li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
2836
- <li>SCALE_OUT_FAILED:扩容失败</li>
2837
- <li>SCALE_IN_SUCCESSFUL:缩容成功</li>
2838
- <li>SCALE_IN_FAILED:缩容失败</li>
2839
- <li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
2840
- <li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
2841
- * @type {Array.<string> || null}
2842
- */
2843
- this.NotificationTypes = null;
2844
-
2845
- /**
2846
- * 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。
2847
- * @type {Array.<string> || null}
2848
- */
2849
- this.NotificationUserGroupIds = null;
3517
+ this.LifecycleHookId = null;
2850
3518
 
2851
3519
  }
2852
3520
 
@@ -2857,26 +3525,30 @@ class ModifyNotificationConfigurationRequest extends AbstractModel {
2857
3525
  if (!params) {
2858
3526
  return;
2859
3527
  }
2860
- this.AutoScalingNotificationId = 'AutoScalingNotificationId' in params ? params.AutoScalingNotificationId : null;
2861
- this.NotificationTypes = 'NotificationTypes' in params ? params.NotificationTypes : null;
2862
- this.NotificationUserGroupIds = 'NotificationUserGroupIds' in params ? params.NotificationUserGroupIds : null;
3528
+ this.LifecycleHookId = 'LifecycleHookId' in params ? params.LifecycleHookId : null;
2863
3529
 
2864
3530
  }
2865
3531
  }
2866
3532
 
2867
3533
  /**
2868
- * DeleteLifecycleHook请求参数结构体
3534
+ * ModifyLoadBalancerTargetAttributes返回参数结构体
2869
3535
  * @class
2870
3536
  */
2871
- class DeleteLifecycleHookRequest extends AbstractModel {
3537
+ class ModifyLoadBalancerTargetAttributesResponse extends AbstractModel {
2872
3538
  constructor(){
2873
3539
  super();
2874
3540
 
2875
3541
  /**
2876
- * 生命周期挂钩ID
3542
+ * 伸缩活动ID
2877
3543
  * @type {string || null}
2878
3544
  */
2879
- this.LifecycleHookId = null;
3545
+ this.ActivityId = null;
3546
+
3547
+ /**
3548
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3549
+ * @type {string || null}
3550
+ */
3551
+ this.RequestId = null;
2880
3552
 
2881
3553
  }
2882
3554
 
@@ -2887,7 +3559,8 @@ class DeleteLifecycleHookRequest extends AbstractModel {
2887
3559
  if (!params) {
2888
3560
  return;
2889
3561
  }
2890
- this.LifecycleHookId = 'LifecycleHookId' in params ? params.LifecycleHookId : null;
3562
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
3563
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2891
3564
 
2892
3565
  }
2893
3566
  }
@@ -3129,30 +3802,52 @@ class InstanceTag extends AbstractModel {
3129
3802
  }
3130
3803
 
3131
3804
  /**
3132
- * PAI实例
3805
+ * ModifyLifecycleHook返回参数结构体
3133
3806
  * @class
3134
3807
  */
3135
- class PaiInstance extends AbstractModel {
3808
+ class ModifyLifecycleHookResponse extends AbstractModel {
3136
3809
  constructor(){
3137
3810
  super();
3138
3811
 
3139
3812
  /**
3140
- * 实例ID
3813
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3141
3814
  * @type {string || null}
3142
3815
  */
3143
- this.InstanceId = null;
3816
+ this.RequestId = null;
3817
+
3818
+ }
3819
+
3820
+ /**
3821
+ * @private
3822
+ */
3823
+ deserialize(params) {
3824
+ if (!params) {
3825
+ return;
3826
+ }
3827
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3828
+
3829
+ }
3830
+ }
3831
+
3832
+ /**
3833
+ * DescribeAutoScalingAdvices返回参数结构体
3834
+ * @class
3835
+ */
3836
+ class DescribeAutoScalingAdvicesResponse extends AbstractModel {
3837
+ constructor(){
3838
+ super();
3144
3839
 
3145
3840
  /**
3146
- * 实例域名
3147
- * @type {string || null}
3841
+ * 伸缩组配置建议集合。
3842
+ * @type {Array.<AutoScalingAdvice> || null}
3148
3843
  */
3149
- this.DomainName = null;
3844
+ this.AutoScalingAdviceSet = null;
3150
3845
 
3151
3846
  /**
3152
- * PAI管理页面URL
3847
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3153
3848
  * @type {string || null}
3154
3849
  */
3155
- this.PaiMateUrl = null;
3850
+ this.RequestId = null;
3156
3851
 
3157
3852
  }
3158
3853
 
@@ -3163,9 +3858,16 @@ class PaiInstance extends AbstractModel {
3163
3858
  if (!params) {
3164
3859
  return;
3165
3860
  }
3166
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3167
- this.DomainName = 'DomainName' in params ? params.DomainName : null;
3168
- this.PaiMateUrl = 'PaiMateUrl' in params ? params.PaiMateUrl : null;
3861
+
3862
+ if (params.AutoScalingAdviceSet) {
3863
+ this.AutoScalingAdviceSet = new Array();
3864
+ for (let z in params.AutoScalingAdviceSet) {
3865
+ let obj = new AutoScalingAdvice();
3866
+ obj.deserialize(params.AutoScalingAdviceSet[z]);
3867
+ this.AutoScalingAdviceSet.push(obj);
3868
+ }
3869
+ }
3870
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3169
3871
 
3170
3872
  }
3171
3873
  }
@@ -3227,13 +3929,13 @@ class CreateAutoScalingGroupRequest extends AbstractModel {
3227
3929
  this.LoadBalancerIds = null;
3228
3930
 
3229
3931
  /**
3230
- * 伸缩组内实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/378/4400) 的返回值中的`projectId`字段来获取。不填为默认项目。
3932
+ * 伸缩组内实例所属项目ID。不填为默认项目。
3231
3933
  * @type {number || null}
3232
3934
  */
3233
3935
  this.ProjectId = null;
3234
3936
 
3235
3937
  /**
3236
- * 应用型负载均衡器列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
3938
+ * 应用型负载均衡器列表,目前长度上限为50,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
3237
3939
  * @type {Array.<ForwardLoadBalancer> || null}
3238
3940
  */
3239
3941
  this.ForwardLoadBalancers = null;
@@ -3299,17 +4001,53 @@ class CreateAutoScalingGroupRequest extends AbstractModel {
3299
4001
  /**
3300
4002
  * 多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY,默认为 PRIORITY。
3301
4003
  <br><li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。
3302
- <br><li> EQUALITY:每次选择当前实例数最少的可用区/子网进行扩容,使得每个可用区/子网都有机会发生扩容,多次扩容出的实例会打散到多个可用区/子网。
4004
+ <br><li> EQUALITY:扩容出的实例会打散到多个可用区/子网,保证扩容后的各个可用区/子网实例数相对均衡。
3303
4005
 
3304
4006
  与本策略相关的注意点:
3305
4007
  <br><li> 当伸缩组为基础网络时,本策略适用于多可用区;当伸缩组为VPC网络时,本策略适用于多子网,此时不再考虑可用区因素,例如四个子网ABCD,其中ABC处于可用区1,D处于可用区2,此时考虑子网ABCD进行排序,而不考虑可用区1、2。
3306
4008
  <br><li> 本策略适用于多可用区/子网,不适用于启动配置的多机型。多机型按照优先级策略进行选择。
3307
- <br><li> 创建实例时,先保证多机型的策略,后保证多可用区/子网的策略。例如多机型A、B,多子网1、2、3(按照PRIORITY策略),会按照A1、A2、A3、B1、B2、B3 进行尝试,如果A1售罄,会尝试A2(而非B1)。
3308
- <br><li> 无论使用哪种策略,单次伸缩活动总是优先保持使用一种具体配置(机型 * 可用区/子网)。
4009
+ <br><li> 按照 PRIORITY 策略创建实例时,先保证多机型的策略,后保证多可用区/子网的策略。例如多机型A、B,多子网1、2、3,会按照A1、A2、A3、B1、B2、B3 进行尝试,如果A1售罄,会尝试A2(而非B1)。
3309
4010
  * @type {string || null}
3310
4011
  */
3311
4012
  this.MultiZoneSubnetPolicy = null;
3312
4013
 
4014
+ /**
4015
+ * 伸缩组实例健康检查类型,取值如下:<br><li>CVM:根据实例网络状态判断实例是否处于不健康状态,不健康的网络状态即发生实例 PING 不可达事件,详细判断标准可参考[实例健康检查](https://cloud.tencent.com/document/product/377/8553)<br><li>CLB:根据 CLB 的健康检查状态判断实例是否处于不健康状态,CLB健康检查原理可参考[健康检查](https://cloud.tencent.com/document/product/214/6097) <br>如果选择了`CLB`类型,伸缩组将同时检查实例网络状态与CLB健康检查状态,如果出现实例网络状态不健康,实例将被标记为 UNHEALTHY 状态;如果出现 CLB 健康检查状态异常,实例将被标记为CLB_UNHEALTHY 状态,如果两个异常状态同时出现,实例`HealthStatus`字段将返回 UNHEALTHY|CLB_UNHEALTHY。默认值:CLB
4016
+ * @type {string || null}
4017
+ */
4018
+ this.HealthCheckType = null;
4019
+
4020
+ /**
4021
+ * CLB健康检查宽限期,当扩容的实例进入`IN_SERVICE`后,在宽限期时间范围内将不会被标记为不健康`CLB_UNHEALTHY`。<br>默认值:0。取值范围[0, 7200],单位:秒。
4022
+ * @type {number || null}
4023
+ */
4024
+ this.LoadBalancerHealthCheckGracePeriod = null;
4025
+
4026
+ /**
4027
+ * 实例分配策略,取值包括 LAUNCH_CONFIGURATION 和 SPOT_MIXED,默认取 LAUNCH_CONFIGURATION。
4028
+ <br><li> LAUNCH_CONFIGURATION,代表传统的按照启动配置模式。
4029
+ <br><li> SPOT_MIXED,代表竞价混合模式。目前仅支持启动配置为按量计费模式时使用混合模式,混合模式下,伸缩组将根据设定扩容按量或竞价机型。使用混合模式时,关联的启动配置的计费类型不可被修改。
4030
+ * @type {string || null}
4031
+ */
4032
+ this.InstanceAllocationPolicy = null;
4033
+
4034
+ /**
4035
+ * 竞价混合模式下,各计费类型实例的分配策略。
4036
+ 仅当 InstanceAllocationPolicy 取 SPOT_MIXED 时可用。
4037
+ * @type {SpotMixedAllocationPolicy || null}
4038
+ */
4039
+ this.SpotMixedAllocationPolicy = null;
4040
+
4041
+ /**
4042
+ * 容量重平衡功能,仅对伸缩组内的竞价实例有效。取值范围:
4043
+ <br><li> TRUE,开启该功能,当伸缩组内的竞价实例即将被竞价实例服务自动回收前,AS 主动发起竞价实例销毁流程,如果有配置过缩容 hook,则销毁前 hook 会生效。销毁流程启动后,AS 会异步开启一个扩容活动,用于补齐期望实例数。
4044
+ <br><li> FALSE,不开启该功能,则 AS 等待竞价实例被销毁后才会去扩容补齐伸缩组期望实例数。
4045
+
4046
+ 默认取 FALSE。
4047
+ * @type {boolean || null}
4048
+ */
4049
+ this.CapacityRebalance = null;
4050
+
3313
4051
  }
3314
4052
 
3315
4053
  /**
@@ -3359,6 +4097,16 @@ class CreateAutoScalingGroupRequest extends AbstractModel {
3359
4097
  }
3360
4098
  this.Ipv6AddressCount = 'Ipv6AddressCount' in params ? params.Ipv6AddressCount : null;
3361
4099
  this.MultiZoneSubnetPolicy = 'MultiZoneSubnetPolicy' in params ? params.MultiZoneSubnetPolicy : null;
4100
+ this.HealthCheckType = 'HealthCheckType' in params ? params.HealthCheckType : null;
4101
+ this.LoadBalancerHealthCheckGracePeriod = 'LoadBalancerHealthCheckGracePeriod' in params ? params.LoadBalancerHealthCheckGracePeriod : null;
4102
+ this.InstanceAllocationPolicy = 'InstanceAllocationPolicy' in params ? params.InstanceAllocationPolicy : null;
4103
+
4104
+ if (params.SpotMixedAllocationPolicy) {
4105
+ let obj = new SpotMixedAllocationPolicy();
4106
+ obj.deserialize(params.SpotMixedAllocationPolicy)
4107
+ this.SpotMixedAllocationPolicy = obj;
4108
+ }
4109
+ this.CapacityRebalance = 'CapacityRebalance' in params ? params.CapacityRebalance : null;
3362
4110
 
3363
4111
  }
3364
4112
  }
@@ -3439,6 +4187,7 @@ class UpgradeLaunchConfigurationRequest extends AbstractModel {
3439
4187
  * 实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。
3440
4188
  <br><li>POSTPAID_BY_HOUR:按小时后付费
3441
4189
  <br><li>SPOTPAID:竞价付费
4190
+ <br><li>PREPAID:预付费,即包年包月
3442
4191
  * @type {string || null}
3443
4192
  */
3444
4193
  this.InstanceChargeType = null;
@@ -3473,7 +4222,7 @@ class UpgradeLaunchConfigurationRequest extends AbstractModel {
3473
4222
  this.LoginSettings = null;
3474
4223
 
3475
4224
  /**
3476
- * 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/378/4400) 的返回值中的`projectId`字段来获取。不填为默认项目。
4225
+ * 实例所属项目ID。不填为默认项目。
3477
4226
  * @type {number || null}
3478
4227
  */
3479
4228
  this.ProjectId = null;
@@ -3526,6 +4275,14 @@ class UpgradeLaunchConfigurationRequest extends AbstractModel {
3526
4275
  */
3527
4276
  this.InstanceChargePrepaid = null;
3528
4277
 
4278
+ /**
4279
+ * 云盘类型选择策略,取值范围:
4280
+ <br><li>ORIGINAL:使用设置的云盘类型
4281
+ <br><li>AUTOMATIC:自动选择当前可用的云盘类型
4282
+ * @type {string || null}
4283
+ */
4284
+ this.DiskTypePolicy = null;
4285
+
3529
4286
  }
3530
4287
 
3531
4288
  /**
@@ -3611,6 +4368,7 @@ class UpgradeLaunchConfigurationRequest extends AbstractModel {
3611
4368
  obj.deserialize(params.InstanceChargePrepaid)
3612
4369
  this.InstanceChargePrepaid = obj;
3613
4370
  }
4371
+ this.DiskTypePolicy = 'DiskTypePolicy' in params ? params.DiskTypePolicy : null;
3614
4372
 
3615
4373
  }
3616
4374
  }
@@ -3724,7 +4482,7 @@ class DataDisk extends AbstractModel {
3724
4482
  super();
3725
4483
 
3726
4484
  /**
3727
- * 数据盘类型。数据盘类型限制详见[CVM实例配置](https://cloud.tencent.com/document/product/213/2177)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><br>默认取值:LOCAL_BASIC。
4485
+ * 数据盘类型。数据盘类型限制详见[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><li>CLOUD_HSSD:增强型SSD云硬盘<br><li>CLOUD_TSSD:极速型SSD云硬盘<br><br>默认取值与系统盘类型(SystemDisk.DiskType)保持一致。
3728
4486
  注意:此字段可能返回 null,表示取不到有效值。
3729
4487
  * @type {string || null}
3730
4488
  */
@@ -3744,35 +4502,27 @@ class DataDisk extends AbstractModel {
3744
4502
  */
3745
4503
  this.SnapshotId = null;
3746
4504
 
3747
- }
3748
-
3749
- /**
3750
- * @private
3751
- */
3752
- deserialize(params) {
3753
- if (!params) {
3754
- return;
3755
- }
3756
- this.DiskType = 'DiskType' in params ? params.DiskType : null;
3757
- this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
3758
- this.SnapshotId = 'SnapshotId' in params ? params.SnapshotId : null;
3759
-
3760
- }
3761
- }
4505
+ /**
4506
+ * 数据盘是否随子机销毁。取值范围:<br><li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘<br><li>FALSE:子机销毁时,保留数据盘
4507
+ 注意:此字段可能返回 null,表示取不到有效值。
4508
+ * @type {boolean || null}
4509
+ */
4510
+ this.DeleteWithInstance = null;
3762
4511
 
3763
- /**
3764
- * PreviewPaiDomainName请求参数结构体
3765
- * @class
3766
- */
3767
- class PreviewPaiDomainNameRequest extends AbstractModel {
3768
- constructor(){
3769
- super();
4512
+ /**
4513
+ * 数据盘是否加密。取值范围:<br><li>TRUE:加密<br><li>FALSE:不加密
4514
+ 注意:此字段可能返回 null,表示取不到有效值。
4515
+ * @type {boolean || null}
4516
+ */
4517
+ this.Encrypt = null;
3770
4518
 
3771
4519
  /**
3772
- * 域名类型
3773
- * @type {string || null}
4520
+ * 云硬盘性能,单位:MB/s。使用此参数可给云硬盘购买额外的性能,功能介绍和类型限制详见:[增强型 SSD 云硬盘额外性能说明](https://cloud.tencent.com/document/product/362/51896#.E5.A2.9E.E5.BC.BA.E5.9E.8B-ssd-.E4.BA.91.E7.A1.AC.E7.9B.98.E9.A2.9D.E5.A4.96.E6.80.A7.E8.83.BD)。
4521
+ 当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)且 需容量 > 460GB。
4522
+ 注意:此字段可能返回 null,表示取不到有效值。
4523
+ * @type {number || null}
3774
4524
  */
3775
- this.DomainNameType = null;
4525
+ this.ThroughputPerformance = null;
3776
4526
 
3777
4527
  }
3778
4528
 
@@ -3783,7 +4533,12 @@ class PreviewPaiDomainNameRequest extends AbstractModel {
3783
4533
  if (!params) {
3784
4534
  return;
3785
4535
  }
3786
- this.DomainNameType = 'DomainNameType' in params ? params.DomainNameType : null;
4536
+ this.DiskType = 'DiskType' in params ? params.DiskType : null;
4537
+ this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
4538
+ this.SnapshotId = 'SnapshotId' in params ? params.SnapshotId : null;
4539
+ this.DeleteWithInstance = 'DeleteWithInstance' in params ? params.DeleteWithInstance : null;
4540
+ this.Encrypt = 'Encrypt' in params ? params.Encrypt : null;
4541
+ this.ThroughputPerformance = 'ThroughputPerformance' in params ? params.ThroughputPerformance : null;
3787
4542
 
3788
4543
  }
3789
4544
  }
@@ -4056,60 +4811,30 @@ class Instance extends AbstractModel {
4056
4811
  }
4057
4812
 
4058
4813
  /**
4059
- * CreateScheduledAction请求参数结构体
4814
+ * DescribeAutoScalingInstances返回参数结构体
4060
4815
  * @class
4061
4816
  */
4062
- class CreateScheduledActionRequest extends AbstractModel {
4817
+ class DescribeAutoScalingInstancesResponse extends AbstractModel {
4063
4818
  constructor(){
4064
4819
  super();
4065
4820
 
4066
4821
  /**
4067
- * 伸缩组ID
4068
- * @type {string || null}
4069
- */
4070
- this.AutoScalingGroupId = null;
4071
-
4072
- /**
4073
- * 定时任务名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。同一伸缩组下必须唯一。
4074
- * @type {string || null}
4075
- */
4076
- this.ScheduledActionName = null;
4077
-
4078
- /**
4079
- * 当定时任务触发时,设置的伸缩组最大实例数。
4080
- * @type {number || null}
4081
- */
4082
- this.MaxSize = null;
4083
-
4084
- /**
4085
- * 当定时任务触发时,设置的伸缩组最小实例数。
4086
- * @type {number || null}
4822
+ * 实例详细信息列表。
4823
+ * @type {Array.<Instance> || null}
4087
4824
  */
4088
- this.MinSize = null;
4825
+ this.AutoScalingInstanceSet = null;
4089
4826
 
4090
4827
  /**
4091
- * 当定时任务触发时,设置的伸缩组期望实例数。
4828
+ * 符合条件的实例数量。
4092
4829
  * @type {number || null}
4093
4830
  */
4094
- this.DesiredCapacity = null;
4095
-
4096
- /**
4097
- * 定时任务的首次触发时间,取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。
4098
- * @type {string || null}
4099
- */
4100
- this.StartTime = null;
4101
-
4102
- /**
4103
- * 定时任务的结束时间,取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。<br><br>此参数与`Recurrence`需要同时指定,到达结束时间之后,定时任务将不再生效。
4104
- * @type {string || null}
4105
- */
4106
- this.EndTime = null;
4831
+ this.TotalCount = null;
4107
4832
 
4108
4833
  /**
4109
- * 定时任务的重复方式。为标准 Cron 格式<br><br>此参数与`EndTime`需要同时指定。
4834
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4110
4835
  * @type {string || null}
4111
4836
  */
4112
- this.Recurrence = null;
4837
+ this.RequestId = null;
4113
4838
 
4114
4839
  }
4115
4840
 
@@ -4120,14 +4845,17 @@ class CreateScheduledActionRequest extends AbstractModel {
4120
4845
  if (!params) {
4121
4846
  return;
4122
4847
  }
4123
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
4124
- this.ScheduledActionName = 'ScheduledActionName' in params ? params.ScheduledActionName : null;
4125
- this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
4126
- this.MinSize = 'MinSize' in params ? params.MinSize : null;
4127
- this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
4128
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
4129
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
4130
- this.Recurrence = 'Recurrence' in params ? params.Recurrence : null;
4848
+
4849
+ if (params.AutoScalingInstanceSet) {
4850
+ this.AutoScalingInstanceSet = new Array();
4851
+ for (let z in params.AutoScalingInstanceSet) {
4852
+ let obj = new Instance();
4853
+ obj.deserialize(params.AutoScalingInstanceSet[z]);
4854
+ this.AutoScalingInstanceSet.push(obj);
4855
+ }
4856
+ }
4857
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
4858
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4131
4859
 
4132
4860
  }
4133
4861
  }
@@ -4418,6 +5146,18 @@ class ModifyDesiredCapacityRequest extends AbstractModel {
4418
5146
  */
4419
5147
  this.DesiredCapacity = null;
4420
5148
 
5149
+ /**
5150
+ * 最小实例数,取值范围为0-2000。
5151
+ * @type {number || null}
5152
+ */
5153
+ this.MinSize = null;
5154
+
5155
+ /**
5156
+ * 最大实例数,取值范围为0-2000。
5157
+ * @type {number || null}
5158
+ */
5159
+ this.MaxSize = null;
5160
+
4421
5161
  }
4422
5162
 
4423
5163
  /**
@@ -4429,6 +5169,8 @@ class ModifyDesiredCapacityRequest extends AbstractModel {
4429
5169
  }
4430
5170
  this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
4431
5171
  this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
5172
+ this.MinSize = 'MinSize' in params ? params.MinSize : null;
5173
+ this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
4432
5174
 
4433
5175
  }
4434
5176
  }
@@ -4501,7 +5243,7 @@ class CreateLifecycleHookRequest extends AbstractModel {
4501
5243
  this.DefaultResult = null;
4502
5244
 
4503
5245
  /**
4504
- * 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从30到3600秒,默认值为300秒
5246
+ * 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从30到7200秒,默认值为300秒
4505
5247
  * @type {number || null}
4506
5248
  */
4507
5249
  this.HeartbeatTimeout = null;
@@ -4618,6 +5360,12 @@ class ScheduledAction extends AbstractModel {
4618
5360
  */
4619
5361
  this.CreatedTime = null;
4620
5362
 
5363
+ /**
5364
+ * 定时任务的执行类型。取值范围:<br><li>CRONTAB:代表定时任务为重复执行。<br><li>ONCE:代表定时任务为单次执行。
5365
+ * @type {string || null}
5366
+ */
5367
+ this.ScheduledType = null;
5368
+
4621
5369
  }
4622
5370
 
4623
5371
  /**
@@ -4637,123 +5385,70 @@ class ScheduledAction extends AbstractModel {
4637
5385
  this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
4638
5386
  this.MinSize = 'MinSize' in params ? params.MinSize : null;
4639
5387
  this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
5388
+ this.ScheduledType = 'ScheduledType' in params ? params.ScheduledType : null;
4640
5389
 
4641
5390
  }
4642
5391
  }
4643
5392
 
4644
5393
  /**
4645
- * CompleteLifecycleAction返回参数结构体
5394
+ * ModifyLifecycleHook请求参数结构体
4646
5395
  * @class
4647
5396
  */
4648
- class CompleteLifecycleActionResponse extends AbstractModel {
5397
+ class ModifyLifecycleHookRequest extends AbstractModel {
4649
5398
  constructor(){
4650
5399
  super();
4651
5400
 
4652
5401
  /**
4653
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
5402
+ * 生命周期挂钩ID。
4654
5403
  * @type {string || null}
4655
5404
  */
4656
- this.RequestId = null;
4657
-
4658
- }
4659
-
4660
- /**
4661
- * @private
4662
- */
4663
- deserialize(params) {
4664
- if (!params) {
4665
- return;
4666
- }
4667
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
4668
-
4669
- }
4670
- }
4671
-
4672
- /**
4673
- * >描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
4674
- > * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
4675
- > * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
4676
- >
4677
- > 以[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口的`Filter`为例。若我们需要查询可用区(`zone`)为广州一区 ***并且*** 实例计费模式(`instance-charge-type`)为包年包月 ***或者*** 按量计费的实例时,可如下实现:
4678
- ```
4679
- Filters.0.Name=zone
4680
- &Filters.0.Values.0=ap-guangzhou-1
4681
- &Filters.1.Name=instance-charge-type
4682
- &Filters.1.Values.0=PREPAID
4683
- &Filters.1.Values.1=POSTPAID_BY_HOUR
4684
- ```
4685
- * @class
4686
- */
4687
- class Filter extends AbstractModel {
4688
- constructor(){
4689
- super();
5405
+ this.LifecycleHookId = null;
4690
5406
 
4691
5407
  /**
4692
- * 需要过滤的字段。
5408
+ * 生命周期挂钩名称。
4693
5409
  * @type {string || null}
4694
5410
  */
4695
- this.Name = null;
5411
+ this.LifecycleHookName = null;
4696
5412
 
4697
5413
  /**
4698
- * 字段的过滤值。
4699
- * @type {Array.<string> || null}
5414
+ * 进入生命周期挂钩场景,取值包括:
5415
+ <li> INSTANCE_LAUNCHING:实例启动后
5416
+ <li> INSTANCE_TERMINATING:实例销毁前
5417
+ * @type {string || null}
4700
5418
  */
4701
- this.Values = null;
4702
-
4703
- }
4704
-
4705
- /**
4706
- * @private
4707
- */
4708
- deserialize(params) {
4709
- if (!params) {
4710
- return;
4711
- }
4712
- this.Name = 'Name' in params ? params.Name : null;
4713
- this.Values = 'Values' in params ? params.Values : null;
4714
-
4715
- }
4716
- }
5419
+ this.LifecycleTransition = null;
4717
5420
 
4718
- /**
4719
- * DescribeLifecycleHooks请求参数结构体
4720
- * @class
4721
- */
4722
- class DescribeLifecycleHooksRequest extends AbstractModel {
4723
- constructor(){
4724
- super();
5421
+ /**
5422
+ * 定义伸缩组在生命周期挂钩超时的情况下应采取的操作,取值包括:
5423
+ <li> CONTINUE: 超时后继续伸缩活动
5424
+ <li> ABANDON:超时后终止伸缩活动
5425
+ * @type {string || null}
5426
+ */
5427
+ this.DefaultResult = null;
4725
5428
 
4726
5429
  /**
4727
- * 按照一个或者多个生命周期挂钩ID查询。生命周期挂钩ID形如:`ash-8azjzxcl`。每次请求的上限为100。参数不支持同时指定`LifecycleHookIds`和`Filters`。
4728
- * @type {Array.<string> || null}
5430
+ * 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从 30 到 7200 秒。
5431
+ * @type {number || null}
4729
5432
  */
4730
- this.LifecycleHookIds = null;
5433
+ this.HeartbeatTimeout = null;
4731
5434
 
4732
5435
  /**
4733
- * 过滤条件。
4734
- <li> lifecycle-hook-id - String - 是否必填:否 -(过滤条件)按照生命周期挂钩ID过滤。</li>
4735
- <li> lifecycle-hook-name - String - 是否必填:否 -(过滤条件)按照生命周期挂钩名称过滤。</li>
4736
- <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。</li>
4737
- 过滤条件。
4738
- <li> lifecycle-hook-id - String - 是否必填:否 -(过滤条件)按照生命周期挂钩ID过滤。</li>
4739
- <li> lifecycle-hook-name - String - 是否必填:否 -(过滤条件)按照生命周期挂钩名称过滤。</li>
4740
- <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。</li>
4741
- 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`LifecycleHookIds `和`Filters`。
4742
- * @type {Array.<Filter> || null}
5436
+ * 弹性伸缩向通知目标发送的附加信息。
5437
+ * @type {string || null}
4743
5438
  */
4744
- this.Filters = null;
5439
+ this.NotificationMetadata = null;
4745
5440
 
4746
5441
  /**
4747
- * 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
4748
- * @type {number || null}
5442
+ * 进行生命周期挂钩的场景类型,取值范围包括`NORMAL`和 `EXTENSION`。说明:设置为`EXTENSION`值,在AttachInstances、DetachInstances、RemoveInstances 接口时会触发生命周期挂钩操作,值为`NORMAL`则不会在这些接口中触发生命周期挂钩。
5443
+ * @type {string || null}
4749
5444
  */
4750
- this.Limit = null;
5445
+ this.LifecycleTransitionType = null;
4751
5446
 
4752
5447
  /**
4753
- * 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
4754
- * @type {number || null}
5448
+ * 通知目标信息。
5449
+ * @type {NotificationTarget || null}
4755
5450
  */
4756
- this.Offset = null;
5451
+ this.NotificationTarget = null;
4757
5452
 
4758
5453
  }
4759
5454
 
@@ -4764,44 +5459,36 @@ class DescribeLifecycleHooksRequest extends AbstractModel {
4764
5459
  if (!params) {
4765
5460
  return;
4766
5461
  }
4767
- this.LifecycleHookIds = 'LifecycleHookIds' in params ? params.LifecycleHookIds : null;
5462
+ this.LifecycleHookId = 'LifecycleHookId' in params ? params.LifecycleHookId : null;
5463
+ this.LifecycleHookName = 'LifecycleHookName' in params ? params.LifecycleHookName : null;
5464
+ this.LifecycleTransition = 'LifecycleTransition' in params ? params.LifecycleTransition : null;
5465
+ this.DefaultResult = 'DefaultResult' in params ? params.DefaultResult : null;
5466
+ this.HeartbeatTimeout = 'HeartbeatTimeout' in params ? params.HeartbeatTimeout : null;
5467
+ this.NotificationMetadata = 'NotificationMetadata' in params ? params.NotificationMetadata : null;
5468
+ this.LifecycleTransitionType = 'LifecycleTransitionType' in params ? params.LifecycleTransitionType : null;
4768
5469
 
4769
- if (params.Filters) {
4770
- this.Filters = new Array();
4771
- for (let z in params.Filters) {
4772
- let obj = new Filter();
4773
- obj.deserialize(params.Filters[z]);
4774
- this.Filters.push(obj);
4775
- }
5470
+ if (params.NotificationTarget) {
5471
+ let obj = new NotificationTarget();
5472
+ obj.deserialize(params.NotificationTarget)
5473
+ this.NotificationTarget = obj;
4776
5474
  }
4777
- this.Limit = 'Limit' in params ? params.Limit : null;
4778
- this.Offset = 'Offset' in params ? params.Offset : null;
4779
5475
 
4780
5476
  }
4781
5477
  }
4782
5478
 
4783
5479
  /**
4784
- * 服务设置
5480
+ * CompleteLifecycleAction返回参数结构体
4785
5481
  * @class
4786
5482
  */
4787
- class ServiceSettings extends AbstractModel {
5483
+ class CompleteLifecycleActionResponse extends AbstractModel {
4788
5484
  constructor(){
4789
5485
  super();
4790
5486
 
4791
5487
  /**
4792
- * 开启监控不健康替换服务。若开启则对于云监控标记为不健康的实例,弹性伸缩服务会进行替换。若不指定该参数,则默认为 False
4793
- * @type {boolean || null}
4794
- */
4795
- this.ReplaceMonitorUnhealthy = null;
4796
-
4797
- /**
4798
- * 取值范围:
4799
- CLASSIC_SCALING:经典方式,使用创建、销毁实例来实现扩缩容;
4800
- WAKE_UP_STOPPED_SCALING:扩容优先开机。扩容时优先对已关机的实例执行开机操作,若开机后实例数仍低于期望实例数,则创建实例,缩容仍采用销毁实例的方式。用户可以使用StopAutoScalingInstances接口来关闭伸缩组内的实例。监控告警触发的扩容仍将创建实例
4801
- 默认取值:CLASSIC_SCALING
5488
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
4802
5489
  * @type {string || null}
4803
5490
  */
4804
- this.ScalingMode = null;
5491
+ this.RequestId = null;
4805
5492
 
4806
5493
  }
4807
5494
 
@@ -4812,179 +5499,181 @@ WAKE_UP_STOPPED_SCALING:扩容优先开机。扩容时优先对已关机的实
4812
5499
  if (!params) {
4813
5500
  return;
4814
5501
  }
4815
- this.ReplaceMonitorUnhealthy = 'ReplaceMonitorUnhealthy' in params ? params.ReplaceMonitorUnhealthy : null;
4816
- this.ScalingMode = 'ScalingMode' in params ? params.ScalingMode : null;
5502
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4817
5503
 
4818
5504
  }
4819
5505
  }
4820
5506
 
4821
5507
  /**
4822
- * 符合条件的启动配置信息的集合。
5508
+ * ScaleOutInstances返回参数结构体
4823
5509
  * @class
4824
5510
  */
4825
- class LaunchConfiguration extends AbstractModel {
5511
+ class ScaleOutInstancesResponse extends AbstractModel {
4826
5512
  constructor(){
4827
5513
  super();
4828
5514
 
4829
5515
  /**
4830
- * 实例所属项目ID。
4831
- * @type {number || null}
4832
- */
4833
- this.ProjectId = null;
4834
-
4835
- /**
4836
- * 启动配置ID。
4837
- * @type {string || null}
4838
- */
4839
- this.LaunchConfigurationId = null;
4840
-
4841
- /**
4842
- * 启动配置名称。
5516
+ * 伸缩活动ID。
4843
5517
  * @type {string || null}
4844
5518
  */
4845
- this.LaunchConfigurationName = null;
5519
+ this.ActivityId = null;
4846
5520
 
4847
5521
  /**
4848
- * 实例机型。
5522
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4849
5523
  * @type {string || null}
4850
5524
  */
4851
- this.InstanceType = null;
4852
-
4853
- /**
4854
- * 实例系统盘配置信息。
4855
- * @type {SystemDisk || null}
4856
- */
4857
- this.SystemDisk = null;
4858
-
4859
- /**
4860
- * 实例数据盘配置信息。
4861
- * @type {Array.<DataDisk> || null}
4862
- */
4863
- this.DataDisks = null;
4864
-
4865
- /**
4866
- * 实例登录设置。
4867
- * @type {LimitedLoginSettings || null}
4868
- */
4869
- this.LoginSettings = null;
5525
+ this.RequestId = null;
4870
5526
 
4871
- /**
4872
- * 公网带宽相关信息设置。
4873
- * @type {InternetAccessible || null}
4874
- */
4875
- this.InternetAccessible = null;
5527
+ }
4876
5528
 
4877
- /**
4878
- * 实例所属安全组。
4879
- * @type {Array.<string> || null}
4880
- */
4881
- this.SecurityGroupIds = null;
5529
+ /**
5530
+ * @private
5531
+ */
5532
+ deserialize(params) {
5533
+ if (!params) {
5534
+ return;
5535
+ }
5536
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
5537
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4882
5538
 
4883
- /**
4884
- * 启动配置关联的伸缩组。
4885
- * @type {Array.<AutoScalingGroupAbstract> || null}
4886
- */
4887
- this.AutoScalingGroupAbstractSet = null;
5539
+ }
5540
+ }
4888
5541
 
4889
- /**
4890
- * 自定义数据。
4891
- 注意:此字段可能返回 null,表示取不到有效值。
4892
- * @type {string || null}
4893
- */
4894
- this.UserData = null;
5542
+ /**
5543
+ * >描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
5544
+ > * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
5545
+ > * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
5546
+ >
5547
+ > 以[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口的`Filter`为例。若我们需要查询可用区(`zone`)为广州一区 ***并且*** 实例计费模式(`instance-charge-type`)为包年包月 ***或者*** 按量计费的实例时,可如下实现:
5548
+ ```
5549
+ Filters.0.Name=zone
5550
+ &Filters.0.Values.0=ap-guangzhou-1
5551
+ &Filters.1.Name=instance-charge-type
5552
+ &Filters.1.Values.0=PREPAID
5553
+ &Filters.1.Values.1=POSTPAID_BY_HOUR
5554
+ ```
5555
+ * @class
5556
+ */
5557
+ class Filter extends AbstractModel {
5558
+ constructor(){
5559
+ super();
4895
5560
 
4896
5561
  /**
4897
- * 启动配置创建时间。
5562
+ * 需要过滤的字段。
4898
5563
  * @type {string || null}
4899
5564
  */
4900
- this.CreatedTime = null;
5565
+ this.Name = null;
4901
5566
 
4902
5567
  /**
4903
- * 实例的增强服务启用情况与其设置。
4904
- * @type {EnhancedService || null}
5568
+ * 字段的过滤值。
5569
+ * @type {Array.<string> || null}
4905
5570
  */
4906
- this.EnhancedService = null;
5571
+ this.Values = null;
4907
5572
 
4908
- /**
4909
- * 镜像ID。
4910
- * @type {string || null}
4911
- */
4912
- this.ImageId = null;
5573
+ }
4913
5574
 
4914
- /**
4915
- * 启动配置当前状态。取值范围:<br><li>NORMAL:正常<br><li>IMAGE_ABNORMAL:启动配置镜像异常<br><li>CBS_SNAP_ABNORMAL:启动配置数据盘快照异常<br><li>SECURITY_GROUP_ABNORMAL:启动配置安全组异常<br>
4916
- * @type {string || null}
4917
- */
4918
- this.LaunchConfigurationStatus = null;
5575
+ /**
5576
+ * @private
5577
+ */
5578
+ deserialize(params) {
5579
+ if (!params) {
5580
+ return;
5581
+ }
5582
+ this.Name = 'Name' in params ? params.Name : null;
5583
+ this.Values = 'Values' in params ? params.Values : null;
4919
5584
 
4920
- /**
4921
- * 实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。
4922
- <br><li>POSTPAID_BY_HOUR:按小时后付费
4923
- <br><li>SPOTPAID:竞价付费
4924
- * @type {string || null}
4925
- */
4926
- this.InstanceChargeType = null;
5585
+ }
5586
+ }
4927
5587
 
4928
- /**
4929
- * 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。
4930
- 注意:此字段可能返回 null,表示取不到有效值。
4931
- * @type {InstanceMarketOptionsRequest || null}
4932
- */
4933
- this.InstanceMarketOptions = null;
5588
+ /**
5589
+ * DescribeLifecycleHooks请求参数结构体
5590
+ * @class
5591
+ */
5592
+ class DescribeLifecycleHooksRequest extends AbstractModel {
5593
+ constructor(){
5594
+ super();
4934
5595
 
4935
5596
  /**
4936
- * 实例机型列表。
5597
+ * 按照一个或者多个生命周期挂钩ID查询。生命周期挂钩ID形如:`ash-8azjzxcl`。每次请求的上限为100。参数不支持同时指定`LifecycleHookIds`和`Filters`。
4937
5598
  * @type {Array.<string> || null}
4938
5599
  */
4939
- this.InstanceTypes = null;
5600
+ this.LifecycleHookIds = null;
4940
5601
 
4941
5602
  /**
4942
- * 标签列表。
4943
- * @type {Array.<InstanceTag> || null}
5603
+ * 过滤条件。
5604
+ <li> lifecycle-hook-id - String - 是否必填:否 -(过滤条件)按照生命周期挂钩ID过滤。</li>
5605
+ <li> lifecycle-hook-name - String - 是否必填:否 -(过滤条件)按照生命周期挂钩名称过滤。</li>
5606
+ <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。</li>
5607
+ 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`LifecycleHookIds `和`Filters`。
5608
+ * @type {Array.<Filter> || null}
4944
5609
  */
4945
- this.InstanceTags = null;
5610
+ this.Filters = null;
4946
5611
 
4947
5612
  /**
4948
- * 版本号。
5613
+ * 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
4949
5614
  * @type {number || null}
4950
5615
  */
4951
- this.VersionNumber = null;
5616
+ this.Limit = null;
4952
5617
 
4953
5618
  /**
4954
- * 更新时间。
4955
- * @type {string || null}
5619
+ * 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
5620
+ * @type {number || null}
4956
5621
  */
4957
- this.UpdatedTime = null;
5622
+ this.Offset = null;
4958
5623
 
4959
- /**
4960
- * CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
4961
- * @type {string || null}
4962
- */
4963
- this.CamRoleName = null;
5624
+ }
4964
5625
 
4965
- /**
4966
- * 上次操作时,InstanceTypesCheckPolicy 取值。
4967
- * @type {string || null}
4968
- */
4969
- this.LastOperationInstanceTypesCheckPolicy = null;
5626
+ /**
5627
+ * @private
5628
+ */
5629
+ deserialize(params) {
5630
+ if (!params) {
5631
+ return;
5632
+ }
5633
+ this.LifecycleHookIds = 'LifecycleHookIds' in params ? params.LifecycleHookIds : null;
5634
+
5635
+ if (params.Filters) {
5636
+ this.Filters = new Array();
5637
+ for (let z in params.Filters) {
5638
+ let obj = new Filter();
5639
+ obj.deserialize(params.Filters[z]);
5640
+ this.Filters.push(obj);
5641
+ }
5642
+ }
5643
+ this.Limit = 'Limit' in params ? params.Limit : null;
5644
+ this.Offset = 'Offset' in params ? params.Offset : null;
5645
+
5646
+ }
5647
+ }
5648
+
5649
+ /**
5650
+ * 服务设置
5651
+ * @class
5652
+ */
5653
+ class ServiceSettings extends AbstractModel {
5654
+ constructor(){
5655
+ super();
4970
5656
 
4971
5657
  /**
4972
- * 云服务器主机名(HostName)的相关设置。
4973
- * @type {HostNameSettings || null}
5658
+ * 开启监控不健康替换服务。若开启则对于云监控标记为不健康的实例,弹性伸缩服务会进行替换。若不指定该参数,则默认为 False。
5659
+ * @type {boolean || null}
4974
5660
  */
4975
- this.HostNameSettings = null;
5661
+ this.ReplaceMonitorUnhealthy = null;
4976
5662
 
4977
5663
  /**
4978
- * 云服务器实例名(InstanceName)的相关设置。
4979
- * @type {InstanceNameSettings || null}
5664
+ * 取值范围:
5665
+ CLASSIC_SCALING:经典方式,使用创建、销毁实例来实现扩缩容;
5666
+ WAKE_UP_STOPPED_SCALING:扩容优先开机。扩容时优先对已关机的实例执行开机操作,若开机后实例数仍低于期望实例数,则创建实例,缩容仍采用销毁实例的方式。用户可以使用StopAutoScalingInstances接口来关闭伸缩组内的实例。监控告警触发的扩容仍将创建实例
5667
+ 默认取值:CLASSIC_SCALING
5668
+ * @type {string || null}
4980
5669
  */
4981
- this.InstanceNameSettings = null;
5670
+ this.ScalingMode = null;
4982
5671
 
4983
5672
  /**
4984
- * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
4985
- * @type {InstanceChargePrepaid || null}
5673
+ * 开启负载均衡不健康替换服务。若开启则对于负载均衡健康检查判断不健康的实例,弹性伸缩服务会进行替换。若不指定该参数,则默认为 False。
5674
+ * @type {boolean || null}
4986
5675
  */
4987
- this.InstanceChargePrepaid = null;
5676
+ this.ReplaceLoadBalancerUnhealthy = null;
4988
5677
 
4989
5678
  }
4990
5679
 
@@ -4995,96 +5684,44 @@ class LaunchConfiguration extends AbstractModel {
4995
5684
  if (!params) {
4996
5685
  return;
4997
5686
  }
4998
- this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
4999
- this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
5000
- this.LaunchConfigurationName = 'LaunchConfigurationName' in params ? params.LaunchConfigurationName : null;
5001
- this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
5002
-
5003
- if (params.SystemDisk) {
5004
- let obj = new SystemDisk();
5005
- obj.deserialize(params.SystemDisk)
5006
- this.SystemDisk = obj;
5007
- }
5008
-
5009
- if (params.DataDisks) {
5010
- this.DataDisks = new Array();
5011
- for (let z in params.DataDisks) {
5012
- let obj = new DataDisk();
5013
- obj.deserialize(params.DataDisks[z]);
5014
- this.DataDisks.push(obj);
5015
- }
5016
- }
5017
-
5018
- if (params.LoginSettings) {
5019
- let obj = new LimitedLoginSettings();
5020
- obj.deserialize(params.LoginSettings)
5021
- this.LoginSettings = obj;
5022
- }
5023
-
5024
- if (params.InternetAccessible) {
5025
- let obj = new InternetAccessible();
5026
- obj.deserialize(params.InternetAccessible)
5027
- this.InternetAccessible = obj;
5028
- }
5029
- this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
5030
-
5031
- if (params.AutoScalingGroupAbstractSet) {
5032
- this.AutoScalingGroupAbstractSet = new Array();
5033
- for (let z in params.AutoScalingGroupAbstractSet) {
5034
- let obj = new AutoScalingGroupAbstract();
5035
- obj.deserialize(params.AutoScalingGroupAbstractSet[z]);
5036
- this.AutoScalingGroupAbstractSet.push(obj);
5037
- }
5038
- }
5039
- this.UserData = 'UserData' in params ? params.UserData : null;
5040
- this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
5687
+ this.ReplaceMonitorUnhealthy = 'ReplaceMonitorUnhealthy' in params ? params.ReplaceMonitorUnhealthy : null;
5688
+ this.ScalingMode = 'ScalingMode' in params ? params.ScalingMode : null;
5689
+ this.ReplaceLoadBalancerUnhealthy = 'ReplaceLoadBalancerUnhealthy' in params ? params.ReplaceLoadBalancerUnhealthy : null;
5041
5690
 
5042
- if (params.EnhancedService) {
5043
- let obj = new EnhancedService();
5044
- obj.deserialize(params.EnhancedService)
5045
- this.EnhancedService = obj;
5046
- }
5047
- this.ImageId = 'ImageId' in params ? params.ImageId : null;
5048
- this.LaunchConfigurationStatus = 'LaunchConfigurationStatus' in params ? params.LaunchConfigurationStatus : null;
5049
- this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
5691
+ }
5692
+ }
5050
5693
 
5051
- if (params.InstanceMarketOptions) {
5052
- let obj = new InstanceMarketOptionsRequest();
5053
- obj.deserialize(params.InstanceMarketOptions)
5054
- this.InstanceMarketOptions = obj;
5055
- }
5056
- this.InstanceTypes = 'InstanceTypes' in params ? params.InstanceTypes : null;
5694
+ /**
5695
+ * CreateAutoScalingGroup返回参数结构体
5696
+ * @class
5697
+ */
5698
+ class CreateAutoScalingGroupResponse extends AbstractModel {
5699
+ constructor(){
5700
+ super();
5057
5701
 
5058
- if (params.InstanceTags) {
5059
- this.InstanceTags = new Array();
5060
- for (let z in params.InstanceTags) {
5061
- let obj = new InstanceTag();
5062
- obj.deserialize(params.InstanceTags[z]);
5063
- this.InstanceTags.push(obj);
5064
- }
5065
- }
5066
- this.VersionNumber = 'VersionNumber' in params ? params.VersionNumber : null;
5067
- this.UpdatedTime = 'UpdatedTime' in params ? params.UpdatedTime : null;
5068
- this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
5069
- this.LastOperationInstanceTypesCheckPolicy = 'LastOperationInstanceTypesCheckPolicy' in params ? params.LastOperationInstanceTypesCheckPolicy : null;
5702
+ /**
5703
+ * 伸缩组ID
5704
+ * @type {string || null}
5705
+ */
5706
+ this.AutoScalingGroupId = null;
5070
5707
 
5071
- if (params.HostNameSettings) {
5072
- let obj = new HostNameSettings();
5073
- obj.deserialize(params.HostNameSettings)
5074
- this.HostNameSettings = obj;
5075
- }
5708
+ /**
5709
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5710
+ * @type {string || null}
5711
+ */
5712
+ this.RequestId = null;
5076
5713
 
5077
- if (params.InstanceNameSettings) {
5078
- let obj = new InstanceNameSettings();
5079
- obj.deserialize(params.InstanceNameSettings)
5080
- this.InstanceNameSettings = obj;
5081
- }
5714
+ }
5082
5715
 
5083
- if (params.InstanceChargePrepaid) {
5084
- let obj = new InstanceChargePrepaid();
5085
- obj.deserialize(params.InstanceChargePrepaid)
5086
- this.InstanceChargePrepaid = obj;
5716
+ /**
5717
+ * @private
5718
+ */
5719
+ deserialize(params) {
5720
+ if (!params) {
5721
+ return;
5087
5722
  }
5723
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
5724
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5088
5725
 
5089
5726
  }
5090
5727
  }
@@ -5153,30 +5790,18 @@ class ModifyNotificationConfigurationResponse extends AbstractModel {
5153
5790
  }
5154
5791
 
5155
5792
  /**
5156
- * DescribeAutoScalingInstances返回参数结构体
5793
+ * 描述了实例登录相关配置与信息,出于安全性考虑,不会描述敏感信息。
5157
5794
  * @class
5158
5795
  */
5159
- class DescribeAutoScalingInstancesResponse extends AbstractModel {
5796
+ class LimitedLoginSettings extends AbstractModel {
5160
5797
  constructor(){
5161
5798
  super();
5162
5799
 
5163
5800
  /**
5164
- * 实例详细信息列表。
5165
- * @type {Array.<Instance> || null}
5166
- */
5167
- this.AutoScalingInstanceSet = null;
5168
-
5169
- /**
5170
- * 符合条件的实例数量。
5171
- * @type {number || null}
5172
- */
5173
- this.TotalCount = null;
5174
-
5175
- /**
5176
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5177
- * @type {string || null}
5801
+ * 密钥ID列表。
5802
+ * @type {Array.<string> || null}
5178
5803
  */
5179
- this.RequestId = null;
5804
+ this.KeyIds = null;
5180
5805
 
5181
5806
  }
5182
5807
 
@@ -5187,17 +5812,7 @@ class DescribeAutoScalingInstancesResponse extends AbstractModel {
5187
5812
  if (!params) {
5188
5813
  return;
5189
5814
  }
5190
-
5191
- if (params.AutoScalingInstanceSet) {
5192
- this.AutoScalingInstanceSet = new Array();
5193
- for (let z in params.AutoScalingInstanceSet) {
5194
- let obj = new Instance();
5195
- obj.deserialize(params.AutoScalingInstanceSet[z]);
5196
- this.AutoScalingInstanceSet.push(obj);
5197
- }
5198
- }
5199
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
5200
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
5815
+ this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
5201
5816
 
5202
5817
  }
5203
5818
  }
@@ -5327,6 +5942,69 @@ class CreateScalingPolicyRequest extends AbstractModel {
5327
5942
  }
5328
5943
  }
5329
5944
 
5945
+ /**
5946
+ * ScaleInInstances返回参数结构体
5947
+ * @class
5948
+ */
5949
+ class ScaleInInstancesResponse extends AbstractModel {
5950
+ constructor(){
5951
+ super();
5952
+
5953
+ /**
5954
+ * 伸缩活动ID。
5955
+ * @type {string || null}
5956
+ */
5957
+ this.ActivityId = null;
5958
+
5959
+ /**
5960
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5961
+ * @type {string || null}
5962
+ */
5963
+ this.RequestId = null;
5964
+
5965
+ }
5966
+
5967
+ /**
5968
+ * @private
5969
+ */
5970
+ deserialize(params) {
5971
+ if (!params) {
5972
+ return;
5973
+ }
5974
+ this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
5975
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5976
+
5977
+ }
5978
+ }
5979
+
5980
+ /**
5981
+ * DescribeAutoScalingAdvices请求参数结构体
5982
+ * @class
5983
+ */
5984
+ class DescribeAutoScalingAdvicesRequest extends AbstractModel {
5985
+ constructor(){
5986
+ super();
5987
+
5988
+ /**
5989
+ * 待查询的伸缩组列表,上限100。
5990
+ * @type {Array.<string> || null}
5991
+ */
5992
+ this.AutoScalingGroupIds = null;
5993
+
5994
+ }
5995
+
5996
+ /**
5997
+ * @private
5998
+ */
5999
+ deserialize(params) {
6000
+ if (!params) {
6001
+ return;
6002
+ }
6003
+ this.AutoScalingGroupIds = 'AutoScalingGroupIds' in params ? params.AutoScalingGroupIds : null;
6004
+
6005
+ }
6006
+ }
6007
+
5330
6008
  /**
5331
6009
  * DeleteNotificationConfiguration请求参数结构体
5332
6010
  * @class
@@ -5425,21 +6103,23 @@ class NotificationTarget extends AbstractModel {
5425
6103
  super();
5426
6104
 
5427
6105
  /**
5428
- * 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`。
6106
+ * 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`、`TDMQ_CMQ_QUEUE`、`TDMQ_CMQ_TOPIC`。
5429
6107
  <li> CMQ_QUEUE,指腾讯云消息队列-队列模型。</li>
5430
6108
  <li> CMQ_TOPIC,指腾讯云消息队列-主题模型。</li>
6109
+ <li> TDMQ_CMQ_QUEUE,指腾讯云 TDMQ 消息队列-队列模型。</li>
6110
+ <li> TDMQ_CMQ_TOPIC,指腾讯云 TDMQ 消息队列-主题模型。</li>
5431
6111
  * @type {string || null}
5432
6112
  */
5433
6113
  this.TargetType = null;
5434
6114
 
5435
6115
  /**
5436
- * 队列名称,如果`TargetType`取值为`CMQ_QUEUE`,则本字段必填。
6116
+ * 队列名称,如果`TargetType`取值为`CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE`,则本字段必填。
5437
6117
  * @type {string || null}
5438
6118
  */
5439
6119
  this.QueueName = null;
5440
6120
 
5441
6121
  /**
5442
- * 主题名称,如果`TargetType`取值为`CMQ_TOPIC`,则本字段必填。
6122
+ * 主题名称,如果`TargetType`取值为`CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC`,则本字段必填。
5443
6123
  * @type {string || null}
5444
6124
  */
5445
6125
  this.TopicName = null;
@@ -5460,6 +6140,49 @@ class NotificationTarget extends AbstractModel {
5460
6140
  }
5461
6141
  }
5462
6142
 
6143
+ /**
6144
+ * ModifyLoadBalancerTargetAttributes请求参数结构体
6145
+ * @class
6146
+ */
6147
+ class ModifyLoadBalancerTargetAttributesRequest extends AbstractModel {
6148
+ constructor(){
6149
+ super();
6150
+
6151
+ /**
6152
+ * 伸缩组ID
6153
+ * @type {string || null}
6154
+ */
6155
+ this.AutoScalingGroupId = null;
6156
+
6157
+ /**
6158
+ * 需修改目标规则属性的应用型负载均衡器列表,列表长度上限为50
6159
+ * @type {Array.<ForwardLoadBalancer> || null}
6160
+ */
6161
+ this.ForwardLoadBalancers = null;
6162
+
6163
+ }
6164
+
6165
+ /**
6166
+ * @private
6167
+ */
6168
+ deserialize(params) {
6169
+ if (!params) {
6170
+ return;
6171
+ }
6172
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6173
+
6174
+ if (params.ForwardLoadBalancers) {
6175
+ this.ForwardLoadBalancers = new Array();
6176
+ for (let z in params.ForwardLoadBalancers) {
6177
+ let obj = new ForwardLoadBalancer();
6178
+ obj.deserialize(params.ForwardLoadBalancers[z]);
6179
+ this.ForwardLoadBalancers.push(obj);
6180
+ }
6181
+ }
6182
+
6183
+ }
6184
+ }
6185
+
5463
6186
  /**
5464
6187
  * DeleteAutoScalingGroup返回参数结构体
5465
6188
  * @class
@@ -5730,6 +6453,41 @@ class DescribeNotificationConfigurationsRequest extends AbstractModel {
5730
6453
  }
5731
6454
  }
5732
6455
 
6456
+ /**
6457
+ * ScaleInInstances请求参数结构体
6458
+ * @class
6459
+ */
6460
+ class ScaleInInstancesRequest extends AbstractModel {
6461
+ constructor(){
6462
+ super();
6463
+
6464
+ /**
6465
+ * 伸缩组ID。
6466
+ * @type {string || null}
6467
+ */
6468
+ this.AutoScalingGroupId = null;
6469
+
6470
+ /**
6471
+ * 希望缩容的实例数量。
6472
+ * @type {number || null}
6473
+ */
6474
+ this.ScaleInNumber = null;
6475
+
6476
+ }
6477
+
6478
+ /**
6479
+ * @private
6480
+ */
6481
+ deserialize(params) {
6482
+ if (!params) {
6483
+ return;
6484
+ }
6485
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6486
+ this.ScaleInNumber = 'ScaleInNumber' in params ? params.ScaleInNumber : null;
6487
+
6488
+ }
6489
+ }
6490
+
5733
6491
  /**
5734
6492
  * 生命周期挂钩
5735
6493
  * @class
@@ -5816,21 +6574,137 @@ class LifecycleHook extends AbstractModel {
5816
6574
  this.NotificationMetadata = 'NotificationMetadata' in params ? params.NotificationMetadata : null;
5817
6575
  this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
5818
6576
 
5819
- if (params.NotificationTarget) {
5820
- let obj = new NotificationTarget();
5821
- obj.deserialize(params.NotificationTarget)
5822
- this.NotificationTarget = obj;
6577
+ if (params.NotificationTarget) {
6578
+ let obj = new NotificationTarget();
6579
+ obj.deserialize(params.NotificationTarget)
6580
+ this.NotificationTarget = obj;
6581
+ }
6582
+ this.LifecycleTransitionType = 'LifecycleTransitionType' in params ? params.LifecycleTransitionType : null;
6583
+
6584
+ }
6585
+ }
6586
+
6587
+ /**
6588
+ * 应用型负载均衡器
6589
+ * @class
6590
+ */
6591
+ class ForwardLoadBalancer extends AbstractModel {
6592
+ constructor(){
6593
+ super();
6594
+
6595
+ /**
6596
+ * 负载均衡器ID
6597
+ * @type {string || null}
6598
+ */
6599
+ this.LoadBalancerId = null;
6600
+
6601
+ /**
6602
+ * 应用型负载均衡监听器 ID
6603
+ * @type {string || null}
6604
+ */
6605
+ this.ListenerId = null;
6606
+
6607
+ /**
6608
+ * 目标规则属性列表
6609
+ * @type {Array.<TargetAttribute> || null}
6610
+ */
6611
+ this.TargetAttributes = null;
6612
+
6613
+ /**
6614
+ * 转发规则ID,注意:针对七层监听器此参数必填
6615
+ * @type {string || null}
6616
+ */
6617
+ this.LocationId = null;
6618
+
6619
+ /**
6620
+ * 负载均衡实例所属地域,默认取AS服务所在地域。格式与公共参数Region相同,如:"ap-guangzhou"。
6621
+ * @type {string || null}
6622
+ */
6623
+ this.Region = null;
6624
+
6625
+ }
6626
+
6627
+ /**
6628
+ * @private
6629
+ */
6630
+ deserialize(params) {
6631
+ if (!params) {
6632
+ return;
6633
+ }
6634
+ this.LoadBalancerId = 'LoadBalancerId' in params ? params.LoadBalancerId : null;
6635
+ this.ListenerId = 'ListenerId' in params ? params.ListenerId : null;
6636
+
6637
+ if (params.TargetAttributes) {
6638
+ this.TargetAttributes = new Array();
6639
+ for (let z in params.TargetAttributes) {
6640
+ let obj = new TargetAttribute();
6641
+ obj.deserialize(params.TargetAttributes[z]);
6642
+ this.TargetAttributes.push(obj);
6643
+ }
6644
+ }
6645
+ this.LocationId = 'LocationId' in params ? params.LocationId : null;
6646
+ this.Region = 'Region' in params ? params.Region : null;
6647
+
6648
+ }
6649
+ }
6650
+
6651
+ /**
6652
+ * ClearLaunchConfigurationAttributes请求参数结构体
6653
+ * @class
6654
+ */
6655
+ class ClearLaunchConfigurationAttributesRequest extends AbstractModel {
6656
+ constructor(){
6657
+ super();
6658
+
6659
+ /**
6660
+ * 启动配置ID。
6661
+ * @type {string || null}
6662
+ */
6663
+ this.LaunchConfigurationId = null;
6664
+
6665
+ /**
6666
+ * 是否清空数据盘信息,非必填,默认为 false。
6667
+ 填 true 代表清空“数据盘”信息,清空后基于此新创建的云主机将不含有任何数据盘。
6668
+ * @type {boolean || null}
6669
+ */
6670
+ this.ClearDataDisks = null;
6671
+
6672
+ /**
6673
+ * 是否清空云服务器主机名相关设置信息,非必填,默认为 false。
6674
+ 填 true 代表清空主机名设置信息,清空后基于此新创建的云主机将不设置主机名。
6675
+ * @type {boolean || null}
6676
+ */
6677
+ this.ClearHostNameSettings = null;
6678
+
6679
+ /**
6680
+ * 是否清空云服务器实例名相关设置信息,非必填,默认为 false。
6681
+ 填 true 代表清空主机名设置信息,清空后基于此新创建的云主机将按照“as-{{ 伸缩组AutoScalingGroupName }}”进行设置。
6682
+ * @type {boolean || null}
6683
+ */
6684
+ this.ClearInstanceNameSettings = null;
6685
+
6686
+ }
6687
+
6688
+ /**
6689
+ * @private
6690
+ */
6691
+ deserialize(params) {
6692
+ if (!params) {
6693
+ return;
5823
6694
  }
5824
- this.LifecycleTransitionType = 'LifecycleTransitionType' in params ? params.LifecycleTransitionType : null;
6695
+ this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
6696
+ this.ClearDataDisks = 'ClearDataDisks' in params ? params.ClearDataDisks : null;
6697
+ this.ClearHostNameSettings = 'ClearHostNameSettings' in params ? params.ClearHostNameSettings : null;
6698
+ this.ClearInstanceNameSettings = 'ClearInstanceNameSettings' in params ? params.ClearInstanceNameSettings : null;
5825
6699
 
5826
6700
  }
5827
6701
  }
5828
6702
 
5829
6703
  /**
5830
- * 应用型负载均衡器
6704
+ * 应用型负载均衡器标识信息
5831
6705
  * @class
5832
6706
  */
5833
- class ForwardLoadBalancer extends AbstractModel {
6707
+ class ForwardLoadBalancerIdentification extends AbstractModel {
5834
6708
  constructor(){
5835
6709
  super();
5836
6710
 
@@ -5846,24 +6720,12 @@ class ForwardLoadBalancer extends AbstractModel {
5846
6720
  */
5847
6721
  this.ListenerId = null;
5848
6722
 
5849
- /**
5850
- * 目标规则属性列表
5851
- * @type {Array.<TargetAttribute> || null}
5852
- */
5853
- this.TargetAttributes = null;
5854
-
5855
6723
  /**
5856
6724
  * 转发规则ID,注意:针对七层监听器此参数必填
5857
6725
  * @type {string || null}
5858
6726
  */
5859
6727
  this.LocationId = null;
5860
6728
 
5861
- /**
5862
- * 负载均衡实例所属地域,默认取AS服务所在地域。格式与公共参数Region相同,如:"ap-guangzhou"。
5863
- * @type {string || null}
5864
- */
5865
- this.Region = null;
5866
-
5867
6729
  }
5868
6730
 
5869
6731
  /**
@@ -5875,40 +6737,39 @@ class ForwardLoadBalancer extends AbstractModel {
5875
6737
  }
5876
6738
  this.LoadBalancerId = 'LoadBalancerId' in params ? params.LoadBalancerId : null;
5877
6739
  this.ListenerId = 'ListenerId' in params ? params.ListenerId : null;
5878
-
5879
- if (params.TargetAttributes) {
5880
- this.TargetAttributes = new Array();
5881
- for (let z in params.TargetAttributes) {
5882
- let obj = new TargetAttribute();
5883
- obj.deserialize(params.TargetAttributes[z]);
5884
- this.TargetAttributes.push(obj);
5885
- }
5886
- }
5887
6740
  this.LocationId = 'LocationId' in params ? params.LocationId : null;
5888
- this.Region = 'Region' in params ? params.Region : null;
5889
6741
 
5890
6742
  }
5891
6743
  }
5892
6744
 
5893
6745
  /**
5894
- * PreviewPaiDomainName返回参数结构体
6746
+ * 伸缩组配置建议。
5895
6747
  * @class
5896
6748
  */
5897
- class PreviewPaiDomainNameResponse extends AbstractModel {
6749
+ class AutoScalingAdvice extends AbstractModel {
5898
6750
  constructor(){
5899
6751
  super();
5900
6752
 
5901
6753
  /**
5902
- * 可用的PAI域名
6754
+ * 伸缩组ID。
5903
6755
  * @type {string || null}
5904
6756
  */
5905
- this.DomainName = null;
6757
+ this.AutoScalingGroupId = null;
5906
6758
 
5907
6759
  /**
5908
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6760
+ * 伸缩组警告级别。取值范围:<br>
6761
+ <li>NORMAL:正常<br>
6762
+ <li>WARNING:警告级别<br>
6763
+ <li>CRITICAL:严重级别<br>
5909
6764
  * @type {string || null}
5910
6765
  */
5911
- this.RequestId = null;
6766
+ this.Level = null;
6767
+
6768
+ /**
6769
+ * 伸缩组配置建议集合。
6770
+ * @type {Array.<Advice> || null}
6771
+ */
6772
+ this.Advices = null;
5912
6773
 
5913
6774
  }
5914
6775
 
@@ -5919,17 +6780,26 @@ class PreviewPaiDomainNameResponse extends AbstractModel {
5919
6780
  if (!params) {
5920
6781
  return;
5921
6782
  }
5922
- this.DomainName = 'DomainName' in params ? params.DomainName : null;
5923
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
6783
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6784
+ this.Level = 'Level' in params ? params.Level : null;
6785
+
6786
+ if (params.Advices) {
6787
+ this.Advices = new Array();
6788
+ for (let z in params.Advices) {
6789
+ let obj = new Advice();
6790
+ obj.deserialize(params.Advices[z]);
6791
+ this.Advices.push(obj);
6792
+ }
6793
+ }
5924
6794
 
5925
6795
  }
5926
6796
  }
5927
6797
 
5928
6798
  /**
5929
- * DeleteAutoScalingGroup请求参数结构体
6799
+ * StartAutoScalingInstances请求参数结构体
5930
6800
  * @class
5931
6801
  */
5932
- class DeleteAutoScalingGroupRequest extends AbstractModel {
6802
+ class StartAutoScalingInstancesRequest extends AbstractModel {
5933
6803
  constructor(){
5934
6804
  super();
5935
6805
 
@@ -5939,6 +6809,12 @@ class DeleteAutoScalingGroupRequest extends AbstractModel {
5939
6809
  */
5940
6810
  this.AutoScalingGroupId = null;
5941
6811
 
6812
+ /**
6813
+ * 待开启的CVM实例ID列表
6814
+ * @type {Array.<string> || null}
6815
+ */
6816
+ this.InstanceIds = null;
6817
+
5942
6818
  }
5943
6819
 
5944
6820
  /**
@@ -5949,15 +6825,16 @@ class DeleteAutoScalingGroupRequest extends AbstractModel {
5949
6825
  return;
5950
6826
  }
5951
6827
  this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6828
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
5952
6829
 
5953
6830
  }
5954
6831
  }
5955
6832
 
5956
6833
  /**
5957
- * RemoveInstances请求参数结构体
6834
+ * AttachInstances请求参数结构体
5958
6835
  * @class
5959
6836
  */
5960
- class RemoveInstancesRequest extends AbstractModel {
6837
+ class AttachInstancesRequest extends AbstractModel {
5961
6838
  constructor(){
5962
6839
  super();
5963
6840
 
@@ -5989,10 +6866,10 @@ class RemoveInstancesRequest extends AbstractModel {
5989
6866
  }
5990
6867
 
5991
6868
  /**
5992
- * StartAutoScalingInstances请求参数结构体
6869
+ * AttachLoadBalancers请求参数结构体
5993
6870
  * @class
5994
6871
  */
5995
- class StartAutoScalingInstancesRequest extends AbstractModel {
6872
+ class AttachLoadBalancersRequest extends AbstractModel {
5996
6873
  constructor(){
5997
6874
  super();
5998
6875
 
@@ -6003,10 +6880,16 @@ class StartAutoScalingInstancesRequest extends AbstractModel {
6003
6880
  this.AutoScalingGroupId = null;
6004
6881
 
6005
6882
  /**
6006
- * 待开启的CVM实例ID列表
6883
+ * 传统型负载均衡器ID列表,每个伸缩组绑定传统型负载均衡器数量上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
6007
6884
  * @type {Array.<string> || null}
6008
6885
  */
6009
- this.InstanceIds = null;
6886
+ this.LoadBalancerIds = null;
6887
+
6888
+ /**
6889
+ * 应用型负载均衡器列表,每个伸缩组绑定应用型负载均衡器数量上限为50,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
6890
+ * @type {Array.<ForwardLoadBalancer> || null}
6891
+ */
6892
+ this.ForwardLoadBalancers = null;
6010
6893
 
6011
6894
  }
6012
6895
 
@@ -6018,30 +6901,62 @@ class StartAutoScalingInstancesRequest extends AbstractModel {
6018
6901
  return;
6019
6902
  }
6020
6903
  this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6021
- this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
6904
+ this.LoadBalancerIds = 'LoadBalancerIds' in params ? params.LoadBalancerIds : null;
6905
+
6906
+ if (params.ForwardLoadBalancers) {
6907
+ this.ForwardLoadBalancers = new Array();
6908
+ for (let z in params.ForwardLoadBalancers) {
6909
+ let obj = new ForwardLoadBalancer();
6910
+ obj.deserialize(params.ForwardLoadBalancers[z]);
6911
+ this.ForwardLoadBalancers.push(obj);
6912
+ }
6913
+ }
6022
6914
 
6023
6915
  }
6024
6916
  }
6025
6917
 
6026
6918
  /**
6027
- * AttachInstances请求参数结构体
6919
+ * 竞价混合模式下,各计费类型实例的分配策略。包括按量计费实例和竞价计费实例。
6028
6920
  * @class
6029
6921
  */
6030
- class AttachInstancesRequest extends AbstractModel {
6922
+ class SpotMixedAllocationPolicy extends AbstractModel {
6031
6923
  constructor(){
6032
6924
  super();
6033
6925
 
6034
6926
  /**
6035
- * 伸缩组ID
6927
+ * 混合模式下,基础容量的大小,基础容量部分固定为按量计费实例。默认值 0,最大不可超过伸缩组的最大实例数。
6928
+ 注意:此字段可能返回 null,表示取不到有效值。
6929
+ * @type {number || null}
6930
+ */
6931
+ this.BaseCapacity = null;
6932
+
6933
+ /**
6934
+ * 超出基础容量部分,按量计费实例所占的比例。取值范围 [0, 100],0 代表超出基础容量的部分仅生产竞价实例,100 代表仅生产按量实例,默认值为 70。按百分比计算按量实例数时,向上取整。
6935
+ 比如,总期望实例数取 3,基础容量取 1,超基础部分按量百分比取 1,则最终按量 2 台(1 台来自基础容量,1 台按百分比向上取整得到),竞价 1台。
6936
+ 注意:此字段可能返回 null,表示取不到有效值。
6937
+ * @type {number || null}
6938
+ */
6939
+ this.OnDemandPercentageAboveBaseCapacity = null;
6940
+
6941
+ /**
6942
+ * 混合模式下,竞价实例的分配策略。取值包括 COST_OPTIMIZED 和 CAPACITY_OPTIMIZED,默认取 COST_OPTIMIZED。
6943
+ <br><li> COST_OPTIMIZED,成本优化策略。对于启动配置内的所有机型,按照各机型在各可用区的每核单价由小到大依次尝试。优先尝试购买每核单价最便宜的,如果购买失败则尝试购买次便宜的,以此类推。
6944
+ <br><li> CAPACITY_OPTIMIZED,容量优化策略。对于启动配置内的所有机型,按照各机型在各可用区的库存情况由大到小依次尝试。优先尝试购买剩余库存最大的机型,这样可尽量降低竞价实例被动回收的发生概率。
6945
+ 注意:此字段可能返回 null,表示取不到有效值。
6036
6946
  * @type {string || null}
6037
6947
  */
6038
- this.AutoScalingGroupId = null;
6948
+ this.SpotAllocationStrategy = null;
6039
6949
 
6040
6950
  /**
6041
- * CVM实例ID列表
6042
- * @type {Array.<string> || null}
6951
+ * 按量实例替补功能。取值范围:
6952
+ <br><li> TRUE,开启该功能,当所有竞价机型因库存不足等原因全部购买失败后,尝试购买按量实例。
6953
+ <br><li> FALSE,不开启该功能,伸缩组在需要扩容竞价实例时仅尝试所配置的竞价机型。
6954
+
6955
+ 默认取值: TRUE。
6956
+ 注意:此字段可能返回 null,表示取不到有效值。
6957
+ * @type {boolean || null}
6043
6958
  */
6044
- this.InstanceIds = null;
6959
+ this.CompensateWithBaseInstance = null;
6045
6960
 
6046
6961
  }
6047
6962
 
@@ -6052,8 +6967,10 @@ class AttachInstancesRequest extends AbstractModel {
6052
6967
  if (!params) {
6053
6968
  return;
6054
6969
  }
6055
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6056
- this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
6970
+ this.BaseCapacity = 'BaseCapacity' in params ? params.BaseCapacity : null;
6971
+ this.OnDemandPercentageAboveBaseCapacity = 'OnDemandPercentageAboveBaseCapacity' in params ? params.OnDemandPercentageAboveBaseCapacity : null;
6972
+ this.SpotAllocationStrategy = 'SpotAllocationStrategy' in params ? params.SpotAllocationStrategy : null;
6973
+ this.CompensateWithBaseInstance = 'CompensateWithBaseInstance' in params ? params.CompensateWithBaseInstance : null;
6057
6974
 
6058
6975
  }
6059
6976
  }
@@ -6203,6 +7120,12 @@ class Activity extends AbstractModel {
6203
7120
  */
6204
7121
  this.LifecycleActionResultSet = null;
6205
7122
 
7123
+ /**
7124
+ * 伸缩活动状态详细描述。
7125
+ * @type {Array.<DetailedStatusMessage> || null}
7126
+ */
7127
+ this.DetailedStatusMessageSet = null;
7128
+
6206
7129
  }
6207
7130
 
6208
7131
  /**
@@ -6242,6 +7165,15 @@ class Activity extends AbstractModel {
6242
7165
  }
6243
7166
  }
6244
7167
 
7168
+ if (params.DetailedStatusMessageSet) {
7169
+ this.DetailedStatusMessageSet = new Array();
7170
+ for (let z in params.DetailedStatusMessageSet) {
7171
+ let obj = new DetailedStatusMessage();
7172
+ obj.deserialize(params.DetailedStatusMessageSet[z]);
7173
+ this.DetailedStatusMessageSet.push(obj);
7174
+ }
7175
+ }
7176
+
6245
7177
  }
6246
7178
  }
6247
7179
 
@@ -6348,18 +7280,48 @@ class RunMonitorServiceEnabled extends AbstractModel {
6348
7280
  }
6349
7281
 
6350
7282
  /**
6351
- * DeleteLifecycleHook返回参数结构体
7283
+ * ModifyNotificationConfiguration请求参数结构体
6352
7284
  * @class
6353
7285
  */
6354
- class DeleteLifecycleHookResponse extends AbstractModel {
7286
+ class ModifyNotificationConfigurationRequest extends AbstractModel {
6355
7287
  constructor(){
6356
7288
  super();
6357
7289
 
6358
7290
  /**
6359
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
7291
+ * 待修改的通知ID。
6360
7292
  * @type {string || null}
6361
7293
  */
6362
- this.RequestId = null;
7294
+ this.AutoScalingNotificationId = null;
7295
+
7296
+ /**
7297
+ * 通知类型,即为需要订阅的通知类型集合,取值范围如下:
7298
+ <li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
7299
+ <li>SCALE_OUT_FAILED:扩容失败</li>
7300
+ <li>SCALE_IN_SUCCESSFUL:缩容成功</li>
7301
+ <li>SCALE_IN_FAILED:缩容失败</li>
7302
+ <li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
7303
+ <li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
7304
+ * @type {Array.<string> || null}
7305
+ */
7306
+ this.NotificationTypes = null;
7307
+
7308
+ /**
7309
+ * 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。
7310
+ * @type {Array.<string> || null}
7311
+ */
7312
+ this.NotificationUserGroupIds = null;
7313
+
7314
+ /**
7315
+ * CMQ 队列或 TDMQ CMQ 队列名。
7316
+ * @type {string || null}
7317
+ */
7318
+ this.QueueName = null;
7319
+
7320
+ /**
7321
+ * CMQ 主题或 TDMQ CMQ 主题名。
7322
+ * @type {string || null}
7323
+ */
7324
+ this.TopicName = null;
6363
7325
 
6364
7326
  }
6365
7327
 
@@ -6370,7 +7332,11 @@ class DeleteLifecycleHookResponse extends AbstractModel {
6370
7332
  if (!params) {
6371
7333
  return;
6372
7334
  }
6373
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
7335
+ this.AutoScalingNotificationId = 'AutoScalingNotificationId' in params ? params.AutoScalingNotificationId : null;
7336
+ this.NotificationTypes = 'NotificationTypes' in params ? params.NotificationTypes : null;
7337
+ this.NotificationUserGroupIds = 'NotificationUserGroupIds' in params ? params.NotificationUserGroupIds : null;
7338
+ this.QueueName = 'QueueName' in params ? params.QueueName : null;
7339
+ this.TopicName = 'TopicName' in params ? params.TopicName : null;
6374
7340
 
6375
7341
  }
6376
7342
  }
@@ -6414,6 +7380,69 @@ class ActivtyRelatedInstance extends AbstractModel {
6414
7380
  }
6415
7381
  }
6416
7382
 
7383
+ /**
7384
+ * CreateAutoScalingGroupFromInstance请求参数结构体
7385
+ * @class
7386
+ */
7387
+ class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel {
7388
+ constructor(){
7389
+ super();
7390
+
7391
+ /**
7392
+ * 伸缩组名称,在您账号中必须唯一。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超55个字节。
7393
+ * @type {string || null}
7394
+ */
7395
+ this.AutoScalingGroupName = null;
7396
+
7397
+ /**
7398
+ * 实例ID
7399
+ * @type {string || null}
7400
+ */
7401
+ this.InstanceId = null;
7402
+
7403
+ /**
7404
+ * 最小实例数,取值范围为0-2000。
7405
+ * @type {number || null}
7406
+ */
7407
+ this.MinSize = null;
7408
+
7409
+ /**
7410
+ * 最大实例数,取值范围为0-2000。
7411
+ * @type {number || null}
7412
+ */
7413
+ this.MaxSize = null;
7414
+
7415
+ /**
7416
+ * 期望实例数,大小介于最小实例数和最大实例数之间。
7417
+ * @type {number || null}
7418
+ */
7419
+ this.DesiredCapacity = null;
7420
+
7421
+ /**
7422
+ * 是否继承实例标签,默认值为False
7423
+ * @type {boolean || null}
7424
+ */
7425
+ this.InheritInstanceTag = null;
7426
+
7427
+ }
7428
+
7429
+ /**
7430
+ * @private
7431
+ */
7432
+ deserialize(params) {
7433
+ if (!params) {
7434
+ return;
7435
+ }
7436
+ this.AutoScalingGroupName = 'AutoScalingGroupName' in params ? params.AutoScalingGroupName : null;
7437
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
7438
+ this.MinSize = 'MinSize' in params ? params.MinSize : null;
7439
+ this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
7440
+ this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
7441
+ this.InheritInstanceTag = 'InheritInstanceTag' in params ? params.InheritInstanceTag : null;
7442
+
7443
+ }
7444
+ }
7445
+
6417
7446
  /**
6418
7447
  * 描述了启动配置创建实例的公网可访问性,声明了实例的公网使用计费模式,最大带宽等
6419
7448
  * @class
@@ -6559,25 +7588,13 @@ class InstanceChargePrepaid extends AbstractModel {
6559
7588
  }
6560
7589
 
6561
7590
  /**
6562
- * DescribePaiInstances返回参数结构体
7591
+ * DeleteLifecycleHook返回参数结构体
6563
7592
  * @class
6564
7593
  */
6565
- class DescribePaiInstancesResponse extends AbstractModel {
7594
+ class DeleteLifecycleHookResponse extends AbstractModel {
6566
7595
  constructor(){
6567
7596
  super();
6568
7597
 
6569
- /**
6570
- * 符合条件的PAI实例数量
6571
- * @type {number || null}
6572
- */
6573
- this.TotalCount = null;
6574
-
6575
- /**
6576
- * PAI实例详细信息
6577
- * @type {Array.<PaiInstance> || null}
6578
- */
6579
- this.PaiInstanceSet = null;
6580
-
6581
7598
  /**
6582
7599
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6583
7600
  * @type {string || null}
@@ -6593,16 +7610,6 @@ class DescribePaiInstancesResponse extends AbstractModel {
6593
7610
  if (!params) {
6594
7611
  return;
6595
7612
  }
6596
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
6597
-
6598
- if (params.PaiInstanceSet) {
6599
- this.PaiInstanceSet = new Array();
6600
- for (let z in params.PaiInstanceSet) {
6601
- let obj = new PaiInstance();
6602
- obj.deserialize(params.PaiInstanceSet[z]);
6603
- this.PaiInstanceSet.push(obj);
6604
- }
6605
- }
6606
7613
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
6607
7614
 
6608
7615
  }
@@ -6655,76 +7662,81 @@ module.exports = {
6655
7662
  ModifyLaunchConfigurationAttributesRequest: ModifyLaunchConfigurationAttributesRequest,
6656
7663
  DisableAutoScalingGroupRequest: DisableAutoScalingGroupRequest,
6657
7664
  ModifyAutoScalingGroupRequest: ModifyAutoScalingGroupRequest,
7665
+ ScaleOutInstancesRequest: ScaleOutInstancesRequest,
6658
7666
  AutoScalingNotification: AutoScalingNotification,
6659
7667
  ModifyScheduledActionRequest: ModifyScheduledActionRequest,
6660
7668
  DescribeAutoScalingGroupsRequest: DescribeAutoScalingGroupsRequest,
6661
- CreateAutoScalingGroupResponse: CreateAutoScalingGroupResponse,
7669
+ LaunchConfiguration: LaunchConfiguration,
6662
7670
  DescribeAccountLimitsResponse: DescribeAccountLimitsResponse,
6663
- CreatePaiInstanceResponse: CreatePaiInstanceResponse,
6664
7671
  CreateLaunchConfigurationResponse: CreateLaunchConfigurationResponse,
7672
+ Advice: Advice,
6665
7673
  CreateLifecycleHookResponse: CreateLifecycleHookResponse,
7674
+ ClearLaunchConfigurationAttributesResponse: ClearLaunchConfigurationAttributesResponse,
6666
7675
  DescribeAutoScalingGroupsResponse: DescribeAutoScalingGroupsResponse,
6667
- CreatePaiInstanceRequest: CreatePaiInstanceRequest,
7676
+ CreateScheduledActionRequest: CreateScheduledActionRequest,
6668
7677
  SystemDisk: SystemDisk,
6669
7678
  SpotMarketOptions: SpotMarketOptions,
6670
7679
  StopAutoScalingInstancesResponse: StopAutoScalingInstancesResponse,
6671
7680
  DescribeScalingPoliciesRequest: DescribeScalingPoliciesRequest,
6672
7681
  InstanceNameSettings: InstanceNameSettings,
7682
+ DetailedStatusMessage: DetailedStatusMessage,
6673
7683
  ModifyScheduledActionResponse: ModifyScheduledActionResponse,
6674
- CreateAutoScalingGroupFromInstanceRequest: CreateAutoScalingGroupFromInstanceRequest,
7684
+ AttachLoadBalancersResponse: AttachLoadBalancersResponse,
6675
7685
  ExecuteScalingPolicyResponse: ExecuteScalingPolicyResponse,
6676
- ModifyLaunchConfigurationAttributesResponse: ModifyLaunchConfigurationAttributesResponse,
7686
+ DeleteAutoScalingGroupRequest: DeleteAutoScalingGroupRequest,
6677
7687
  SetInstancesProtectionResponse: SetInstancesProtectionResponse,
6678
7688
  StartAutoScalingInstancesResponse: StartAutoScalingInstancesResponse,
6679
7689
  CompleteLifecycleActionRequest: CompleteLifecycleActionRequest,
6680
7690
  CreateScalingPolicyResponse: CreateScalingPolicyResponse,
6681
7691
  CreateNotificationConfigurationResponse: CreateNotificationConfigurationResponse,
6682
7692
  DescribeLaunchConfigurationsResponse: DescribeLaunchConfigurationsResponse,
7693
+ RemoveInstancesRequest: RemoveInstancesRequest,
6683
7694
  DeleteScalingPolicyResponse: DeleteScalingPolicyResponse,
6684
7695
  Tag: Tag,
7696
+ DetachLoadBalancersRequest: DetachLoadBalancersRequest,
6685
7697
  DescribeAutoScalingInstancesRequest: DescribeAutoScalingInstancesRequest,
6686
- LimitedLoginSettings: LimitedLoginSettings,
6687
7698
  ModifyLoadBalancersRequest: ModifyLoadBalancersRequest,
6688
7699
  RemoveInstancesResponse: RemoveInstancesResponse,
6689
7700
  ModifyScalingPolicyResponse: ModifyScalingPolicyResponse,
6690
7701
  SetInstancesProtectionRequest: SetInstancesProtectionRequest,
6691
7702
  DeleteNotificationConfigurationResponse: DeleteNotificationConfigurationResponse,
6692
7703
  DetachInstancesResponse: DetachInstancesResponse,
7704
+ ModifyLaunchConfigurationAttributesResponse: ModifyLaunchConfigurationAttributesResponse,
6693
7705
  CreateLaunchConfigurationRequest: CreateLaunchConfigurationRequest,
6694
7706
  AutoScalingGroup: AutoScalingGroup,
6695
7707
  AttachInstancesResponse: AttachInstancesResponse,
6696
7708
  DescribeAutoScalingGroupLastActivitiesResponse: DescribeAutoScalingGroupLastActivitiesResponse,
6697
7709
  DescribeAccountLimitsRequest: DescribeAccountLimitsRequest,
6698
7710
  UpgradeLifecycleHookRequest: UpgradeLifecycleHookRequest,
7711
+ DetachLoadBalancersResponse: DetachLoadBalancersResponse,
6699
7712
  ScalingPolicy: ScalingPolicy,
6700
7713
  DescribeAutoScalingGroupLastActivitiesRequest: DescribeAutoScalingGroupLastActivitiesRequest,
6701
7714
  HostNameSettings: HostNameSettings,
6702
7715
  ModifyLoadBalancersResponse: ModifyLoadBalancersResponse,
6703
- DescribePaiInstancesRequest: DescribePaiInstancesRequest,
6704
7716
  CreateNotificationConfigurationRequest: CreateNotificationConfigurationRequest,
6705
7717
  DescribeScheduledActionsResponse: DescribeScheduledActionsResponse,
6706
- ModifyNotificationConfigurationRequest: ModifyNotificationConfigurationRequest,
6707
7718
  DeleteLifecycleHookRequest: DeleteLifecycleHookRequest,
7719
+ ModifyLoadBalancerTargetAttributesResponse: ModifyLoadBalancerTargetAttributesResponse,
6708
7720
  ModifyAutoScalingGroupResponse: ModifyAutoScalingGroupResponse,
6709
7721
  DeleteLaunchConfigurationRequest: DeleteLaunchConfigurationRequest,
6710
7722
  ModifyScalingPolicyRequest: ModifyScalingPolicyRequest,
6711
7723
  InstanceMarketOptionsRequest: InstanceMarketOptionsRequest,
6712
7724
  UpgradeLifecycleHookResponse: UpgradeLifecycleHookResponse,
6713
7725
  InstanceTag: InstanceTag,
6714
- PaiInstance: PaiInstance,
7726
+ ModifyLifecycleHookResponse: ModifyLifecycleHookResponse,
7727
+ DescribeAutoScalingAdvicesResponse: DescribeAutoScalingAdvicesResponse,
6715
7728
  CreateAutoScalingGroupRequest: CreateAutoScalingGroupRequest,
6716
7729
  DeleteScheduledActionResponse: DeleteScheduledActionResponse,
6717
7730
  UpgradeLaunchConfigurationRequest: UpgradeLaunchConfigurationRequest,
6718
7731
  DescribeAutoScalingActivitiesResponse: DescribeAutoScalingActivitiesResponse,
6719
7732
  DescribeNotificationConfigurationsResponse: DescribeNotificationConfigurationsResponse,
6720
7733
  DataDisk: DataDisk,
6721
- PreviewPaiDomainNameRequest: PreviewPaiDomainNameRequest,
6722
7734
  DeleteScalingPolicyRequest: DeleteScalingPolicyRequest,
6723
7735
  LoginSettings: LoginSettings,
6724
7736
  CreateAutoScalingGroupFromInstanceResponse: CreateAutoScalingGroupFromInstanceResponse,
6725
7737
  DetachInstancesRequest: DetachInstancesRequest,
6726
7738
  Instance: Instance,
6727
- CreateScheduledActionRequest: CreateScheduledActionRequest,
7739
+ DescribeAutoScalingInstancesResponse: DescribeAutoScalingInstancesResponse,
6728
7740
  EnhancedService: EnhancedService,
6729
7741
  DeleteLaunchConfigurationResponse: DeleteLaunchConfigurationResponse,
6730
7742
  DescribeScheduledActionsRequest: DescribeScheduledActionsRequest,
@@ -6735,44 +7747,53 @@ module.exports = {
6735
7747
  CreateScheduledActionResponse: CreateScheduledActionResponse,
6736
7748
  CreateLifecycleHookRequest: CreateLifecycleHookRequest,
6737
7749
  ScheduledAction: ScheduledAction,
7750
+ ModifyLifecycleHookRequest: ModifyLifecycleHookRequest,
6738
7751
  CompleteLifecycleActionResponse: CompleteLifecycleActionResponse,
7752
+ ScaleOutInstancesResponse: ScaleOutInstancesResponse,
6739
7753
  Filter: Filter,
6740
7754
  DescribeLifecycleHooksRequest: DescribeLifecycleHooksRequest,
6741
7755
  ServiceSettings: ServiceSettings,
6742
- LaunchConfiguration: LaunchConfiguration,
7756
+ CreateAutoScalingGroupResponse: CreateAutoScalingGroupResponse,
6743
7757
  TargetAttribute: TargetAttribute,
6744
7758
  ModifyNotificationConfigurationResponse: ModifyNotificationConfigurationResponse,
6745
- DescribeAutoScalingInstancesResponse: DescribeAutoScalingInstancesResponse,
7759
+ LimitedLoginSettings: LimitedLoginSettings,
6746
7760
  DescribeLifecycleHooksResponse: DescribeLifecycleHooksResponse,
6747
7761
  CreateScalingPolicyRequest: CreateScalingPolicyRequest,
7762
+ ScaleInInstancesResponse: ScaleInInstancesResponse,
7763
+ DescribeAutoScalingAdvicesRequest: DescribeAutoScalingAdvicesRequest,
6748
7764
  DeleteNotificationConfigurationRequest: DeleteNotificationConfigurationRequest,
6749
7765
  DescribeLaunchConfigurationsRequest: DescribeLaunchConfigurationsRequest,
6750
7766
  NotificationTarget: NotificationTarget,
7767
+ ModifyLoadBalancerTargetAttributesRequest: ModifyLoadBalancerTargetAttributesRequest,
6751
7768
  DeleteAutoScalingGroupResponse: DeleteAutoScalingGroupResponse,
6752
7769
  LifecycleActionResultInfo: LifecycleActionResultInfo,
6753
7770
  AutoScalingGroupAbstract: AutoScalingGroupAbstract,
6754
7771
  EnableAutoScalingGroupRequest: EnableAutoScalingGroupRequest,
6755
7772
  MetricAlarm: MetricAlarm,
6756
7773
  DescribeNotificationConfigurationsRequest: DescribeNotificationConfigurationsRequest,
7774
+ ScaleInInstancesRequest: ScaleInInstancesRequest,
6757
7775
  LifecycleHook: LifecycleHook,
6758
7776
  ForwardLoadBalancer: ForwardLoadBalancer,
6759
- PreviewPaiDomainNameResponse: PreviewPaiDomainNameResponse,
6760
- DeleteAutoScalingGroupRequest: DeleteAutoScalingGroupRequest,
6761
- RemoveInstancesRequest: RemoveInstancesRequest,
7777
+ ClearLaunchConfigurationAttributesRequest: ClearLaunchConfigurationAttributesRequest,
7778
+ ForwardLoadBalancerIdentification: ForwardLoadBalancerIdentification,
7779
+ AutoScalingAdvice: AutoScalingAdvice,
6762
7780
  StartAutoScalingInstancesRequest: StartAutoScalingInstancesRequest,
6763
7781
  AttachInstancesRequest: AttachInstancesRequest,
7782
+ AttachLoadBalancersRequest: AttachLoadBalancersRequest,
7783
+ SpotMixedAllocationPolicy: SpotMixedAllocationPolicy,
6764
7784
  DescribeScalingPoliciesResponse: DescribeScalingPoliciesResponse,
6765
7785
  Activity: Activity,
6766
7786
  ModifyDesiredCapacityResponse: ModifyDesiredCapacityResponse,
6767
7787
  StopAutoScalingInstancesRequest: StopAutoScalingInstancesRequest,
6768
7788
  RunMonitorServiceEnabled: RunMonitorServiceEnabled,
6769
- DeleteLifecycleHookResponse: DeleteLifecycleHookResponse,
7789
+ ModifyNotificationConfigurationRequest: ModifyNotificationConfigurationRequest,
6770
7790
  ActivtyRelatedInstance: ActivtyRelatedInstance,
7791
+ CreateAutoScalingGroupFromInstanceRequest: CreateAutoScalingGroupFromInstanceRequest,
6771
7792
  InternetAccessible: InternetAccessible,
6772
7793
  EnableAutoScalingGroupResponse: EnableAutoScalingGroupResponse,
6773
7794
  UpgradeLaunchConfigurationResponse: UpgradeLaunchConfigurationResponse,
6774
7795
  InstanceChargePrepaid: InstanceChargePrepaid,
6775
- DescribePaiInstancesResponse: DescribePaiInstancesResponse,
7796
+ DeleteLifecycleHookResponse: DeleteLifecycleHookResponse,
6776
7797
  ExecuteScalingPolicyRequest: ExecuteScalingPolicyRequest,
6777
7798
 
6778
7799
  }