tencentcloud-sdk-nodejs 4.0.454 → 4.0.456

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/CHANGELOG.md +317 -0
  2. package/SERVICE_CHANGELOG.md +363 -57
  3. package/package.json +1 -1
  4. package/products.md +18 -18
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/bpaas/v20181217/bpaas_client.ts +2 -0
  7. package/src/services/bpaas/v20181217/bpaas_models.ts +59 -0
  8. package/src/services/captcha/v20190722/captcha_models.ts +18 -8
  9. package/src/services/cdn/v20180606/cdn_client.ts +1 -1
  10. package/src/services/cvm/v20170312/cvm_models.ts +6 -1
  11. package/src/services/cwp/v20180228/cwp_client.ts +28 -16
  12. package/src/services/cwp/v20180228/cwp_models.ts +168 -123
  13. package/src/services/ess/v20201111/ess_client.ts +2 -3
  14. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
  15. package/src/services/mongodb/v20190725/mongodb_client.ts +1 -1
  16. package/src/services/mongodb/v20190725/mongodb_models.ts +48 -13
  17. package/src/services/monitor/v20180724/monitor_models.ts +6 -0
  18. package/src/services/redis/v20180412/redis_client.ts +499 -475
  19. package/src/services/redis/v20180412/redis_models.ts +78 -22
  20. package/src/services/rum/v20210622/rum_models.ts +17 -7
  21. package/src/services/teo/v20220901/teo_client.ts +85 -12
  22. package/src/services/teo/v20220901/teo_models.ts +509 -212
  23. package/src/services/tione/v20211111/tione_client.ts +6 -0
  24. package/src/services/tione/v20211111/tione_models.ts +196 -0
  25. package/src/services/tke/v20180525/tke_client.ts +25 -1
  26. package/src/services/tke/v20180525/tke_models.ts +93 -3
  27. package/src/services/vpc/v20170312/vpc_client.ts +4 -4
  28. package/src/services/vpc/v20170312/vpc_models.ts +2 -2
  29. package/tencentcloud/common/sdk_version.d.ts +1 -1
  30. package/tencentcloud/common/sdk_version.js +1 -1
  31. package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +50 -0
  32. package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +16 -8
  33. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
  34. package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
  35. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +5 -1
  36. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +9 -5
  37. package/tencentcloud/services/cwp/v20180228/cwp_client.js +12 -6
  38. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +142 -101
  39. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -2
  40. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -2
  41. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
  42. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
  43. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +1 -1
  44. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +1 -1
  45. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +41 -13
  46. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +5 -0
  47. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +171 -163
  48. package/tencentcloud/services/redis/v20180412/redis_client.js +255 -243
  49. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +70 -21
  50. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +15 -7
  51. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +27 -3
  52. package/tencentcloud/services/teo/v20220901/teo_client.js +39 -3
  53. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +411 -155
  54. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +168 -0
  55. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +9 -1
  56. package/tencentcloud/services/tke/v20180525/tke_client.js +12 -0
  57. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +80 -3
  58. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
  59. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
  60. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +2 -2
  61. package/test/cwp.v20180228.test.js +14 -4
  62. package/test/redis.v20180412.test.js +182 -162
  63. package/test/teo.v20220901.test.js +62 -2
  64. package/test/tke.v20180525.test.js +20 -0
package/products.md CHANGED
@@ -28,12 +28,12 @@
28
28
  | bmeip | [黑石弹性公网IP](https://cloud.tencent.com/document/product/1028) | 2022-04-19 06:04:56 |
29
29
  | bmlb | [黑石负载均衡](https://cloud.tencent.com/document/product/1027) | 2022-04-04 06:09:37 |
30
30
  | bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2022-04-15 06:02:36 |
31
- | bpaas | [商业流程服务](https://cloud.tencent.com/document/product/1083) | 2022-09-22 11:16:45 |
31
+ | bpaas | [商业流程服务](https://cloud.tencent.com/document/product/1083) | 2022-09-30 06:12:23 |
32
32
  | bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
33
33
  | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2022-09-29 06:12:03 |
34
34
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2022-04-04 06:10:17 |
35
35
  | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-09-23 06:11:49 |
36
- | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-08-18 06:10:57 |
36
+ | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-10-10 06:11:02 |
37
37
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2022-08-03 06:08:12 |
38
38
  | casb | [云数据加密代理网关](https://cloud.tencent.com/document/product/1303) | 2022-04-04 06:11:55 |
39
39
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-09-15 11:03:22 |
@@ -41,7 +41,7 @@
41
41
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-09-22 06:12:48 |
42
42
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-09-29 06:13:46 |
43
43
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-07-30 15:07:54 |
44
- | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-09-19 06:14:28 |
44
+ | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-09-30 06:15:35 |
45
45
  | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
46
46
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-09-26 06:16:02 |
47
47
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-09-07 06:15:13 |
@@ -62,8 +62,8 @@
62
62
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
63
63
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-09-29 06:20:13 |
64
64
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
65
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-09-21 06:19:55 |
66
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-09-28 06:22:44 |
65
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-09-30 06:22:32 |
66
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-10-10 06:18:10 |
67
67
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
68
68
  | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-09-22 06:22:08 |
69
69
  | dasb | [堡垒机](https://cloud.tencent.com/document/product/1025) | 2022-08-16 06:19:02 |
@@ -88,8 +88,8 @@
88
88
  | eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-08-16 06:23:41 |
89
89
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-09-06 06:30:34 |
90
90
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-09-28 06:30:23 |
91
- | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-09-29 06:30:30 |
92
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-09-29 10:31:49 |
91
+ | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-09-30 06:31:46 |
92
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-09-30 06:32:03 |
93
93
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
94
94
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-09-20 06:29:06 |
95
95
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
@@ -128,8 +128,8 @@
128
128
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
129
129
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-08-25 06:38:57 |
130
130
  | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-09-14 20:21:28 |
131
- | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-09-22 06:37:08 |
132
- | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-09-26 06:41:40 |
131
+ | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-10-10 06:31:49 |
132
+ | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-10-10 06:32:08 |
133
133
  | mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-09-20 06:38:58 |
134
134
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-06-28 06:14:04 |
135
135
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2022-09-16 17:41:33 |
@@ -138,7 +138,7 @@
138
138
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
139
139
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
140
140
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-09-27 06:36:12 |
141
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-09-27 06:36:25 |
141
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-09-30 06:45:38 |
142
142
  | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-09-23 06:41:45 |
143
143
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-09-05 06:41:45 |
144
144
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
@@ -146,12 +146,12 @@
146
146
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-09-19 06:43:11 |
147
147
  | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2022-09-19 06:43:24 |
148
148
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2022-09-23 06:43:17 |
149
- | redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-09-19 06:44:00 |
149
+ | redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-10-10 06:35:50 |
150
150
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2022-07-27 21:10:02 |
151
151
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-04-04 07:04:04 |
152
152
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
153
- | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-09-22 06:42:11 |
154
- | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-07-20 06:11:30 |
153
+ | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-10-10 06:36:43 |
154
+ | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-09-30 06:49:15 |
155
155
  | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-09-06 06:49:17 |
156
156
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-04-25 06:11:28 |
157
157
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2022-04-04 07:05:41 |
@@ -183,9 +183,9 @@
183
183
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-07-05 06:21:49 |
184
184
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
185
185
  | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-09-22 06:48:45 |
186
- | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-09-23 17:56:43 |
186
+ | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-10-10 06:42:56 |
187
187
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-09-28 06:54:52 |
188
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-09-28 19:21:32 |
188
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-10-10 06:43:20 |
189
189
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 |
190
190
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
191
191
  | tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2022-04-04 07:16:52 |
@@ -193,9 +193,9 @@
193
193
  | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
194
194
  | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
195
195
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-09-20 06:53:40 |
196
- | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-09-06 13:11:30 |
196
+ | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-09-30 07:00:21 |
197
197
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 |
198
- | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-09-29 06:57:01 |
198
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-10-10 06:45:41 |
199
199
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
200
200
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
201
201
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-08-31 06:55:53 |
@@ -209,7 +209,7 @@
209
209
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-09-16 06:48:14 |
210
210
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
211
211
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-09-27 06:50:30 |
212
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-09-29 07:02:19 |
212
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-10-10 06:50:01 |
213
213
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-09-15 06:49:04 |
214
214
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
215
215
  | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-09-21 17:26:55 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.454"
1
+ export const sdkVersion = "4.0.456"
@@ -19,12 +19,14 @@ import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  StatusNode,
22
+ Scf,
22
23
  ApproveOpinion,
23
24
  OutApproveBpaasApplicationResponse,
24
25
  GetBpaasApproveDetailRequest,
25
26
  ApproveUser,
26
27
  GetBpaasApproveDetailResponse,
27
28
  OutApproveBpaasApplicationRequest,
29
+ ScfParam,
28
30
  ApplyParam,
29
31
  } from "./bpaas_models"
30
32
 
@@ -112,6 +112,33 @@ export interface StatusNode {
112
112
  CallMethod: number
113
113
  }
114
114
 
115
+ /**
116
+ * 云函数SCF
117
+ */
118
+ export interface Scf {
119
+ /**
120
+ * Scf函数地域id
121
+ */
122
+ ScfRegion: string
123
+
124
+ /**
125
+ * Scf函数地域
126
+ */
127
+ ScfRegionName: string
128
+
129
+ /**
130
+ * Scf函数名称
131
+ 注意:此字段可能返回 null,表示取不到有效值。
132
+ */
133
+ ScfName?: string
134
+
135
+ /**
136
+ * Scf函数入参
137
+ 注意:此字段可能返回 null,表示取不到有效值。
138
+ */
139
+ Params?: Array<ScfParam>
140
+ }
141
+
115
142
  /**
116
143
  * 审批意见
117
144
  */
@@ -173,6 +200,12 @@ export interface ApproveUser {
173
200
  注意:此字段可能返回 null,表示取不到有效值。
174
201
  */
175
202
  Nick?: string
203
+
204
+ /**
205
+ * 动态获取Scf
206
+ 注意:此字段可能返回 null,表示取不到有效值。
207
+ */
208
+ Scf?: Scf
176
209
  }
177
210
 
178
211
  /**
@@ -267,6 +300,32 @@ export interface OutApproveBpaasApplicationRequest {
267
300
  Msg?: string
268
301
  }
269
302
 
303
+ /**
304
+ * Scf函数入参
305
+ */
306
+ export interface ScfParam {
307
+ /**
308
+ * 参数Key
309
+ */
310
+ Key: string
311
+
312
+ /**
313
+ * 参数类型 1用户输入 2预设参数 3表单参数
314
+ */
315
+ Type: number
316
+
317
+ /**
318
+ * 参数值
319
+ */
320
+ Values: Array<string>
321
+
322
+ /**
323
+ * 参数描述
324
+ 注意:此字段可能返回 null,表示取不到有效值。
325
+ */
326
+ Name?: string
327
+ }
328
+
270
329
  /**
271
330
  * bpaas申请入参
272
331
  */
@@ -504,38 +504,48 @@ export interface DescribeCaptchaDataSumResponse {
504
504
  /**
505
505
  * 请求总量
506
506
  */
507
- GetSum?: number
507
+ GetSum: number
508
508
 
509
509
  /**
510
510
  * 请求验证成功量
511
511
  */
512
- VfySuccSum?: number
512
+ VfySuccSum: number
513
513
 
514
514
  /**
515
515
  * 请求验证量
516
516
  */
517
- VfySum?: number
517
+ VfySum: number
518
518
 
519
519
  /**
520
520
  * 拦截攻击量
521
521
  */
522
- AttackSum?: number
522
+ AttackSum: number
523
523
 
524
524
  /**
525
525
  * 返回信息
526
526
  注意:此字段可能返回 null,表示取不到有效值。
527
527
  */
528
- CaptchaMsg?: string
528
+ CaptchaMsg: string
529
529
 
530
530
  /**
531
531
  * 成功返回0 其它失败
532
532
  */
533
- CaptchaCode?: number
533
+ CaptchaCode: number
534
534
 
535
535
  /**
536
- * 票据校验量
536
+ * 票据校验总量
537
537
  */
538
- CheckTicketSum?: number
538
+ CheckTicketSum: number
539
+
540
+ /**
541
+ * 票据验证通过量
542
+ */
543
+ TicketThroughputSum: number
544
+
545
+ /**
546
+ * 票据验证拦截量
547
+ */
548
+ TicketInterceptSum: number
539
549
 
540
550
  /**
541
551
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -383,7 +383,7 @@ export class Client extends AbstractClient {
383
383
  }
384
384
 
385
385
  /**
386
- * DescribeIpStatus 用于查询域名所在加速平台的边缘节点、回源节点明细。注意事项:边缘节点(edge)尚未全量开放,未在内测名单中的账号不支持调用。
386
+ * DescribeIpStatus 用于查询域名所在加速平台的边缘节点、回源节点明细。注意事项:暂不支持查询边缘节点信息。
387
387
 
388
388
  >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41954"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
389
389
  */
@@ -783,7 +783,7 @@ export interface LoginSettings {
783
783
  Password?: string
784
784
 
785
785
  /**
786
- * 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
786
+ * 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
787
787
  注意:此字段可能返回 null,表示取不到有效值。
788
788
  */
789
789
  KeyIds?: Array<string>
@@ -3073,6 +3073,11 @@ export interface Instance {
3073
3073
  * 实例的操作系统许可类型,默认为TencentCloud
3074
3074
  */
3075
3075
  LicenseType?: string
3076
+
3077
+ /**
3078
+ * 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
3079
+ */
3080
+ DisableApiTermination?: boolean
3076
3081
  }
3077
3082
 
3078
3083
  /**
@@ -201,6 +201,7 @@ import {
201
201
  DescribeBashEventsRequest,
202
202
  DeleteMachineRequest,
203
203
  DescribeAssetWebLocationListResponse,
204
+ DescribeAssetHostTotalCountResponse,
204
205
  DescribeAssetJarListRequest,
205
206
  PrivilegeEscalationProcess,
206
207
  DescribeProtectNetListResponse,
@@ -215,6 +216,7 @@ import {
215
216
  CreateEmergencyVulScanResponse,
216
217
  DescribeAssetCoreModuleInfoRequest,
217
218
  DescribeIndexListResponse,
219
+ DescribeTagMachinesResponse,
218
220
  ModifyWebPageProtectDirRequest,
219
221
  DescribeWebPageGeneralizeResponse,
220
222
  DescribeBanWhiteListResponse,
@@ -227,12 +229,11 @@ import {
227
229
  DeleteTagsResponse,
228
230
  DescribeSecurityEventsCntRequest,
229
231
  AssetUserBaseInfo,
230
- DescribeMachineOsListResponse,
231
232
  LicenseBindTaskDetail,
232
233
  ExportMaliciousRequestsResponse,
233
234
  EffectiveMachineInfo,
234
235
  DescribeVulCountByDatesResponse,
235
- DescribeTagMachinesResponse,
236
+ DescribeMachineOsListResponse,
236
237
  DescribeIndexListRequest,
237
238
  ProtectDirInfo,
238
239
  DeleteBashRulesRequest,
@@ -266,7 +267,7 @@ import {
266
267
  ProtectEventLists,
267
268
  SwitchBashRulesRequest,
268
269
  DescribeProcessStatisticsRequest,
269
- DescribeAssetInfoResponse,
270
+ CreateScanMalwareSettingResponse,
270
271
  MalwareRisk,
271
272
  ExportProtectDirListResponse,
272
273
  AssetWebFrameBaseInfo,
@@ -457,7 +458,7 @@ import {
457
458
  DescribeAssetPortInfoListRequest,
458
459
  VulLevelCountInfo,
459
460
  DescribeExportMachinesRequest,
460
- CreateScanMalwareSettingResponse,
461
+ DescribeAssetInfoResponse,
461
462
  WarningObject,
462
463
  RiskDnsList,
463
464
  DeleteMalwareScanTaskRequest,
@@ -537,6 +538,7 @@ import {
537
538
  AssetUserKeyInfo,
538
539
  DescribeMachinesResponse,
539
540
  DescribeAssetWebLocationListRequest,
541
+ DescribeAssetHostTotalCountRequest,
540
542
  DescribeVulLevelCountRequest,
541
543
  DeleteWebPageEventLogRequest,
542
544
  DescribeProVersionStatusRequest,
@@ -1963,13 +1965,13 @@ export class Client extends AbstractClient {
1963
1965
  }
1964
1966
 
1965
1967
  /**
1966
- * 查看恶意文件详情
1968
+ * 获取主机所有资源数量
1967
1969
  */
1968
- async DescribeMalwareInfo(
1969
- req: DescribeMalwareInfoRequest,
1970
- cb?: (error: string, rep: DescribeMalwareInfoResponse) => void
1971
- ): Promise<DescribeMalwareInfoResponse> {
1972
- return this.request("DescribeMalwareInfo", req, cb)
1970
+ async DescribeAssetHostTotalCount(
1971
+ req: DescribeAssetHostTotalCountRequest,
1972
+ cb?: (error: string, rep: DescribeAssetHostTotalCountResponse) => void
1973
+ ): Promise<DescribeAssetHostTotalCountResponse> {
1974
+ return this.request("DescribeAssetHostTotalCount", req, cb)
1973
1975
  }
1974
1976
 
1975
1977
  /**
@@ -2172,6 +2174,16 @@ export class Client extends AbstractClient {
2172
2174
  return this.request("DescribeMachineInfo", req, cb)
2173
2175
  }
2174
2176
 
2177
+ /**
2178
+ * 切换高危命令规则状态
2179
+ */
2180
+ async SwitchBashRules(
2181
+ req: SwitchBashRulesRequest,
2182
+ cb?: (error: string, rep: SwitchBashRulesResponse) => void
2183
+ ): Promise<SwitchBashRulesResponse> {
2184
+ return this.request("SwitchBashRules", req, cb)
2185
+ }
2186
+
2175
2187
  /**
2176
2188
  * 获取阻断白名单列表
2177
2189
  */
@@ -2323,13 +2335,13 @@ export class Client extends AbstractClient {
2323
2335
  }
2324
2336
 
2325
2337
  /**
2326
- * 切换高危命令规则状态
2338
+ * 查看恶意文件详情
2327
2339
  */
2328
- async SwitchBashRules(
2329
- req: SwitchBashRulesRequest,
2330
- cb?: (error: string, rep: SwitchBashRulesResponse) => void
2331
- ): Promise<SwitchBashRulesResponse> {
2332
- return this.request("SwitchBashRules", req, cb)
2340
+ async DescribeMalwareInfo(
2341
+ req: DescribeMalwareInfoRequest,
2342
+ cb?: (error: string, rep: DescribeMalwareInfoResponse) => void
2343
+ ): Promise<DescribeMalwareInfoResponse> {
2344
+ return this.request("DescribeMalwareInfo", req, cb)
2333
2345
  }
2334
2346
 
2335
2347
  /**