tencentcloud-sdk-nodejs 4.0.698 → 4.0.699
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 +274 -0
- package/SERVICE_CHANGELOG.md +460 -46
- package/package.json +1 -1
- package/products.md +13 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_client.ts +117 -12
- package/src/services/as/v20180419/as_models.ts +425 -66
- package/src/services/emr/v20190103/emr_client.ts +1 -0
- package/src/services/emr/v20190103/emr_models.ts +24 -3
- package/src/services/ess/v20201111/ess_client.ts +36 -24
- package/src/services/ess/v20201111/ess_models.ts +111 -72
- package/src/services/essbasic/v20210526/essbasic_client.ts +12 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +15 -0
- package/src/services/iai/v20200303/iai_client.ts +0 -1
- package/src/services/iai/v20200303/iai_models.ts +46 -46
- package/src/services/live/v20180801/live_client.ts +1 -2
- package/src/services/live/v20180801/live_models.ts +5 -0
- package/src/services/mps/v20190612/mps_models.ts +59 -29
- package/src/services/ocr/v20181119/ocr_models.ts +6 -6
- package/src/services/tcb/v20180608/tcb_client.ts +3 -1
- package/src/services/tcb/v20180608/tcb_models.ts +43 -6
- package/src/services/teo/v20220901/teo_models.ts +2 -8
- package/src/services/tke/v20180525/tke_client.ts +179 -63
- package/src/services/tke/v20180525/tke_models.ts +862 -145
- package/src/services/vpc/v20170312/vpc_client.ts +3 -3
- package/src/services/vpc/v20170312/vpc_models.ts +67 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_client.d.ts +48 -4
- package/tencentcloud/services/as/v20180419/as_client.js +62 -4
- package/tencentcloud/services/as/v20180419/as_models.d.ts +406 -66
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +23 -3
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +22 -18
- package/tencentcloud/services/ess/v20201111/ess_client.js +24 -18
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +109 -72
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +13 -0
- package/tencentcloud/services/iai/v20200303/iai_client.d.ts +0 -1
- package/tencentcloud/services/iai/v20200303/iai_client.js +0 -1
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +46 -46
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -2
- package/tencentcloud/services/live/v20180801/live_client.js +1 -2
- package/tencentcloud/services/live/v20180801/live_models.d.ts +5 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +59 -29
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6 -6
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +41 -6
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -8
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +55 -19
- package/tencentcloud/services/tke/v20180525/tke_client.js +81 -27
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +844 -153
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +67 -3
- package/test/as.v20180419.test.js +72 -2
- package/test/ess.v20201111.test.js +12 -2
- package/test/essbasic.v20210526.test.js +10 -0
- package/test/tke.v20180525.test.js +108 -18
package/products.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-09-22 01:08:25 |
|
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-09-25 01:06:12 |
|
|
19
|
-
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-09-
|
|
19
|
+
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-09-28 01:06:16 |
|
|
20
20
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-09-27 01:07:00 |
|
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
|
|
22
22
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2023-09-27 01:07:05 |
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-08-24 01:10:10 |
|
|
67
67
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
|
|
68
68
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
69
|
-
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-09-
|
|
69
|
+
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-09-28 01:10:30 |
|
|
70
70
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
|
|
71
71
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-09-26 01:15:47 |
|
|
72
72
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-09-26 01:16:14 |
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-09-05 10:56:15 |
|
|
94
94
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-05-18 01:25:40 |
|
|
95
95
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
96
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-09-
|
|
96
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-09-28 01:13:27 |
|
|
97
97
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-09-15 01:48:20 |
|
|
98
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-09-
|
|
99
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-09-
|
|
98
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-09-28 01:13:45 |
|
|
99
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-09-28 01:14:02 |
|
|
100
100
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-09-18 01:48:33 |
|
|
101
101
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-09-19 01:15:41 |
|
|
102
102
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
| habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
|
|
111
111
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
112
112
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2023-09-25 01:15:46 |
|
|
113
|
-
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-09-
|
|
113
|
+
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-09-28 01:14:47 |
|
|
114
114
|
| ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
|
|
115
115
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2023-05-18 01:30:40 |
|
|
116
116
|
| ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2023-08-17 03:20:18 |
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-08-17 03:51:31 |
|
|
131
131
|
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-09-27 01:19:43 |
|
|
132
132
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-09-27 01:19:56 |
|
|
133
|
-
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-09-
|
|
133
|
+
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-09-28 01:17:11 |
|
|
134
134
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
135
135
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
136
136
|
| mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2023-07-17 10:16:02 |
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-08-30 01:19:09 |
|
|
143
143
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-09-15 02:08:53 |
|
|
144
144
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-09-25 01:22:33 |
|
|
145
|
-
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-
|
|
145
|
+
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-28 01:18:13 |
|
|
146
146
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-09-13 02:09:08 |
|
|
147
147
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-08-30 01:19:55 |
|
|
148
148
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-08-17 04:18:22 |
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-09-15 02:14:19 |
|
|
151
151
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
152
152
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-09-06 02:10:27 |
|
|
153
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-09-
|
|
153
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-09-28 01:18:48 |
|
|
154
154
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-09-18 02:11:06 |
|
|
155
155
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-09-22 02:15:37 |
|
|
156
156
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-08-17 04:23:46 |
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
188
188
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-08-17 04:48:55 |
|
|
189
189
|
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-09-25 01:25:42 |
|
|
190
|
-
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2023-
|
|
190
|
+
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2023-09-28 01:21:31 |
|
|
191
191
|
| tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2023-05-18 01:51:15 |
|
|
192
192
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
|
|
193
193
|
| tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2023-08-10 01:37:37 |
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-09-20 01:45:44 |
|
|
201
201
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-05-18 01:55:50 |
|
|
202
202
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
|
|
203
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-09-
|
|
203
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-09-28 01:23:06 |
|
|
204
204
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-09-21 06:17:00 |
|
|
205
205
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
206
206
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-09-01 01:23:47 |
|
|
211
211
|
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-09-22 02:38:16 |
|
|
212
212
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-09-22 02:39:13 |
|
|
213
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-
|
|
213
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-09-27 22:00:52 |
|
|
214
214
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
215
215
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-05-18 02:01:07 |
|
|
216
216
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-09-27 01:26:36 |
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-05-18 02:04:19 |
|
|
229
229
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-08-17 05:50:56 |
|
|
230
230
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-09-27 01:27:42 |
|
|
231
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-09-
|
|
231
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-09-28 01:25:40 |
|
|
232
232
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-07-18 01:58:58 |
|
|
233
233
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-09-27 01:28:58 |
|
|
234
234
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-18 01:59:28 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.699"
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
DisableAutoScalingGroupResponse,
|
|
22
22
|
ModifyLaunchConfigurationAttributesRequest,
|
|
23
23
|
DisableAutoScalingGroupRequest,
|
|
24
|
+
DescribeRefreshActivitiesResponse,
|
|
24
25
|
ModifyAutoScalingGroupRequest,
|
|
25
26
|
ScaleOutInstancesRequest,
|
|
26
27
|
AutoScalingNotification,
|
|
@@ -35,6 +36,7 @@ import {
|
|
|
35
36
|
ClearLaunchConfigurationAttributesResponse,
|
|
36
37
|
DescribeAutoScalingGroupsResponse,
|
|
37
38
|
CreateScheduledActionRequest,
|
|
39
|
+
ExitStandbyRequest,
|
|
38
40
|
SystemDisk,
|
|
39
41
|
SpotMarketOptions,
|
|
40
42
|
StopAutoScalingInstancesResponse,
|
|
@@ -50,6 +52,7 @@ import {
|
|
|
50
52
|
CompleteLifecycleActionRequest,
|
|
51
53
|
CreateScalingPolicyResponse,
|
|
52
54
|
CreateNotificationConfigurationResponse,
|
|
55
|
+
DescribeRefreshActivitiesRequest,
|
|
53
56
|
DescribeLaunchConfigurationsResponse,
|
|
54
57
|
RemoveInstancesRequest,
|
|
55
58
|
DeleteScalingPolicyResponse,
|
|
@@ -59,16 +62,19 @@ import {
|
|
|
59
62
|
ModifyLoadBalancersRequest,
|
|
60
63
|
RemoveInstancesResponse,
|
|
61
64
|
ModifyScalingPolicyResponse,
|
|
65
|
+
DeleteLaunchConfigurationRequest,
|
|
62
66
|
SetInstancesProtectionRequest,
|
|
63
67
|
DeleteNotificationConfigurationResponse,
|
|
64
68
|
DetachInstancesResponse,
|
|
69
|
+
RollingUpdateSettings,
|
|
65
70
|
ModifyLaunchConfigurationAttributesResponse,
|
|
66
71
|
CreateLaunchConfigurationRequest,
|
|
67
72
|
AutoScalingGroup,
|
|
68
73
|
AttachInstancesResponse,
|
|
69
74
|
DescribeAutoScalingGroupLastActivitiesResponse,
|
|
70
75
|
DescribeAccountLimitsRequest,
|
|
71
|
-
|
|
76
|
+
ScaleInInstancesResponse,
|
|
77
|
+
CancelInstanceRefreshRequest,
|
|
72
78
|
DetachLoadBalancersResponse,
|
|
73
79
|
ScalingPolicy,
|
|
74
80
|
DescribeAutoScalingGroupLastActivitiesRequest,
|
|
@@ -76,13 +82,15 @@ import {
|
|
|
76
82
|
ModifyLoadBalancersResponse,
|
|
77
83
|
CreateNotificationConfigurationRequest,
|
|
78
84
|
DescribeScheduledActionsResponse,
|
|
85
|
+
ModifyNotificationConfigurationRequest,
|
|
79
86
|
DeleteLifecycleHookRequest,
|
|
80
87
|
ModifyLoadBalancerTargetAttributesResponse,
|
|
81
88
|
ModifyAutoScalingGroupResponse,
|
|
82
|
-
|
|
89
|
+
ExitStandbyResponse,
|
|
83
90
|
InvocationResult,
|
|
84
91
|
ModifyScalingPolicyRequest,
|
|
85
92
|
InstanceMarketOptionsRequest,
|
|
93
|
+
RefreshBatch,
|
|
86
94
|
UpgradeLifecycleHookResponse,
|
|
87
95
|
InstanceTag,
|
|
88
96
|
ModifyLifecycleHookResponse,
|
|
@@ -94,6 +102,7 @@ import {
|
|
|
94
102
|
DescribeAutoScalingActivitiesResponse,
|
|
95
103
|
DescribeNotificationConfigurationsResponse,
|
|
96
104
|
DataDisk,
|
|
105
|
+
RollbackInstanceRefreshResponse,
|
|
97
106
|
DeleteScalingPolicyRequest,
|
|
98
107
|
LoginSettings,
|
|
99
108
|
CreateAutoScalingGroupFromInstanceResponse,
|
|
@@ -106,15 +115,18 @@ import {
|
|
|
106
115
|
IPv6InternetAccessible,
|
|
107
116
|
DescribeScheduledActionsRequest,
|
|
108
117
|
RunSecurityServiceEnabled,
|
|
118
|
+
RefreshBatchRelatedInstance,
|
|
109
119
|
DeleteScheduledActionRequest,
|
|
110
120
|
DescribeAutoScalingActivitiesRequest,
|
|
111
121
|
ModifyDesiredCapacityRequest,
|
|
112
122
|
CreateScheduledActionResponse,
|
|
123
|
+
StartInstanceRefreshResponse,
|
|
113
124
|
CreateLifecycleHookRequest,
|
|
114
125
|
ScheduledAction,
|
|
115
126
|
ModifyLifecycleHookRequest,
|
|
116
127
|
CompleteLifecycleActionResponse,
|
|
117
128
|
ScaleOutInstancesResponse,
|
|
129
|
+
RefreshSettings,
|
|
118
130
|
Filter,
|
|
119
131
|
DescribeLifecycleHooksRequest,
|
|
120
132
|
ServiceSettings,
|
|
@@ -124,17 +136,21 @@ import {
|
|
|
124
136
|
LimitedLoginSettings,
|
|
125
137
|
DescribeLifecycleHooksResponse,
|
|
126
138
|
CreateScalingPolicyRequest,
|
|
127
|
-
|
|
139
|
+
ResumeInstanceRefreshRequest,
|
|
128
140
|
DescribeAutoScalingAdvicesRequest,
|
|
129
141
|
DeleteNotificationConfigurationRequest,
|
|
130
142
|
DescribeLaunchConfigurationsRequest,
|
|
131
143
|
NotificationTarget,
|
|
132
144
|
ModifyLoadBalancerTargetAttributesRequest,
|
|
145
|
+
RollbackInstanceRefreshRequest,
|
|
146
|
+
StartInstanceRefreshRequest,
|
|
133
147
|
DeleteAutoScalingGroupResponse,
|
|
134
148
|
LifecycleActionResultInfo,
|
|
135
149
|
AutoScalingGroupAbstract,
|
|
136
150
|
EnableAutoScalingGroupRequest,
|
|
151
|
+
StopInstanceRefreshRequest,
|
|
137
152
|
MetricAlarm,
|
|
153
|
+
RefreshActivity,
|
|
138
154
|
DescribeNotificationConfigurationsRequest,
|
|
139
155
|
ScaleInInstancesRequest,
|
|
140
156
|
LifecycleHook,
|
|
@@ -144,14 +160,17 @@ import {
|
|
|
144
160
|
AutoScalingAdvice,
|
|
145
161
|
StartAutoScalingInstancesRequest,
|
|
146
162
|
AttachInstancesRequest,
|
|
163
|
+
StopInstanceRefreshResponse,
|
|
147
164
|
AttachLoadBalancersRequest,
|
|
148
165
|
SpotMixedAllocationPolicy,
|
|
166
|
+
UpgradeLifecycleHookRequest,
|
|
167
|
+
ResumeInstanceRefreshResponse,
|
|
149
168
|
DescribeScalingPoliciesResponse,
|
|
150
169
|
Activity,
|
|
151
170
|
ModifyDesiredCapacityResponse,
|
|
152
171
|
StopAutoScalingInstancesRequest,
|
|
153
172
|
RunMonitorServiceEnabled,
|
|
154
|
-
|
|
173
|
+
CancelInstanceRefreshResponse,
|
|
155
174
|
ActivtyRelatedInstance,
|
|
156
175
|
CreateAutoScalingGroupFromInstanceRequest,
|
|
157
176
|
InternetAccessible,
|
|
@@ -171,6 +190,18 @@ export class Client extends AbstractClient {
|
|
|
171
190
|
super("as.tencentcloudapi.com", "2018-04-19", clientConfig)
|
|
172
191
|
}
|
|
173
192
|
|
|
193
|
+
/**
|
|
194
|
+
* 暂停正在执行的实例刷新活动。
|
|
195
|
+
* 暂停状态下,伸缩组也会处于停用中状态
|
|
196
|
+
* 当前正在更新的实例不会暂停,待更新的实例会暂停更新
|
|
197
|
+
*/
|
|
198
|
+
async StopInstanceRefresh(
|
|
199
|
+
req: StopInstanceRefreshRequest,
|
|
200
|
+
cb?: (error: string, rep: StopInstanceRefreshResponse) => void
|
|
201
|
+
): Promise<StopInstanceRefreshResponse> {
|
|
202
|
+
return this.request("StopInstanceRefresh", req, cb)
|
|
203
|
+
}
|
|
204
|
+
|
|
174
205
|
/**
|
|
175
206
|
* 本接口(ExecuteScalingPolicy)用于执行伸缩策略。
|
|
176
207
|
|
|
@@ -205,6 +236,21 @@ export class Client extends AbstractClient {
|
|
|
205
236
|
return this.request("ClearLaunchConfigurationAttributes", req, cb)
|
|
206
237
|
}
|
|
207
238
|
|
|
239
|
+
/**
|
|
240
|
+
* 根据启动配置中参数,刷新伸缩组内运行中状态 CVM 实例,返回实例刷新活动的 RefreshActivityId。
|
|
241
|
+
* 对于重装实例的刷新方式(目前仅支持重装),重装时仅会从启动配置中获取 ImageId、UserData、EnhancedService、 HostName、LoginSettings 参数进行刷新,实例的其他参数不会刷新
|
|
242
|
+
* 实例刷新期间(包括暂停状态),伸缩组会被停用。不建议刷新期间修改关联启动配置,否则会影响刷新参数,造成实例配置不一致
|
|
243
|
+
* 滚动更新模式会分成多批次进行刷新实例,单批次中若存在刷新失败实例,活动会进入失败暂停状态
|
|
244
|
+
* 若待刷新实例被移出或销毁,会被标记为 NOT_FOUND 状态,不阻塞实例刷新活动
|
|
245
|
+
* 运行中状态实例与最新启动配置参数一致,实例也会再次刷新
|
|
246
|
+
*/
|
|
247
|
+
async StartInstanceRefresh(
|
|
248
|
+
req: StartInstanceRefreshRequest,
|
|
249
|
+
cb?: (error: string, rep: StartInstanceRefreshResponse) => void
|
|
250
|
+
): Promise<StartInstanceRefreshResponse> {
|
|
251
|
+
return this.request("StartInstanceRefresh", req, cb)
|
|
252
|
+
}
|
|
253
|
+
|
|
208
254
|
/**
|
|
209
255
|
* 本接口(ModifyScalingPolicy)用于修改告警触发策略。
|
|
210
256
|
*/
|
|
@@ -263,6 +309,18 @@ export class Client extends AbstractClient {
|
|
|
263
309
|
return this.request("ScaleOutInstances", req, cb)
|
|
264
310
|
}
|
|
265
311
|
|
|
312
|
+
/**
|
|
313
|
+
* 伸缩组内实例退出备用中状态。
|
|
314
|
+
* 备用中状态的实例负载均衡器权重值为 0,退出备用中状态后,权重值也会恢复
|
|
315
|
+
* 对备用中状态实例进行开关机操作也会使其退出备用中状态
|
|
316
|
+
*/
|
|
317
|
+
async ExitStandby(
|
|
318
|
+
req: ExitStandbyRequest,
|
|
319
|
+
cb?: (error: string, rep: ExitStandbyResponse) => void
|
|
320
|
+
): Promise<ExitStandbyResponse> {
|
|
321
|
+
return this.request("ExitStandby", req, cb)
|
|
322
|
+
}
|
|
323
|
+
|
|
266
324
|
/**
|
|
267
325
|
* 本接口(StartAutoScalingInstances)用于开启伸缩组内 CVM 实例。
|
|
268
326
|
* 开机成功,实例转为`IN_SERVICE`状态后,会增加期望实例数,期望实例数不可超过设置的最大值
|
|
@@ -290,6 +348,16 @@ export class Client extends AbstractClient {
|
|
|
290
348
|
return this.request("UpgradeLaunchConfiguration", req, cb)
|
|
291
349
|
}
|
|
292
350
|
|
|
351
|
+
/**
|
|
352
|
+
* 本接口(DescribeRefreshActivities)用于查询伸缩组的实例刷新活动记录。
|
|
353
|
+
*/
|
|
354
|
+
async DescribeRefreshActivities(
|
|
355
|
+
req: DescribeRefreshActivitiesRequest,
|
|
356
|
+
cb?: (error: string, rep: DescribeRefreshActivitiesResponse) => void
|
|
357
|
+
): Promise<DescribeRefreshActivitiesResponse> {
|
|
358
|
+
return this.request("DescribeRefreshActivities", req, cb)
|
|
359
|
+
}
|
|
360
|
+
|
|
293
361
|
/**
|
|
294
362
|
* 此接口用于修改生命周期挂钩。
|
|
295
363
|
*/
|
|
@@ -392,6 +460,17 @@ export class Client extends AbstractClient {
|
|
|
392
460
|
return this.request("CreateScheduledAction", req, cb)
|
|
393
461
|
}
|
|
394
462
|
|
|
463
|
+
/**
|
|
464
|
+
* 本接口(SetInstancesProtection)用于设置实例保护。
|
|
465
|
+
实例设置保护之后,当发生不健康替换、报警策略、期望值变更等触发缩容时,将不对此实例缩容操作。
|
|
466
|
+
*/
|
|
467
|
+
async SetInstancesProtection(
|
|
468
|
+
req: SetInstancesProtectionRequest,
|
|
469
|
+
cb?: (error: string, rep: SetInstancesProtectionResponse) => void
|
|
470
|
+
): Promise<SetInstancesProtectionResponse> {
|
|
471
|
+
return this.request("SetInstancesProtection", req, cb)
|
|
472
|
+
}
|
|
473
|
+
|
|
395
474
|
/**
|
|
396
475
|
* 此接口用于查询伸缩组配置建议。
|
|
397
476
|
*/
|
|
@@ -462,14 +541,17 @@ export class Client extends AbstractClient {
|
|
|
462
541
|
}
|
|
463
542
|
|
|
464
543
|
/**
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
544
|
+
* 回滚操作会生成一个新的实例刷新活动,该活动也支持分批次刷新以及暂停、恢复、取消操作,接口返回回滚活动的 RefreshActivityId。
|
|
545
|
+
* 原活动中待刷新实例变更为已取消,忽略不存在实例,其他状态实例进入回滚流程
|
|
546
|
+
* 原活动中正在刷新的实例不会立刻终止,刷新结束后再执行回滚活动
|
|
547
|
+
* 暂停状态或最近一次成功的刷新活动支持回滚,其他状态不支持回滚
|
|
548
|
+
* 原活动刷新方式为重装实例时,对于 ImageId参数,会自动恢复到回滚前镜像 ID;对于 UserData、EnhancedService、LoginSettings、 HostName 参数,依然会从启动配置中读取,需用户在回滚前自行修改启动配置
|
|
549
|
+
*/
|
|
550
|
+
async RollbackInstanceRefresh(
|
|
551
|
+
req: RollbackInstanceRefreshRequest,
|
|
552
|
+
cb?: (error: string, rep: RollbackInstanceRefreshResponse) => void
|
|
553
|
+
): Promise<RollbackInstanceRefreshResponse> {
|
|
554
|
+
return this.request("RollbackInstanceRefresh", req, cb)
|
|
473
555
|
}
|
|
474
556
|
|
|
475
557
|
/**
|
|
@@ -784,6 +866,29 @@ export class Client extends AbstractClient {
|
|
|
784
866
|
return this.request("DeleteNotificationConfiguration", req, cb)
|
|
785
867
|
}
|
|
786
868
|
|
|
869
|
+
/**
|
|
870
|
+
* 恢复暂停状态的实例刷新活动,使其重试当前批次刷新失败实例或继续刷新后续批次,非暂停状态下调用该接口无效。
|
|
871
|
+
*/
|
|
872
|
+
async ResumeInstanceRefresh(
|
|
873
|
+
req: ResumeInstanceRefreshRequest,
|
|
874
|
+
cb?: (error: string, rep: ResumeInstanceRefreshResponse) => void
|
|
875
|
+
): Promise<ResumeInstanceRefreshResponse> {
|
|
876
|
+
return this.request("ResumeInstanceRefresh", req, cb)
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* 取消伸缩组的实例刷新活动。
|
|
881
|
+
* 已刷新/正在刷新的批次不受影响,待刷新批次被取消
|
|
882
|
+
* 刷新失败的实例保持备用中状态,需用户手动处理后尝试退出备用中状态或销毁
|
|
883
|
+
* 取消后不允许回滚操作,也不支持恢复操作
|
|
884
|
+
*/
|
|
885
|
+
async CancelInstanceRefresh(
|
|
886
|
+
req: CancelInstanceRefreshRequest,
|
|
887
|
+
cb?: (error: string, rep: CancelInstanceRefreshResponse) => void
|
|
888
|
+
): Promise<CancelInstanceRefreshResponse> {
|
|
889
|
+
return this.request("CancelInstanceRefresh", req, cb)
|
|
890
|
+
}
|
|
891
|
+
|
|
787
892
|
/**
|
|
788
893
|
* 本接口(DescribeAccountLimits)用于查询用户账户在弹性伸缩中的资源限制。
|
|
789
894
|
*/
|