tencentcloud-sdk-nodejs-thpc 4.0.520 → 4.0.522
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.
- package/CHANGELOG.md +341 -0
- package/README.md +5 -4
- package/SERVICE_CHANGELOG.md +363 -60
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/services/thpc/v20220401/thpc_client.ts +16 -2
- package/src/services/thpc/v20220401/thpc_models.ts +147 -13
- package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +5 -1
- package/tencentcloud/services/thpc/v20220401/thpc_client.js +6 -0
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +127 -14
package/products.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|-|-|-|
|
|
3
3
|
| aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2022-08-08 06:02:45 |
|
|
4
4
|
| aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
|
|
5
|
-
| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) |
|
|
5
|
+
| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2023-01-10 15:15:42 |
|
|
6
6
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2022-11-23 06:03:08 |
|
|
7
7
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 |
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-11-14 06:09:18 |
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2022-08-09 10:42:14 |
|
|
25
25
|
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-01-06 01:04:34 |
|
|
26
26
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
27
|
-
| bm | [黑石物理服务器
|
|
27
|
+
| bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2023-01-11 11:01:36 |
|
|
28
28
|
| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2022-11-04 06:09:26 |
|
|
29
29
|
| bmeip | [黑石弹性公网IP](https://cloud.tencent.com/document/product/1028) | 2022-04-19 06:04:56 |
|
|
30
30
|
| bmlb | [黑石负载均衡](https://cloud.tencent.com/document/product/1027) | 2022-04-04 06:09:37 |
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
| bpaas | [商业流程服务](https://cloud.tencent.com/document/product/1083) | 2022-12-15 01:10:28 |
|
|
33
33
|
| bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
|
|
34
34
|
| bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2022-09-29 06:12:03 |
|
|
35
|
-
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) |
|
|
35
|
+
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2023-01-12 01:05:12 |
|
|
36
36
|
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-12-23 01:11:34 |
|
|
37
37
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-12-15 01:11:14 |
|
|
38
38
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-01-09 01:07:04 |
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-12-28 11:40:24 |
|
|
66
66
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
67
67
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-12-28 01:05:55 |
|
|
68
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-01-
|
|
68
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-01-12 01:12:53 |
|
|
69
69
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
70
70
|
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-01-02 01:17:01 |
|
|
71
71
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2022-11-04 06:19:07 |
|
|
@@ -81,29 +81,29 @@
|
|
|
81
81
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
|
|
82
82
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2022-10-31 06:27:09 |
|
|
83
83
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
84
|
-
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2023-01-
|
|
84
|
+
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2023-01-12 01:17:34 |
|
|
85
85
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-08-23 06:27:55 |
|
|
86
86
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
|
|
87
87
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
|
|
88
88
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-01-09 01:21:37 |
|
|
89
89
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
90
90
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2022-11-16 06:22:42 |
|
|
91
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-01-
|
|
91
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-01-11 01:21:05 |
|
|
92
92
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-12-12 01:25:49 |
|
|
93
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-01-
|
|
94
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-01-
|
|
95
|
-
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) |
|
|
93
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-01-11 01:21:38 |
|
|
94
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-01-11 15:01:01 |
|
|
95
|
+
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-01-12 01:20:14 |
|
|
96
96
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-01-06 01:23:24 |
|
|
97
97
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
98
98
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-04-04 06:43:12 |
|
|
99
99
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-11-23 06:29:46 |
|
|
100
|
-
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) |
|
|
100
|
+
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-01-12 01:21:12 |
|
|
101
101
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
102
102
|
| gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2022-12-21 15:17:42 |
|
|
103
103
|
| gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 |
|
|
104
104
|
| habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
|
|
105
105
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-01-04 16:41:04 |
|
|
106
|
-
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) |
|
|
106
|
+
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2023-01-12 01:21:36 |
|
|
107
107
|
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2022-11-21 06:30:35 |
|
|
108
108
|
| ic | [物联网卡](https://cloud.tencent.com/document/product/636) | 2022-11-18 06:30:40 |
|
|
109
109
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2022-04-13 06:46:31 |
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-12-13 10:37:12 |
|
|
123
123
|
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-01-10 01:31:38 |
|
|
124
124
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-01-09 01:31:39 |
|
|
125
|
-
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-01-
|
|
125
|
+
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-01-11 01:29:14 |
|
|
126
126
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
127
127
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
128
128
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-11-23 06:38:36 |
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2023-01-02 01:32:07 |
|
|
136
136
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2022-12-16 01:33:15 |
|
|
137
137
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-12-08 01:38:36 |
|
|
138
|
-
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) |
|
|
138
|
+
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-01-11 01:32:47 |
|
|
139
139
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2022-04-04 07:00:13 |
|
|
140
140
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
141
141
|
| nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-12-15 10:27:58 |
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2022-12-28 01:09:18 |
|
|
154
154
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-04-04 07:04:04 |
|
|
155
155
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
156
|
-
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2023-01-
|
|
156
|
+
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2023-01-12 01:32:36 |
|
|
157
157
|
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-12-16 01:37:15 |
|
|
158
158
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-12-16 01:37:37 |
|
|
159
159
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-11-23 06:47:21 |
|
|
@@ -172,24 +172,24 @@
|
|
|
172
172
|
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2022-07-19 06:17:34 |
|
|
173
173
|
| tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2022-10-31 06:48:20 |
|
|
174
174
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
|
175
|
-
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-01-
|
|
175
|
+
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-01-12 01:35:28 |
|
|
176
176
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
177
177
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2022-04-04 07:09:07 |
|
|
178
|
-
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) |
|
|
178
|
+
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-01-11 01:39:23 |
|
|
179
179
|
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-12-23 01:54:25 |
|
|
180
180
|
| tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-08-23 06:50:39 |
|
|
181
181
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
|
|
182
182
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
183
183
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-11-30 06:59:59 |
|
|
184
|
-
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) |
|
|
185
|
-
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) |
|
|
184
|
+
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-01-11 01:40:34 |
|
|
185
|
+
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-01-12 01:37:30 |
|
|
186
186
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-10-21 06:47:14 |
|
|
187
187
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-12-30 17:21:31 |
|
|
188
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) |
|
|
188
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-01-12 01:39:37 |
|
|
189
189
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-12-06 07:10:10 |
|
|
190
190
|
| tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2022-12-27 02:10:16 |
|
|
191
191
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-01-10 01:48:46 |
|
|
192
|
-
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-01-
|
|
192
|
+
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-01-11 01:46:25 |
|
|
193
193
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
194
194
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2022-10-31 06:55:14 |
|
|
195
195
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-01-09 01:52:45 |
|
|
205
205
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2022-12-07 07:14:03 |
|
|
206
206
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-12-28 16:01:40 |
|
|
207
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-01-
|
|
207
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-01-12 01:44:46 |
|
|
208
208
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2022-10-31 06:58:14 |
|
|
209
209
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-01-10 01:53:48 |
|
|
210
210
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-10-31 06:59:44 |
|
|
@@ -212,11 +212,11 @@
|
|
|
212
212
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
213
213
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-11-16 06:46:30 |
|
|
214
214
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
215
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-01-
|
|
215
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-01-11 01:52:34 |
|
|
216
216
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-01-10 01:57:25 |
|
|
217
217
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-01-04 01:53:21 |
|
|
218
218
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-10-12 07:10:28 |
|
|
219
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) |
|
|
219
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-01-12 01:49:24 |
|
|
220
220
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
221
221
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-01-09 01:59:51 |
|
|
222
222
|
| youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
20
|
+
DescribeAutoScalingConfigurationResponse,
|
|
21
|
+
DescribeClusterStorageOptionRequest,
|
|
20
22
|
ClusterOverview,
|
|
21
23
|
DescribeClustersRequest,
|
|
22
24
|
SetAutoScalingConfigurationRequest,
|
|
@@ -36,6 +38,7 @@ import {
|
|
|
36
38
|
CreateClusterRequest,
|
|
37
39
|
DescribeClusterStorageOptionResponse,
|
|
38
40
|
GooseFSOptionOverview,
|
|
41
|
+
InstanceChargePrepaid,
|
|
39
42
|
Tag,
|
|
40
43
|
LoginNode,
|
|
41
44
|
BindAutoScalingGroupResponse,
|
|
@@ -50,10 +53,11 @@ import {
|
|
|
50
53
|
CFSOptionOverview,
|
|
51
54
|
DeleteClusterStorageOptionRequest,
|
|
52
55
|
AddClusterStorageOptionRequest,
|
|
56
|
+
QueueConfigOverview,
|
|
53
57
|
BindAutoScalingGroupRequest,
|
|
54
58
|
VirtualPrivateCloud,
|
|
55
|
-
|
|
56
|
-
|
|
59
|
+
ExpansionNodeConfigOverview,
|
|
60
|
+
DescribeAutoScalingConfigurationRequest,
|
|
57
61
|
StorageOption,
|
|
58
62
|
InternetAccessible,
|
|
59
63
|
ComputeNode,
|
|
@@ -145,6 +149,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
145
149
|
return this.request("AddNodes", req, cb)
|
|
146
150
|
}
|
|
147
151
|
|
|
152
|
+
/**
|
|
153
|
+
* 本接口(DescribeAutoScalingConfiguration)用于查询集群弹性伸缩配置信息。本接口仅适用于弹性伸缩类型为THPC_AS的集群。
|
|
154
|
+
*/
|
|
155
|
+
async DescribeAutoScalingConfiguration(
|
|
156
|
+
req: DescribeAutoScalingConfigurationRequest,
|
|
157
|
+
cb?: (error: string, rep: DescribeAutoScalingConfigurationResponse) => void
|
|
158
|
+
): Promise<DescribeAutoScalingConfigurationResponse> {
|
|
159
|
+
return this.request("DescribeAutoScalingConfiguration", req, cb)
|
|
160
|
+
}
|
|
161
|
+
|
|
148
162
|
/**
|
|
149
163
|
* 本接口(DescribeClusters)用于查询集群列表。
|
|
150
164
|
*/
|
|
@@ -15,6 +15,46 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* DescribeAutoScalingConfiguration返回参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeAutoScalingConfigurationResponse {
|
|
22
|
+
/**
|
|
23
|
+
* 集群ID。
|
|
24
|
+
*/
|
|
25
|
+
ClusterId?: string
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 任务连续等待时间,队列的任务处于连续等待的时间。单位秒。
|
|
29
|
+
*/
|
|
30
|
+
ExpansionBusyTime?: number
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。
|
|
34
|
+
*/
|
|
35
|
+
ShrinkIdleTime?: number
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 扩容队列配置概览列表。
|
|
39
|
+
*/
|
|
40
|
+
QueueConfigs?: Array<QueueConfigOverview>
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
44
|
+
*/
|
|
45
|
+
RequestId?: string
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* DescribeClusterStorageOption请求参数结构体
|
|
50
|
+
*/
|
|
51
|
+
export interface DescribeClusterStorageOptionRequest {
|
|
52
|
+
/**
|
|
53
|
+
* 集群ID。
|
|
54
|
+
*/
|
|
55
|
+
ClusterId: string
|
|
56
|
+
}
|
|
57
|
+
|
|
18
58
|
/**
|
|
19
59
|
* 集群概览信息。
|
|
20
60
|
*/
|
|
@@ -576,6 +616,26 @@ export interface GooseFSOptionOverview {
|
|
|
576
616
|
Masters: Array<string>
|
|
577
617
|
}
|
|
578
618
|
|
|
619
|
+
/**
|
|
620
|
+
* 描述了实例的计费模式
|
|
621
|
+
*/
|
|
622
|
+
export interface InstanceChargePrepaid {
|
|
623
|
+
/**
|
|
624
|
+
* 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。
|
|
625
|
+
*/
|
|
626
|
+
Period: number
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* 自动续费标识。取值范围:
|
|
630
|
+
NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
|
|
631
|
+
NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
|
|
632
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
633
|
+
|
|
634
|
+
默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
|
635
|
+
*/
|
|
636
|
+
RenewFlag?: string
|
|
637
|
+
}
|
|
638
|
+
|
|
579
639
|
/**
|
|
580
640
|
* 标签键值对。
|
|
581
641
|
*/
|
|
@@ -932,6 +992,41 @@ export interface AddClusterStorageOptionRequest {
|
|
|
932
992
|
StorageOption: StorageOption
|
|
933
993
|
}
|
|
934
994
|
|
|
995
|
+
/**
|
|
996
|
+
* 扩容队列配置概览。
|
|
997
|
+
*/
|
|
998
|
+
export interface QueueConfigOverview {
|
|
999
|
+
/**
|
|
1000
|
+
* 队列名称。
|
|
1001
|
+
*/
|
|
1002
|
+
QueueName?: string
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* 队列中弹性节点数量最小值。取值范围0~200。
|
|
1006
|
+
*/
|
|
1007
|
+
MinSize?: number
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* 队列中弹性节点数量最大值。取值范围0~200。
|
|
1011
|
+
*/
|
|
1012
|
+
MaxSize?: number
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* 是否开启自动扩容。
|
|
1016
|
+
*/
|
|
1017
|
+
EnableAutoExpansion?: boolean
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* 是否开启自动缩容。
|
|
1021
|
+
*/
|
|
1022
|
+
EnableAutoShrink?: boolean
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* 扩容节点配置信息。
|
|
1026
|
+
*/
|
|
1027
|
+
ExpansionNodeConfigs?: Array<ExpansionNodeConfigOverview>
|
|
1028
|
+
}
|
|
1029
|
+
|
|
935
1030
|
/**
|
|
936
1031
|
* BindAutoScalingGroup请求参数结构体
|
|
937
1032
|
*/
|
|
@@ -1002,29 +1097,68 @@ export interface VirtualPrivateCloud {
|
|
|
1002
1097
|
}
|
|
1003
1098
|
|
|
1004
1099
|
/**
|
|
1005
|
-
*
|
|
1100
|
+
* 扩容节点配置信息概览。
|
|
1006
1101
|
*/
|
|
1007
|
-
export interface
|
|
1102
|
+
export interface ExpansionNodeConfigOverview {
|
|
1008
1103
|
/**
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1104
|
+
* 节点机型。
|
|
1105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1106
|
+
*/
|
|
1107
|
+
InstanceType?: string
|
|
1012
1108
|
|
|
1013
1109
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1110
|
+
* 扩容实例所在的位置。
|
|
1111
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1112
|
+
*/
|
|
1113
|
+
Placement?: Placement
|
|
1018
1114
|
|
|
1019
|
-
|
|
1115
|
+
/**
|
|
1116
|
+
* 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。
|
|
1117
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1020
1118
|
*/
|
|
1021
|
-
|
|
1119
|
+
InstanceChargeType?: string
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
|
|
1123
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1124
|
+
*/
|
|
1125
|
+
InstanceChargePrepaid?: InstanceChargePrepaid
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* 私有网络相关信息配置。
|
|
1129
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1130
|
+
*/
|
|
1131
|
+
VirtualPrivateCloud?: VirtualPrivateCloud
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。
|
|
1135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1136
|
+
*/
|
|
1137
|
+
ImageId?: string
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* 公网带宽相关信息设置。
|
|
1141
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1142
|
+
*/
|
|
1143
|
+
InternetAccessible?: InternetAccessible
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* 节点系统盘配置信息。
|
|
1147
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1148
|
+
*/
|
|
1149
|
+
SystemDisk?: SystemDisk
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* 节点数据盘配置信息。
|
|
1153
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1154
|
+
*/
|
|
1155
|
+
DataDisks?: Array<DataDisk>
|
|
1022
1156
|
}
|
|
1023
1157
|
|
|
1024
1158
|
/**
|
|
1025
|
-
*
|
|
1159
|
+
* DescribeAutoScalingConfiguration请求参数结构体
|
|
1026
1160
|
*/
|
|
1027
|
-
export interface
|
|
1161
|
+
export interface DescribeAutoScalingConfigurationRequest {
|
|
1028
1162
|
/**
|
|
1029
1163
|
* 集群ID。
|
|
1030
1164
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeClustersRequest, SetAutoScalingConfigurationRequest, DeleteNodesResponse, AddClusterStorageOptionResponse, DeleteClusterResponse, CreateClusterResponse, SetAutoScalingConfigurationResponse, CreateClusterRequest, DescribeClusterStorageOptionResponse, BindAutoScalingGroupResponse, DeleteClusterRequest, DescribeClusterActivitiesRequest, AddNodesRequest, DeleteClusterStorageOptionRequest, AddClusterStorageOptionRequest, BindAutoScalingGroupRequest,
|
|
2
|
+
import { DescribeAutoScalingConfigurationResponse, DescribeClusterStorageOptionRequest, DescribeClustersRequest, SetAutoScalingConfigurationRequest, DeleteNodesResponse, AddClusterStorageOptionResponse, DeleteClusterResponse, CreateClusterResponse, SetAutoScalingConfigurationResponse, CreateClusterRequest, DescribeClusterStorageOptionResponse, BindAutoScalingGroupResponse, DeleteClusterRequest, DescribeClusterActivitiesRequest, AddNodesRequest, DeleteClusterStorageOptionRequest, AddClusterStorageOptionRequest, BindAutoScalingGroupRequest, DescribeAutoScalingConfigurationRequest, DeleteNodesRequest, DescribeClustersResponse, DeleteClusterStorageOptionResponse, DescribeClusterActivitiesResponse, AddNodesResponse } from "./thpc_models";
|
|
3
3
|
/**
|
|
4
4
|
* thpc client
|
|
5
5
|
* @class
|
|
@@ -34,6 +34,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
34
34
|
* 本接口(AddNodes)用于添加一个或者多个计算节点或者登录节点到指定集群。
|
|
35
35
|
*/
|
|
36
36
|
AddNodes(req: AddNodesRequest, cb?: (error: string, rep: AddNodesResponse) => void): Promise<AddNodesResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* 本接口(DescribeAutoScalingConfiguration)用于查询集群弹性伸缩配置信息。本接口仅适用于弹性伸缩类型为THPC_AS的集群。
|
|
39
|
+
*/
|
|
40
|
+
DescribeAutoScalingConfiguration(req: DescribeAutoScalingConfigurationRequest, cb?: (error: string, rep: DescribeAutoScalingConfigurationResponse) => void): Promise<DescribeAutoScalingConfigurationResponse>;
|
|
37
41
|
/**
|
|
38
42
|
* 本接口(DescribeClusters)用于查询集群列表。
|
|
39
43
|
*/
|
|
@@ -69,6 +69,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
69
69
|
async AddNodes(req, cb) {
|
|
70
70
|
return this.request("AddNodes", req, cb);
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* 本接口(DescribeAutoScalingConfiguration)用于查询集群弹性伸缩配置信息。本接口仅适用于弹性伸缩类型为THPC_AS的集群。
|
|
74
|
+
*/
|
|
75
|
+
async DescribeAutoScalingConfiguration(req, cb) {
|
|
76
|
+
return this.request("DescribeAutoScalingConfiguration", req, cb);
|
|
77
|
+
}
|
|
72
78
|
/**
|
|
73
79
|
* 本接口(DescribeClusters)用于查询集群列表。
|
|
74
80
|
*/
|
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DescribeAutoScalingConfiguration返回参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface DescribeAutoScalingConfigurationResponse {
|
|
5
|
+
/**
|
|
6
|
+
* 集群ID。
|
|
7
|
+
*/
|
|
8
|
+
ClusterId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 任务连续等待时间,队列的任务处于连续等待的时间。单位秒。
|
|
11
|
+
*/
|
|
12
|
+
ExpansionBusyTime?: number;
|
|
13
|
+
/**
|
|
14
|
+
* 节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。
|
|
15
|
+
*/
|
|
16
|
+
ShrinkIdleTime?: number;
|
|
17
|
+
/**
|
|
18
|
+
* 扩容队列配置概览列表。
|
|
19
|
+
*/
|
|
20
|
+
QueueConfigs?: Array<QueueConfigOverview>;
|
|
21
|
+
/**
|
|
22
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
23
|
+
*/
|
|
24
|
+
RequestId?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* DescribeClusterStorageOption请求参数结构体
|
|
28
|
+
*/
|
|
29
|
+
export interface DescribeClusterStorageOptionRequest {
|
|
30
|
+
/**
|
|
31
|
+
* 集群ID。
|
|
32
|
+
*/
|
|
33
|
+
ClusterId: string;
|
|
34
|
+
}
|
|
1
35
|
/**
|
|
2
36
|
* 集群概览信息。
|
|
3
37
|
*/
|
|
@@ -470,6 +504,24 @@ export interface GooseFSOptionOverview {
|
|
|
470
504
|
*/
|
|
471
505
|
Masters: Array<string>;
|
|
472
506
|
}
|
|
507
|
+
/**
|
|
508
|
+
* 描述了实例的计费模式
|
|
509
|
+
*/
|
|
510
|
+
export interface InstanceChargePrepaid {
|
|
511
|
+
/**
|
|
512
|
+
* 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。
|
|
513
|
+
*/
|
|
514
|
+
Period: number;
|
|
515
|
+
/**
|
|
516
|
+
* 自动续费标识。取值范围:
|
|
517
|
+
NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
|
|
518
|
+
NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
|
|
519
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
520
|
+
|
|
521
|
+
默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
|
522
|
+
*/
|
|
523
|
+
RenewFlag?: string;
|
|
524
|
+
}
|
|
473
525
|
/**
|
|
474
526
|
* 标签键值对。
|
|
475
527
|
*/
|
|
@@ -774,6 +826,35 @@ export interface AddClusterStorageOptionRequest {
|
|
|
774
826
|
*/
|
|
775
827
|
StorageOption: StorageOption;
|
|
776
828
|
}
|
|
829
|
+
/**
|
|
830
|
+
* 扩容队列配置概览。
|
|
831
|
+
*/
|
|
832
|
+
export interface QueueConfigOverview {
|
|
833
|
+
/**
|
|
834
|
+
* 队列名称。
|
|
835
|
+
*/
|
|
836
|
+
QueueName?: string;
|
|
837
|
+
/**
|
|
838
|
+
* 队列中弹性节点数量最小值。取值范围0~200。
|
|
839
|
+
*/
|
|
840
|
+
MinSize?: number;
|
|
841
|
+
/**
|
|
842
|
+
* 队列中弹性节点数量最大值。取值范围0~200。
|
|
843
|
+
*/
|
|
844
|
+
MaxSize?: number;
|
|
845
|
+
/**
|
|
846
|
+
* 是否开启自动扩容。
|
|
847
|
+
*/
|
|
848
|
+
EnableAutoExpansion?: boolean;
|
|
849
|
+
/**
|
|
850
|
+
* 是否开启自动缩容。
|
|
851
|
+
*/
|
|
852
|
+
EnableAutoShrink?: boolean;
|
|
853
|
+
/**
|
|
854
|
+
* 扩容节点配置信息。
|
|
855
|
+
*/
|
|
856
|
+
ExpansionNodeConfigs?: Array<ExpansionNodeConfigOverview>;
|
|
857
|
+
}
|
|
777
858
|
/**
|
|
778
859
|
* BindAutoScalingGroup请求参数结构体
|
|
779
860
|
*/
|
|
@@ -833,27 +914,59 @@ export interface VirtualPrivateCloud {
|
|
|
833
914
|
SubnetId: string;
|
|
834
915
|
}
|
|
835
916
|
/**
|
|
836
|
-
*
|
|
917
|
+
* 扩容节点配置信息概览。
|
|
837
918
|
*/
|
|
838
|
-
export interface
|
|
919
|
+
export interface ExpansionNodeConfigOverview {
|
|
839
920
|
/**
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
921
|
+
* 节点机型。
|
|
922
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
923
|
+
*/
|
|
924
|
+
InstanceType?: string;
|
|
843
925
|
/**
|
|
844
|
-
*
|
|
845
|
-
|
|
846
|
-
NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
|
|
847
|
-
DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
848
|
-
|
|
849
|
-
默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
|
926
|
+
* 扩容实例所在的位置。
|
|
927
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
850
928
|
*/
|
|
851
|
-
|
|
929
|
+
Placement?: Placement;
|
|
930
|
+
/**
|
|
931
|
+
* 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。
|
|
932
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
933
|
+
*/
|
|
934
|
+
InstanceChargeType?: string;
|
|
935
|
+
/**
|
|
936
|
+
* 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
|
|
937
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
938
|
+
*/
|
|
939
|
+
InstanceChargePrepaid?: InstanceChargePrepaid;
|
|
940
|
+
/**
|
|
941
|
+
* 私有网络相关信息配置。
|
|
942
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
943
|
+
*/
|
|
944
|
+
VirtualPrivateCloud?: VirtualPrivateCloud;
|
|
945
|
+
/**
|
|
946
|
+
* 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。
|
|
947
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
948
|
+
*/
|
|
949
|
+
ImageId?: string;
|
|
950
|
+
/**
|
|
951
|
+
* 公网带宽相关信息设置。
|
|
952
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
953
|
+
*/
|
|
954
|
+
InternetAccessible?: InternetAccessible;
|
|
955
|
+
/**
|
|
956
|
+
* 节点系统盘配置信息。
|
|
957
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
958
|
+
*/
|
|
959
|
+
SystemDisk?: SystemDisk;
|
|
960
|
+
/**
|
|
961
|
+
* 节点数据盘配置信息。
|
|
962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
963
|
+
*/
|
|
964
|
+
DataDisks?: Array<DataDisk>;
|
|
852
965
|
}
|
|
853
966
|
/**
|
|
854
|
-
*
|
|
967
|
+
* DescribeAutoScalingConfiguration请求参数结构体
|
|
855
968
|
*/
|
|
856
|
-
export interface
|
|
969
|
+
export interface DescribeAutoScalingConfigurationRequest {
|
|
857
970
|
/**
|
|
858
971
|
* 集群ID。
|
|
859
972
|
*/
|