tencentcloud-sdk-nodejs 4.0.705 → 4.0.706

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 (43) hide show
  1. package/CHANGELOG.md +93 -0
  2. package/SERVICE_CHANGELOG.md +174 -143
  3. package/package.json +1 -1
  4. package/products.md +15 -15
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/batch/v20170312/batch_models.ts +7 -6
  7. package/src/services/ccc/v20200210/ccc_models.ts +2 -2
  8. package/src/services/csip/v20221121/csip_models.ts +4 -0
  9. package/src/services/cvm/v20170312/cvm_models.ts +7 -6
  10. package/src/services/emr/v20190103/emr_client.ts +18 -4
  11. package/src/services/emr/v20190103/emr_models.ts +163 -55
  12. package/src/services/ess/v20201111/ess_models.ts +16 -2
  13. package/src/services/essbasic/v20210526/essbasic_models.ts +7 -0
  14. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +14 -2
  15. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +107 -51
  16. package/src/services/scf/v20180416/scf_models.ts +1 -1
  17. package/src/services/soe/v20180724/soe_models.ts +18 -12
  18. package/src/services/tke/v20180525/tke_models.ts +3 -2
  19. package/src/services/wedata/v20210820/wedata_client.ts +128 -28
  20. package/src/services/wedata/v20210820/wedata_models.ts +633 -84
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +7 -6
  24. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +2 -2
  25. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +4 -0
  26. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +7 -6
  27. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -1
  28. package/tencentcloud/services/emr/v20190103/emr_client.js +6 -0
  29. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +159 -55
  30. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +16 -2
  31. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -0
  32. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  33. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  34. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +105 -51
  35. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
  36. package/tencentcloud/services/soe/v20180724/soe_models.d.ts +18 -12
  37. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +3 -2
  38. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +44 -10
  39. package/tencentcloud/services/wedata/v20210820/wedata_client.js +62 -12
  40. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +618 -87
  41. package/test/emr.v20190103.test.js +10 -0
  42. package/test/iotexplorer.v20190423.test.js +10 -0
  43. package/test/wedata.v20210820.test.js +86 -6
package/products.md CHANGED
@@ -20,7 +20,7 @@
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 | [ICP备案](https://cloud.tencent.com/document/product/243) | 2023-10-13 01:07:08 |
23
- | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-10-13 01:07:10 |
23
+ | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-10-16 01:07:03 |
24
24
  | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2023-10-11 01:10:01 |
25
25
  | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2023-09-27 01:07:14 |
26
26
  | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-10-13 01:07:25 |
@@ -40,7 +40,7 @@
40
40
  | casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
41
41
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
42
42
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-09-20 01:08:08 |
43
- | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2023-10-13 01:09:06 |
43
+ | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2023-10-16 01:08:23 |
44
44
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-09-21 01:31:18 |
45
45
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-09-12 01:18:51 |
46
46
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-10-09 01:08:48 |
@@ -66,9 +66,9 @@
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-10-13 01:12:24 |
69
+ | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-10-16 01:11:35 |
70
70
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
71
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-10-12 01:31:43 |
71
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-10-16 01:11:44 |
72
72
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-10-12 01:38:16 |
73
73
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
74
74
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-10-13 01:13:55 |
@@ -79,7 +79,7 @@
79
79
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-08-22 01:11:33 |
80
80
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-08-17 02:50:46 |
81
81
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-09-25 01:13:09 |
82
- | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-10-12 01:49:02 |
82
+ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-10-16 01:14:08 |
83
83
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-09-12 01:43:38 |
84
84
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-09-20 01:34:26 |
85
85
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-08-17 02:59:36 |
@@ -87,16 +87,16 @@
87
87
  | dsgc | [数据安全中心](https://cloud.tencent.com/document/product/1087) | 2023-09-19 01:13:28 |
88
88
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
89
89
  | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2023-10-10 01:36:36 |
90
- | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2023-09-08 01:48:45 |
90
+ | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2023-10-16 01:15:14 |
91
91
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2023-09-13 01:42:58 |
92
92
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2023-08-17 03:03:04 |
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-10-10 01:37:17 |
96
+ | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-10-16 01:15:50 |
97
97
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-10-12 01:57:01 |
98
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-10-13 01:16:33 |
99
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-10-13 01:16:46 |
98
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-10-16 01:16:11 |
99
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-10-16 01:16:28 |
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 |
@@ -119,7 +119,7 @@
119
119
  | ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2023-09-14 01:52:37 |
120
120
  | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
121
121
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2023-08-09 01:29:39 |
122
- | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2023-09-14 01:53:25 |
122
+ | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2023-10-16 01:17:51 |
123
123
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
124
124
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2023-08-30 01:17:01 |
125
125
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2023-08-17 03:44:44 |
@@ -164,13 +164,13 @@
164
164
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-08-17 04:33:51 |
165
165
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
166
166
  | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2023-10-13 01:22:31 |
167
- | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-10-09 01:21:43 |
167
+ | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-10-16 01:22:37 |
168
168
  | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2023-10-13 01:22:51 |
169
169
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-07-11 01:37:49 |
170
170
  | smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2023-05-18 01:47:59 |
171
171
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2023-08-17 04:38:34 |
172
172
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-09-26 17:20:53 |
173
- | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-07-10 01:39:48 |
173
+ | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-10-16 01:23:02 |
174
174
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
175
175
  | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-10-10 01:45:34 |
176
176
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-09-15 02:24:19 |
@@ -197,7 +197,7 @@
197
197
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-09-22 02:29:25 |
198
198
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
199
199
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-24 01:49:20 |
200
- | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-10-13 01:25:14 |
200
+ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-10-16 01:25:24 |
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
203
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-10-11 02:31:17 |
@@ -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-10-09 01:25:25 |
213
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-10-16 01:26:43 |
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 |
@@ -232,7 +232,7 @@
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-10-13 01:29:06 |
234
234
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-18 01:59:28 |
235
- | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-08-31 01:29:16 |
235
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-10-16 01:29:53 |
236
236
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2023-09-12 09:30:48 |
237
237
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
238
238
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-08-10 01:50:27 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.705"
1
+ export const sdkVersion = "4.0.706"
@@ -1596,9 +1596,9 @@ export interface DataDisk {
1596
1596
  SnapshotId?: string
1597
1597
  /**
1598
1598
  * 数据盘是加密。取值范围:
1599
- <li>TRUE:加密
1600
- <li>FALSE:不加密<br>
1601
- 默认取值:FALSE<br>
1599
+ <li>true:加密
1600
+ <li>false:不加密<br>
1601
+ 默认取值:false<br>
1602
1602
  该参数目前仅用于 `RunInstances` 接口。
1603
1603
  注意:此字段可能返回 null,表示取不到有效值。
1604
1604
  */
@@ -1813,7 +1813,7 @@ export interface EnhancedService {
1813
1813
  */
1814
1814
  export interface RunAutomationServiceEnabled {
1815
1815
  /**
1816
- * 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务<br><li>FALSE:表示不开启云自动化助手服务<br><br>默认取值:FALSE
1816
+ * 是否开启云自动化助手。取值范围:<br><li>true:表示开启云自动化助手服务<br><li>false:表示不开启云自动化助手服务<br><br>默认取值:false
1817
1817
  */
1818
1818
  Enabled?: boolean
1819
1819
  }
@@ -2931,7 +2931,8 @@ export interface Activity {
2931
2931
  */
2932
2932
  export interface RunMonitorServiceEnabled {
2933
2933
  /**
2934
- * 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启云监控服务<br><li>FALSE:表示不开启云监控服务<br><br>默认取值:TRUE
2934
+ * 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true
2935
+ 注意:此字段可能返回 null,表示取不到有效值。
2935
2936
  */
2936
2937
  Enabled?: boolean
2937
2938
  }
@@ -2959,7 +2960,7 @@ export interface VirtualPrivateCloud {
2959
2960
  */
2960
2961
  SubnetId: string
2961
2962
  /**
2962
- * 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<br><li>TRUE:表示用作公网网关<br><li>FALSE:表示不作为公网网关<br><br>默认取值:FALSE
2963
+ * 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<br><li>true:表示用作公网网关<br><li>false:表示不作为公网网关<br><br>默认取值:false
2963
2964
  */
2964
2965
  AsVpcGateway?: boolean
2965
2966
  /**
@@ -1613,7 +1613,7 @@ export interface TelCdrInfo {
1613
1613
 
1614
1614
  电话呼入 107 ivrEnd IVR 后直接结束
1615
1615
 
1616
- 电话呼入 100 CallinBlockedContact 呼入黑名单
1616
+ 电话呼入 100 blackList 呼入黑名单
1617
1617
 
1618
1618
  电话呼出 2 unconnected 未接通
1619
1619
 
@@ -1706,7 +1706,7 @@ export interface TelCdrInfo {
1706
1706
 
1707
1707
  电话呼入 107 ivrEnd IVR 后直接结束
1708
1708
 
1709
- 电话呼入 100 CallinBlockedContact 呼入黑名单
1709
+ 电话呼入 100 blackList 呼入黑名单
1710
1710
 
1711
1711
  电话呼出 2 unconnected 未接通
1712
1712
 
@@ -2165,6 +2165,10 @@ export interface CreateRiskCenterScanTaskRequest {
2165
2165
  * ip/域名/url数组
2166
2166
  */
2167
2167
  SelfDefiningAssets?: Array<string>
2168
+ /**
2169
+ * 请求发起源,默认为vss表示漏洞扫描服务,云安全中心的用户请填充csip
2170
+ */
2171
+ ScanFrom?: string
2168
2172
  /**
2169
2173
  * 高级配置
2170
2174
  */
@@ -2609,9 +2609,9 @@ export interface DataDisk {
2609
2609
  SnapshotId?: string
2610
2610
  /**
2611
2611
  * 数据盘是加密。取值范围:
2612
- <li>TRUE:加密
2613
- <li>FALSE:不加密<br>
2614
- 默认取值:FALSE<br>
2612
+ <li>true:加密
2613
+ <li>false:不加密<br>
2614
+ 默认取值:false<br>
2615
2615
  该参数目前仅用于 `RunInstances` 接口。
2616
2616
  注意:此字段可能返回 null,表示取不到有效值。
2617
2617
  */
@@ -4344,7 +4344,7 @@ export interface AccountQuotaOverview {
4344
4344
  */
4345
4345
  export interface RunAutomationServiceEnabled {
4346
4346
  /**
4347
- * 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务<br><li>FALSE:表示不开启云自动化助手服务<br><br>默认取值:FALSE
4347
+ * 是否开启云自动化助手。取值范围:<br><li>true:表示开启云自动化助手服务<br><li>false:表示不开启云自动化助手服务<br><br>默认取值:false
4348
4348
  */
4349
4349
  Enabled?: boolean
4350
4350
  }
@@ -5702,7 +5702,8 @@ export interface DescribeAccountQuotaResponse {
5702
5702
  */
5703
5703
  export interface RunMonitorServiceEnabled {
5704
5704
  /**
5705
- * 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启云监控服务<br><li>FALSE:表示不开启云监控服务<br><br>默认取值:TRUE
5705
+ * 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true
5706
+ 注意:此字段可能返回 null,表示取不到有效值。
5706
5707
  */
5707
5708
  Enabled?: boolean
5708
5709
  }
@@ -5788,7 +5789,7 @@ export interface VirtualPrivateCloud {
5788
5789
  */
5789
5790
  SubnetId: string
5790
5791
  /**
5791
- * 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<br><li>TRUE:表示用作公网网关<br><li>FALSE:表示不作为公网网关<br><br>默认取值:FALSE
5792
+ * 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<br><li>true:表示用作公网网关<br><li>false:表示不作为公网网关<br><br>默认取值:false
5792
5793
  */
5793
5794
  AsVpcGateway?: boolean
5794
5795
  /**
@@ -34,6 +34,7 @@ import {
34
34
  DiskSpecInfo,
35
35
  HiveQuery,
36
36
  Step,
37
+ KeyValue,
37
38
  DescribeEmrApplicationStaticsRequest,
38
39
  UserManagerFilter,
39
40
  MetaDbInfo,
@@ -41,6 +42,7 @@ import {
41
42
  ModifyUserManagerPwdRequest,
42
43
  COSSettings,
43
44
  ClusterInstancesInfo,
45
+ SubnetInfo,
44
46
  ScaleOutInstanceRequest,
45
47
  ZoneDetailPriceResult,
46
48
  PodNewSpec,
@@ -66,6 +68,7 @@ import {
66
68
  InquiryPriceCreateInstanceResponse,
67
69
  StartStopServiceOrMonitorRequest,
68
70
  TerminateInstanceRequest,
71
+ AutoScaleRecord,
69
72
  JobFlowResourceSpec,
70
73
  Configuration,
71
74
  DescribeResourceScheduleRequest,
@@ -87,7 +90,7 @@ import {
87
90
  NewResourceSpec,
88
91
  DiskGroup,
89
92
  ScaleOutNodeConfig,
90
- ModifyResourceTags,
93
+ DeleteUserManagerUserListRequest,
91
94
  PriceDetail,
92
95
  DescribeResourceScheduleResponse,
93
96
  MultiDisk,
@@ -98,7 +101,7 @@ import {
98
101
  PriceResource,
99
102
  DescribeHiveQueriesRequest,
100
103
  CreateClusterResponse,
101
- SubnetInfo,
104
+ DescribeAutoScaleRecordsResponse,
102
105
  DescribeCvmQuotaResponse,
103
106
  SearchItem,
104
107
  CreateClusterRequest,
@@ -141,6 +144,7 @@ import {
141
144
  UserInfoForUserManager,
142
145
  DynamicPodSpec,
143
146
  PodState,
147
+ ScaleOutClusterResponse,
144
148
  ExternalService,
145
149
  PreExecuteFileSettings,
146
150
  ClusterExternalServiceInfo,
@@ -150,7 +154,7 @@ import {
150
154
  Filters,
151
155
  DescribeEmrApplicationStaticsResponse,
152
156
  InquirePriceRenewEmrRequest,
153
- DeleteUserManagerUserListRequest,
157
+ ModifyResourceTags,
154
158
  DescribeImpalaQueriesResponse,
155
159
  CustomMetaDBInfo,
156
160
  UserManagerUserBriefInfo,
@@ -163,7 +167,7 @@ import {
163
167
  EmrPrice,
164
168
  NodeHardwareInfo,
165
169
  ServiceBasicRestartInfo,
166
- ScaleOutClusterResponse,
170
+ DescribeAutoScaleRecordsRequest,
167
171
  JobFlowResource,
168
172
  ModifyResourcePoolsRequest,
169
173
  DescribeJobFlowResponse,
@@ -270,6 +274,16 @@ export class Client extends AbstractClient {
270
274
  return this.request("InquiryPriceScaleOutInstance", req, cb)
271
275
  }
272
276
 
277
+ /**
278
+ * 获取集群的自动扩缩容的详细记录
279
+ */
280
+ async DescribeAutoScaleRecords(
281
+ req: DescribeAutoScaleRecordsRequest,
282
+ cb?: (error: string, rep: DescribeAutoScaleRecordsResponse) => void
283
+ ): Promise<DescribeAutoScaleRecordsResponse> {
284
+ return this.request("DescribeAutoScaleRecords", req, cb)
285
+ }
286
+
273
287
  /**
274
288
  * 获取账户的CVM配额
275
289
  */
@@ -566,6 +566,22 @@ export interface Step {
566
566
  User?: string
567
567
  }
568
568
 
569
+ /**
570
+ * 键值对,主要用来做Filter
571
+ */
572
+ export interface KeyValue {
573
+ /**
574
+ * 键
575
+ 注意:此字段可能返回 null,表示取不到有效值。
576
+ */
577
+ Key: string
578
+ /**
579
+ * 值
580
+ 注意:此字段可能返回 null,表示取不到有效值。
581
+ */
582
+ Value: string
583
+ }
584
+
569
585
  /**
570
586
  * DescribeEmrApplicationStatics请求参数结构体
571
587
  */
@@ -944,6 +960,22 @@ export interface ClusterInstancesInfo {
944
960
  IsCvmReplace: boolean
945
961
  }
946
962
 
963
+ /**
964
+ * 子网信息
965
+ */
966
+ export interface SubnetInfo {
967
+ /**
968
+ * 子网信息(名字)
969
+ 注意:此字段可能返回 null,表示取不到有效值。
970
+ */
971
+ SubnetName?: string
972
+ /**
973
+ * 子网信息(ID)
974
+ 注意:此字段可能返回 null,表示取不到有效值。
975
+ */
976
+ SubnetId?: string
977
+ }
978
+
947
979
  /**
948
980
  * ScaleOutInstance请求参数结构体
949
981
  */
@@ -2086,6 +2118,58 @@ export interface TerminateInstanceRequest {
2086
2118
  ResourceIds?: Array<string>
2087
2119
  }
2088
2120
 
2121
+ /**
2122
+ * 弹性扩缩容记录
2123
+ */
2124
+ export interface AutoScaleRecord {
2125
+ /**
2126
+ * 扩缩容规则名。
2127
+ */
2128
+ StrategyName?: string
2129
+ /**
2130
+ * "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。
2131
+ */
2132
+ ScaleAction?: string
2133
+ /**
2134
+ * 取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。
2135
+ */
2136
+ ActionStatus?: string
2137
+ /**
2138
+ * 流程触发时间。
2139
+ */
2140
+ ActionTime?: string
2141
+ /**
2142
+ * 扩缩容相关描述信息。
2143
+ */
2144
+ ScaleInfo?: string
2145
+ /**
2146
+ * 只在ScaleAction为SCALE_OUT时有效。
2147
+ */
2148
+ ExpectScaleNum?: number
2149
+ /**
2150
+ * 流程结束时间。
2151
+ */
2152
+ EndTime?: string
2153
+ /**
2154
+ * 策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩
2155
+ */
2156
+ StrategyType?: number
2157
+ /**
2158
+ * 扩容时所使用规格信息。
2159
+ */
2160
+ SpecInfo?: string
2161
+ /**
2162
+ * 补偿扩容,0表示不开启,1表示开启
2163
+ 注意:此字段可能返回 null,表示取不到有效值。
2164
+ */
2165
+ CompensateFlag?: number
2166
+ /**
2167
+ * 补偿次数
2168
+ 注意:此字段可能返回 null,表示取不到有效值。
2169
+ */
2170
+ CompensateCount?: number
2171
+ }
2172
+
2089
2173
  /**
2090
2174
  * 流程作业资源描述
2091
2175
  */
@@ -2814,41 +2898,29 @@ export interface ScaleOutNodeConfig {
2814
2898
  }
2815
2899
 
2816
2900
  /**
2817
- * 强制修改标签
2901
+ * DeleteUserManagerUserList请求参数结构体
2818
2902
  */
2819
- export interface ModifyResourceTags {
2820
- /**
2821
- * 集群id 或者 cvm id
2822
- */
2823
- ResourceId: string
2824
- /**
2825
- * 资源6段式表达式
2826
- */
2827
- Resource: string
2828
- /**
2829
- * 资源前缀
2830
- */
2831
- ResourcePrefix: string
2903
+ export interface DeleteUserManagerUserListRequest {
2832
2904
  /**
2833
- * ap-beijing
2905
+ * 集群实例ID
2834
2906
  */
2835
- ResourceRegion: string
2907
+ InstanceId: string
2836
2908
  /**
2837
- * emr
2909
+ * 集群用户名列表
2838
2910
  */
2839
- ServiceType: string
2911
+ UserNameList?: Array<string>
2840
2912
  /**
2841
- * 删除的标签列表
2913
+ * tke/eks集群id,容器集群传
2842
2914
  */
2843
- DeleteTags?: Array<Tag>
2915
+ TkeClusterId?: string
2844
2916
  /**
2845
- * 添加的标签列表
2917
+ * 默认空,容器版传"native"
2846
2918
  */
2847
- AddTags?: Array<Tag>
2919
+ DisplayStrategy?: string
2848
2920
  /**
2849
- * 修改的标签列表
2921
+ * 用户组
2850
2922
  */
2851
- ModifyTags?: Array<Tag>
2923
+ UserGroupList?: Array<UserAndGroup>
2852
2924
  }
2853
2925
 
2854
2926
  /**
@@ -3150,19 +3222,21 @@ export interface CreateClusterResponse {
3150
3222
  }
3151
3223
 
3152
3224
  /**
3153
- * 子网信息
3225
+ * DescribeAutoScaleRecords返回参数结构体
3154
3226
  */
3155
- export interface SubnetInfo {
3227
+ export interface DescribeAutoScaleRecordsResponse {
3156
3228
  /**
3157
- * 子网信息(名字)
3158
- 注意:此字段可能返回 null,表示取不到有效值。
3229
+ * 总扩缩容记录数。
3159
3230
  */
3160
- SubnetName?: string
3231
+ TotalCount?: number
3161
3232
  /**
3162
- * 子网信息(ID)
3163
- 注意:此字段可能返回 null,表示取不到有效值。
3233
+ * 记录列表。
3164
3234
  */
3165
- SubnetId?: string
3235
+ RecordList?: Array<AutoScaleRecord>
3236
+ /**
3237
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3238
+ */
3239
+ RequestId?: string
3166
3240
  }
3167
3241
 
3168
3242
  /**
@@ -4517,6 +4591,30 @@ export interface PodState {
4517
4591
  Memory: number
4518
4592
  }
4519
4593
 
4594
+ /**
4595
+ * ScaleOutCluster返回参数结构体
4596
+ */
4597
+ export interface ScaleOutClusterResponse {
4598
+ /**
4599
+ * 实例ID。
4600
+ */
4601
+ InstanceId?: string
4602
+ /**
4603
+ * 客户端Token。
4604
+ 注意:此字段可能返回 null,表示取不到有效值。
4605
+ */
4606
+ ClientToken?: string
4607
+ /**
4608
+ * 扩容流程ID。
4609
+ 注意:此字段可能返回 null,表示取不到有效值。
4610
+ */
4611
+ FlowId?: number
4612
+ /**
4613
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4614
+ */
4615
+ RequestId?: string
4616
+ }
4617
+
4520
4618
  /**
4521
4619
  * 共用组件信息
4522
4620
  */
@@ -4839,29 +4937,41 @@ export interface InquirePriceRenewEmrRequest {
4839
4937
  }
4840
4938
 
4841
4939
  /**
4842
- * DeleteUserManagerUserList请求参数结构体
4940
+ * 强制修改标签
4843
4941
  */
4844
- export interface DeleteUserManagerUserListRequest {
4942
+ export interface ModifyResourceTags {
4845
4943
  /**
4846
- * 集群实例ID
4944
+ * 集群id 或者 cvm id
4847
4945
  */
4848
- InstanceId: string
4946
+ ResourceId: string
4849
4947
  /**
4850
- * 集群用户名列表
4948
+ * 资源6段式表达式
4851
4949
  */
4852
- UserNameList?: Array<string>
4950
+ Resource: string
4853
4951
  /**
4854
- * tke/eks集群id,容器集群传
4952
+ * 资源前缀
4855
4953
  */
4856
- TkeClusterId?: string
4954
+ ResourcePrefix: string
4857
4955
  /**
4858
- * 默认空,容器版传"native"
4956
+ * ap-beijing
4859
4957
  */
4860
- DisplayStrategy?: string
4958
+ ResourceRegion: string
4861
4959
  /**
4862
- * 用户组
4960
+ * emr
4863
4961
  */
4864
- UserGroupList?: Array<UserAndGroup>
4962
+ ServiceType: string
4963
+ /**
4964
+ * 删除的标签列表
4965
+ */
4966
+ DeleteTags?: Array<Tag>
4967
+ /**
4968
+ * 添加的标签列表
4969
+ */
4970
+ AddTags?: Array<Tag>
4971
+ /**
4972
+ * 修改的标签列表
4973
+ */
4974
+ ModifyTags?: Array<Tag>
4865
4975
  }
4866
4976
 
4867
4977
  /**
@@ -5375,27 +5485,25 @@ export interface ServiceBasicRestartInfo {
5375
5485
  }
5376
5486
 
5377
5487
  /**
5378
- * ScaleOutCluster返回参数结构体
5488
+ * DescribeAutoScaleRecords请求参数结构体
5379
5489
  */
5380
- export interface ScaleOutClusterResponse {
5490
+ export interface DescribeAutoScaleRecordsRequest {
5381
5491
  /**
5382
5492
  * 实例ID。
5383
5493
  */
5384
- InstanceId?: string
5494
+ InstanceId: string
5385
5495
  /**
5386
- * 客户端Token。
5387
- 注意:此字段可能返回 null,表示取不到有效值。
5496
+ * 记录过滤参数,目前仅能为“StartTime”,“EndTime”和“StrategyName”。StartTime和EndTime支持2006-01-02 15:04:05 或者2006/01/02 15:04:05的时间格式
5388
5497
  */
5389
- ClientToken?: string
5498
+ Filters?: Array<KeyValue>
5390
5499
  /**
5391
- * 扩容流程ID。
5392
- 注意:此字段可能返回 null,表示取不到有效值。
5500
+ * 分页参数。
5393
5501
  */
5394
- FlowId?: number
5502
+ Offset?: number
5395
5503
  /**
5396
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5504
+ * 分页参数。最大支持100
5397
5505
  */
5398
- RequestId?: string
5506
+ Limit?: number
5399
5507
  }
5400
5508
 
5401
5509
  /**
@@ -5662,6 +5662,20 @@ SIGN_LEGAL_PERSON_SEAL - 企业法定代表人控件。
5662
5662
  /**
5663
5663
  * 扩展参数:
5664
5664
  为JSON格式。
5665
+ 不同类型的控件会有部分非通用参数
5666
+
5667
+ ComponentType为TEXT、MULTI_LINE_TEXT时,支持以下参数:
5668
+ 1 Font:目前只支持黑体、宋体
5669
+ 2 FontSize: 范围12-72
5670
+ 3 FontAlign: Left/Right/Center,左对齐/居中/右对齐
5671
+ 4 FontColor:字符串类型,格式为RGB颜色数字
5672
+ 参数样例: "ComponentExtra": "{\"FontColor\":\"255,0,0\",\"FontSize\":12}"
5673
+
5674
+ TEXT/MULTI_LINE_TEXT控件可以指定
5675
+ 1 Font:目前只支持黑体、宋体
5676
+ 2 FontSize: 范围12-72
5677
+ 3 FontAlign: Left/Right/Center,左对齐/居中/右对齐
5678
+ 例如:{"FontSize":12}
5665
5679
 
5666
5680
  ComponentType为FILL_IMAGE时,支持以下参数:
5667
5681
  NotMakeImageCenter:bool。是否设置图片居中。false:居中(默认)。 true: 不居中
@@ -5684,11 +5698,11 @@ ComponentType为SIGN_DATE时,支持以下参数:
5684
5698
  5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
5685
5699
  如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
5686
5700
  特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
5687
- 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
5701
+ 参数样例: "ComponentExtra": "{"Format":“yyyy m d”,"FontSize":12,"Gaps":"2,2", "FontAlign":"Right"}"
5688
5702
 
5689
5703
  ComponentType为SIGN_SEAL类型时,支持以下参数:
5690
5704
  1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
5691
- 参数样例:"ComponentExtra":"{\"PageRanges\":[{\"BeginPage\":1,\"EndPage\":-1}]}"
5705
+ 参数样例: "ComponentExtra":"{"PageRange":[{"BeginPage":1,"EndPage":-1}]}"
5692
5706
  */
5693
5707
  ComponentExtra?: string
5694
5708
  /**