tencentcloud-sdk-nodejs-tke 4.0.974 → 4.0.975
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/package.json +1 -1
- package/products.md +24 -23
- package/src/services/tke/v20220501/tke_client.ts +48 -1
- package/src/services/tke/v20220501/tke_models.ts +160 -74
- package/tencentcloud/services/tke/v20220501/tke_client.d.ts +24 -1
- package/tencentcloud/services/tke/v20220501/tke_client.js +29 -0
- package/tencentcloud/services/tke/v20220501/tke_models.d.ts +155 -75
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-10-15 01:02:26 |
|
|
7
7
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-05-31 01:07:20 |
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 |
|
|
9
|
-
| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-11-
|
|
9
|
+
| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-11-20 01:07:23 |
|
|
10
10
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
|
|
11
11
|
| ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-09-03 01:07:31 |
|
|
12
12
|
| anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
15
15
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
17
|
-
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-11-19
|
|
17
|
+
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-11-19 21:27:23 |
|
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-11-15 01:09:10 |
|
|
19
19
|
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-11-19 01:09:17 |
|
|
20
20
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-11-18 01:09:31 |
|
|
@@ -22,8 +22,9 @@
|
|
|
22
22
|
| ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
|
|
23
23
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-11-15 01:10:08 |
|
|
24
24
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-11-14 01:10:31 |
|
|
25
|
+
| bh | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-19 11:57:28 |
|
|
25
26
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-11-08 01:10:34 |
|
|
26
|
-
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-11-
|
|
27
|
+
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-11-20 01:11:13 |
|
|
27
28
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
28
29
|
| bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2024-03-20 01:08:40 |
|
|
29
30
|
| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2024-10-18 01:04:14 |
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-11-15 01:13:36 |
|
|
42
43
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-11-18 01:13:02 |
|
|
43
44
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-11-19 01:13:32 |
|
|
44
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-11-
|
|
45
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-11-20 01:15:01 |
|
|
45
46
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-11-15 01:15:46 |
|
|
46
47
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-10-25 01:16:59 |
|
|
47
48
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-11-08 01:17:02 |
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
59
60
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
60
61
|
| ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-11-19 01:18:11 |
|
|
61
|
-
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-11-
|
|
62
|
+
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-11-20 01:20:29 |
|
|
62
63
|
| cloudapp | [云应用](https://cloud.tencent.com/document/product/1689) | 2024-11-05 01:21:22 |
|
|
63
64
|
| cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-11-08 01:21:05 |
|
|
64
65
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
|
|
@@ -90,23 +91,23 @@
|
|
|
90
91
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
|
|
91
92
|
| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-10-14 01:17:08 |
|
|
92
93
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
93
|
-
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-
|
|
94
|
+
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-11-20 01:33:10 |
|
|
94
95
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-10-29 01:30:37 |
|
|
95
96
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2024-09-05 01:32:54 |
|
|
96
97
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-10-22 01:18:29 |
|
|
97
98
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-11-05 01:39:00 |
|
|
98
99
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 |
|
|
99
100
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
100
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-11-
|
|
101
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-11-20 01:35:23 |
|
|
101
102
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-11-15 01:34:50 |
|
|
102
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-11-
|
|
103
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-11-
|
|
104
|
-
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-11-
|
|
103
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-11-20 01:36:37 |
|
|
104
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-11-20 01:37:31 |
|
|
105
|
+
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-11-20 01:38:20 |
|
|
105
106
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-11-19 01:35:00 |
|
|
106
107
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-11-15 01:37:24 |
|
|
107
108
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-11-15 01:37:30 |
|
|
108
109
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-10-30 01:36:27 |
|
|
109
|
-
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2024-11-
|
|
110
|
+
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2024-11-20 01:39:48 |
|
|
110
111
|
| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2024-10-31 01:41:32 |
|
|
111
112
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
112
113
|
| gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2024-05-28 01:43:15 |
|
|
@@ -116,7 +117,7 @@
|
|
|
116
117
|
| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-11-14 01:40:52 |
|
|
117
118
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
118
119
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 |
|
|
119
|
-
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-11-
|
|
120
|
+
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-11-20 01:40:32 |
|
|
120
121
|
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-11-14 01:41:32 |
|
|
121
122
|
| ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
|
|
122
123
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 |
|
|
@@ -139,7 +140,7 @@
|
|
|
139
140
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-11-07 01:44:48 |
|
|
140
141
|
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-11-08 01:44:33 |
|
|
141
142
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-11-07 01:45:38 |
|
|
142
|
-
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-11-
|
|
143
|
+
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-11-20 01:47:47 |
|
|
143
144
|
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-11-14 01:49:38 |
|
|
144
145
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
145
146
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
@@ -151,7 +152,7 @@
|
|
|
151
152
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-11-11 01:49:22 |
|
|
152
153
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-08-23 01:55:12 |
|
|
153
154
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-11-05 01:57:16 |
|
|
154
|
-
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-11-
|
|
155
|
+
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-11-20 01:51:14 |
|
|
155
156
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-11-05 01:58:59 |
|
|
156
157
|
| mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-11-01 01:51:29 |
|
|
157
158
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-11-18 01:47:53 |
|
|
@@ -161,16 +162,16 @@
|
|
|
161
162
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-09-27 01:23:18 |
|
|
162
163
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
163
164
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-11-05 02:01:14 |
|
|
164
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-11-
|
|
165
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-11-20 01:54:31 |
|
|
165
166
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-11-19 01:50:13 |
|
|
166
167
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-11-08 01:54:14 |
|
|
167
168
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-19 01:51:23 |
|
|
168
169
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
|
|
169
170
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-09-25 01:28:57 |
|
|
170
|
-
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-11-
|
|
171
|
+
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-11-20 01:57:35 |
|
|
171
172
|
| pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-11-07 01:56:43 |
|
|
172
|
-
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-11-
|
|
173
|
-
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-11-
|
|
173
|
+
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-11-20 01:58:12 |
|
|
174
|
+
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-11-20 01:58:21 |
|
|
174
175
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-10-25 02:05:36 |
|
|
175
176
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
|
|
176
177
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
@@ -213,7 +214,7 @@
|
|
|
213
214
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-11-14 02:08:25 |
|
|
214
215
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-11-05 02:16:13 |
|
|
215
216
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-11-06 02:09:56 |
|
|
216
|
-
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-11-
|
|
217
|
+
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-11-20 02:08:52 |
|
|
217
218
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
218
219
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
219
220
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
@@ -222,7 +223,7 @@
|
|
|
222
223
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2024-08-19 02:22:39 |
|
|
223
224
|
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-06-07 02:37:51 |
|
|
224
225
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2024-03-20 01:27:28 |
|
|
225
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-11-
|
|
226
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-11-20 02:11:09 |
|
|
226
227
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
227
228
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-10-30 02:12:39 |
|
|
228
229
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-11-19 02:04:30 |
|
|
@@ -244,12 +245,12 @@
|
|
|
244
245
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
|
|
245
246
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
|
|
246
247
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-11-18 02:09:13 |
|
|
247
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-11-
|
|
248
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-11-20 02:17:41 |
|
|
248
249
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-09-06 02:27:27 |
|
|
249
250
|
| vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 |
|
|
250
251
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-11-19 02:12:25 |
|
|
251
|
-
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-11-
|
|
252
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-11-
|
|
252
|
+
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-11-20 02:21:21 |
|
|
253
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-11-20 02:21:38 |
|
|
253
254
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-11-07 02:23:06 |
|
|
254
255
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
255
256
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 |
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
20
|
+
StartMachinesResponse,
|
|
20
21
|
NativeNodeInfo,
|
|
21
22
|
HealthCheckTemplateRule,
|
|
22
23
|
HealthCheckPolicyRule,
|
|
@@ -38,19 +39,23 @@ import {
|
|
|
38
39
|
CreateHealthCheckPolicyRequest,
|
|
39
40
|
InstanceExtraArgs,
|
|
40
41
|
MachineUpgradeSettings,
|
|
41
|
-
|
|
42
|
+
StartMachinesRequest,
|
|
43
|
+
RebootMachinesResponse,
|
|
42
44
|
InstanceChargePrepaid,
|
|
43
45
|
DeleteNodePoolResponse,
|
|
44
46
|
Tag,
|
|
45
47
|
MachineSetScaling,
|
|
46
48
|
ModifyNodePoolRequest,
|
|
49
|
+
UpdateNativeNodePoolParam,
|
|
47
50
|
Annotation,
|
|
48
51
|
DescribeClusterInstancesRequest,
|
|
49
52
|
DeleteHealthCheckPolicyResponse,
|
|
50
53
|
TagSpecification,
|
|
51
54
|
LifecycleConfig,
|
|
55
|
+
RebootMachinesRequest,
|
|
52
56
|
ModifyNodePoolResponse,
|
|
53
57
|
RegularNodePoolInfo,
|
|
58
|
+
StopMachinesRequest,
|
|
54
59
|
Taint,
|
|
55
60
|
Filter,
|
|
56
61
|
DescribeHealthCheckPoliciesRequest,
|
|
@@ -65,6 +70,7 @@ import {
|
|
|
65
70
|
InstanceAdvancedSettings,
|
|
66
71
|
IntOrString,
|
|
67
72
|
ExternalNodePoolInfo,
|
|
73
|
+
StopMachinesResponse,
|
|
68
74
|
DescribeHealthCheckTemplateRequest,
|
|
69
75
|
DescribeHealthCheckPoliciesResponse,
|
|
70
76
|
HealthCheckTemplate,
|
|
@@ -110,6 +116,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
110
116
|
return this.request("ModifyNodePool", req, cb)
|
|
111
117
|
}
|
|
112
118
|
|
|
119
|
+
/**
|
|
120
|
+
* 重启原生节点实例
|
|
121
|
+
*/
|
|
122
|
+
async RebootMachines(
|
|
123
|
+
req: RebootMachinesRequest,
|
|
124
|
+
cb?: (error: string, rep: RebootMachinesResponse) => void
|
|
125
|
+
): Promise<RebootMachinesResponse> {
|
|
126
|
+
return this.request("RebootMachines", req, cb)
|
|
127
|
+
}
|
|
128
|
+
|
|
113
129
|
/**
|
|
114
130
|
* 删除健康检测策略
|
|
115
131
|
*/
|
|
@@ -150,6 +166,22 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
150
166
|
return this.request("ModifyHealthCheckPolicy", req, cb)
|
|
151
167
|
}
|
|
152
168
|
|
|
169
|
+
/**
|
|
170
|
+
* 本接口 (StopMachines) 用于关闭一个或多个原生节点实例。
|
|
171
|
+
|
|
172
|
+
只有状态为 Running 的实例才可以进行此操作。
|
|
173
|
+
接口调用成功时,实例会进入 Stopping 状态;关闭实例成功时,实例会进入 Stopped 状态。
|
|
174
|
+
支持强制关闭。强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
|
175
|
+
支持批量操作。每次请求批量实例的上限为 100。
|
|
176
|
+
本接口为同步接口,关闭实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeClusterInstances 接口查询,如果实例的最新状stopped_with_charging,则代表关闭实例操作成功。
|
|
177
|
+
*/
|
|
178
|
+
async StopMachines(
|
|
179
|
+
req: StopMachinesRequest,
|
|
180
|
+
cb?: (error: string, rep: StopMachinesResponse) => void
|
|
181
|
+
): Promise<StopMachinesResponse> {
|
|
182
|
+
return this.request("StopMachines", req, cb)
|
|
183
|
+
}
|
|
184
|
+
|
|
153
185
|
/**
|
|
154
186
|
* 创建 TKE 节点池
|
|
155
187
|
*/
|
|
@@ -190,6 +222,21 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
190
222
|
return this.request("CreateHealthCheckPolicy", req, cb)
|
|
191
223
|
}
|
|
192
224
|
|
|
225
|
+
/**
|
|
226
|
+
* 本接口 (StartMachines) 用于启动一个或多个原生节点实例。
|
|
227
|
+
|
|
228
|
+
只有状态为 Stopped 的实例才可以进行此操作。
|
|
229
|
+
接口调用成功后,等待一分钟左右,实例会进入 Running 状态。
|
|
230
|
+
支持批量操作。每次请求批量实例的上限为100。
|
|
231
|
+
本接口为同步接口,启动实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeClusterInstances 接口查询,如果实例的最新状态为 Running,则代表启动实例操作成功。
|
|
232
|
+
*/
|
|
233
|
+
async StartMachines(
|
|
234
|
+
req: StartMachinesRequest,
|
|
235
|
+
cb?: (error: string, rep: StartMachinesResponse) => void
|
|
236
|
+
): Promise<StartMachinesResponse> {
|
|
237
|
+
return this.request("StartMachines", req, cb)
|
|
238
|
+
}
|
|
239
|
+
|
|
193
240
|
/**
|
|
194
241
|
* 查询集群下节点实例信息
|
|
195
242
|
*/
|
|
@@ -15,6 +15,16 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* StartMachines返回参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface StartMachinesResponse {
|
|
22
|
+
/**
|
|
23
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24
|
+
*/
|
|
25
|
+
RequestId?: string
|
|
26
|
+
}
|
|
27
|
+
|
|
18
28
|
/**
|
|
19
29
|
* 节点信息
|
|
20
30
|
*/
|
|
@@ -630,88 +640,27 @@ export interface MachineUpgradeSettings {
|
|
|
630
640
|
}
|
|
631
641
|
|
|
632
642
|
/**
|
|
633
|
-
*
|
|
643
|
+
* StartMachines请求参数结构体
|
|
634
644
|
*/
|
|
635
|
-
export interface
|
|
636
|
-
/**
|
|
637
|
-
* 伸缩配置
|
|
638
|
-
*/
|
|
639
|
-
Scaling?: MachineSetScaling
|
|
645
|
+
export interface StartMachinesRequest {
|
|
640
646
|
/**
|
|
641
|
-
*
|
|
642
|
-
*/
|
|
643
|
-
SubnetIds?: Array<string>
|
|
644
|
-
/**
|
|
645
|
-
* 安全组列表
|
|
646
|
-
*/
|
|
647
|
-
SecurityGroupIds?: Array<string>
|
|
648
|
-
/**
|
|
649
|
-
* 自动升级配置
|
|
647
|
+
* 集群 ID
|
|
650
648
|
*/
|
|
651
|
-
|
|
649
|
+
ClusterId: string
|
|
652
650
|
/**
|
|
653
|
-
*
|
|
651
|
+
* 节点名字列表,一次请求,传入节点数量上限为100个
|
|
654
652
|
*/
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
* 节点计费类型变更
|
|
658
|
-
当前仅支持按量计费转包年包月:
|
|
659
|
-
- PREPAID
|
|
653
|
+
MachineNames: Array<string>
|
|
654
|
+
}
|
|
660
655
|
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
*/
|
|
666
|
-
InstanceChargePrepaid?: InstanceChargePrepaid
|
|
667
|
-
/**
|
|
668
|
-
* 系统盘配置
|
|
669
|
-
*/
|
|
670
|
-
SystemDisk?: Disk
|
|
671
|
-
/**
|
|
672
|
-
* Machine 系统配置
|
|
673
|
-
*/
|
|
674
|
-
Management?: ManagementConfig
|
|
675
|
-
/**
|
|
676
|
-
* 故障自愈规则名称
|
|
677
|
-
*/
|
|
678
|
-
HealthCheckPolicyName?: string
|
|
679
|
-
/**
|
|
680
|
-
* 原生节点池hostName模式串
|
|
681
|
-
*/
|
|
682
|
-
HostNamePattern?: string
|
|
683
|
-
/**
|
|
684
|
-
* kubelet 自定义参数
|
|
685
|
-
*/
|
|
686
|
-
KubeletArgs?: Array<string>
|
|
687
|
-
/**
|
|
688
|
-
* 预定义脚本
|
|
689
|
-
*/
|
|
690
|
-
Lifecycle?: LifecycleConfig
|
|
691
|
-
/**
|
|
692
|
-
* 运行时根目录
|
|
693
|
-
*/
|
|
694
|
-
RuntimeRootDir?: string
|
|
695
|
-
/**
|
|
696
|
-
* 是否开启弹性伸缩
|
|
697
|
-
*/
|
|
698
|
-
EnableAutoscaling?: boolean
|
|
699
|
-
/**
|
|
700
|
-
* 机型列表
|
|
701
|
-
*/
|
|
702
|
-
InstanceTypes?: Array<string>
|
|
703
|
-
/**
|
|
704
|
-
* 期望节点数
|
|
705
|
-
*/
|
|
706
|
-
Replicas?: number
|
|
707
|
-
/**
|
|
708
|
-
* 数据盘列表
|
|
709
|
-
*/
|
|
710
|
-
DataDisks?: Array<DataDisk>
|
|
656
|
+
/**
|
|
657
|
+
* RebootMachines返回参数结构体
|
|
658
|
+
*/
|
|
659
|
+
export interface RebootMachinesResponse {
|
|
711
660
|
/**
|
|
712
|
-
*
|
|
661
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
713
662
|
*/
|
|
714
|
-
|
|
663
|
+
RequestId?: string
|
|
715
664
|
}
|
|
716
665
|
|
|
717
666
|
/**
|
|
@@ -824,6 +773,91 @@ export interface ModifyNodePoolRequest {
|
|
|
824
773
|
Annotations?: Array<Annotation>
|
|
825
774
|
}
|
|
826
775
|
|
|
776
|
+
/**
|
|
777
|
+
* 修改原生节点池参数
|
|
778
|
+
*/
|
|
779
|
+
export interface UpdateNativeNodePoolParam {
|
|
780
|
+
/**
|
|
781
|
+
* 伸缩配置
|
|
782
|
+
*/
|
|
783
|
+
Scaling?: MachineSetScaling
|
|
784
|
+
/**
|
|
785
|
+
* 子网列表
|
|
786
|
+
*/
|
|
787
|
+
SubnetIds?: Array<string>
|
|
788
|
+
/**
|
|
789
|
+
* 安全组列表
|
|
790
|
+
*/
|
|
791
|
+
SecurityGroupIds?: Array<string>
|
|
792
|
+
/**
|
|
793
|
+
* 自动升级配置
|
|
794
|
+
*/
|
|
795
|
+
UpgradeSettings?: MachineUpgradeSettings
|
|
796
|
+
/**
|
|
797
|
+
* 是否开启自愈能力
|
|
798
|
+
*/
|
|
799
|
+
AutoRepair?: boolean
|
|
800
|
+
/**
|
|
801
|
+
* 节点计费类型变更
|
|
802
|
+
当前仅支持按量计费转包年包月:
|
|
803
|
+
- PREPAID
|
|
804
|
+
|
|
805
|
+
*/
|
|
806
|
+
InstanceChargeType?: string
|
|
807
|
+
/**
|
|
808
|
+
* 包年包月机型计费配置
|
|
809
|
+
*/
|
|
810
|
+
InstanceChargePrepaid?: InstanceChargePrepaid
|
|
811
|
+
/**
|
|
812
|
+
* 系统盘配置
|
|
813
|
+
*/
|
|
814
|
+
SystemDisk?: Disk
|
|
815
|
+
/**
|
|
816
|
+
* Machine 系统配置
|
|
817
|
+
*/
|
|
818
|
+
Management?: ManagementConfig
|
|
819
|
+
/**
|
|
820
|
+
* 故障自愈规则名称
|
|
821
|
+
*/
|
|
822
|
+
HealthCheckPolicyName?: string
|
|
823
|
+
/**
|
|
824
|
+
* 原生节点池hostName模式串
|
|
825
|
+
*/
|
|
826
|
+
HostNamePattern?: string
|
|
827
|
+
/**
|
|
828
|
+
* kubelet 自定义参数
|
|
829
|
+
*/
|
|
830
|
+
KubeletArgs?: Array<string>
|
|
831
|
+
/**
|
|
832
|
+
* 预定义脚本
|
|
833
|
+
*/
|
|
834
|
+
Lifecycle?: LifecycleConfig
|
|
835
|
+
/**
|
|
836
|
+
* 运行时根目录
|
|
837
|
+
*/
|
|
838
|
+
RuntimeRootDir?: string
|
|
839
|
+
/**
|
|
840
|
+
* 是否开启弹性伸缩
|
|
841
|
+
*/
|
|
842
|
+
EnableAutoscaling?: boolean
|
|
843
|
+
/**
|
|
844
|
+
* 机型列表
|
|
845
|
+
*/
|
|
846
|
+
InstanceTypes?: Array<string>
|
|
847
|
+
/**
|
|
848
|
+
* 期望节点数
|
|
849
|
+
*/
|
|
850
|
+
Replicas?: number
|
|
851
|
+
/**
|
|
852
|
+
* 数据盘列表
|
|
853
|
+
*/
|
|
854
|
+
DataDisks?: Array<DataDisk>
|
|
855
|
+
/**
|
|
856
|
+
* ssh公钥id数组
|
|
857
|
+
*/
|
|
858
|
+
KeyIds?: Array<string>
|
|
859
|
+
}
|
|
860
|
+
|
|
827
861
|
/**
|
|
828
862
|
* k8s中标注,一般以数组的方式存在
|
|
829
863
|
*/
|
|
@@ -907,6 +941,27 @@ export interface LifecycleConfig {
|
|
|
907
941
|
PostInit?: string
|
|
908
942
|
}
|
|
909
943
|
|
|
944
|
+
/**
|
|
945
|
+
* RebootMachines请求参数结构体
|
|
946
|
+
*/
|
|
947
|
+
export interface RebootMachinesRequest {
|
|
948
|
+
/**
|
|
949
|
+
* 集群 ID
|
|
950
|
+
*/
|
|
951
|
+
ClusterId: string
|
|
952
|
+
/**
|
|
953
|
+
* 节点名字列表,一次请求,传入节点数量上限为100个
|
|
954
|
+
*/
|
|
955
|
+
MachineNames: Array<string>
|
|
956
|
+
/**
|
|
957
|
+
* 实例的关闭模式。取值范围:
|
|
958
|
+
soft_first:表示在正常关闭失败后进行强制关闭
|
|
959
|
+
hard:直接强制关闭
|
|
960
|
+
soft:仅软关机默认取值:soft。
|
|
961
|
+
*/
|
|
962
|
+
StopType?: string
|
|
963
|
+
}
|
|
964
|
+
|
|
910
965
|
/**
|
|
911
966
|
* ModifyNodePool返回参数结构体
|
|
912
967
|
*/
|
|
@@ -965,6 +1020,27 @@ export interface RegularNodePoolInfo {
|
|
|
965
1020
|
InstanceAdvancedSettings?: InstanceAdvancedSettings
|
|
966
1021
|
}
|
|
967
1022
|
|
|
1023
|
+
/**
|
|
1024
|
+
* StopMachines请求参数结构体
|
|
1025
|
+
*/
|
|
1026
|
+
export interface StopMachinesRequest {
|
|
1027
|
+
/**
|
|
1028
|
+
* 集群 ID
|
|
1029
|
+
*/
|
|
1030
|
+
ClusterId: string
|
|
1031
|
+
/**
|
|
1032
|
+
* 节点名字列表,一次请求,传入节点数量上限为100个
|
|
1033
|
+
*/
|
|
1034
|
+
MachineNames: Array<string>
|
|
1035
|
+
/**
|
|
1036
|
+
* 实例的关闭模式。取值范围:
|
|
1037
|
+
soft_first:表示在正常关闭失败后进行强制关闭
|
|
1038
|
+
hard:直接强制关闭
|
|
1039
|
+
soft:仅软关机
|
|
1040
|
+
*/
|
|
1041
|
+
StopType?: string
|
|
1042
|
+
}
|
|
1043
|
+
|
|
968
1044
|
/**
|
|
969
1045
|
* kubernetes Taint
|
|
970
1046
|
*/
|
|
@@ -1431,6 +1507,16 @@ export interface ExternalNodePoolInfo {
|
|
|
1431
1507
|
NodesNum?: number
|
|
1432
1508
|
}
|
|
1433
1509
|
|
|
1510
|
+
/**
|
|
1511
|
+
* StopMachines返回参数结构体
|
|
1512
|
+
*/
|
|
1513
|
+
export interface StopMachinesResponse {
|
|
1514
|
+
/**
|
|
1515
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1516
|
+
*/
|
|
1517
|
+
RequestId?: string
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1434
1520
|
/**
|
|
1435
1521
|
* DescribeHealthCheckTemplate请求参数结构体
|
|
1436
1522
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DeleteHealthCheckPolicyRequest, CreateNodePoolResponse, DescribeNodePoolsResponse, DescribeClusterInstancesResponse, DescribeHealthCheckPolicyBindingsRequest, CreateHealthCheckPolicyRequest, DeleteNodePoolResponse, ModifyNodePoolRequest, DescribeClusterInstancesRequest, DeleteHealthCheckPolicyResponse, ModifyNodePoolResponse, DescribeHealthCheckPoliciesRequest, DescribeHealthCheckTemplateResponse, CreateNodePoolRequest, DescribeHealthCheckPolicyBindingsResponse, DescribeNodePoolsRequest, DeleteNodePoolRequest, DescribeHealthCheckTemplateRequest, DescribeHealthCheckPoliciesResponse, ModifyHealthCheckPolicyRequest, ModifyHealthCheckPolicyResponse, CreateHealthCheckPolicyResponse } from "./tke_models";
|
|
2
|
+
import { StartMachinesResponse, DeleteHealthCheckPolicyRequest, CreateNodePoolResponse, DescribeNodePoolsResponse, DescribeClusterInstancesResponse, DescribeHealthCheckPolicyBindingsRequest, CreateHealthCheckPolicyRequest, StartMachinesRequest, RebootMachinesResponse, DeleteNodePoolResponse, ModifyNodePoolRequest, DescribeClusterInstancesRequest, DeleteHealthCheckPolicyResponse, RebootMachinesRequest, ModifyNodePoolResponse, StopMachinesRequest, DescribeHealthCheckPoliciesRequest, DescribeHealthCheckTemplateResponse, CreateNodePoolRequest, DescribeHealthCheckPolicyBindingsResponse, DescribeNodePoolsRequest, DeleteNodePoolRequest, StopMachinesResponse, DescribeHealthCheckTemplateRequest, DescribeHealthCheckPoliciesResponse, ModifyHealthCheckPolicyRequest, ModifyHealthCheckPolicyResponse, CreateHealthCheckPolicyResponse } from "./tke_models";
|
|
3
3
|
/**
|
|
4
4
|
* tke client
|
|
5
5
|
* @class
|
|
@@ -14,6 +14,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
14
14
|
* 更新 TKE 节点池
|
|
15
15
|
*/
|
|
16
16
|
ModifyNodePool(req: ModifyNodePoolRequest, cb?: (error: string, rep: ModifyNodePoolResponse) => void): Promise<ModifyNodePoolResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* 重启原生节点实例
|
|
19
|
+
*/
|
|
20
|
+
RebootMachines(req: RebootMachinesRequest, cb?: (error: string, rep: RebootMachinesResponse) => void): Promise<RebootMachinesResponse>;
|
|
17
21
|
/**
|
|
18
22
|
* 删除健康检测策略
|
|
19
23
|
*/
|
|
@@ -30,6 +34,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
30
34
|
* 修改健康检测策略
|
|
31
35
|
*/
|
|
32
36
|
ModifyHealthCheckPolicy(req: ModifyHealthCheckPolicyRequest, cb?: (error: string, rep: ModifyHealthCheckPolicyResponse) => void): Promise<ModifyHealthCheckPolicyResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* 本接口 (StopMachines) 用于关闭一个或多个原生节点实例。
|
|
39
|
+
|
|
40
|
+
只有状态为 Running 的实例才可以进行此操作。
|
|
41
|
+
接口调用成功时,实例会进入 Stopping 状态;关闭实例成功时,实例会进入 Stopped 状态。
|
|
42
|
+
支持强制关闭。强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
|
43
|
+
支持批量操作。每次请求批量实例的上限为 100。
|
|
44
|
+
本接口为同步接口,关闭实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeClusterInstances 接口查询,如果实例的最新状stopped_with_charging,则代表关闭实例操作成功。
|
|
45
|
+
*/
|
|
46
|
+
StopMachines(req: StopMachinesRequest, cb?: (error: string, rep: StopMachinesResponse) => void): Promise<StopMachinesResponse>;
|
|
33
47
|
/**
|
|
34
48
|
* 创建 TKE 节点池
|
|
35
49
|
*/
|
|
@@ -46,6 +60,15 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
46
60
|
* 创建健康检测策略
|
|
47
61
|
*/
|
|
48
62
|
CreateHealthCheckPolicy(req: CreateHealthCheckPolicyRequest, cb?: (error: string, rep: CreateHealthCheckPolicyResponse) => void): Promise<CreateHealthCheckPolicyResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* 本接口 (StartMachines) 用于启动一个或多个原生节点实例。
|
|
65
|
+
|
|
66
|
+
只有状态为 Stopped 的实例才可以进行此操作。
|
|
67
|
+
接口调用成功后,等待一分钟左右,实例会进入 Running 状态。
|
|
68
|
+
支持批量操作。每次请求批量实例的上限为100。
|
|
69
|
+
本接口为同步接口,启动实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeClusterInstances 接口查询,如果实例的最新状态为 Running,则代表启动实例操作成功。
|
|
70
|
+
*/
|
|
71
|
+
StartMachines(req: StartMachinesRequest, cb?: (error: string, rep: StartMachinesResponse) => void): Promise<StartMachinesResponse>;
|
|
49
72
|
/**
|
|
50
73
|
* 查询集群下节点实例信息
|
|
51
74
|
*/
|
|
@@ -39,6 +39,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
39
39
|
async ModifyNodePool(req, cb) {
|
|
40
40
|
return this.request("ModifyNodePool", req, cb);
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* 重启原生节点实例
|
|
44
|
+
*/
|
|
45
|
+
async RebootMachines(req, cb) {
|
|
46
|
+
return this.request("RebootMachines", req, cb);
|
|
47
|
+
}
|
|
42
48
|
/**
|
|
43
49
|
* 删除健康检测策略
|
|
44
50
|
*/
|
|
@@ -63,6 +69,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
63
69
|
async ModifyHealthCheckPolicy(req, cb) {
|
|
64
70
|
return this.request("ModifyHealthCheckPolicy", req, cb);
|
|
65
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* 本接口 (StopMachines) 用于关闭一个或多个原生节点实例。
|
|
74
|
+
|
|
75
|
+
只有状态为 Running 的实例才可以进行此操作。
|
|
76
|
+
接口调用成功时,实例会进入 Stopping 状态;关闭实例成功时,实例会进入 Stopped 状态。
|
|
77
|
+
支持强制关闭。强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
|
78
|
+
支持批量操作。每次请求批量实例的上限为 100。
|
|
79
|
+
本接口为同步接口,关闭实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeClusterInstances 接口查询,如果实例的最新状stopped_with_charging,则代表关闭实例操作成功。
|
|
80
|
+
*/
|
|
81
|
+
async StopMachines(req, cb) {
|
|
82
|
+
return this.request("StopMachines", req, cb);
|
|
83
|
+
}
|
|
66
84
|
/**
|
|
67
85
|
* 创建 TKE 节点池
|
|
68
86
|
*/
|
|
@@ -87,6 +105,17 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
87
105
|
async CreateHealthCheckPolicy(req, cb) {
|
|
88
106
|
return this.request("CreateHealthCheckPolicy", req, cb);
|
|
89
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* 本接口 (StartMachines) 用于启动一个或多个原生节点实例。
|
|
110
|
+
|
|
111
|
+
只有状态为 Stopped 的实例才可以进行此操作。
|
|
112
|
+
接口调用成功后,等待一分钟左右,实例会进入 Running 状态。
|
|
113
|
+
支持批量操作。每次请求批量实例的上限为100。
|
|
114
|
+
本接口为同步接口,启动实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeClusterInstances 接口查询,如果实例的最新状态为 Running,则代表启动实例操作成功。
|
|
115
|
+
*/
|
|
116
|
+
async StartMachines(req, cb) {
|
|
117
|
+
return this.request("StartMachines", req, cb);
|
|
118
|
+
}
|
|
90
119
|
/**
|
|
91
120
|
* 查询集群下节点实例信息
|
|
92
121
|
*/
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StartMachines返回参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface StartMachinesResponse {
|
|
5
|
+
/**
|
|
6
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7
|
+
*/
|
|
8
|
+
RequestId?: string;
|
|
9
|
+
}
|
|
1
10
|
/**
|
|
2
11
|
* 节点信息
|
|
3
12
|
*/
|
|
@@ -592,88 +601,26 @@ export interface MachineUpgradeSettings {
|
|
|
592
601
|
MaxUnavailable?: IntOrString;
|
|
593
602
|
}
|
|
594
603
|
/**
|
|
595
|
-
*
|
|
604
|
+
* StartMachines请求参数结构体
|
|
596
605
|
*/
|
|
597
|
-
export interface
|
|
598
|
-
/**
|
|
599
|
-
* 伸缩配置
|
|
600
|
-
*/
|
|
601
|
-
Scaling?: MachineSetScaling;
|
|
606
|
+
export interface StartMachinesRequest {
|
|
602
607
|
/**
|
|
603
|
-
*
|
|
604
|
-
*/
|
|
605
|
-
SubnetIds?: Array<string>;
|
|
606
|
-
/**
|
|
607
|
-
* 安全组列表
|
|
608
|
-
*/
|
|
609
|
-
SecurityGroupIds?: Array<string>;
|
|
610
|
-
/**
|
|
611
|
-
* 自动升级配置
|
|
612
|
-
*/
|
|
613
|
-
UpgradeSettings?: MachineUpgradeSettings;
|
|
614
|
-
/**
|
|
615
|
-
* 是否开启自愈能力
|
|
616
|
-
*/
|
|
617
|
-
AutoRepair?: boolean;
|
|
618
|
-
/**
|
|
619
|
-
* 节点计费类型变更
|
|
620
|
-
当前仅支持按量计费转包年包月:
|
|
621
|
-
- PREPAID
|
|
622
|
-
|
|
623
|
-
*/
|
|
624
|
-
InstanceChargeType?: string;
|
|
625
|
-
/**
|
|
626
|
-
* 包年包月机型计费配置
|
|
627
|
-
*/
|
|
628
|
-
InstanceChargePrepaid?: InstanceChargePrepaid;
|
|
629
|
-
/**
|
|
630
|
-
* 系统盘配置
|
|
631
|
-
*/
|
|
632
|
-
SystemDisk?: Disk;
|
|
633
|
-
/**
|
|
634
|
-
* Machine 系统配置
|
|
635
|
-
*/
|
|
636
|
-
Management?: ManagementConfig;
|
|
637
|
-
/**
|
|
638
|
-
* 故障自愈规则名称
|
|
639
|
-
*/
|
|
640
|
-
HealthCheckPolicyName?: string;
|
|
641
|
-
/**
|
|
642
|
-
* 原生节点池hostName模式串
|
|
643
|
-
*/
|
|
644
|
-
HostNamePattern?: string;
|
|
645
|
-
/**
|
|
646
|
-
* kubelet 自定义参数
|
|
647
|
-
*/
|
|
648
|
-
KubeletArgs?: Array<string>;
|
|
649
|
-
/**
|
|
650
|
-
* 预定义脚本
|
|
651
|
-
*/
|
|
652
|
-
Lifecycle?: LifecycleConfig;
|
|
653
|
-
/**
|
|
654
|
-
* 运行时根目录
|
|
655
|
-
*/
|
|
656
|
-
RuntimeRootDir?: string;
|
|
657
|
-
/**
|
|
658
|
-
* 是否开启弹性伸缩
|
|
659
|
-
*/
|
|
660
|
-
EnableAutoscaling?: boolean;
|
|
661
|
-
/**
|
|
662
|
-
* 机型列表
|
|
663
|
-
*/
|
|
664
|
-
InstanceTypes?: Array<string>;
|
|
665
|
-
/**
|
|
666
|
-
* 期望节点数
|
|
608
|
+
* 集群 ID
|
|
667
609
|
*/
|
|
668
|
-
|
|
610
|
+
ClusterId: string;
|
|
669
611
|
/**
|
|
670
|
-
*
|
|
612
|
+
* 节点名字列表,一次请求,传入节点数量上限为100个
|
|
671
613
|
*/
|
|
672
|
-
|
|
614
|
+
MachineNames: Array<string>;
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* RebootMachines返回参数结构体
|
|
618
|
+
*/
|
|
619
|
+
export interface RebootMachinesResponse {
|
|
673
620
|
/**
|
|
674
|
-
*
|
|
621
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
675
622
|
*/
|
|
676
|
-
|
|
623
|
+
RequestId?: string;
|
|
677
624
|
}
|
|
678
625
|
/**
|
|
679
626
|
* 包年包月配置
|
|
@@ -780,6 +727,90 @@ export interface ModifyNodePoolRequest {
|
|
|
780
727
|
*/
|
|
781
728
|
Annotations?: Array<Annotation>;
|
|
782
729
|
}
|
|
730
|
+
/**
|
|
731
|
+
* 修改原生节点池参数
|
|
732
|
+
*/
|
|
733
|
+
export interface UpdateNativeNodePoolParam {
|
|
734
|
+
/**
|
|
735
|
+
* 伸缩配置
|
|
736
|
+
*/
|
|
737
|
+
Scaling?: MachineSetScaling;
|
|
738
|
+
/**
|
|
739
|
+
* 子网列表
|
|
740
|
+
*/
|
|
741
|
+
SubnetIds?: Array<string>;
|
|
742
|
+
/**
|
|
743
|
+
* 安全组列表
|
|
744
|
+
*/
|
|
745
|
+
SecurityGroupIds?: Array<string>;
|
|
746
|
+
/**
|
|
747
|
+
* 自动升级配置
|
|
748
|
+
*/
|
|
749
|
+
UpgradeSettings?: MachineUpgradeSettings;
|
|
750
|
+
/**
|
|
751
|
+
* 是否开启自愈能力
|
|
752
|
+
*/
|
|
753
|
+
AutoRepair?: boolean;
|
|
754
|
+
/**
|
|
755
|
+
* 节点计费类型变更
|
|
756
|
+
当前仅支持按量计费转包年包月:
|
|
757
|
+
- PREPAID
|
|
758
|
+
|
|
759
|
+
*/
|
|
760
|
+
InstanceChargeType?: string;
|
|
761
|
+
/**
|
|
762
|
+
* 包年包月机型计费配置
|
|
763
|
+
*/
|
|
764
|
+
InstanceChargePrepaid?: InstanceChargePrepaid;
|
|
765
|
+
/**
|
|
766
|
+
* 系统盘配置
|
|
767
|
+
*/
|
|
768
|
+
SystemDisk?: Disk;
|
|
769
|
+
/**
|
|
770
|
+
* Machine 系统配置
|
|
771
|
+
*/
|
|
772
|
+
Management?: ManagementConfig;
|
|
773
|
+
/**
|
|
774
|
+
* 故障自愈规则名称
|
|
775
|
+
*/
|
|
776
|
+
HealthCheckPolicyName?: string;
|
|
777
|
+
/**
|
|
778
|
+
* 原生节点池hostName模式串
|
|
779
|
+
*/
|
|
780
|
+
HostNamePattern?: string;
|
|
781
|
+
/**
|
|
782
|
+
* kubelet 自定义参数
|
|
783
|
+
*/
|
|
784
|
+
KubeletArgs?: Array<string>;
|
|
785
|
+
/**
|
|
786
|
+
* 预定义脚本
|
|
787
|
+
*/
|
|
788
|
+
Lifecycle?: LifecycleConfig;
|
|
789
|
+
/**
|
|
790
|
+
* 运行时根目录
|
|
791
|
+
*/
|
|
792
|
+
RuntimeRootDir?: string;
|
|
793
|
+
/**
|
|
794
|
+
* 是否开启弹性伸缩
|
|
795
|
+
*/
|
|
796
|
+
EnableAutoscaling?: boolean;
|
|
797
|
+
/**
|
|
798
|
+
* 机型列表
|
|
799
|
+
*/
|
|
800
|
+
InstanceTypes?: Array<string>;
|
|
801
|
+
/**
|
|
802
|
+
* 期望节点数
|
|
803
|
+
*/
|
|
804
|
+
Replicas?: number;
|
|
805
|
+
/**
|
|
806
|
+
* 数据盘列表
|
|
807
|
+
*/
|
|
808
|
+
DataDisks?: Array<DataDisk>;
|
|
809
|
+
/**
|
|
810
|
+
* ssh公钥id数组
|
|
811
|
+
*/
|
|
812
|
+
KeyIds?: Array<string>;
|
|
813
|
+
}
|
|
783
814
|
/**
|
|
784
815
|
* k8s中标注,一般以数组的方式存在
|
|
785
816
|
*/
|
|
@@ -858,6 +889,26 @@ export interface LifecycleConfig {
|
|
|
858
889
|
*/
|
|
859
890
|
PostInit?: string;
|
|
860
891
|
}
|
|
892
|
+
/**
|
|
893
|
+
* RebootMachines请求参数结构体
|
|
894
|
+
*/
|
|
895
|
+
export interface RebootMachinesRequest {
|
|
896
|
+
/**
|
|
897
|
+
* 集群 ID
|
|
898
|
+
*/
|
|
899
|
+
ClusterId: string;
|
|
900
|
+
/**
|
|
901
|
+
* 节点名字列表,一次请求,传入节点数量上限为100个
|
|
902
|
+
*/
|
|
903
|
+
MachineNames: Array<string>;
|
|
904
|
+
/**
|
|
905
|
+
* 实例的关闭模式。取值范围:
|
|
906
|
+
soft_first:表示在正常关闭失败后进行强制关闭
|
|
907
|
+
hard:直接强制关闭
|
|
908
|
+
soft:仅软关机默认取值:soft。
|
|
909
|
+
*/
|
|
910
|
+
StopType?: string;
|
|
911
|
+
}
|
|
861
912
|
/**
|
|
862
913
|
* ModifyNodePool返回参数结构体
|
|
863
914
|
*/
|
|
@@ -914,6 +965,26 @@ export interface RegularNodePoolInfo {
|
|
|
914
965
|
*/
|
|
915
966
|
InstanceAdvancedSettings?: InstanceAdvancedSettings;
|
|
916
967
|
}
|
|
968
|
+
/**
|
|
969
|
+
* StopMachines请求参数结构体
|
|
970
|
+
*/
|
|
971
|
+
export interface StopMachinesRequest {
|
|
972
|
+
/**
|
|
973
|
+
* 集群 ID
|
|
974
|
+
*/
|
|
975
|
+
ClusterId: string;
|
|
976
|
+
/**
|
|
977
|
+
* 节点名字列表,一次请求,传入节点数量上限为100个
|
|
978
|
+
*/
|
|
979
|
+
MachineNames: Array<string>;
|
|
980
|
+
/**
|
|
981
|
+
* 实例的关闭模式。取值范围:
|
|
982
|
+
soft_first:表示在正常关闭失败后进行强制关闭
|
|
983
|
+
hard:直接强制关闭
|
|
984
|
+
soft:仅软关机
|
|
985
|
+
*/
|
|
986
|
+
StopType?: string;
|
|
987
|
+
}
|
|
917
988
|
/**
|
|
918
989
|
* kubernetes Taint
|
|
919
990
|
*/
|
|
@@ -1366,6 +1437,15 @@ export interface ExternalNodePoolInfo {
|
|
|
1366
1437
|
*/
|
|
1367
1438
|
NodesNum?: number;
|
|
1368
1439
|
}
|
|
1440
|
+
/**
|
|
1441
|
+
* StopMachines返回参数结构体
|
|
1442
|
+
*/
|
|
1443
|
+
export interface StopMachinesResponse {
|
|
1444
|
+
/**
|
|
1445
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1446
|
+
*/
|
|
1447
|
+
RequestId?: string;
|
|
1448
|
+
}
|
|
1369
1449
|
/**
|
|
1370
1450
|
* DescribeHealthCheckTemplate请求参数结构体
|
|
1371
1451
|
*/
|