tencentcloud-sdk-nodejs 3.0.269 → 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 (376) 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 +39 -1
  8. package/tencentcloud/af/v20200226/models.js +1112 -49
  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 +321 -68
  12. package/tencentcloud/ame/v20190916/models.js +3993 -804
  13. package/tencentcloud/ams/v20201229/ams_client.js +41 -13
  14. package/tencentcloud/ams/v20201229/models.js +485 -126
  15. package/tencentcloud/antiddos/index.js +3 -0
  16. package/tencentcloud/antiddos/v20200309/antiddos_client.js +1256 -0
  17. package/tencentcloud/antiddos/v20200309/index.js +4 -0
  18. package/tencentcloud/antiddos/v20200309/models.js +12542 -0
  19. package/tencentcloud/api/v20201106/api_client.js +16 -2
  20. package/tencentcloud/api/v20201106/models.js +118 -2
  21. package/tencentcloud/apigateway/v20180808/apigateway_client.js +785 -397
  22. package/tencentcloud/apigateway/v20180808/models.js +9195 -4643
  23. package/tencentcloud/apm/index.js +3 -0
  24. package/tencentcloud/apm/v20210622/apm_client.js +123 -0
  25. package/tencentcloud/apm/v20210622/index.js +4 -0
  26. package/tencentcloud/apm/v20210622/models.js +1459 -0
  27. package/tencentcloud/as/v20180419/as_client.js +129 -58
  28. package/tencentcloud/as/v20180419/models.js +1550 -864
  29. package/tencentcloud/asr/v20190614/asr_client.js +12 -19
  30. package/tencentcloud/asr/v20190614/models.js +55 -22
  31. package/tencentcloud/asw/v20200722/models.js +1 -1
  32. package/tencentcloud/ba/v20200720/ba_client.js +27 -0
  33. package/tencentcloud/ba/v20200720/models.js +158 -0
  34. package/tencentcloud/batch/v20170312/batch_client.js +1 -0
  35. package/tencentcloud/batch/v20170312/models.js +85 -10
  36. package/tencentcloud/bda/v20200324/bda_client.js +32 -19
  37. package/tencentcloud/bda/v20200324/models.js +97 -25
  38. package/tencentcloud/bi/index.js +3 -0
  39. package/tencentcloud/bi/v20220105/bi_client.js +61 -0
  40. package/tencentcloud/bi/v20220105/index.js +4 -0
  41. package/tencentcloud/bi/v20220105/models.js +391 -0
  42. package/tencentcloud/billing/v20180709/billing_client.js +33 -1
  43. package/tencentcloud/billing/v20180709/models.js +930 -74
  44. package/tencentcloud/bm/v20180423/bm_client.js +4 -2
  45. package/tencentcloud/bm/v20180423/models.js +32 -2
  46. package/tencentcloud/bsca/index.js +3 -0
  47. package/tencentcloud/bsca/v20210811/bsca_client.js +99 -0
  48. package/tencentcloud/bsca/v20210811/index.js +4 -0
  49. package/tencentcloud/bsca/v20210811/models.js +1310 -0
  50. package/tencentcloud/btoe/index.js +1 -1
  51. package/tencentcloud/btoe/v20210303/btoe_client.js +36 -12
  52. package/tencentcloud/btoe/v20210514/btoe_client.js +203 -0
  53. package/tencentcloud/btoe/v20210514/index.js +4 -0
  54. package/tencentcloud/btoe/v20210514/models.js +1219 -0
  55. package/tencentcloud/cam/v20190116/cam_client.js +344 -62
  56. package/tencentcloud/cam/v20190116/models.js +4041 -1648
  57. package/tencentcloud/captcha/v20190722/captcha_client.js +2 -2
  58. package/tencentcloud/captcha/v20190722/models.js +33 -10
  59. package/tencentcloud/car/index.js +3 -0
  60. package/tencentcloud/car/v20220110/car_client.js +72 -0
  61. package/tencentcloud/car/v20220110/index.js +4 -0
  62. package/tencentcloud/car/v20220110/models.js +237 -0
  63. package/tencentcloud/casb/index.js +3 -0
  64. package/tencentcloud/casb/v20200507/casb_client.js +54 -0
  65. package/tencentcloud/casb/v20200507/index.js +4 -0
  66. package/tencentcloud/casb/v20200507/models.js +158 -0
  67. package/tencentcloud/cat/v20180409/cat_client.js +181 -55
  68. package/tencentcloud/cat/v20180409/models.js +3392 -1784
  69. package/tencentcloud/cbs/v20170312/cbs_client.js +123 -72
  70. package/tencentcloud/cbs/v20170312/models.js +2359 -1725
  71. package/tencentcloud/ccc/v20200210/ccc_client.js +237 -54
  72. package/tencentcloud/ccc/v20200210/models.js +2818 -685
  73. package/tencentcloud/cdb/v20170320/cdb_client.js +569 -316
  74. package/tencentcloud/cdb/v20170320/models.js +10271 -7177
  75. package/tencentcloud/cdc/index.js +3 -0
  76. package/tencentcloud/cdc/v20201214/cdc_client.js +308 -0
  77. package/tencentcloud/cdc/v20201214/index.js +4 -0
  78. package/tencentcloud/cdc/v20201214/models.js +3232 -0
  79. package/tencentcloud/cdn/v20180606/cdn_client.js +324 -68
  80. package/tencentcloud/cdn/v20180606/models.js +7343 -1979
  81. package/tencentcloud/cfg/index.js +3 -0
  82. package/tencentcloud/cfg/v20210820/cfg_client.js +181 -0
  83. package/tencentcloud/cfg/v20210820/index.js +4 -0
  84. package/tencentcloud/cfg/v20210820/models.js +2423 -0
  85. package/tencentcloud/cfs/v20190719/models.js +64 -7
  86. package/tencentcloud/cfw/v20190904/cfw_client.js +686 -86
  87. package/tencentcloud/cfw/v20190904/models.js +7055 -1552
  88. package/tencentcloud/chdfs/v20201112/models.js +81 -6
  89. package/tencentcloud/cii/v20210408/cii_client.js +159 -10
  90. package/tencentcloud/cii/v20210408/models.js +1886 -189
  91. package/tencentcloud/ckafka/v20190819/ckafka_client.js +265 -30
  92. package/tencentcloud/ckafka/v20190819/models.js +3429 -692
  93. package/tencentcloud/clb/v20180317/clb_client.js +214 -44
  94. package/tencentcloud/clb/v20180317/models.js +2262 -319
  95. package/tencentcloud/cloudaudit/v20190319/cloudaudit_client.js +59 -7
  96. package/tencentcloud/cloudaudit/v20190319/models.js +307 -88
  97. package/tencentcloud/cls/index.js +3 -0
  98. package/tencentcloud/cls/v20201016/cls_client.js +1073 -0
  99. package/tencentcloud/cls/v20201016/index.js +4 -0
  100. package/tencentcloud/cls/v20201016/models.js +10053 -0
  101. package/tencentcloud/cme/v20191029/cme_client.js +178 -89
  102. package/tencentcloud/cme/v20191029/models.js +2575 -686
  103. package/tencentcloud/cmq/v20190304/models.js +159 -143
  104. package/tencentcloud/common/sdk_version.js +1 -1
  105. package/tencentcloud/cpdp/v20190820/cpdp_client.js +2014 -678
  106. package/tencentcloud/cpdp/v20190820/models.js +29589 -8040
  107. package/tencentcloud/cvm/v20170312/cvm_client.js +268 -88
  108. package/tencentcloud/cvm/v20170312/models.js +3156 -775
  109. package/tencentcloud/cwp/v20180228/cwp_client.js +1749 -654
  110. package/tencentcloud/cwp/v20180228/models.js +21498 -6735
  111. package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +268 -61
  112. package/tencentcloud/cynosdb/v20190107/models.js +3827 -1863
  113. package/tencentcloud/dasb/index.js +3 -0
  114. package/tencentcloud/dasb/v20191018/dasb_client.js +351 -0
  115. package/tencentcloud/dasb/v20191018/index.js +4 -0
  116. package/tencentcloud/dasb/v20191018/models.js +3161 -0
  117. package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +288 -88
  118. package/tencentcloud/dbbrain/v20210527/models.js +3966 -2008
  119. package/tencentcloud/dbdc/index.js +3 -0
  120. package/tencentcloud/dbdc/v20201029/dbdc_client.js +104 -0
  121. package/tencentcloud/dbdc/v20201029/index.js +4 -0
  122. package/tencentcloud/dbdc/v20201029/models.js +1441 -0
  123. package/tencentcloud/dc/v20180410/models.js +47 -1
  124. package/tencentcloud/dcdb/v20180411/dcdb_client.js +225 -37
  125. package/tencentcloud/dcdb/v20180411/models.js +1968 -236
  126. package/tencentcloud/dlc/v20210125/dlc_client.js +483 -68
  127. package/tencentcloud/dlc/v20210125/models.js +5257 -976
  128. package/tencentcloud/dnspod/v20210323/dnspod_client.js +94 -67
  129. package/tencentcloud/dnspod/v20210323/models.js +2166 -1957
  130. package/tencentcloud/domain/v20180808/domain_client.js +160 -93
  131. package/tencentcloud/domain/v20180808/models.js +781 -111
  132. package/tencentcloud/dtf/index.js +3 -0
  133. package/tencentcloud/dtf/v20200506/dtf_client.js +48 -0
  134. package/tencentcloud/dtf/v20200506/index.js +4 -0
  135. package/tencentcloud/dtf/v20200506/models.js +327 -0
  136. package/tencentcloud/dts/v20180330/dts_client.js +11 -127
  137. package/tencentcloud/dts/v20180330/models.js +1010 -1944
  138. package/tencentcloud/eb/index.js +3 -0
  139. package/tencentcloud/eb/v20210416/eb_client.js +393 -0
  140. package/tencentcloud/eb/v20210416/index.js +4 -0
  141. package/tencentcloud/eb/v20210416/models.js +3400 -0
  142. package/tencentcloud/ecdn/v20191012/ecdn_client.js +34 -6
  143. package/tencentcloud/ecdn/v20191012/models.js +258 -145
  144. package/tencentcloud/ecm/v20190719/ecm_client.js +481 -303
  145. package/tencentcloud/ecm/v20190719/models.js +9666 -7460
  146. package/tencentcloud/eiam/index.js +3 -0
  147. package/tencentcloud/eiam/v20210420/eiam_client.js +604 -0
  148. package/tencentcloud/eiam/v20210420/index.js +4 -0
  149. package/tencentcloud/eiam/v20210420/models.js +5565 -0
  150. package/tencentcloud/eis/index.js +1 -1
  151. package/tencentcloud/eis/v20200715/models.js +130 -100
  152. package/tencentcloud/eis/v20210601/eis_client.js +102 -0
  153. package/tencentcloud/eis/v20210601/index.js +4 -0
  154. package/tencentcloud/eis/v20210601/models.js +788 -0
  155. package/tencentcloud/emr/v20190103/emr_client.js +240 -110
  156. package/tencentcloud/emr/v20190103/models.js +4674 -2594
  157. package/tencentcloud/es/v20180416/es_client.js +204 -89
  158. package/tencentcloud/es/v20180416/models.js +3311 -1263
  159. package/tencentcloud/ess/index.js +3 -0
  160. package/tencentcloud/ess/v20201111/ess_client.js +197 -0
  161. package/tencentcloud/ess/v20201111/index.js +4 -0
  162. package/tencentcloud/ess/v20201111/models.js +2537 -0
  163. package/tencentcloud/essbasic/index.js +3 -0
  164. package/tencentcloud/essbasic/v20201222/essbasic_client.js +791 -0
  165. package/tencentcloud/essbasic/v20201222/index.js +4 -0
  166. package/tencentcloud/essbasic/v20201222/models.js +7555 -0
  167. package/tencentcloud/essbasic/v20210526/essbasic_client.js +260 -0
  168. package/tencentcloud/essbasic/v20210526/index.js +4 -0
  169. package/tencentcloud/essbasic/v20210526/models.js +3332 -0
  170. package/tencentcloud/facefusion/v20181201/models.js +15 -8
  171. package/tencentcloud/faceid/v20180301/faceid_client.js +118 -10
  172. package/tencentcloud/faceid/v20180301/models.js +1625 -201
  173. package/tencentcloud/ft/v20200304/models.js +8 -0
  174. package/tencentcloud/gaap/v20180529/gaap_client.js +628 -545
  175. package/tencentcloud/gaap/v20180529/models.js +1553 -292
  176. package/tencentcloud/gme/v20180711/gme_client.js +142 -38
  177. package/tencentcloud/gme/v20180711/models.js +1047 -219
  178. package/tencentcloud/gs/v20191118/gs_client.js +26 -0
  179. package/tencentcloud/gs/v20191118/models.js +139 -7
  180. package/tencentcloud/gse/v20191112/gse_client.js +19 -6
  181. package/tencentcloud/gse/v20191112/models.js +72 -0
  182. package/tencentcloud/iai/v20180301/iai_client.js +14 -83
  183. package/tencentcloud/iai/v20180301/models.js +110 -457
  184. package/tencentcloud/iai/v20200303/iai_client.js +30 -99
  185. package/tencentcloud/iai/v20200303/models.js +104 -453
  186. package/tencentcloud/ic/v20190307/models.js +8 -0
  187. package/tencentcloud/icr/index.js +3 -0
  188. package/tencentcloud/icr/v20211014/icr_client.js +57 -0
  189. package/tencentcloud/icr/v20211014/index.js +4 -0
  190. package/tencentcloud/icr/v20211014/models.js +753 -0
  191. package/tencentcloud/ie/v20200304/ie_client.js +3 -0
  192. package/tencentcloud/ie/v20200304/models.js +186 -31
  193. package/tencentcloud/iecp/index.js +3 -0
  194. package/tencentcloud/iecp/v20210914/iecp_client.js +1425 -0
  195. package/tencentcloud/iecp/v20210914/index.js +4 -0
  196. package/tencentcloud/iecp/v20210914/models.js +14297 -0
  197. package/tencentcloud/ims/v20201229/ims_client.js +21 -14
  198. package/tencentcloud/ims/v20201229/models.js +124 -396
  199. package/tencentcloud/index.js +32 -0
  200. package/tencentcloud/iotcloud/index.js +1 -1
  201. package/tencentcloud/iotcloud/v20180614/iotcloud_client.js +129 -9
  202. package/tencentcloud/iotcloud/v20180614/models.js +1154 -64
  203. package/tencentcloud/iotcloud/v20210408/index.js +4 -0
  204. package/tencentcloud/iotcloud/v20210408/iotcloud_client.js +981 -0
  205. package/tencentcloud/iotcloud/v20210408/models.js +8165 -0
  206. package/tencentcloud/iotexplorer/v20190423/iotexplorer_client.js +850 -272
  207. package/tencentcloud/iotexplorer/v20190423/models.js +6818 -1814
  208. package/tencentcloud/iotvideo/v20191126/models.js +7 -0
  209. package/tencentcloud/iotvideo/v20201215/iotvideo_client.js +380 -48
  210. package/tencentcloud/iotvideo/v20201215/models.js +3291 -623
  211. package/tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.js +1151 -227
  212. package/tencentcloud/iotvideoindustry/v20201201/models.js +8745 -1445
  213. package/tencentcloud/ivld/index.js +3 -0
  214. package/tencentcloud/ivld/v20210903/index.js +4 -0
  215. package/tencentcloud/ivld/v20210903/ivld_client.js +471 -0
  216. package/tencentcloud/ivld/v20210903/models.js +3686 -0
  217. package/tencentcloud/kms/v20190118/kms_client.js +3 -3
  218. package/tencentcloud/kms/v20190118/models.js +88 -5
  219. package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +376 -67
  220. package/tencentcloud/lighthouse/v20200324/models.js +3225 -422
  221. package/tencentcloud/live/v20180801/live_client.js +152 -41
  222. package/tencentcloud/live/v20180801/models.js +1379 -460
  223. package/tencentcloud/lowcode/index.js +3 -0
  224. package/tencentcloud/lowcode/v20210108/index.js +4 -0
  225. package/tencentcloud/lowcode/v20210108/lowcode_client.js +51 -0
  226. package/tencentcloud/lowcode/v20210108/models.js +626 -0
  227. package/tencentcloud/mariadb/v20170312/mariadb_client.js +226 -22
  228. package/tencentcloud/mariadb/v20170312/models.js +2556 -440
  229. package/tencentcloud/market/index.js +3 -0
  230. package/tencentcloud/market/v20191010/index.js +4 -0
  231. package/tencentcloud/market/v20191010/market_client.js +60 -0
  232. package/tencentcloud/market/v20191010/models.js +215 -0
  233. package/tencentcloud/memcached/v20190318/models.js +104 -103
  234. package/tencentcloud/mna/v20210119/mna_client.js +17 -1
  235. package/tencentcloud/mna/v20210119/models.js +305 -20
  236. package/tencentcloud/mongodb/v20190725/models.js +2705 -1793
  237. package/tencentcloud/mongodb/v20190725/mongodb_client.js +110 -52
  238. package/tencentcloud/monitor/v20180724/models.js +2014 -314
  239. package/tencentcloud/monitor/v20180724/monitor_client.js +73 -15
  240. package/tencentcloud/mps/v20190612/models.js +566 -236
  241. package/tencentcloud/mps/v20190612/mps_client.js +10 -8
  242. package/tencentcloud/mrs/v20200910/models.js +2026 -538
  243. package/tencentcloud/mrs/v20200910/mrs_client.js +23 -6
  244. package/tencentcloud/nlp/v20190408/models.js +234 -496
  245. package/tencentcloud/nlp/v20190408/nlp_client.js +41 -53
  246. package/tencentcloud/oceanus/v20190422/models.js +619 -12
  247. package/tencentcloud/oceanus/v20190422/oceanus_client.js +33 -6
  248. package/tencentcloud/ocr/v20181119/models.js +2148 -386
  249. package/tencentcloud/ocr/v20181119/ocr_client.js +122 -33
  250. package/tencentcloud/organization/index.js +1 -1
  251. package/tencentcloud/organization/v20210331/index.js +4 -0
  252. package/tencentcloud/organization/v20210331/models.js +821 -0
  253. package/tencentcloud/organization/v20210331/organization_client.js +101 -0
  254. package/tencentcloud/partners/v20180321/models.js +223 -213
  255. package/tencentcloud/partners/v20180321/partners_client.js +33 -35
  256. package/tencentcloud/pds/index.js +3 -0
  257. package/tencentcloud/pds/v20210701/index.js +4 -0
  258. package/tencentcloud/pds/v20210701/models.js +271 -0
  259. package/tencentcloud/pds/v20210701/pds_client.js +61 -0
  260. package/tencentcloud/postgres/v20170312/models.js +3883 -1039
  261. package/tencentcloud/postgres/v20170312/postgres_client.js +295 -49
  262. package/tencentcloud/privatedns/v20201028/models.js +816 -108
  263. package/tencentcloud/privatedns/v20201028/privatedns_client.js +82 -12
  264. package/tencentcloud/rce/v20201103/models.js +895 -371
  265. package/tencentcloud/rce/v20201103/rce_client.js +53 -6
  266. package/tencentcloud/redis/v20180412/models.js +2447 -412
  267. package/tencentcloud/redis/v20180412/redis_client.js +270 -44
  268. package/tencentcloud/rum/index.js +3 -0
  269. package/tencentcloud/rum/v20210622/index.js +4 -0
  270. package/tencentcloud/rum/v20210622/models.js +7436 -0
  271. package/tencentcloud/rum/v20210622/rum_client.js +760 -0
  272. package/tencentcloud/scf/v20180416/models.js +926 -61
  273. package/tencentcloud/scf/v20180416/scf_client.js +62 -16
  274. package/tencentcloud/ses/v20201002/models.js +1185 -192
  275. package/tencentcloud/ses/v20201002/ses_client.js +196 -99
  276. package/tencentcloud/smh/index.js +3 -0
  277. package/tencentcloud/smh/v20210712/index.js +4 -0
  278. package/tencentcloud/smh/v20210712/models.js +1370 -0
  279. package/tencentcloud/smh/v20210712/smh_client.js +167 -0
  280. package/tencentcloud/sms/v20190711/models.js +21 -15
  281. package/tencentcloud/sms/v20190711/sms_client.js +9 -8
  282. package/tencentcloud/sms/v20210111/models.js +227 -52
  283. package/tencentcloud/sms/v20210111/sms_client.js +23 -8
  284. package/tencentcloud/soe/v20180724/models.js +84 -31
  285. package/tencentcloud/soe/v20180724/soe_client.js +2 -2
  286. package/tencentcloud/sqlserver/v20180328/models.js +1613 -323
  287. package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +157 -45
  288. package/tencentcloud/ssa/v20180608/models.js +2624 -621
  289. package/tencentcloud/ssa/v20180608/ssa_client.js +103 -6
  290. package/tencentcloud/ssl/v20191205/models.js +721 -343
  291. package/tencentcloud/ssl/v20191205/ssl_client.js +34 -4
  292. package/tencentcloud/sslpod/v20190605/models.js +68 -17
  293. package/tencentcloud/ssm/v20190923/models.js +1311 -158
  294. package/tencentcloud/ssm/v20190923/ssm_client.js +199 -71
  295. package/tencentcloud/sts/v20180813/models.js +263 -9
  296. package/tencentcloud/sts/v20180813/sts_client.js +40 -12
  297. package/tencentcloud/taf/v20200210/models.js +191 -26
  298. package/tencentcloud/taf/v20200210/taf_client.js +5 -3
  299. package/tencentcloud/tag/v20180813/models.js +965 -167
  300. package/tencentcloud/tag/v20180813/tag_client.js +213 -107
  301. package/tencentcloud/tat/v20201028/models.js +1270 -105
  302. package/tencentcloud/tat/v20201028/tat_client.js +122 -10
  303. package/tencentcloud/tbaas/v20180416/models.js +637 -83
  304. package/tencentcloud/tbaas/v20180416/tbaas_client.js +57 -3
  305. package/tencentcloud/tcaplusdb/v20190823/models.js +341 -8
  306. package/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.js +27 -0
  307. package/tencentcloud/tcb/v20180608/models.js +7202 -2829
  308. package/tencentcloud/tcb/v20180608/tcb_client.js +473 -66
  309. package/tencentcloud/tcm/index.js +3 -0
  310. package/tencentcloud/tcm/v20210413/index.js +4 -0
  311. package/tencentcloud/tcm/v20210413/models.js +2237 -0
  312. package/tencentcloud/tcm/v20210413/tcm_client.js +95 -0
  313. package/tencentcloud/tcr/v20190924/models.js +1281 -397
  314. package/tencentcloud/tcr/v20190924/tcr_client.js +628 -521
  315. package/tencentcloud/tcss/index.js +3 -0
  316. package/tencentcloud/tcss/v20201101/index.js +4 -0
  317. package/tencentcloud/tcss/v20201101/models.js +24927 -0
  318. package/tencentcloud/tcss/v20201101/tcss_client.js +2276 -0
  319. package/tencentcloud/tdcpg/index.js +3 -0
  320. package/tencentcloud/tdcpg/v20211118/index.js +4 -0
  321. package/tencentcloud/tdcpg/v20211118/models.js +2777 -0
  322. package/tencentcloud/tdcpg/v20211118/tdcpg_client.js +372 -0
  323. package/tencentcloud/tdid/index.js +3 -0
  324. package/tencentcloud/tdid/v20210519/index.js +4 -0
  325. package/tencentcloud/tdid/v20210519/models.js +978 -0
  326. package/tencentcloud/tdid/v20210519/tdid_client.js +143 -0
  327. package/tencentcloud/tdmq/v20200217/models.js +9354 -2607
  328. package/tencentcloud/tdmq/v20200217/tdmq_client.js +959 -249
  329. package/tencentcloud/tem/index.js +1 -1
  330. package/tencentcloud/tem/v20201221/models.js +978 -88
  331. package/tencentcloud/tem/v20201221/tem_client.js +61 -4
  332. package/tencentcloud/tem/v20210701/index.js +4 -0
  333. package/tencentcloud/tem/v20210701/models.js +4613 -0
  334. package/tencentcloud/tem/v20210701/tem_client.js +377 -0
  335. package/tencentcloud/teo/index.js +3 -0
  336. package/tencentcloud/teo/v20220106/index.js +4 -0
  337. package/tencentcloud/teo/v20220106/models.js +8307 -0
  338. package/tencentcloud/teo/v20220106/teo_client.js +728 -0
  339. package/tencentcloud/thpc/index.js +3 -0
  340. package/tencentcloud/thpc/v20211109/index.js +4 -0
  341. package/tencentcloud/thpc/v20211109/models.js +1491 -0
  342. package/tencentcloud/thpc/v20211109/thpc_client.js +103 -0
  343. package/tencentcloud/thpc/v20220401/index.js +4 -0
  344. package/tencentcloud/thpc/v20220401/models.js +1775 -0
  345. package/tencentcloud/thpc/v20220401/thpc_client.js +129 -0
  346. package/tencentcloud/tiia/v20190529/models.js +2135 -538
  347. package/tencentcloud/tiia/v20190529/tiia_client.js +135 -12
  348. package/tencentcloud/tiw/v20190919/models.js +760 -44
  349. package/tencentcloud/tiw/v20190919/tiw_client.js +57 -9
  350. package/tencentcloud/tke/v20180525/models.js +15766 -4914
  351. package/tencentcloud/tke/v20180525/tke_client.js +1674 -603
  352. package/tencentcloud/tms/v20200713/models.js +12 -14
  353. package/tencentcloud/tms/v20201229/models.js +79 -46
  354. package/tencentcloud/tms/v20201229/tms_client.js +18 -1
  355. package/tencentcloud/tmt/v20180321/models.js +474 -172
  356. package/tencentcloud/tmt/v20180321/tmt_client.js +63 -33
  357. package/tencentcloud/trtc/v20190722/models.js +1521 -762
  358. package/tencentcloud/trtc/v20190722/trtc_client.js +99 -75
  359. package/tencentcloud/tse/v20201207/models.js +524 -122
  360. package/tencentcloud/tse/v20201207/tse_client.js +13 -33
  361. package/tencentcloud/tsf/v20180326/models.js +9949 -4510
  362. package/tencentcloud/tsf/v20180326/tsf_client.js +391 -133
  363. package/tencentcloud/tts/v20190823/models.js +305 -10
  364. package/tencentcloud/tts/v20190823/tts_client.js +38 -0
  365. package/tencentcloud/vm/v20201229/models.js +188 -201
  366. package/tencentcloud/vm/v20201229/vm_client.js +47 -4
  367. package/tencentcloud/vod/v20180717/models.js +3349 -953
  368. package/tencentcloud/vod/v20180717/vod_client.js +294 -63
  369. package/tencentcloud/vpc/v20170312/models.js +3761 -591
  370. package/tencentcloud/vpc/v20170312/vpc_client.js +552 -140
  371. package/tencentcloud/waf/v20180125/models.js +3991 -322
  372. package/tencentcloud/waf/v20180125/waf_client.js +394 -44
  373. package/tencentcloud/wav/index.js +3 -0
  374. package/tencentcloud/wav/v20210129/index.js +4 -0
  375. package/tencentcloud/wav/v20210129/models.js +4170 -0
  376. package/tencentcloud/wav/v20210129/wav_client.js +345 -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,7 +89,7 @@ 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;
@@ -103,7 +103,7 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
103
103
 
104
104
  /**
105
105
  * 公网带宽相关信息设置。
106
- 本字段属复杂类型,修改时采取整字段全覆盖模式。即只修改复杂类型内部一个子字段时,也请提供全部所需子字段。
106
+ 当公网出带宽上限为0Mbps时,不支持修改为开通分配公网IP;相应的,当前为开通分配公网IP时,修改的公网出带宽上限值必须大于0Mbps。
107
107
  * @type {InternetAccessible || null}
108
108
  */
109
109
  this.InternetAccessible = null;
@@ -120,7 +120,8 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
120
120
  /**
121
121
  * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。
122
122
  若修改实例的付费模式为预付费,则该参数必传;从预付费修改为其他付费模式时,本字段原信息会自动丢弃。
123
- 本字段属复杂类型,修改时采取整字段全覆盖模式。即只修改复杂类型内部一个子字段时,也请提供全部所需子字段。
123
+ 当新增该字段时,必须传递购买实例的时长,其它未传递字段会设置为默认值。
124
+ 当修改本字段时,当前付费模式必须为预付费。
124
125
  * @type {InstanceChargePrepaid || null}
125
126
  */
126
127
  this.InstanceChargePrepaid = null;
@@ -128,7 +129,8 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
128
129
  /**
129
130
  * 实例的市场相关选项,如竞价实例相关参数。
130
131
  若修改实例的付费模式为竞价付费,则该参数必传;从竞价付费修改为其他付费模式时,本字段原信息会自动丢弃。
131
- 本字段属复杂类型,修改时采取整字段全覆盖模式。即只修改复杂类型内部一个子字段时,也请提供全部所需子字段。
132
+ 当新增该字段时,必须传递竞价相关选项下的竞价出价,其它未传递字段会设置为默认值。
133
+ 当修改本字段时,当前付费模式必须为竞价付费。
132
134
  * @type {InstanceMarketOptionsRequest || null}
133
135
  */
134
136
  this.InstanceMarketOptions = null;
@@ -148,11 +150,41 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
148
150
  this.SystemDisk = null;
149
151
 
150
152
  /**
151
- * 实例数据盘配置信息。最多支持指定11块数据盘。采取整体修改,因此请提供修改后的全部值。
153
+ * 实例数据盘配置信息。
154
+ 最多支持指定11块数据盘。采取整体修改,因此请提供修改后的全部值。
155
+ 数据盘类型默认与系统盘类型保持一致。
152
156
  * @type {Array.<DataDisk> || null}
153
157
  */
154
158
  this.DataDisks = null;
155
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
+
156
188
  }
157
189
 
158
190
  /**
@@ -205,6 +237,25 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
205
237
  }
206
238
  }
207
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;
258
+
208
259
  }
209
260
  }
210
261
 
@@ -351,19 +402,53 @@ class ModifyAutoScalingGroupRequest extends AbstractModel {
351
402
  this.Ipv6AddressCount = null;
352
403
 
353
404
  /**
354
- * 多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY。
405
+ * 多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY,默认为 PRIORITY
355
406
  <br><li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。
356
- <br><li> EQUALITY:每次选择当前实例数最少的可用区/子网进行扩容,使得每个可用区/子网都有机会发生扩容,多次扩容出的实例会打散到多个可用区/子网。
407
+ <br><li> EQUALITY:扩容出的实例会打散到多个可用区/子网,保证扩容后的各个可用区/子网实例数相对均衡。
357
408
 
358
409
  与本策略相关的注意点:
359
410
  <br><li> 当伸缩组为基础网络时,本策略适用于多可用区;当伸缩组为VPC网络时,本策略适用于多子网,此时不再考虑可用区因素,例如四个子网ABCD,其中ABC处于可用区1,D处于可用区2,此时考虑子网ABCD进行排序,而不考虑可用区1、2。
360
411
  <br><li> 本策略适用于多可用区/子网,不适用于启动配置的多机型。多机型按照优先级策略进行选择。
361
- <br><li> 创建实例时,先保证多机型的策略,后保证多可用区/子网的策略。例如多机型A、B,多子网1、2、3(按照PRIORITY策略),会按照A1、A2、A3、B1、B2、B3 进行尝试,如果A1售罄,会尝试A2(而非B1)。
362
- <br><li> 无论使用哪种策略,单次伸缩活动总是优先保持使用一种具体配置(机型 * 可用区/子网)。
412
+ <br><li> 按照 PRIORITY 策略创建实例时,先保证多机型的策略,后保证多可用区/子网的策略。例如多机型A、B,多子网1、2、3,会按照A1、A2、A3、B1、B2、B3 进行尝试,如果A1售罄,会尝试A2(而非B1)。
363
413
  * @type {string || null}
364
414
  */
365
415
  this.MultiZoneSubnetPolicy = null;
366
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
+
367
452
  }
368
453
 
369
454
  /**
@@ -395,6 +480,16 @@ class ModifyAutoScalingGroupRequest extends AbstractModel {
395
480
  }
396
481
  this.Ipv6AddressCount = 'Ipv6AddressCount' in params ? params.Ipv6AddressCount : null;
397
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;
398
493
 
399
494
  }
400
495
  }
@@ -466,6 +561,24 @@ class AutoScalingNotification extends AbstractModel {
466
561
  */
467
562
  this.AutoScalingNotificationId = null;
468
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
+
469
582
  }
470
583
 
471
584
  /**
@@ -479,6 +592,9 @@ class AutoScalingNotification extends AbstractModel {
479
592
  this.NotificationUserGroupIds = 'NotificationUserGroupIds' in params ? params.NotificationUserGroupIds : null;
480
593
  this.NotificationTypes = 'NotificationTypes' in params ? params.NotificationTypes : null;
481
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;
482
598
 
483
599
  }
484
600
  }
@@ -626,189 +742,441 @@ class DescribeAutoScalingGroupsRequest extends AbstractModel {
626
742
  }
627
743
 
628
744
  /**
629
- * CreateAutoScalingGroup返回参数结构体
745
+ * 符合条件的启动配置信息的集合。
630
746
  * @class
631
747
  */
632
- class CreateAutoScalingGroupResponse extends AbstractModel {
748
+ class LaunchConfiguration extends AbstractModel {
633
749
  constructor(){
634
750
  super();
635
751
 
636
752
  /**
637
- * 伸缩组ID
638
- * @type {string || null}
753
+ * 实例所属项目ID
754
+ * @type {number || null}
639
755
  */
640
- this.AutoScalingGroupId = null;
756
+ this.ProjectId = null;
641
757
 
642
758
  /**
643
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
759
+ * 启动配置ID。
644
760
  * @type {string || null}
645
761
  */
646
- this.RequestId = null;
647
-
648
- }
649
-
650
- /**
651
- * @private
652
- */
653
- deserialize(params) {
654
- if (!params) {
655
- return;
656
- }
657
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
658
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
659
-
660
- }
661
- }
662
-
663
- /**
664
- * DescribeAccountLimits返回参数结构体
665
- * @class
666
- */
667
- class DescribeAccountLimitsResponse extends AbstractModel {
668
- constructor(){
669
- super();
762
+ this.LaunchConfigurationId = null;
670
763
 
671
764
  /**
672
- * 用户账户被允许创建的启动配置最大数量
673
- * @type {number || null}
765
+ * 启动配置名称。
766
+ * @type {string || null}
674
767
  */
675
- this.MaxNumberOfLaunchConfigurations = null;
768
+ this.LaunchConfigurationName = null;
676
769
 
677
770
  /**
678
- * 用户账户启动配置的当前数量
679
- * @type {number || null}
771
+ * 实例机型。
772
+ * @type {string || null}
680
773
  */
681
- this.NumberOfLaunchConfigurations = null;
774
+ this.InstanceType = null;
682
775
 
683
776
  /**
684
- * 用户账户被允许创建的伸缩组最大数量
685
- * @type {number || null}
777
+ * 实例系统盘配置信息。
778
+ * @type {SystemDisk || null}
686
779
  */
687
- this.MaxNumberOfAutoScalingGroups = null;
780
+ this.SystemDisk = null;
688
781
 
689
782
  /**
690
- * 用户账户伸缩组的当前数量
691
- * @type {number || null}
783
+ * 实例数据盘配置信息。
784
+ * @type {Array.<DataDisk> || null}
692
785
  */
693
- this.NumberOfAutoScalingGroups = null;
786
+ this.DataDisks = null;
694
787
 
695
788
  /**
696
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
697
- * @type {string || null}
789
+ * 实例登录设置。
790
+ * @type {LimitedLoginSettings || null}
698
791
  */
699
- this.RequestId = null;
700
-
701
- }
702
-
703
- /**
704
- * @private
705
- */
706
- deserialize(params) {
707
- if (!params) {
708
- return;
709
- }
710
- this.MaxNumberOfLaunchConfigurations = 'MaxNumberOfLaunchConfigurations' in params ? params.MaxNumberOfLaunchConfigurations : null;
711
- this.NumberOfLaunchConfigurations = 'NumberOfLaunchConfigurations' in params ? params.NumberOfLaunchConfigurations : null;
712
- this.MaxNumberOfAutoScalingGroups = 'MaxNumberOfAutoScalingGroups' in params ? params.MaxNumberOfAutoScalingGroups : null;
713
- this.NumberOfAutoScalingGroups = 'NumberOfAutoScalingGroups' in params ? params.NumberOfAutoScalingGroups : null;
714
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
715
-
716
- }
717
- }
792
+ this.LoginSettings = null;
718
793
 
719
- /**
720
- * CreatePaiInstance返回参数结构体
721
- * @class
722
- */
723
- class CreatePaiInstanceResponse extends AbstractModel {
724
- constructor(){
725
- super();
794
+ /**
795
+ * 公网带宽相关信息设置。
796
+ * @type {InternetAccessible || null}
797
+ */
798
+ this.InternetAccessible = null;
726
799
 
727
800
  /**
728
- * 当通过本接口来创建实例时会返回该参数,表示一个或多个实例`ID`。返回实例`ID`列表并不代表实例创建成功,可根据 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口查询返回的InstancesSet中对应实例的`ID`的状态来判断创建是否完成;如果实例状态由“准备中”变为“正在运行”,则为创建成功。
801
+ * 实例所属安全组。
729
802
  * @type {Array.<string> || null}
730
803
  */
731
- this.InstanceIdSet = null;
804
+ this.SecurityGroupIds = null;
732
805
 
733
806
  /**
734
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
735
- * @type {string || null}
807
+ * 启动配置关联的伸缩组。
808
+ * @type {Array.<AutoScalingGroupAbstract> || null}
736
809
  */
737
- this.RequestId = null;
738
-
739
- }
740
-
741
- /**
742
- * @private
743
- */
744
- deserialize(params) {
745
- if (!params) {
746
- return;
747
- }
748
- this.InstanceIdSet = 'InstanceIdSet' in params ? params.InstanceIdSet : null;
749
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
750
-
751
- }
752
- }
753
-
754
- /**
755
- * CreateLaunchConfiguration返回参数结构体
756
- * @class
757
- */
758
- class CreateLaunchConfigurationResponse extends AbstractModel {
759
- constructor(){
760
- super();
810
+ this.AutoScalingGroupAbstractSet = null;
761
811
 
762
812
  /**
763
- * 当通过本接口来创建启动配置时会返回该参数,表示启动配置ID。
813
+ * 自定义数据。
814
+ 注意:此字段可能返回 null,表示取不到有效值。
764
815
  * @type {string || null}
765
816
  */
766
- this.LaunchConfigurationId = null;
817
+ this.UserData = null;
767
818
 
768
819
  /**
769
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
820
+ * 启动配置创建时间。
770
821
  * @type {string || null}
771
822
  */
772
- this.RequestId = null;
773
-
774
- }
775
-
776
- /**
777
- * @private
778
- */
779
- deserialize(params) {
780
- if (!params) {
781
- return;
782
- }
783
- this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
784
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
785
-
786
- }
787
- }
823
+ this.CreatedTime = null;
788
824
 
789
- /**
790
- * CreateLifecycleHook返回参数结构体
791
- * @class
792
- */
793
- class CreateLifecycleHookResponse extends AbstractModel {
794
- constructor(){
795
- super();
825
+ /**
826
+ * 实例的增强服务启用情况与其设置。
827
+ * @type {EnhancedService || null}
828
+ */
829
+ this.EnhancedService = null;
796
830
 
797
831
  /**
798
- * 生命周期挂钩ID
832
+ * 镜像ID
799
833
  * @type {string || null}
800
834
  */
801
- this.LifecycleHookId = null;
835
+ this.ImageId = null;
802
836
 
803
837
  /**
804
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
838
+ * 启动配置当前状态。取值范围:<br><li>NORMAL:正常<br><li>IMAGE_ABNORMAL:启动配置镜像异常<br><li>CBS_SNAP_ABNORMAL:启动配置数据盘快照异常<br><li>SECURITY_GROUP_ABNORMAL:启动配置安全组异常<br>
805
839
  * @type {string || null}
806
840
  */
807
- this.RequestId = null;
808
-
809
- }
841
+ this.LaunchConfigurationStatus = null;
810
842
 
811
- /**
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;
919
+
920
+ }
921
+
922
+ /**
923
+ * @private
924
+ */
925
+ deserialize(params) {
926
+ if (!params) {
927
+ return;
928
+ }
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;
1020
+
1021
+ }
1022
+ }
1023
+
1024
+ /**
1025
+ * DescribeAccountLimits返回参数结构体
1026
+ * @class
1027
+ */
1028
+ class DescribeAccountLimitsResponse extends AbstractModel {
1029
+ constructor(){
1030
+ super();
1031
+
1032
+ /**
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}
1047
+ */
1048
+ this.MaxNumberOfAutoScalingGroups = null;
1049
+
1050
+ /**
1051
+ * 用户账户伸缩组的当前数量
1052
+ * @type {number || null}
1053
+ */
1054
+ this.NumberOfAutoScalingGroups = null;
1055
+
1056
+ /**
1057
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1058
+ * @type {string || null}
1059
+ */
1060
+ this.RequestId = null;
1061
+
1062
+ }
1063
+
1064
+ /**
1065
+ * @private
1066
+ */
1067
+ deserialize(params) {
1068
+ if (!params) {
1069
+ return;
1070
+ }
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;
1075
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1076
+
1077
+ }
1078
+ }
1079
+
1080
+ /**
1081
+ * CreateLaunchConfiguration返回参数结构体
1082
+ * @class
1083
+ */
1084
+ class CreateLaunchConfigurationResponse extends AbstractModel {
1085
+ constructor(){
1086
+ super();
1087
+
1088
+ /**
1089
+ * 当通过本接口来创建启动配置时会返回该参数,表示启动配置ID。
1090
+ * @type {string || null}
1091
+ */
1092
+ this.LaunchConfigurationId = null;
1093
+
1094
+ /**
1095
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1096
+ * @type {string || null}
1097
+ */
1098
+ this.RequestId = null;
1099
+
1100
+ }
1101
+
1102
+ /**
1103
+ * @private
1104
+ */
1105
+ deserialize(params) {
1106
+ if (!params) {
1107
+ return;
1108
+ }
1109
+ this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
1110
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1111
+
1112
+ }
1113
+ }
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
+
1157
+ /**
1158
+ * CreateLifecycleHook返回参数结构体
1159
+ * @class
1160
+ */
1161
+ class CreateLifecycleHookResponse extends AbstractModel {
1162
+ constructor(){
1163
+ super();
1164
+
1165
+ /**
1166
+ * 生命周期挂钩ID
1167
+ * @type {string || null}
1168
+ */
1169
+ this.LifecycleHookId = null;
1170
+
1171
+ /**
1172
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1173
+ * @type {string || null}
1174
+ */
1175
+ this.RequestId = null;
1176
+
1177
+ }
1178
+
1179
+ /**
812
1180
  * @private
813
1181
  */
814
1182
  deserialize(params) {
@@ -900,78 +1268,60 @@ class DescribeAutoScalingGroupsResponse extends AbstractModel {
900
1268
  }
901
1269
 
902
1270
  /**
903
- * CreatePaiInstance请求参数结构体
1271
+ * CreateScheduledAction请求参数结构体
904
1272
  * @class
905
1273
  */
906
- class CreatePaiInstanceRequest extends AbstractModel {
1274
+ class CreateScheduledActionRequest extends AbstractModel {
907
1275
  constructor(){
908
1276
  super();
909
1277
 
910
1278
  /**
911
- * PAI实例的域名。
1279
+ * 伸缩组ID
912
1280
  * @type {string || null}
913
1281
  */
914
- this.DomainName = null;
915
-
916
- /**
917
- * 公网带宽相关信息设置。
918
- * @type {InternetAccessible || null}
919
- */
920
- this.InternetAccessible = null;
1282
+ this.AutoScalingGroupId = null;
921
1283
 
922
1284
  /**
923
- * 启动脚本的base64编码字符串。
1285
+ * 定时任务名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。同一伸缩组下必须唯一。
924
1286
  * @type {string || null}
925
1287
  */
926
- this.InitScript = null;
1288
+ this.ScheduledActionName = null;
927
1289
 
928
1290
  /**
929
- * 可用区列表。
930
- * @type {Array.<string> || null}
1291
+ * 当定时任务触发时,设置的伸缩组最大实例数。
1292
+ * @type {number || null}
931
1293
  */
932
- this.Zones = null;
1294
+ this.MaxSize = null;
933
1295
 
934
1296
  /**
935
- * VPC ID。
936
- * @type {string || null}
1297
+ * 当定时任务触发时,设置的伸缩组最小实例数。
1298
+ * @type {number || null}
937
1299
  */
938
- this.VpcId = null;
1300
+ this.MinSize = null;
939
1301
 
940
1302
  /**
941
- * 子网列表。
942
- * @type {Array.<string> || null}
1303
+ * 当定时任务触发时,设置的伸缩组期望实例数。
1304
+ * @type {number || null}
943
1305
  */
944
- this.SubnetIds = null;
1306
+ this.DesiredCapacity = null;
945
1307
 
946
1308
  /**
947
- * 实例显示名称。
1309
+ * 定时任务的首次触发时间,取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。
948
1310
  * @type {string || null}
949
1311
  */
950
- this.InstanceName = null;
951
-
952
- /**
953
- * 实例机型列表。
954
- * @type {Array.<string> || null}
955
- */
956
- this.InstanceTypes = null;
957
-
958
- /**
959
- * 实例登录设置。
960
- * @type {LoginSettings || null}
961
- */
962
- this.LoginSettings = null;
1312
+ this.StartTime = null;
963
1313
 
964
1314
  /**
965
- * 实例计费类型。
1315
+ * 定时任务的结束时间,取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。<br><br>此参数与`Recurrence`需要同时指定,到达结束时间之后,定时任务将不再生效。
966
1316
  * @type {string || null}
967
1317
  */
968
- this.InstanceChargeType = null;
1318
+ this.EndTime = null;
969
1319
 
970
1320
  /**
971
- * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
972
- * @type {InstanceChargePrepaid || null}
1321
+ * 定时任务的重复方式。为标准 Cron 格式<br><br>此参数与`EndTime`需要同时指定。
1322
+ * @type {string || null}
973
1323
  */
974
- this.InstanceChargePrepaid = null;
1324
+ this.Recurrence = null;
975
1325
 
976
1326
  }
977
1327
 
@@ -982,32 +1332,14 @@ class CreatePaiInstanceRequest extends AbstractModel {
982
1332
  if (!params) {
983
1333
  return;
984
1334
  }
985
- this.DomainName = 'DomainName' in params ? params.DomainName : null;
986
-
987
- if (params.InternetAccessible) {
988
- let obj = new InternetAccessible();
989
- obj.deserialize(params.InternetAccessible)
990
- this.InternetAccessible = obj;
991
- }
992
- this.InitScript = 'InitScript' in params ? params.InitScript : null;
993
- this.Zones = 'Zones' in params ? params.Zones : null;
994
- this.VpcId = 'VpcId' in params ? params.VpcId : null;
995
- this.SubnetIds = 'SubnetIds' in params ? params.SubnetIds : null;
996
- this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
997
- this.InstanceTypes = 'InstanceTypes' in params ? params.InstanceTypes : null;
998
-
999
- if (params.LoginSettings) {
1000
- let obj = new LoginSettings();
1001
- obj.deserialize(params.LoginSettings)
1002
- this.LoginSettings = obj;
1003
- }
1004
- this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
1005
-
1006
- if (params.InstanceChargePrepaid) {
1007
- let obj = new InstanceChargePrepaid();
1008
- obj.deserialize(params.InstanceChargePrepaid)
1009
- this.InstanceChargePrepaid = obj;
1010
- }
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;
1011
1343
 
1012
1344
  }
1013
1345
  }
@@ -1021,7 +1353,7 @@ class SystemDisk extends AbstractModel {
1021
1353
  super();
1022
1354
 
1023
1355
  /**
1024
- * 系统盘类型。系统盘类型限制详见[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
1025
1357
  注意:此字段可能返回 null,表示取不到有效值。
1026
1358
  * @type {string || null}
1027
1359
  */
@@ -1193,9 +1525,7 @@ class InstanceNameSettings extends AbstractModel {
1193
1525
  * 云服务器的实例名。
1194
1526
 
1195
1527
  点号(.)和短横线(-)不能作为 InstanceName 的首尾字符,不能连续使用。
1196
-
1197
- 其他类型(Linux 等)实例:字符长度为[2, 40],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。不允许为纯数字。
1198
- 注意:此字段可能返回 null,表示取不到有效值。
1528
+ 字符长度为[2, 40],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。不允许为纯数字。
1199
1529
  * @type {string || null}
1200
1530
  */
1201
1531
  this.InstanceName = null;
@@ -1206,7 +1536,6 @@ class InstanceNameSettings extends AbstractModel {
1206
1536
  ORIGINAL,AS 直接将入参中所填的 InstanceName 传递给 CVM,CVM 可能会对 InstanceName 追加序列号,伸缩组中实例的 InstanceName 会出现冲突的情况。
1207
1537
 
1208
1538
  UNIQUE,入参所填的 InstanceName 相当于实例名前缀,AS 和 CVM 会对其进行拓展,伸缩组中实例的 InstanceName 可以保证唯一。
1209
- 注意:此字段可能返回 null,表示取不到有效值。
1210
1539
  * @type {string || null}
1211
1540
  */
1212
1541
  this.InstanceNameStyle = null;
@@ -1227,18 +1556,54 @@ UNIQUE,入参所填的 InstanceName 相当于实例名前缀,AS 和 CVM 会
1227
1556
  }
1228
1557
 
1229
1558
  /**
1230
- * ModifyScheduledAction返回参数结构体
1559
+ * 伸缩活动状态详细描述。
1231
1560
  * @class
1232
1561
  */
1233
- class ModifyScheduledActionResponse extends AbstractModel {
1562
+ class DetailedStatusMessage extends AbstractModel {
1234
1563
  constructor(){
1235
1564
  super();
1236
1565
 
1237
1566
  /**
1238
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1567
+ * 错误类型。
1239
1568
  * @type {string || null}
1240
1569
  */
1241
- 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;
1242
1607
 
1243
1608
  }
1244
1609
 
@@ -1249,54 +1614,64 @@ class ModifyScheduledActionResponse extends AbstractModel {
1249
1614
  if (!params) {
1250
1615
  return;
1251
1616
  }
1252
- 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;
1253
1624
 
1254
1625
  }
1255
1626
  }
1256
1627
 
1257
1628
  /**
1258
- * CreateAutoScalingGroupFromInstance请求参数结构体
1629
+ * ModifyScheduledAction返回参数结构体
1259
1630
  * @class
1260
1631
  */
1261
- class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel {
1632
+ class ModifyScheduledActionResponse extends AbstractModel {
1262
1633
  constructor(){
1263
1634
  super();
1264
1635
 
1265
1636
  /**
1266
- * 伸缩组名称,在您账号中必须唯一。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超55个字节。
1637
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1267
1638
  * @type {string || null}
1268
1639
  */
1269
- this.AutoScalingGroupName = null;
1640
+ this.RequestId = null;
1270
1641
 
1271
- /**
1272
- * 实例ID
1273
- * @type {string || null}
1274
- */
1275
- this.InstanceId = null;
1642
+ }
1276
1643
 
1277
- /**
1278
- * 最小实例数,取值范围为0-2000。
1279
- * @type {number || null}
1280
- */
1281
- 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;
1282
1652
 
1283
- /**
1284
- * 最大实例数,取值范围为0-2000。
1285
- * @type {number || null}
1286
- */
1287
- this.MaxSize = null;
1653
+ }
1654
+ }
1288
1655
 
1289
- /**
1290
- * 期望实例数,大小介于最小实例数和最大实例数之间。
1291
- * @type {number || null}
1656
+ /**
1657
+ * AttachLoadBalancers返回参数结构体
1658
+ * @class
1659
+ */
1660
+ class AttachLoadBalancersResponse extends AbstractModel {
1661
+ constructor(){
1662
+ super();
1663
+
1664
+ /**
1665
+ * 伸缩活动ID
1666
+ * @type {string || null}
1292
1667
  */
1293
- this.DesiredCapacity = null;
1668
+ this.ActivityId = null;
1294
1669
 
1295
1670
  /**
1296
- * 是否继承实例标签,默认值为False
1297
- * @type {boolean || null}
1671
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1672
+ * @type {string || null}
1298
1673
  */
1299
- this.InheritInstanceTag = null;
1674
+ this.RequestId = null;
1300
1675
 
1301
1676
  }
1302
1677
 
@@ -1307,12 +1682,8 @@ class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel {
1307
1682
  if (!params) {
1308
1683
  return;
1309
1684
  }
1310
- this.AutoScalingGroupName = 'AutoScalingGroupName' in params ? params.AutoScalingGroupName : null;
1311
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1312
- this.MinSize = 'MinSize' in params ? params.MinSize : null;
1313
- this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
1314
- this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
1315
- 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;
1316
1687
 
1317
1688
  }
1318
1689
  }
@@ -1353,18 +1724,18 @@ class ExecuteScalingPolicyResponse extends AbstractModel {
1353
1724
  }
1354
1725
 
1355
1726
  /**
1356
- * ModifyLaunchConfigurationAttributes返回参数结构体
1727
+ * DeleteAutoScalingGroup请求参数结构体
1357
1728
  * @class
1358
1729
  */
1359
- class ModifyLaunchConfigurationAttributesResponse extends AbstractModel {
1730
+ class DeleteAutoScalingGroupRequest extends AbstractModel {
1360
1731
  constructor(){
1361
1732
  super();
1362
1733
 
1363
1734
  /**
1364
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1735
+ * 伸缩组ID
1365
1736
  * @type {string || null}
1366
1737
  */
1367
- this.RequestId = null;
1738
+ this.AutoScalingGroupId = null;
1368
1739
 
1369
1740
  }
1370
1741
 
@@ -1375,7 +1746,7 @@ class ModifyLaunchConfigurationAttributesResponse extends AbstractModel {
1375
1746
  if (!params) {
1376
1747
  return;
1377
1748
  }
1378
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1749
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
1379
1750
 
1380
1751
  }
1381
1752
  }
@@ -1612,6 +1983,41 @@ class DescribeLaunchConfigurationsResponse extends AbstractModel {
1612
1983
  }
1613
1984
  }
1614
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
+
1615
2021
  /**
1616
2022
  * DeleteScalingPolicy返回参数结构体
1617
2023
  * @class
@@ -1683,6 +2089,56 @@ class Tag extends AbstractModel {
1683
2089
  }
1684
2090
  }
1685
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
+
1686
2142
  /**
1687
2143
  * DescribeAutoScalingInstances请求参数结构体
1688
2144
  * @class
@@ -1692,7 +2148,7 @@ class DescribeAutoScalingInstancesRequest extends AbstractModel {
1692
2148
  super();
1693
2149
 
1694
2150
  /**
1695
- * 待查询云服务器(CVM)的实例ID。参数不支持同时指定InstanceIds和Filters。
2151
+ * 待查询云服务器(CVM)的实例ID。每次请求的上限为100。参数不支持同时指定InstanceIds和Filters。
1696
2152
  * @type {Array.<string> || null}
1697
2153
  */
1698
2154
  this.InstanceIds = null;
@@ -1743,34 +2199,6 @@ class DescribeAutoScalingInstancesRequest extends AbstractModel {
1743
2199
  }
1744
2200
  }
1745
2201
 
1746
- /**
1747
- * 描述了实例登录相关配置与信息,出于安全性考虑,不会描述敏感信息。
1748
- * @class
1749
- */
1750
- class LimitedLoginSettings extends AbstractModel {
1751
- constructor(){
1752
- super();
1753
-
1754
- /**
1755
- * 密钥ID列表。
1756
- * @type {Array.<string> || null}
1757
- */
1758
- this.KeyIds = null;
1759
-
1760
- }
1761
-
1762
- /**
1763
- * @private
1764
- */
1765
- deserialize(params) {
1766
- if (!params) {
1767
- return;
1768
- }
1769
- this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
1770
-
1771
- }
1772
- }
1773
-
1774
2202
  /**
1775
2203
  * ModifyLoadBalancers请求参数结构体
1776
2204
  * @class
@@ -1792,7 +2220,7 @@ class ModifyLoadBalancersRequest extends AbstractModel {
1792
2220
  this.LoadBalancerIds = null;
1793
2221
 
1794
2222
  /**
1795
- * 应用型负载均衡器列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
2223
+ * 应用型负载均衡器列表,目前长度上限为50,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
1796
2224
  * @type {Array.<ForwardLoadBalancer> || null}
1797
2225
  */
1798
2226
  this.ForwardLoadBalancers = null;
@@ -1914,7 +2342,7 @@ class SetInstancesProtectionRequest extends AbstractModel {
1914
2342
  this.InstanceIds = null;
1915
2343
 
1916
2344
  /**
1917
- * 实例是否需要移出保护。
2345
+ * 实例是否需要设置保护。
1918
2346
  * @type {boolean || null}
1919
2347
  */
1920
2348
  this.ProtectedFromScaleIn = null;
@@ -1998,6 +2426,34 @@ class DetachInstancesResponse extends AbstractModel {
1998
2426
  }
1999
2427
  }
2000
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
+
2001
2457
  /**
2002
2458
  * CreateLaunchConfiguration请求参数结构体
2003
2459
  * @class
@@ -2019,7 +2475,7 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
2019
2475
  this.ImageId = null;
2020
2476
 
2021
2477
  /**
2022
- * 启动配置所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/378/4400) 的返回值中的`projectId`字段来获取。不填为默认项目。
2478
+ * 启动配置所属项目ID。不填为默认项目。
2023
2479
  注意:伸缩组内实例所属项目ID取伸缩组项目ID,与这里取值无关。
2024
2480
  * @type {number || null}
2025
2481
  */
@@ -2257,7 +2713,17 @@ class AutoScalingGroup extends AbstractModel {
2257
2713
  this.AutoScalingGroupName = null;
2258
2714
 
2259
2715
  /**
2260
- * 伸缩组当前状态。取值范围:<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不匹配
2261
2727
  * @type {string || null}
2262
2728
  */
2263
2729
  this.AutoScalingGroupStatus = null;
@@ -2402,6 +2868,41 @@ class AutoScalingGroup extends AbstractModel {
2402
2868
  */
2403
2869
  this.MultiZoneSubnetPolicy = null;
2404
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
+
2405
2906
  }
2406
2907
 
2407
2908
  /**
@@ -2458,6 +2959,16 @@ class AutoScalingGroup extends AbstractModel {
2458
2959
  }
2459
2960
  this.Ipv6AddressCount = 'Ipv6AddressCount' in params ? params.Ipv6AddressCount : null;
2460
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;
2461
2972
 
2462
2973
  }
2463
2974
  }
@@ -2643,6 +3154,41 @@ class UpgradeLifecycleHookRequest extends AbstractModel {
2643
3154
  }
2644
3155
  }
2645
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
+
2646
3192
  /**
2647
3193
  * 告警触发策略。
2648
3194
  * @class
@@ -2804,63 +3350,16 @@ class ModifyLoadBalancersResponse extends AbstractModel {
2804
3350
  super();
2805
3351
 
2806
3352
  /**
2807
- * 伸缩活动ID
2808
- * @type {string || null}
2809
- */
2810
- this.ActivityId = null;
2811
-
2812
- /**
2813
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2814
- * @type {string || null}
2815
- */
2816
- this.RequestId = null;
2817
-
2818
- }
2819
-
2820
- /**
2821
- * @private
2822
- */
2823
- deserialize(params) {
2824
- if (!params) {
2825
- return;
2826
- }
2827
- this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
2828
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
2829
-
2830
- }
2831
- }
2832
-
2833
- /**
2834
- * DescribePaiInstances请求参数结构体
2835
- * @class
2836
- */
2837
- class DescribePaiInstancesRequest extends AbstractModel {
2838
- constructor(){
2839
- super();
2840
-
2841
- /**
2842
- * 依据PAI实例的实例ID进行查询。
2843
- * @type {Array.<string> || null}
2844
- */
2845
- this.InstanceIds = null;
2846
-
2847
- /**
2848
- * 过滤条件。
2849
- * @type {Array.<Filter> || null}
2850
- */
2851
- this.Filters = null;
2852
-
2853
- /**
2854
- * 返回数量,默认为20,最大值为100。
2855
- * @type {number || null}
3353
+ * 伸缩活动ID
3354
+ * @type {string || null}
2856
3355
  */
2857
- this.Limit = null;
3356
+ this.ActivityId = null;
2858
3357
 
2859
3358
  /**
2860
- * 偏移量,默认为0
2861
- * @type {number || null}
3359
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
3360
+ * @type {string || null}
2862
3361
  */
2863
- this.Offset = null;
3362
+ this.RequestId = null;
2864
3363
 
2865
3364
  }
2866
3365
 
@@ -2871,18 +3370,8 @@ class DescribePaiInstancesRequest extends AbstractModel {
2871
3370
  if (!params) {
2872
3371
  return;
2873
3372
  }
2874
- this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
2875
-
2876
- if (params.Filters) {
2877
- this.Filters = new Array();
2878
- for (let z in params.Filters) {
2879
- let obj = new Filter();
2880
- obj.deserialize(params.Filters[z]);
2881
- this.Filters.push(obj);
2882
- }
2883
- }
2884
- this.Limit = 'Limit' in params ? params.Limit : null;
2885
- 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;
2886
3375
 
2887
3376
  }
2888
3377
  }
@@ -2919,6 +3408,31 @@ class CreateNotificationConfigurationRequest extends AbstractModel {
2919
3408
  */
2920
3409
  this.NotificationUserGroupIds = null;
2921
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
+
2922
3436
  }
2923
3437
 
2924
3438
  /**
@@ -2931,6 +3445,9 @@ class CreateNotificationConfigurationRequest extends AbstractModel {
2931
3445
  this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
2932
3446
  this.NotificationTypes = 'NotificationTypes' in params ? params.NotificationTypes : null;
2933
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;
2934
3451
 
2935
3452
  }
2936
3453
  }
@@ -2986,36 +3503,18 @@ class DescribeScheduledActionsResponse extends AbstractModel {
2986
3503
  }
2987
3504
 
2988
3505
  /**
2989
- * ModifyNotificationConfiguration请求参数结构体
3506
+ * DeleteLifecycleHook请求参数结构体
2990
3507
  * @class
2991
3508
  */
2992
- class ModifyNotificationConfigurationRequest extends AbstractModel {
3509
+ class DeleteLifecycleHookRequest extends AbstractModel {
2993
3510
  constructor(){
2994
3511
  super();
2995
3512
 
2996
3513
  /**
2997
- * 待修改的通知ID
3514
+ * 生命周期挂钩ID
2998
3515
  * @type {string || null}
2999
3516
  */
3000
- this.AutoScalingNotificationId = null;
3001
-
3002
- /**
3003
- * 通知类型,即为需要订阅的通知类型集合,取值范围如下:
3004
- <li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
3005
- <li>SCALE_OUT_FAILED:扩容失败</li>
3006
- <li>SCALE_IN_SUCCESSFUL:缩容成功</li>
3007
- <li>SCALE_IN_FAILED:缩容失败</li>
3008
- <li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
3009
- <li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
3010
- * @type {Array.<string> || null}
3011
- */
3012
- this.NotificationTypes = null;
3013
-
3014
- /**
3015
- * 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。
3016
- * @type {Array.<string> || null}
3017
- */
3018
- this.NotificationUserGroupIds = null;
3517
+ this.LifecycleHookId = null;
3019
3518
 
3020
3519
  }
3021
3520
 
@@ -3026,26 +3525,30 @@ class ModifyNotificationConfigurationRequest extends AbstractModel {
3026
3525
  if (!params) {
3027
3526
  return;
3028
3527
  }
3029
- this.AutoScalingNotificationId = 'AutoScalingNotificationId' in params ? params.AutoScalingNotificationId : null;
3030
- this.NotificationTypes = 'NotificationTypes' in params ? params.NotificationTypes : null;
3031
- this.NotificationUserGroupIds = 'NotificationUserGroupIds' in params ? params.NotificationUserGroupIds : null;
3528
+ this.LifecycleHookId = 'LifecycleHookId' in params ? params.LifecycleHookId : null;
3032
3529
 
3033
3530
  }
3034
3531
  }
3035
3532
 
3036
3533
  /**
3037
- * DeleteLifecycleHook请求参数结构体
3534
+ * ModifyLoadBalancerTargetAttributes返回参数结构体
3038
3535
  * @class
3039
3536
  */
3040
- class DeleteLifecycleHookRequest extends AbstractModel {
3537
+ class ModifyLoadBalancerTargetAttributesResponse extends AbstractModel {
3041
3538
  constructor(){
3042
3539
  super();
3043
3540
 
3044
3541
  /**
3045
- * 生命周期挂钩ID
3542
+ * 伸缩活动ID
3046
3543
  * @type {string || null}
3047
3544
  */
3048
- this.LifecycleHookId = null;
3545
+ this.ActivityId = null;
3546
+
3547
+ /**
3548
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3549
+ * @type {string || null}
3550
+ */
3551
+ this.RequestId = null;
3049
3552
 
3050
3553
  }
3051
3554
 
@@ -3056,7 +3559,8 @@ class DeleteLifecycleHookRequest extends AbstractModel {
3056
3559
  if (!params) {
3057
3560
  return;
3058
3561
  }
3059
- 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;
3060
3564
 
3061
3565
  }
3062
3566
  }
@@ -3298,30 +3802,52 @@ class InstanceTag extends AbstractModel {
3298
3802
  }
3299
3803
 
3300
3804
  /**
3301
- * PAI实例
3805
+ * ModifyLifecycleHook返回参数结构体
3302
3806
  * @class
3303
3807
  */
3304
- class PaiInstance extends AbstractModel {
3808
+ class ModifyLifecycleHookResponse extends AbstractModel {
3305
3809
  constructor(){
3306
3810
  super();
3307
3811
 
3308
3812
  /**
3309
- * 实例ID
3813
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3310
3814
  * @type {string || null}
3311
3815
  */
3312
- 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();
3313
3839
 
3314
3840
  /**
3315
- * 实例域名
3316
- * @type {string || null}
3841
+ * 伸缩组配置建议集合。
3842
+ * @type {Array.<AutoScalingAdvice> || null}
3317
3843
  */
3318
- this.DomainName = null;
3844
+ this.AutoScalingAdviceSet = null;
3319
3845
 
3320
3846
  /**
3321
- * PAI管理页面URL
3847
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3322
3848
  * @type {string || null}
3323
3849
  */
3324
- this.PaiMateUrl = null;
3850
+ this.RequestId = null;
3325
3851
 
3326
3852
  }
3327
3853
 
@@ -3332,9 +3858,16 @@ class PaiInstance extends AbstractModel {
3332
3858
  if (!params) {
3333
3859
  return;
3334
3860
  }
3335
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3336
- this.DomainName = 'DomainName' in params ? params.DomainName : null;
3337
- 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;
3338
3871
 
3339
3872
  }
3340
3873
  }
@@ -3396,13 +3929,13 @@ class CreateAutoScalingGroupRequest extends AbstractModel {
3396
3929
  this.LoadBalancerIds = null;
3397
3930
 
3398
3931
  /**
3399
- * 伸缩组内实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/378/4400) 的返回值中的`projectId`字段来获取。不填为默认项目。
3932
+ * 伸缩组内实例所属项目ID。不填为默认项目。
3400
3933
  * @type {number || null}
3401
3934
  */
3402
3935
  this.ProjectId = null;
3403
3936
 
3404
3937
  /**
3405
- * 应用型负载均衡器列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
3938
+ * 应用型负载均衡器列表,目前长度上限为50,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
3406
3939
  * @type {Array.<ForwardLoadBalancer> || null}
3407
3940
  */
3408
3941
  this.ForwardLoadBalancers = null;
@@ -3468,17 +4001,53 @@ class CreateAutoScalingGroupRequest extends AbstractModel {
3468
4001
  /**
3469
4002
  * 多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY,默认为 PRIORITY。
3470
4003
  <br><li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。
3471
- <br><li> EQUALITY:每次选择当前实例数最少的可用区/子网进行扩容,使得每个可用区/子网都有机会发生扩容,多次扩容出的实例会打散到多个可用区/子网。
4004
+ <br><li> EQUALITY:扩容出的实例会打散到多个可用区/子网,保证扩容后的各个可用区/子网实例数相对均衡。
3472
4005
 
3473
4006
  与本策略相关的注意点:
3474
4007
  <br><li> 当伸缩组为基础网络时,本策略适用于多可用区;当伸缩组为VPC网络时,本策略适用于多子网,此时不再考虑可用区因素,例如四个子网ABCD,其中ABC处于可用区1,D处于可用区2,此时考虑子网ABCD进行排序,而不考虑可用区1、2。
3475
4008
  <br><li> 本策略适用于多可用区/子网,不适用于启动配置的多机型。多机型按照优先级策略进行选择。
3476
- <br><li> 创建实例时,先保证多机型的策略,后保证多可用区/子网的策略。例如多机型A、B,多子网1、2、3(按照PRIORITY策略),会按照A1、A2、A3、B1、B2、B3 进行尝试,如果A1售罄,会尝试A2(而非B1)。
3477
- <br><li> 无论使用哪种策略,单次伸缩活动总是优先保持使用一种具体配置(机型 * 可用区/子网)。
4009
+ <br><li> 按照 PRIORITY 策略创建实例时,先保证多机型的策略,后保证多可用区/子网的策略。例如多机型A、B,多子网1、2、3,会按照A1、A2、A3、B1、B2、B3 进行尝试,如果A1售罄,会尝试A2(而非B1)。
3478
4010
  * @type {string || null}
3479
4011
  */
3480
4012
  this.MultiZoneSubnetPolicy = null;
3481
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
+
3482
4051
  }
3483
4052
 
3484
4053
  /**
@@ -3528,6 +4097,16 @@ class CreateAutoScalingGroupRequest extends AbstractModel {
3528
4097
  }
3529
4098
  this.Ipv6AddressCount = 'Ipv6AddressCount' in params ? params.Ipv6AddressCount : null;
3530
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;
3531
4110
 
3532
4111
  }
3533
4112
  }
@@ -3643,7 +4222,7 @@ class UpgradeLaunchConfigurationRequest extends AbstractModel {
3643
4222
  this.LoginSettings = null;
3644
4223
 
3645
4224
  /**
3646
- * 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/378/4400) 的返回值中的`projectId`字段来获取。不填为默认项目。
4225
+ * 实例所属项目ID。不填为默认项目。
3647
4226
  * @type {number || null}
3648
4227
  */
3649
4228
  this.ProjectId = null;
@@ -3903,7 +4482,7 @@ class DataDisk extends AbstractModel {
3903
4482
  super();
3904
4483
 
3905
4484
  /**
3906
- * 数据盘类型。数据盘类型限制详见[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)保持一致。
3907
4486
  注意:此字段可能返回 null,表示取不到有效值。
3908
4487
  * @type {string || null}
3909
4488
  */
@@ -3923,35 +4502,27 @@ class DataDisk extends AbstractModel {
3923
4502
  */
3924
4503
  this.SnapshotId = null;
3925
4504
 
3926
- }
3927
-
3928
- /**
3929
- * @private
3930
- */
3931
- deserialize(params) {
3932
- if (!params) {
3933
- return;
3934
- }
3935
- this.DiskType = 'DiskType' in params ? params.DiskType : null;
3936
- this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
3937
- this.SnapshotId = 'SnapshotId' in params ? params.SnapshotId : null;
3938
-
3939
- }
3940
- }
4505
+ /**
4506
+ * 数据盘是否随子机销毁。取值范围:<br><li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘<br><li>FALSE:子机销毁时,保留数据盘
4507
+ 注意:此字段可能返回 null,表示取不到有效值。
4508
+ * @type {boolean || null}
4509
+ */
4510
+ this.DeleteWithInstance = null;
3941
4511
 
3942
- /**
3943
- * PreviewPaiDomainName请求参数结构体
3944
- * @class
3945
- */
3946
- class PreviewPaiDomainNameRequest extends AbstractModel {
3947
- constructor(){
3948
- super();
4512
+ /**
4513
+ * 数据盘是否加密。取值范围:<br><li>TRUE:加密<br><li>FALSE:不加密
4514
+ 注意:此字段可能返回 null,表示取不到有效值。
4515
+ * @type {boolean || null}
4516
+ */
4517
+ this.Encrypt = null;
3949
4518
 
3950
4519
  /**
3951
- * 域名类型
3952
- * @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}
3953
4524
  */
3954
- this.DomainNameType = null;
4525
+ this.ThroughputPerformance = null;
3955
4526
 
3956
4527
  }
3957
4528
 
@@ -3962,7 +4533,12 @@ class PreviewPaiDomainNameRequest extends AbstractModel {
3962
4533
  if (!params) {
3963
4534
  return;
3964
4535
  }
3965
- 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;
3966
4542
 
3967
4543
  }
3968
4544
  }
@@ -4235,60 +4811,30 @@ class Instance extends AbstractModel {
4235
4811
  }
4236
4812
 
4237
4813
  /**
4238
- * CreateScheduledAction请求参数结构体
4814
+ * DescribeAutoScalingInstances返回参数结构体
4239
4815
  * @class
4240
4816
  */
4241
- class CreateScheduledActionRequest extends AbstractModel {
4817
+ class DescribeAutoScalingInstancesResponse extends AbstractModel {
4242
4818
  constructor(){
4243
4819
  super();
4244
4820
 
4245
4821
  /**
4246
- * 伸缩组ID
4247
- * @type {string || null}
4248
- */
4249
- this.AutoScalingGroupId = null;
4250
-
4251
- /**
4252
- * 定时任务名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。同一伸缩组下必须唯一。
4253
- * @type {string || null}
4254
- */
4255
- this.ScheduledActionName = null;
4256
-
4257
- /**
4258
- * 当定时任务触发时,设置的伸缩组最大实例数。
4259
- * @type {number || null}
4260
- */
4261
- this.MaxSize = null;
4262
-
4263
- /**
4264
- * 当定时任务触发时,设置的伸缩组最小实例数。
4265
- * @type {number || null}
4822
+ * 实例详细信息列表。
4823
+ * @type {Array.<Instance> || null}
4266
4824
  */
4267
- this.MinSize = null;
4825
+ this.AutoScalingInstanceSet = null;
4268
4826
 
4269
4827
  /**
4270
- * 当定时任务触发时,设置的伸缩组期望实例数。
4828
+ * 符合条件的实例数量。
4271
4829
  * @type {number || null}
4272
4830
  */
4273
- this.DesiredCapacity = null;
4274
-
4275
- /**
4276
- * 定时任务的首次触发时间,取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。
4277
- * @type {string || null}
4278
- */
4279
- this.StartTime = null;
4280
-
4281
- /**
4282
- * 定时任务的结束时间,取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。<br><br>此参数与`Recurrence`需要同时指定,到达结束时间之后,定时任务将不再生效。
4283
- * @type {string || null}
4284
- */
4285
- this.EndTime = null;
4831
+ this.TotalCount = null;
4286
4832
 
4287
4833
  /**
4288
- * 定时任务的重复方式。为标准 Cron 格式<br><br>此参数与`EndTime`需要同时指定。
4834
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4289
4835
  * @type {string || null}
4290
4836
  */
4291
- this.Recurrence = null;
4837
+ this.RequestId = null;
4292
4838
 
4293
4839
  }
4294
4840
 
@@ -4299,14 +4845,17 @@ class CreateScheduledActionRequest extends AbstractModel {
4299
4845
  if (!params) {
4300
4846
  return;
4301
4847
  }
4302
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
4303
- this.ScheduledActionName = 'ScheduledActionName' in params ? params.ScheduledActionName : null;
4304
- this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
4305
- this.MinSize = 'MinSize' in params ? params.MinSize : null;
4306
- this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
4307
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
4308
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
4309
- 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;
4310
4859
 
4311
4860
  }
4312
4861
  }
@@ -4586,16 +5135,28 @@ class ModifyDesiredCapacityRequest extends AbstractModel {
4586
5135
  super();
4587
5136
 
4588
5137
  /**
4589
- * 伸缩组ID
4590
- * @type {string || null}
5138
+ * 伸缩组ID
5139
+ * @type {string || null}
5140
+ */
5141
+ this.AutoScalingGroupId = null;
5142
+
5143
+ /**
5144
+ * 期望实例数
5145
+ * @type {number || null}
5146
+ */
5147
+ this.DesiredCapacity = null;
5148
+
5149
+ /**
5150
+ * 最小实例数,取值范围为0-2000。
5151
+ * @type {number || null}
4591
5152
  */
4592
- this.AutoScalingGroupId = null;
5153
+ this.MinSize = null;
4593
5154
 
4594
5155
  /**
4595
- * 期望实例数
5156
+ * 最大实例数,取值范围为0-2000。
4596
5157
  * @type {number || null}
4597
5158
  */
4598
- this.DesiredCapacity = null;
5159
+ this.MaxSize = null;
4599
5160
 
4600
5161
  }
4601
5162
 
@@ -4608,6 +5169,8 @@ class ModifyDesiredCapacityRequest extends AbstractModel {
4608
5169
  }
4609
5170
  this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
4610
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;
4611
5174
 
4612
5175
  }
4613
5176
  }
@@ -4797,6 +5360,12 @@ class ScheduledAction extends AbstractModel {
4797
5360
  */
4798
5361
  this.CreatedTime = null;
4799
5362
 
5363
+ /**
5364
+ * 定时任务的执行类型。取值范围:<br><li>CRONTAB:代表定时任务为重复执行。<br><li>ONCE:代表定时任务为单次执行。
5365
+ * @type {string || null}
5366
+ */
5367
+ this.ScheduledType = null;
5368
+
4800
5369
  }
4801
5370
 
4802
5371
  /**
@@ -4816,6 +5385,93 @@ class ScheduledAction extends AbstractModel {
4816
5385
  this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
4817
5386
  this.MinSize = 'MinSize' in params ? params.MinSize : null;
4818
5387
  this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
5388
+ this.ScheduledType = 'ScheduledType' in params ? params.ScheduledType : null;
5389
+
5390
+ }
5391
+ }
5392
+
5393
+ /**
5394
+ * ModifyLifecycleHook请求参数结构体
5395
+ * @class
5396
+ */
5397
+ class ModifyLifecycleHookRequest extends AbstractModel {
5398
+ constructor(){
5399
+ super();
5400
+
5401
+ /**
5402
+ * 生命周期挂钩ID。
5403
+ * @type {string || null}
5404
+ */
5405
+ this.LifecycleHookId = null;
5406
+
5407
+ /**
5408
+ * 生命周期挂钩名称。
5409
+ * @type {string || null}
5410
+ */
5411
+ this.LifecycleHookName = null;
5412
+
5413
+ /**
5414
+ * 进入生命周期挂钩场景,取值包括:
5415
+ <li> INSTANCE_LAUNCHING:实例启动后
5416
+ <li> INSTANCE_TERMINATING:实例销毁前
5417
+ * @type {string || null}
5418
+ */
5419
+ this.LifecycleTransition = null;
5420
+
5421
+ /**
5422
+ * 定义伸缩组在生命周期挂钩超时的情况下应采取的操作,取值包括:
5423
+ <li> CONTINUE: 超时后继续伸缩活动
5424
+ <li> ABANDON:超时后终止伸缩活动
5425
+ * @type {string || null}
5426
+ */
5427
+ this.DefaultResult = null;
5428
+
5429
+ /**
5430
+ * 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从 30 到 7200 秒。
5431
+ * @type {number || null}
5432
+ */
5433
+ this.HeartbeatTimeout = null;
5434
+
5435
+ /**
5436
+ * 弹性伸缩向通知目标发送的附加信息。
5437
+ * @type {string || null}
5438
+ */
5439
+ this.NotificationMetadata = null;
5440
+
5441
+ /**
5442
+ * 进行生命周期挂钩的场景类型,取值范围包括`NORMAL`和 `EXTENSION`。说明:设置为`EXTENSION`值,在AttachInstances、DetachInstances、RemoveInstances 接口时会触发生命周期挂钩操作,值为`NORMAL`则不会在这些接口中触发生命周期挂钩。
5443
+ * @type {string || null}
5444
+ */
5445
+ this.LifecycleTransitionType = null;
5446
+
5447
+ /**
5448
+ * 通知目标信息。
5449
+ * @type {NotificationTarget || null}
5450
+ */
5451
+ this.NotificationTarget = null;
5452
+
5453
+ }
5454
+
5455
+ /**
5456
+ * @private
5457
+ */
5458
+ deserialize(params) {
5459
+ if (!params) {
5460
+ return;
5461
+ }
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;
5469
+
5470
+ if (params.NotificationTarget) {
5471
+ let obj = new NotificationTarget();
5472
+ obj.deserialize(params.NotificationTarget)
5473
+ this.NotificationTarget = obj;
5474
+ }
4819
5475
 
4820
5476
  }
4821
5477
  }
@@ -4948,10 +5604,6 @@ class DescribeLifecycleHooksRequest extends AbstractModel {
4948
5604
  <li> lifecycle-hook-id - String - 是否必填:否 -(过滤条件)按照生命周期挂钩ID过滤。</li>
4949
5605
  <li> lifecycle-hook-name - String - 是否必填:否 -(过滤条件)按照生命周期挂钩名称过滤。</li>
4950
5606
  <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。</li>
4951
- 过滤条件。
4952
- <li> lifecycle-hook-id - String - 是否必填:否 -(过滤条件)按照生命周期挂钩ID过滤。</li>
4953
- <li> lifecycle-hook-name - String - 是否必填:否 -(过滤条件)按照生命周期挂钩名称过滤。</li>
4954
- <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。</li>
4955
5607
  每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`LifecycleHookIds `和`Filters`。
4956
5608
  * @type {Array.<Filter> || null}
4957
5609
  */
@@ -5017,6 +5669,12 @@ WAKE_UP_STOPPED_SCALING:扩容优先开机。扩容时优先对已关机的实
5017
5669
  */
5018
5670
  this.ScalingMode = null;
5019
5671
 
5672
+ /**
5673
+ * 开启负载均衡不健康替换服务。若开启则对于负载均衡健康检查判断不健康的实例,弹性伸缩服务会进行替换。若不指定该参数,则默认为 False。
5674
+ * @type {boolean || null}
5675
+ */
5676
+ this.ReplaceLoadBalancerUnhealthy = null;
5677
+
5020
5678
  }
5021
5679
 
5022
5680
  /**
@@ -5028,185 +5686,30 @@ WAKE_UP_STOPPED_SCALING:扩容优先开机。扩容时优先对已关机的实
5028
5686
  }
5029
5687
  this.ReplaceMonitorUnhealthy = 'ReplaceMonitorUnhealthy' in params ? params.ReplaceMonitorUnhealthy : null;
5030
5688
  this.ScalingMode = 'ScalingMode' in params ? params.ScalingMode : null;
5689
+ this.ReplaceLoadBalancerUnhealthy = 'ReplaceLoadBalancerUnhealthy' in params ? params.ReplaceLoadBalancerUnhealthy : null;
5031
5690
 
5032
5691
  }
5033
5692
  }
5034
5693
 
5035
5694
  /**
5036
- * 符合条件的启动配置信息的集合。
5695
+ * CreateAutoScalingGroup返回参数结构体
5037
5696
  * @class
5038
5697
  */
5039
- class LaunchConfiguration extends AbstractModel {
5698
+ class CreateAutoScalingGroupResponse extends AbstractModel {
5040
5699
  constructor(){
5041
5700
  super();
5042
5701
 
5043
5702
  /**
5044
- * 实例所属项目ID
5045
- * @type {number || null}
5046
- */
5047
- this.ProjectId = null;
5048
-
5049
- /**
5050
- * 启动配置ID。
5051
- * @type {string || null}
5052
- */
5053
- this.LaunchConfigurationId = null;
5054
-
5055
- /**
5056
- * 启动配置名称。
5057
- * @type {string || null}
5058
- */
5059
- this.LaunchConfigurationName = null;
5060
-
5061
- /**
5062
- * 实例机型。
5063
- * @type {string || null}
5064
- */
5065
- this.InstanceType = null;
5066
-
5067
- /**
5068
- * 实例系统盘配置信息。
5069
- * @type {SystemDisk || null}
5070
- */
5071
- this.SystemDisk = null;
5072
-
5073
- /**
5074
- * 实例数据盘配置信息。
5075
- * @type {Array.<DataDisk> || null}
5076
- */
5077
- this.DataDisks = null;
5078
-
5079
- /**
5080
- * 实例登录设置。
5081
- * @type {LimitedLoginSettings || null}
5082
- */
5083
- this.LoginSettings = null;
5084
-
5085
- /**
5086
- * 公网带宽相关信息设置。
5087
- * @type {InternetAccessible || null}
5088
- */
5089
- this.InternetAccessible = null;
5090
-
5091
- /**
5092
- * 实例所属安全组。
5093
- * @type {Array.<string> || null}
5094
- */
5095
- this.SecurityGroupIds = null;
5096
-
5097
- /**
5098
- * 启动配置关联的伸缩组。
5099
- * @type {Array.<AutoScalingGroupAbstract> || null}
5100
- */
5101
- this.AutoScalingGroupAbstractSet = null;
5102
-
5103
- /**
5104
- * 自定义数据。
5105
- 注意:此字段可能返回 null,表示取不到有效值。
5106
- * @type {string || null}
5107
- */
5108
- this.UserData = null;
5109
-
5110
- /**
5111
- * 启动配置创建时间。
5112
- * @type {string || null}
5113
- */
5114
- this.CreatedTime = null;
5115
-
5116
- /**
5117
- * 实例的增强服务启用情况与其设置。
5118
- * @type {EnhancedService || null}
5119
- */
5120
- this.EnhancedService = null;
5121
-
5122
- /**
5123
- * 镜像ID。
5124
- * @type {string || null}
5125
- */
5126
- this.ImageId = null;
5127
-
5128
- /**
5129
- * 启动配置当前状态。取值范围:<br><li>NORMAL:正常<br><li>IMAGE_ABNORMAL:启动配置镜像异常<br><li>CBS_SNAP_ABNORMAL:启动配置数据盘快照异常<br><li>SECURITY_GROUP_ABNORMAL:启动配置安全组异常<br>
5130
- * @type {string || null}
5131
- */
5132
- this.LaunchConfigurationStatus = null;
5133
-
5134
- /**
5135
- * 实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。
5136
- <br><li>POSTPAID_BY_HOUR:按小时后付费
5137
- <br><li>SPOTPAID:竞价付费
5138
- * @type {string || null}
5139
- */
5140
- this.InstanceChargeType = null;
5141
-
5142
- /**
5143
- * 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。
5144
- 注意:此字段可能返回 null,表示取不到有效值。
5145
- * @type {InstanceMarketOptionsRequest || null}
5146
- */
5147
- this.InstanceMarketOptions = null;
5148
-
5149
- /**
5150
- * 实例机型列表。
5151
- * @type {Array.<string> || null}
5152
- */
5153
- this.InstanceTypes = null;
5154
-
5155
- /**
5156
- * 标签列表。
5157
- * @type {Array.<InstanceTag> || null}
5158
- */
5159
- this.InstanceTags = null;
5160
-
5161
- /**
5162
- * 版本号。
5163
- * @type {number || null}
5164
- */
5165
- this.VersionNumber = null;
5166
-
5167
- /**
5168
- * 更新时间。
5169
- * @type {string || null}
5170
- */
5171
- this.UpdatedTime = null;
5172
-
5173
- /**
5174
- * CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
5175
- * @type {string || null}
5176
- */
5177
- this.CamRoleName = null;
5178
-
5179
- /**
5180
- * 上次操作时,InstanceTypesCheckPolicy 取值。
5181
- * @type {string || null}
5182
- */
5183
- this.LastOperationInstanceTypesCheckPolicy = null;
5184
-
5185
- /**
5186
- * 云服务器主机名(HostName)的相关设置。
5187
- * @type {HostNameSettings || null}
5188
- */
5189
- this.HostNameSettings = null;
5190
-
5191
- /**
5192
- * 云服务器实例名(InstanceName)的相关设置。
5193
- * @type {InstanceNameSettings || null}
5194
- */
5195
- this.InstanceNameSettings = null;
5196
-
5197
- /**
5198
- * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
5199
- * @type {InstanceChargePrepaid || null}
5703
+ * 伸缩组ID
5704
+ * @type {string || null}
5200
5705
  */
5201
- this.InstanceChargePrepaid = null;
5706
+ this.AutoScalingGroupId = null;
5202
5707
 
5203
5708
  /**
5204
- * 云盘类型选择策略。取值范围:
5205
- <br><li>ORIGINAL:使用设置的云盘类型
5206
- <br><li>AUTOMATIC:自动选择当前可用区下可用的云盘类型
5709
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5207
5710
  * @type {string || null}
5208
5711
  */
5209
- this.DiskTypePolicy = null;
5712
+ this.RequestId = null;
5210
5713
 
5211
5714
  }
5212
5715
 
@@ -5217,97 +5720,8 @@ class LaunchConfiguration extends AbstractModel {
5217
5720
  if (!params) {
5218
5721
  return;
5219
5722
  }
5220
- this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
5221
- this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
5222
- this.LaunchConfigurationName = 'LaunchConfigurationName' in params ? params.LaunchConfigurationName : null;
5223
- this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
5224
-
5225
- if (params.SystemDisk) {
5226
- let obj = new SystemDisk();
5227
- obj.deserialize(params.SystemDisk)
5228
- this.SystemDisk = obj;
5229
- }
5230
-
5231
- if (params.DataDisks) {
5232
- this.DataDisks = new Array();
5233
- for (let z in params.DataDisks) {
5234
- let obj = new DataDisk();
5235
- obj.deserialize(params.DataDisks[z]);
5236
- this.DataDisks.push(obj);
5237
- }
5238
- }
5239
-
5240
- if (params.LoginSettings) {
5241
- let obj = new LimitedLoginSettings();
5242
- obj.deserialize(params.LoginSettings)
5243
- this.LoginSettings = obj;
5244
- }
5245
-
5246
- if (params.InternetAccessible) {
5247
- let obj = new InternetAccessible();
5248
- obj.deserialize(params.InternetAccessible)
5249
- this.InternetAccessible = obj;
5250
- }
5251
- this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
5252
-
5253
- if (params.AutoScalingGroupAbstractSet) {
5254
- this.AutoScalingGroupAbstractSet = new Array();
5255
- for (let z in params.AutoScalingGroupAbstractSet) {
5256
- let obj = new AutoScalingGroupAbstract();
5257
- obj.deserialize(params.AutoScalingGroupAbstractSet[z]);
5258
- this.AutoScalingGroupAbstractSet.push(obj);
5259
- }
5260
- }
5261
- this.UserData = 'UserData' in params ? params.UserData : null;
5262
- this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
5263
-
5264
- if (params.EnhancedService) {
5265
- let obj = new EnhancedService();
5266
- obj.deserialize(params.EnhancedService)
5267
- this.EnhancedService = obj;
5268
- }
5269
- this.ImageId = 'ImageId' in params ? params.ImageId : null;
5270
- this.LaunchConfigurationStatus = 'LaunchConfigurationStatus' in params ? params.LaunchConfigurationStatus : null;
5271
- this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
5272
-
5273
- if (params.InstanceMarketOptions) {
5274
- let obj = new InstanceMarketOptionsRequest();
5275
- obj.deserialize(params.InstanceMarketOptions)
5276
- this.InstanceMarketOptions = obj;
5277
- }
5278
- this.InstanceTypes = 'InstanceTypes' in params ? params.InstanceTypes : null;
5279
-
5280
- if (params.InstanceTags) {
5281
- this.InstanceTags = new Array();
5282
- for (let z in params.InstanceTags) {
5283
- let obj = new InstanceTag();
5284
- obj.deserialize(params.InstanceTags[z]);
5285
- this.InstanceTags.push(obj);
5286
- }
5287
- }
5288
- this.VersionNumber = 'VersionNumber' in params ? params.VersionNumber : null;
5289
- this.UpdatedTime = 'UpdatedTime' in params ? params.UpdatedTime : null;
5290
- this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
5291
- this.LastOperationInstanceTypesCheckPolicy = 'LastOperationInstanceTypesCheckPolicy' in params ? params.LastOperationInstanceTypesCheckPolicy : null;
5292
-
5293
- if (params.HostNameSettings) {
5294
- let obj = new HostNameSettings();
5295
- obj.deserialize(params.HostNameSettings)
5296
- this.HostNameSettings = obj;
5297
- }
5298
-
5299
- if (params.InstanceNameSettings) {
5300
- let obj = new InstanceNameSettings();
5301
- obj.deserialize(params.InstanceNameSettings)
5302
- this.InstanceNameSettings = obj;
5303
- }
5304
-
5305
- if (params.InstanceChargePrepaid) {
5306
- let obj = new InstanceChargePrepaid();
5307
- obj.deserialize(params.InstanceChargePrepaid)
5308
- this.InstanceChargePrepaid = obj;
5309
- }
5310
- this.DiskTypePolicy = 'DiskTypePolicy' in params ? params.DiskTypePolicy : null;
5723
+ this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
5724
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5311
5725
 
5312
5726
  }
5313
5727
  }
@@ -5376,30 +5790,18 @@ class ModifyNotificationConfigurationResponse extends AbstractModel {
5376
5790
  }
5377
5791
 
5378
5792
  /**
5379
- * DescribeAutoScalingInstances返回参数结构体
5793
+ * 描述了实例登录相关配置与信息,出于安全性考虑,不会描述敏感信息。
5380
5794
  * @class
5381
5795
  */
5382
- class DescribeAutoScalingInstancesResponse extends AbstractModel {
5796
+ class LimitedLoginSettings extends AbstractModel {
5383
5797
  constructor(){
5384
5798
  super();
5385
5799
 
5386
5800
  /**
5387
- * 实例详细信息列表。
5388
- * @type {Array.<Instance> || null}
5389
- */
5390
- this.AutoScalingInstanceSet = null;
5391
-
5392
- /**
5393
- * 符合条件的实例数量。
5394
- * @type {number || null}
5395
- */
5396
- this.TotalCount = null;
5397
-
5398
- /**
5399
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5400
- * @type {string || null}
5801
+ * 密钥ID列表。
5802
+ * @type {Array.<string> || null}
5401
5803
  */
5402
- this.RequestId = null;
5804
+ this.KeyIds = null;
5403
5805
 
5404
5806
  }
5405
5807
 
@@ -5410,17 +5812,7 @@ class DescribeAutoScalingInstancesResponse extends AbstractModel {
5410
5812
  if (!params) {
5411
5813
  return;
5412
5814
  }
5413
-
5414
- if (params.AutoScalingInstanceSet) {
5415
- this.AutoScalingInstanceSet = new Array();
5416
- for (let z in params.AutoScalingInstanceSet) {
5417
- let obj = new Instance();
5418
- obj.deserialize(params.AutoScalingInstanceSet[z]);
5419
- this.AutoScalingInstanceSet.push(obj);
5420
- }
5421
- }
5422
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
5423
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
5815
+ this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
5424
5816
 
5425
5817
  }
5426
5818
  }
@@ -5585,6 +5977,34 @@ class ScaleInInstancesResponse extends AbstractModel {
5585
5977
  }
5586
5978
  }
5587
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
+
5588
6008
  /**
5589
6009
  * DeleteNotificationConfiguration请求参数结构体
5590
6010
  * @class
@@ -5683,21 +6103,23 @@ class NotificationTarget extends AbstractModel {
5683
6103
  super();
5684
6104
 
5685
6105
  /**
5686
- * 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`。
6106
+ * 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`、`TDMQ_CMQ_QUEUE`、`TDMQ_CMQ_TOPIC`。
5687
6107
  <li> CMQ_QUEUE,指腾讯云消息队列-队列模型。</li>
5688
6108
  <li> CMQ_TOPIC,指腾讯云消息队列-主题模型。</li>
6109
+ <li> TDMQ_CMQ_QUEUE,指腾讯云 TDMQ 消息队列-队列模型。</li>
6110
+ <li> TDMQ_CMQ_TOPIC,指腾讯云 TDMQ 消息队列-主题模型。</li>
5689
6111
  * @type {string || null}
5690
6112
  */
5691
6113
  this.TargetType = null;
5692
6114
 
5693
6115
  /**
5694
- * 队列名称,如果`TargetType`取值为`CMQ_QUEUE`,则本字段必填。
6116
+ * 队列名称,如果`TargetType`取值为`CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE`,则本字段必填。
5695
6117
  * @type {string || null}
5696
6118
  */
5697
6119
  this.QueueName = null;
5698
6120
 
5699
6121
  /**
5700
- * 主题名称,如果`TargetType`取值为`CMQ_TOPIC`,则本字段必填。
6122
+ * 主题名称,如果`TargetType`取值为`CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC`,则本字段必填。
5701
6123
  * @type {string || null}
5702
6124
  */
5703
6125
  this.TopicName = null;
@@ -5718,6 +6140,49 @@ class NotificationTarget extends AbstractModel {
5718
6140
  }
5719
6141
  }
5720
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
+
5721
6186
  /**
5722
6187
  * DeleteAutoScalingGroup返回参数结构体
5723
6188
  * @class
@@ -6166,43 +6631,100 @@ class ForwardLoadBalancer extends AbstractModel {
6166
6631
  if (!params) {
6167
6632
  return;
6168
6633
  }
6169
- this.LoadBalancerId = 'LoadBalancerId' in params ? params.LoadBalancerId : null;
6170
- this.ListenerId = 'ListenerId' in params ? params.ListenerId : null;
6171
-
6172
- if (params.TargetAttributes) {
6173
- this.TargetAttributes = new Array();
6174
- for (let z in params.TargetAttributes) {
6175
- let obj = new TargetAttribute();
6176
- obj.deserialize(params.TargetAttributes[z]);
6177
- this.TargetAttributes.push(obj);
6178
- }
6179
- }
6180
- this.LocationId = 'LocationId' in params ? params.LocationId : null;
6181
- this.Region = 'Region' in params ? params.Region : null;
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;
6694
+ }
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;
6182
6699
 
6183
6700
  }
6184
6701
  }
6185
6702
 
6186
6703
  /**
6187
- * ClearLaunchConfigurationAttributes请求参数结构体
6704
+ * 应用型负载均衡器标识信息
6188
6705
  * @class
6189
6706
  */
6190
- class ClearLaunchConfigurationAttributesRequest extends AbstractModel {
6707
+ class ForwardLoadBalancerIdentification extends AbstractModel {
6191
6708
  constructor(){
6192
6709
  super();
6193
6710
 
6194
6711
  /**
6195
- * 启动配置ID
6712
+ * 负载均衡器ID
6196
6713
  * @type {string || null}
6197
6714
  */
6198
- this.LaunchConfigurationId = null;
6715
+ this.LoadBalancerId = null;
6199
6716
 
6200
6717
  /**
6201
- * 是否清空数据盘信息,非必填,默认为 false。
6202
- true 代表清空“数据盘”信息,清空后基于此新创建的云主机将不含有任何数据盘。
6203
- * @type {boolean || null}
6718
+ * 应用型负载均衡监听器 ID
6719
+ * @type {string || null}
6204
6720
  */
6205
- this.ClearDataDisks = null;
6721
+ this.ListenerId = null;
6722
+
6723
+ /**
6724
+ * 转发规则ID,注意:针对七层监听器此参数必填
6725
+ * @type {string || null}
6726
+ */
6727
+ this.LocationId = null;
6206
6728
 
6207
6729
  }
6208
6730
 
@@ -6213,31 +6735,41 @@ class ClearLaunchConfigurationAttributesRequest extends AbstractModel {
6213
6735
  if (!params) {
6214
6736
  return;
6215
6737
  }
6216
- this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
6217
- this.ClearDataDisks = 'ClearDataDisks' in params ? params.ClearDataDisks : null;
6738
+ this.LoadBalancerId = 'LoadBalancerId' in params ? params.LoadBalancerId : null;
6739
+ this.ListenerId = 'ListenerId' in params ? params.ListenerId : null;
6740
+ this.LocationId = 'LocationId' in params ? params.LocationId : null;
6218
6741
 
6219
6742
  }
6220
6743
  }
6221
6744
 
6222
6745
  /**
6223
- * PreviewPaiDomainName返回参数结构体
6746
+ * 伸缩组配置建议。
6224
6747
  * @class
6225
6748
  */
6226
- class PreviewPaiDomainNameResponse extends AbstractModel {
6749
+ class AutoScalingAdvice extends AbstractModel {
6227
6750
  constructor(){
6228
6751
  super();
6229
6752
 
6230
6753
  /**
6231
- * 可用的PAI域名
6754
+ * 伸缩组ID。
6232
6755
  * @type {string || null}
6233
6756
  */
6234
- this.DomainName = null;
6757
+ this.AutoScalingGroupId = null;
6235
6758
 
6236
6759
  /**
6237
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6760
+ * 伸缩组警告级别。取值范围:<br>
6761
+ <li>NORMAL:正常<br>
6762
+ <li>WARNING:警告级别<br>
6763
+ <li>CRITICAL:严重级别<br>
6238
6764
  * @type {string || null}
6239
6765
  */
6240
- this.RequestId = null;
6766
+ this.Level = null;
6767
+
6768
+ /**
6769
+ * 伸缩组配置建议集合。
6770
+ * @type {Array.<Advice> || null}
6771
+ */
6772
+ this.Advices = null;
6241
6773
 
6242
6774
  }
6243
6775
 
@@ -6248,17 +6780,26 @@ class PreviewPaiDomainNameResponse extends AbstractModel {
6248
6780
  if (!params) {
6249
6781
  return;
6250
6782
  }
6251
- this.DomainName = 'DomainName' in params ? params.DomainName : null;
6252
- 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
+ }
6253
6794
 
6254
6795
  }
6255
6796
  }
6256
6797
 
6257
6798
  /**
6258
- * DeleteAutoScalingGroup请求参数结构体
6799
+ * StartAutoScalingInstances请求参数结构体
6259
6800
  * @class
6260
6801
  */
6261
- class DeleteAutoScalingGroupRequest extends AbstractModel {
6802
+ class StartAutoScalingInstancesRequest extends AbstractModel {
6262
6803
  constructor(){
6263
6804
  super();
6264
6805
 
@@ -6268,6 +6809,12 @@ class DeleteAutoScalingGroupRequest extends AbstractModel {
6268
6809
  */
6269
6810
  this.AutoScalingGroupId = null;
6270
6811
 
6812
+ /**
6813
+ * 待开启的CVM实例ID列表
6814
+ * @type {Array.<string> || null}
6815
+ */
6816
+ this.InstanceIds = null;
6817
+
6271
6818
  }
6272
6819
 
6273
6820
  /**
@@ -6278,15 +6825,16 @@ class DeleteAutoScalingGroupRequest extends AbstractModel {
6278
6825
  return;
6279
6826
  }
6280
6827
  this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6828
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
6281
6829
 
6282
6830
  }
6283
6831
  }
6284
6832
 
6285
6833
  /**
6286
- * RemoveInstances请求参数结构体
6834
+ * AttachInstances请求参数结构体
6287
6835
  * @class
6288
6836
  */
6289
- class RemoveInstancesRequest extends AbstractModel {
6837
+ class AttachInstancesRequest extends AbstractModel {
6290
6838
  constructor(){
6291
6839
  super();
6292
6840
 
@@ -6318,10 +6866,10 @@ class RemoveInstancesRequest extends AbstractModel {
6318
6866
  }
6319
6867
 
6320
6868
  /**
6321
- * StartAutoScalingInstances请求参数结构体
6869
+ * AttachLoadBalancers请求参数结构体
6322
6870
  * @class
6323
6871
  */
6324
- class StartAutoScalingInstancesRequest extends AbstractModel {
6872
+ class AttachLoadBalancersRequest extends AbstractModel {
6325
6873
  constructor(){
6326
6874
  super();
6327
6875
 
@@ -6332,10 +6880,16 @@ class StartAutoScalingInstancesRequest extends AbstractModel {
6332
6880
  this.AutoScalingGroupId = null;
6333
6881
 
6334
6882
  /**
6335
- * 待开启的CVM实例ID列表
6883
+ * 传统型负载均衡器ID列表,每个伸缩组绑定传统型负载均衡器数量上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
6336
6884
  * @type {Array.<string> || null}
6337
6885
  */
6338
- this.InstanceIds = null;
6886
+ this.LoadBalancerIds = null;
6887
+
6888
+ /**
6889
+ * 应用型负载均衡器列表,每个伸缩组绑定应用型负载均衡器数量上限为50,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
6890
+ * @type {Array.<ForwardLoadBalancer> || null}
6891
+ */
6892
+ this.ForwardLoadBalancers = null;
6339
6893
 
6340
6894
  }
6341
6895
 
@@ -6347,30 +6901,62 @@ class StartAutoScalingInstancesRequest extends AbstractModel {
6347
6901
  return;
6348
6902
  }
6349
6903
  this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6350
- 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
+ }
6351
6914
 
6352
6915
  }
6353
6916
  }
6354
6917
 
6355
6918
  /**
6356
- * AttachInstances请求参数结构体
6919
+ * 竞价混合模式下,各计费类型实例的分配策略。包括按量计费实例和竞价计费实例。
6357
6920
  * @class
6358
6921
  */
6359
- class AttachInstancesRequest extends AbstractModel {
6922
+ class SpotMixedAllocationPolicy extends AbstractModel {
6360
6923
  constructor(){
6361
6924
  super();
6362
6925
 
6363
6926
  /**
6364
- * 伸缩组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,表示取不到有效值。
6365
6946
  * @type {string || null}
6366
6947
  */
6367
- this.AutoScalingGroupId = null;
6948
+ this.SpotAllocationStrategy = null;
6368
6949
 
6369
6950
  /**
6370
- * CVM实例ID列表
6371
- * @type {Array.<string> || null}
6951
+ * 按量实例替补功能。取值范围:
6952
+ <br><li> TRUE,开启该功能,当所有竞价机型因库存不足等原因全部购买失败后,尝试购买按量实例。
6953
+ <br><li> FALSE,不开启该功能,伸缩组在需要扩容竞价实例时仅尝试所配置的竞价机型。
6954
+
6955
+ 默认取值: TRUE。
6956
+ 注意:此字段可能返回 null,表示取不到有效值。
6957
+ * @type {boolean || null}
6372
6958
  */
6373
- this.InstanceIds = null;
6959
+ this.CompensateWithBaseInstance = null;
6374
6960
 
6375
6961
  }
6376
6962
 
@@ -6381,8 +6967,10 @@ class AttachInstancesRequest extends AbstractModel {
6381
6967
  if (!params) {
6382
6968
  return;
6383
6969
  }
6384
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
6385
- 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;
6386
6974
 
6387
6975
  }
6388
6976
  }
@@ -6532,6 +7120,12 @@ class Activity extends AbstractModel {
6532
7120
  */
6533
7121
  this.LifecycleActionResultSet = null;
6534
7122
 
7123
+ /**
7124
+ * 伸缩活动状态详细描述。
7125
+ * @type {Array.<DetailedStatusMessage> || null}
7126
+ */
7127
+ this.DetailedStatusMessageSet = null;
7128
+
6535
7129
  }
6536
7130
 
6537
7131
  /**
@@ -6571,6 +7165,15 @@ class Activity extends AbstractModel {
6571
7165
  }
6572
7166
  }
6573
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
+
6574
7177
  }
6575
7178
  }
6576
7179
 
@@ -6677,18 +7280,48 @@ class RunMonitorServiceEnabled extends AbstractModel {
6677
7280
  }
6678
7281
 
6679
7282
  /**
6680
- * DeleteLifecycleHook返回参数结构体
7283
+ * ModifyNotificationConfiguration请求参数结构体
6681
7284
  * @class
6682
7285
  */
6683
- class DeleteLifecycleHookResponse extends AbstractModel {
7286
+ class ModifyNotificationConfigurationRequest extends AbstractModel {
6684
7287
  constructor(){
6685
7288
  super();
6686
7289
 
6687
7290
  /**
6688
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
7291
+ * 待修改的通知ID。
6689
7292
  * @type {string || null}
6690
7293
  */
6691
- 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;
6692
7325
 
6693
7326
  }
6694
7327
 
@@ -6699,7 +7332,11 @@ class DeleteLifecycleHookResponse extends AbstractModel {
6699
7332
  if (!params) {
6700
7333
  return;
6701
7334
  }
6702
- 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;
6703
7340
 
6704
7341
  }
6705
7342
  }
@@ -6743,6 +7380,69 @@ class ActivtyRelatedInstance extends AbstractModel {
6743
7380
  }
6744
7381
  }
6745
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
+
6746
7446
  /**
6747
7447
  * 描述了启动配置创建实例的公网可访问性,声明了实例的公网使用计费模式,最大带宽等
6748
7448
  * @class
@@ -6888,25 +7588,13 @@ class InstanceChargePrepaid extends AbstractModel {
6888
7588
  }
6889
7589
 
6890
7590
  /**
6891
- * DescribePaiInstances返回参数结构体
7591
+ * DeleteLifecycleHook返回参数结构体
6892
7592
  * @class
6893
7593
  */
6894
- class DescribePaiInstancesResponse extends AbstractModel {
7594
+ class DeleteLifecycleHookResponse extends AbstractModel {
6895
7595
  constructor(){
6896
7596
  super();
6897
7597
 
6898
- /**
6899
- * 符合条件的PAI实例数量
6900
- * @type {number || null}
6901
- */
6902
- this.TotalCount = null;
6903
-
6904
- /**
6905
- * PAI实例详细信息
6906
- * @type {Array.<PaiInstance> || null}
6907
- */
6908
- this.PaiInstanceSet = null;
6909
-
6910
7598
  /**
6911
7599
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6912
7600
  * @type {string || null}
@@ -6922,16 +7610,6 @@ class DescribePaiInstancesResponse extends AbstractModel {
6922
7610
  if (!params) {
6923
7611
  return;
6924
7612
  }
6925
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
6926
-
6927
- if (params.PaiInstanceSet) {
6928
- this.PaiInstanceSet = new Array();
6929
- for (let z in params.PaiInstanceSet) {
6930
- let obj = new PaiInstance();
6931
- obj.deserialize(params.PaiInstanceSet[z]);
6932
- this.PaiInstanceSet.push(obj);
6933
- }
6934
- }
6935
7613
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
6936
7614
 
6937
7615
  }
@@ -6988,74 +7666,77 @@ module.exports = {
6988
7666
  AutoScalingNotification: AutoScalingNotification,
6989
7667
  ModifyScheduledActionRequest: ModifyScheduledActionRequest,
6990
7668
  DescribeAutoScalingGroupsRequest: DescribeAutoScalingGroupsRequest,
6991
- CreateAutoScalingGroupResponse: CreateAutoScalingGroupResponse,
7669
+ LaunchConfiguration: LaunchConfiguration,
6992
7670
  DescribeAccountLimitsResponse: DescribeAccountLimitsResponse,
6993
- CreatePaiInstanceResponse: CreatePaiInstanceResponse,
6994
7671
  CreateLaunchConfigurationResponse: CreateLaunchConfigurationResponse,
7672
+ Advice: Advice,
6995
7673
  CreateLifecycleHookResponse: CreateLifecycleHookResponse,
6996
7674
  ClearLaunchConfigurationAttributesResponse: ClearLaunchConfigurationAttributesResponse,
6997
7675
  DescribeAutoScalingGroupsResponse: DescribeAutoScalingGroupsResponse,
6998
- CreatePaiInstanceRequest: CreatePaiInstanceRequest,
7676
+ CreateScheduledActionRequest: CreateScheduledActionRequest,
6999
7677
  SystemDisk: SystemDisk,
7000
7678
  SpotMarketOptions: SpotMarketOptions,
7001
7679
  StopAutoScalingInstancesResponse: StopAutoScalingInstancesResponse,
7002
7680
  DescribeScalingPoliciesRequest: DescribeScalingPoliciesRequest,
7003
7681
  InstanceNameSettings: InstanceNameSettings,
7682
+ DetailedStatusMessage: DetailedStatusMessage,
7004
7683
  ModifyScheduledActionResponse: ModifyScheduledActionResponse,
7005
- CreateAutoScalingGroupFromInstanceRequest: CreateAutoScalingGroupFromInstanceRequest,
7684
+ AttachLoadBalancersResponse: AttachLoadBalancersResponse,
7006
7685
  ExecuteScalingPolicyResponse: ExecuteScalingPolicyResponse,
7007
- ModifyLaunchConfigurationAttributesResponse: ModifyLaunchConfigurationAttributesResponse,
7686
+ DeleteAutoScalingGroupRequest: DeleteAutoScalingGroupRequest,
7008
7687
  SetInstancesProtectionResponse: SetInstancesProtectionResponse,
7009
7688
  StartAutoScalingInstancesResponse: StartAutoScalingInstancesResponse,
7010
7689
  CompleteLifecycleActionRequest: CompleteLifecycleActionRequest,
7011
7690
  CreateScalingPolicyResponse: CreateScalingPolicyResponse,
7012
7691
  CreateNotificationConfigurationResponse: CreateNotificationConfigurationResponse,
7013
7692
  DescribeLaunchConfigurationsResponse: DescribeLaunchConfigurationsResponse,
7693
+ RemoveInstancesRequest: RemoveInstancesRequest,
7014
7694
  DeleteScalingPolicyResponse: DeleteScalingPolicyResponse,
7015
7695
  Tag: Tag,
7696
+ DetachLoadBalancersRequest: DetachLoadBalancersRequest,
7016
7697
  DescribeAutoScalingInstancesRequest: DescribeAutoScalingInstancesRequest,
7017
- LimitedLoginSettings: LimitedLoginSettings,
7018
7698
  ModifyLoadBalancersRequest: ModifyLoadBalancersRequest,
7019
7699
  RemoveInstancesResponse: RemoveInstancesResponse,
7020
7700
  ModifyScalingPolicyResponse: ModifyScalingPolicyResponse,
7021
7701
  SetInstancesProtectionRequest: SetInstancesProtectionRequest,
7022
7702
  DeleteNotificationConfigurationResponse: DeleteNotificationConfigurationResponse,
7023
7703
  DetachInstancesResponse: DetachInstancesResponse,
7704
+ ModifyLaunchConfigurationAttributesResponse: ModifyLaunchConfigurationAttributesResponse,
7024
7705
  CreateLaunchConfigurationRequest: CreateLaunchConfigurationRequest,
7025
7706
  AutoScalingGroup: AutoScalingGroup,
7026
7707
  AttachInstancesResponse: AttachInstancesResponse,
7027
7708
  DescribeAutoScalingGroupLastActivitiesResponse: DescribeAutoScalingGroupLastActivitiesResponse,
7028
7709
  DescribeAccountLimitsRequest: DescribeAccountLimitsRequest,
7029
7710
  UpgradeLifecycleHookRequest: UpgradeLifecycleHookRequest,
7711
+ DetachLoadBalancersResponse: DetachLoadBalancersResponse,
7030
7712
  ScalingPolicy: ScalingPolicy,
7031
7713
  DescribeAutoScalingGroupLastActivitiesRequest: DescribeAutoScalingGroupLastActivitiesRequest,
7032
7714
  HostNameSettings: HostNameSettings,
7033
7715
  ModifyLoadBalancersResponse: ModifyLoadBalancersResponse,
7034
- DescribePaiInstancesRequest: DescribePaiInstancesRequest,
7035
7716
  CreateNotificationConfigurationRequest: CreateNotificationConfigurationRequest,
7036
7717
  DescribeScheduledActionsResponse: DescribeScheduledActionsResponse,
7037
- ModifyNotificationConfigurationRequest: ModifyNotificationConfigurationRequest,
7038
7718
  DeleteLifecycleHookRequest: DeleteLifecycleHookRequest,
7719
+ ModifyLoadBalancerTargetAttributesResponse: ModifyLoadBalancerTargetAttributesResponse,
7039
7720
  ModifyAutoScalingGroupResponse: ModifyAutoScalingGroupResponse,
7040
7721
  DeleteLaunchConfigurationRequest: DeleteLaunchConfigurationRequest,
7041
7722
  ModifyScalingPolicyRequest: ModifyScalingPolicyRequest,
7042
7723
  InstanceMarketOptionsRequest: InstanceMarketOptionsRequest,
7043
7724
  UpgradeLifecycleHookResponse: UpgradeLifecycleHookResponse,
7044
7725
  InstanceTag: InstanceTag,
7045
- PaiInstance: PaiInstance,
7726
+ ModifyLifecycleHookResponse: ModifyLifecycleHookResponse,
7727
+ DescribeAutoScalingAdvicesResponse: DescribeAutoScalingAdvicesResponse,
7046
7728
  CreateAutoScalingGroupRequest: CreateAutoScalingGroupRequest,
7047
7729
  DeleteScheduledActionResponse: DeleteScheduledActionResponse,
7048
7730
  UpgradeLaunchConfigurationRequest: UpgradeLaunchConfigurationRequest,
7049
7731
  DescribeAutoScalingActivitiesResponse: DescribeAutoScalingActivitiesResponse,
7050
7732
  DescribeNotificationConfigurationsResponse: DescribeNotificationConfigurationsResponse,
7051
7733
  DataDisk: DataDisk,
7052
- PreviewPaiDomainNameRequest: PreviewPaiDomainNameRequest,
7053
7734
  DeleteScalingPolicyRequest: DeleteScalingPolicyRequest,
7054
7735
  LoginSettings: LoginSettings,
7055
7736
  CreateAutoScalingGroupFromInstanceResponse: CreateAutoScalingGroupFromInstanceResponse,
7056
7737
  DetachInstancesRequest: DetachInstancesRequest,
7057
7738
  Instance: Instance,
7058
- CreateScheduledActionRequest: CreateScheduledActionRequest,
7739
+ DescribeAutoScalingInstancesResponse: DescribeAutoScalingInstancesResponse,
7059
7740
  EnhancedService: EnhancedService,
7060
7741
  DeleteLaunchConfigurationResponse: DeleteLaunchConfigurationResponse,
7061
7742
  DescribeScheduledActionsRequest: DescribeScheduledActionsRequest,
@@ -7066,21 +7747,24 @@ module.exports = {
7066
7747
  CreateScheduledActionResponse: CreateScheduledActionResponse,
7067
7748
  CreateLifecycleHookRequest: CreateLifecycleHookRequest,
7068
7749
  ScheduledAction: ScheduledAction,
7750
+ ModifyLifecycleHookRequest: ModifyLifecycleHookRequest,
7069
7751
  CompleteLifecycleActionResponse: CompleteLifecycleActionResponse,
7070
7752
  ScaleOutInstancesResponse: ScaleOutInstancesResponse,
7071
7753
  Filter: Filter,
7072
7754
  DescribeLifecycleHooksRequest: DescribeLifecycleHooksRequest,
7073
7755
  ServiceSettings: ServiceSettings,
7074
- LaunchConfiguration: LaunchConfiguration,
7756
+ CreateAutoScalingGroupResponse: CreateAutoScalingGroupResponse,
7075
7757
  TargetAttribute: TargetAttribute,
7076
7758
  ModifyNotificationConfigurationResponse: ModifyNotificationConfigurationResponse,
7077
- DescribeAutoScalingInstancesResponse: DescribeAutoScalingInstancesResponse,
7759
+ LimitedLoginSettings: LimitedLoginSettings,
7078
7760
  DescribeLifecycleHooksResponse: DescribeLifecycleHooksResponse,
7079
7761
  CreateScalingPolicyRequest: CreateScalingPolicyRequest,
7080
7762
  ScaleInInstancesResponse: ScaleInInstancesResponse,
7763
+ DescribeAutoScalingAdvicesRequest: DescribeAutoScalingAdvicesRequest,
7081
7764
  DeleteNotificationConfigurationRequest: DeleteNotificationConfigurationRequest,
7082
7765
  DescribeLaunchConfigurationsRequest: DescribeLaunchConfigurationsRequest,
7083
7766
  NotificationTarget: NotificationTarget,
7767
+ ModifyLoadBalancerTargetAttributesRequest: ModifyLoadBalancerTargetAttributesRequest,
7084
7768
  DeleteAutoScalingGroupResponse: DeleteAutoScalingGroupResponse,
7085
7769
  LifecycleActionResultInfo: LifecycleActionResultInfo,
7086
7770
  AutoScalingGroupAbstract: AutoScalingGroupAbstract,
@@ -7091,23 +7775,25 @@ module.exports = {
7091
7775
  LifecycleHook: LifecycleHook,
7092
7776
  ForwardLoadBalancer: ForwardLoadBalancer,
7093
7777
  ClearLaunchConfigurationAttributesRequest: ClearLaunchConfigurationAttributesRequest,
7094
- PreviewPaiDomainNameResponse: PreviewPaiDomainNameResponse,
7095
- DeleteAutoScalingGroupRequest: DeleteAutoScalingGroupRequest,
7096
- RemoveInstancesRequest: RemoveInstancesRequest,
7778
+ ForwardLoadBalancerIdentification: ForwardLoadBalancerIdentification,
7779
+ AutoScalingAdvice: AutoScalingAdvice,
7097
7780
  StartAutoScalingInstancesRequest: StartAutoScalingInstancesRequest,
7098
7781
  AttachInstancesRequest: AttachInstancesRequest,
7782
+ AttachLoadBalancersRequest: AttachLoadBalancersRequest,
7783
+ SpotMixedAllocationPolicy: SpotMixedAllocationPolicy,
7099
7784
  DescribeScalingPoliciesResponse: DescribeScalingPoliciesResponse,
7100
7785
  Activity: Activity,
7101
7786
  ModifyDesiredCapacityResponse: ModifyDesiredCapacityResponse,
7102
7787
  StopAutoScalingInstancesRequest: StopAutoScalingInstancesRequest,
7103
7788
  RunMonitorServiceEnabled: RunMonitorServiceEnabled,
7104
- DeleteLifecycleHookResponse: DeleteLifecycleHookResponse,
7789
+ ModifyNotificationConfigurationRequest: ModifyNotificationConfigurationRequest,
7105
7790
  ActivtyRelatedInstance: ActivtyRelatedInstance,
7791
+ CreateAutoScalingGroupFromInstanceRequest: CreateAutoScalingGroupFromInstanceRequest,
7106
7792
  InternetAccessible: InternetAccessible,
7107
7793
  EnableAutoScalingGroupResponse: EnableAutoScalingGroupResponse,
7108
7794
  UpgradeLaunchConfigurationResponse: UpgradeLaunchConfigurationResponse,
7109
7795
  InstanceChargePrepaid: InstanceChargePrepaid,
7110
- DescribePaiInstancesResponse: DescribePaiInstancesResponse,
7796
+ DeleteLifecycleHookResponse: DeleteLifecycleHookResponse,
7111
7797
  ExecuteScalingPolicyRequest: ExecuteScalingPolicyRequest,
7112
7798
 
7113
7799
  }