tencentcloud-sdk-nodejs 4.0.905 → 4.0.906

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 (38) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/SERVICE_CHANGELOG.md +153 -288
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_models.ts +10 -12
  7. package/src/services/cfg/v20210820/cfg_client.ts +85 -29
  8. package/src/services/cfg/v20210820/cfg_models.ts +606 -139
  9. package/src/services/cme/v20191029/cme_models.ts +4 -4
  10. package/src/services/dnspod/v20210323/dnspod_client.ts +3 -2
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -0
  12. package/src/services/lcic/v20220817/lcic_client.ts +12 -0
  13. package/src/services/lcic/v20220817/lcic_models.ts +28 -0
  14. package/src/services/lke/v20231130/lke_models.ts +7 -7
  15. package/src/services/ocr/v20181119/ocr_models.ts +4 -0
  16. package/src/services/vclm/v20240523/vclm_client.ts +28 -2
  17. package/src/services/vclm/v20240523/vclm_models.ts +90 -10
  18. package/tencentcloud/common/sdk_version.d.ts +1 -1
  19. package/tencentcloud/common/sdk_version.js +1 -1
  20. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +10 -12
  21. package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +25 -9
  22. package/tencentcloud/services/cfg/v20210820/cfg_client.js +36 -12
  23. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +596 -145
  24. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +4 -4
  25. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +1 -0
  26. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +1 -0
  27. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -0
  28. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
  29. package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
  30. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +26 -0
  31. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +7 -7
  32. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -0
  33. package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +11 -1
  34. package/tencentcloud/services/vclm/v20240523/vclm_client.js +14 -0
  35. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +86 -10
  36. package/test/cfg.v20210820.test.js +48 -8
  37. package/test/lcic.v20220817.test.js +10 -0
  38. package/test/vclm.v20240523.test.js +20 -0
package/products.md CHANGED
@@ -6,7 +6,7 @@
6
6
  | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-03-20 01:07:31 |
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-07-11 01:07:23 |
9
+ | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-07-29 01:07:39 |
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-07-26 01:08:05 |
12
12
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
@@ -48,7 +48,7 @@
48
48
  | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-07-24 01:18:18 |
49
49
  | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
50
50
  | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-07-15 09:37:14 |
51
- | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-07-19 01:20:33 |
51
+ | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-07-26 14:53:06 |
52
52
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-04-26 01:10:32 |
53
53
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-07-26 01:19:51 |
54
54
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 |
@@ -63,7 +63,7 @@
63
63
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
64
64
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-05-29 01:21:54 |
65
65
  | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-07-25 01:22:39 |
66
- | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-03-20 01:12:05 |
66
+ | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-07-29 01:23:21 |
67
67
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-06-21 01:24:31 |
68
68
  | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 |
69
69
  | config | [配置审计](https://cloud.tencent.com/document/product/1579) | 2024-03-20 01:12:18 |
@@ -74,7 +74,7 @@
74
74
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-07-22 01:24:41 |
75
75
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-07-12 01:12:13 |
76
76
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
77
- | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-07-26 01:29:47 |
77
+ | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-07-29 01:29:15 |
78
78
  | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-07-16 01:13:41 |
79
79
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
80
80
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
@@ -83,7 +83,7 @@
83
83
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-07-15 01:09:18 |
84
84
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-07-11 01:14:04 |
85
85
  | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-07-17 01:14:09 |
86
- | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-07-11 01:14:33 |
86
+ | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-07-29 01:33:59 |
87
87
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-07-02 01:14:51 |
88
88
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-07-12 01:14:44 |
89
89
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
@@ -98,8 +98,8 @@
98
98
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
99
99
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-07-25 14:51:25 |
100
100
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-07-22 01:39:08 |
101
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-25 01:39:56 |
102
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-25 01:40:54 |
101
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-29 01:40:13 |
102
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-29 01:41:10 |
103
103
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-07-16 01:16:45 |
104
104
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-07-19 01:47:20 |
105
105
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 |
@@ -134,10 +134,10 @@
134
134
  | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-07-09 14:27:21 |
135
135
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 |
136
136
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 |
137
- | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-07-17 01:19:12 |
137
+ | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-07-29 01:51:41 |
138
138
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-07-26 01:52:51 |
139
139
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-07-26 01:53:38 |
140
- | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-19 02:01:23 |
140
+ | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-29 01:54:14 |
141
141
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
142
142
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
143
143
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
@@ -157,7 +157,7 @@
157
157
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 |
158
158
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
159
159
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-07-23 01:53:12 |
160
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-07-25 02:00:21 |
160
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-07-29 02:00:34 |
161
161
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 |
162
162
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-07-12 01:22:08 |
163
163
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 |
@@ -179,7 +179,7 @@
179
179
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-06-20 02:08:58 |
180
180
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2024-04-11 01:20:45 |
181
181
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
182
- | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-06-06 02:22:45 |
182
+ | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-07-29 02:06:40 |
183
183
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
184
184
  | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-07-05 01:16:31 |
185
185
  | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
@@ -226,7 +226,7 @@
226
226
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
227
227
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-07-05 01:19:38 |
228
228
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 |
229
- | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-06-21 02:25:01 |
229
+ | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-07-29 02:22:08 |
230
230
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-07-25 02:22:11 |
231
231
  | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-07-10 01:27:48 |
232
232
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-07-11 01:28:05 |
@@ -235,7 +235,7 @@
235
235
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-07-08 01:25:23 |
236
236
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
237
237
  | vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-06-06 02:47:17 |
238
- | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-07-24 02:24:15 |
238
+ | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-07-29 02:25:41 |
239
239
  | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-07-09 01:25:36 |
240
240
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
241
241
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
@@ -243,7 +243,7 @@
243
243
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-25 02:28:03 |
244
244
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
245
245
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-06-07 02:52:58 |
246
- | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-25 02:30:39 |
246
+ | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-29 02:30:48 |
247
247
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
248
248
  | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-07-25 02:32:09 |
249
249
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.905"
1
+ export const sdkVersion = "4.0.906"
@@ -35,15 +35,15 @@ export interface SubmitDrawPortraitJobResponse {
35
35
  */
36
36
  export interface LogoParam {
37
37
  /**
38
- * 水印url
38
+ * 水印 Url
39
39
  */
40
40
  LogoUrl?: string
41
41
  /**
42
- * 水印base64urlbase64二选一传入
42
+ * 水印 Base64Url Base64 二选一传入,如果都提供以 Url 为准
43
43
  */
44
44
  LogoImage?: string
45
45
  /**
46
- * 水印图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
46
+ * 水印图片位于生成结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
47
47
  */
48
48
  LogoRect?: LogoRect
49
49
  }
@@ -55,15 +55,15 @@ export interface ImageToImageRequest {
55
55
  /**
56
56
  * 输入图 Base64 数据。
57
57
  算法将根据输入的图片,结合文本描述智能生成与之相关的图像。
58
- Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。
59
- 图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB。
58
+ Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
59
+ 图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp
60
60
  */
61
61
  InputImage?: string
62
62
  /**
63
63
  * 输入图 Url。
64
64
  算法将根据输入的图片,结合文本描述智能生成与之相关的图像。
65
- Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。
66
- 图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于8MB。
65
+ Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
66
+ 图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp
67
67
  */
68
68
  InputUrl?: string
69
69
  /**
@@ -207,9 +207,7 @@ export interface ResultConfig {
207
207
  /**
208
208
  * 生成图分辨率
209
209
 
210
- 智能文生图支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768。
211
-
212
- 智能图生图支持生成以下分辨率的图片:origin(与输入图分辨率一致,长边最高为2000,超出将做等比例缩小)、768:768(1:1)、768:1024(3:4)、1024:768(4:3),不传默认使用origin,如果指定生成的长宽比与输入图长宽比差异过大可能导致图片内容被裁剪。
210
+ 图像风格化(图生图)支持生成以下分辨率的图片:origin(与输入图分辨率一致,长边最高为2000,超出将做等比例缩小)、768:768(1:1)、768:1024(3:4)、1024:768(4:3),不传默认使用origin,如果指定生成的长宽比与输入图长宽比差异过大可能导致图片内容被裁剪。
213
211
  */
214
212
  Resolution?: string
215
213
  }
@@ -482,14 +480,14 @@ export interface GenerateAvatarRequest {
482
480
  /**
483
481
  * 输入图 Base64 数据。
484
482
  算法将根据输入的图片,结合文本描述智能生成与之相关的图像。
485
- Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。
483
+ Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
486
484
  图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
487
485
  */
488
486
  InputImage?: string
489
487
  /**
490
488
  * 输入图 Url。
491
489
  算法将根据输入的图片,结合文本描述智能生成与之相关的图像。
492
- Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。
490
+ Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
493
491
  图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
494
492
  */
495
493
  InputUrl?: string
@@ -19,52 +19,68 @@ import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  DescribeTaskRequest,
22
- ModifyTaskRunStatusResponse,
22
+ DescribeActionFieldConfigListRequest,
23
23
  TaskGroupAction,
24
24
  ApmServiceInfo,
25
25
  TaskGroupInstancesExecuteRules,
26
- TaskConfig,
26
+ CreateTaskFromActionRequest,
27
27
  DeleteTaskRequest,
28
+ DescribeActionLibraryListRequest,
28
29
  TaskGroup,
29
30
  ExecuteTaskResponse,
30
- TaskGroupConfig,
31
+ DescribeActionFieldConfigListResponse,
32
+ ActionFieldConfigDetail,
33
+ TemplateGroupAction,
31
34
  Template,
32
35
  DescribeTaskExecuteLogsRequest,
33
- DescribeTaskResponse,
36
+ DescribeObjectTypeListResponse,
34
37
  ModifyTaskRunStatusRequest,
35
38
  DescribeTemplateResponse,
36
39
  DescribePolicy,
37
40
  ActionFilter,
41
+ PolicyTriggerLog,
38
42
  DescribeTemplateRequest,
39
43
  ExecuteTaskInstanceRequest,
40
44
  TaskGroupInstance,
41
45
  ExecuteTaskRequest,
42
46
  DescribeTaskListResponse,
43
- TemplateGroupAction,
47
+ ResourceOffline,
44
48
  DescribeTemplateListResponse,
45
49
  TaskMonitor,
50
+ DescribeTemplateListRequest,
46
51
  TagWithDescribe,
52
+ DescribeObjectTypeListRequest,
47
53
  DescribeTaskPolicyTriggerLogResponse,
48
54
  CreateTaskFromTemplateResponse,
49
55
  DeleteTaskResponse,
56
+ ObjectType,
50
57
  DescribeTaskPolicyTriggerLogRequest,
51
58
  Task,
52
59
  TaskReportInfo,
53
60
  CreateTaskFromTemplateRequest,
54
61
  TriggerPolicyRequest,
62
+ TaskConfig,
55
63
  TriggerPolicyResponse,
56
64
  DescribeTaskListRequest,
65
+ DescribeActionLibraryListResponse,
66
+ ObjectTypeJsonParse,
57
67
  TaskListItem,
58
68
  ExecuteTaskInstanceResponse,
59
69
  DescribeTaskExecuteLogsResponse,
70
+ TaskGroupConfig,
60
71
  TemplateMonitor,
61
72
  TemplateGroup,
62
73
  TemplatePolicy,
74
+ ActionFieldConfigResult,
63
75
  TaskGroupActionConfig,
64
- PolicyTriggerLog,
65
- DescribeTemplateListRequest,
76
+ ActionLibraryListResult,
77
+ ModifyTaskRunStatusResponse,
78
+ DescribeTaskResponse,
79
+ CreateTaskFromActionResponse,
66
80
  TemplateListItem,
67
81
  TagWithCreate,
82
+ ObjectTypeConfigFields,
83
+ ObjectTypeConfig,
68
84
  } from "./cfg_models"
69
85
 
70
86
  /**
@@ -76,6 +92,16 @@ export class Client extends AbstractClient {
76
92
  super("cfg.tencentcloudapi.com", "2021-08-20", clientConfig)
77
93
  }
78
94
 
95
+ /**
96
+ * 查询对象类型列表
97
+ */
98
+ async DescribeObjectTypeList(
99
+ req: DescribeObjectTypeListRequest,
100
+ cb?: (error: string, rep: DescribeObjectTypeListResponse) => void
101
+ ): Promise<DescribeObjectTypeListResponse> {
102
+ return this.request("DescribeObjectTypeList", req, cb)
103
+ }
104
+
79
105
  /**
80
106
  * 从经验库创建演练
81
107
  */
@@ -126,6 +152,26 @@ export class Client extends AbstractClient {
126
152
  return this.request("ModifyTaskRunStatus", req, cb)
127
153
  }
128
154
 
155
+ /**
156
+ * 执行任务
157
+ */
158
+ async ExecuteTask(
159
+ req: ExecuteTaskRequest,
160
+ cb?: (error: string, rep: ExecuteTaskResponse) => void
161
+ ): Promise<ExecuteTaskResponse> {
162
+ return this.request("ExecuteTask", req, cb)
163
+ }
164
+
165
+ /**
166
+ * 从动作创建演练
167
+ */
168
+ async CreateTaskFromAction(
169
+ req: CreateTaskFromActionRequest,
170
+ cb?: (error: string, rep: CreateTaskFromActionResponse) => void
171
+ ): Promise<CreateTaskFromActionResponse> {
172
+ return this.request("CreateTaskFromAction", req, cb)
173
+ }
174
+
129
175
  /**
130
176
  * 用于触发混沌演练护栏(类型为触发和恢复2种)
131
177
  */
@@ -146,6 +192,16 @@ export class Client extends AbstractClient {
146
192
  return this.request("DescribeTaskList", req, cb)
147
193
  }
148
194
 
195
+ /**
196
+ * 获取护栏触发日志
197
+ */
198
+ async DescribeTaskPolicyTriggerLog(
199
+ req: DescribeTaskPolicyTriggerLogRequest,
200
+ cb?: (error: string, rep: DescribeTaskPolicyTriggerLogResponse) => void
201
+ ): Promise<DescribeTaskPolicyTriggerLogResponse> {
202
+ return this.request("DescribeTaskPolicyTriggerLog", req, cb)
203
+ }
204
+
149
205
  /**
150
206
  * 获取演练过程中的所有日志
151
207
  */
@@ -156,16 +212,6 @@ export class Client extends AbstractClient {
156
212
  return this.request("DescribeTaskExecuteLogs", req, cb)
157
213
  }
158
214
 
159
- /**
160
- * 查询任务
161
- */
162
- async DescribeTask(
163
- req: DescribeTaskRequest,
164
- cb?: (error: string, rep: DescribeTaskResponse) => void
165
- ): Promise<DescribeTaskResponse> {
166
- return this.request("DescribeTask", req, cb)
167
- }
168
-
169
215
  /**
170
216
  * 删除任务
171
217
  */
@@ -177,22 +223,32 @@ export class Client extends AbstractClient {
177
223
  }
178
224
 
179
225
  /**
180
- * 执行任务
226
+ * 获取混沌演练平台的动作库列表
181
227
  */
182
- async ExecuteTask(
183
- req: ExecuteTaskRequest,
184
- cb?: (error: string, rep: ExecuteTaskResponse) => void
185
- ): Promise<ExecuteTaskResponse> {
186
- return this.request("ExecuteTask", req, cb)
228
+ async DescribeActionLibraryList(
229
+ req: DescribeActionLibraryListRequest,
230
+ cb?: (error: string, rep: DescribeActionLibraryListResponse) => void
231
+ ): Promise<DescribeActionLibraryListResponse> {
232
+ return this.request("DescribeActionLibraryList", req, cb)
187
233
  }
188
234
 
189
235
  /**
190
- * 获取护栏触发日志
236
+ * 根据动作ID获取动作栏位动态配置参数信息,里面包含动作自有和通用两部分参数。
191
237
  */
192
- async DescribeTaskPolicyTriggerLog(
193
- req: DescribeTaskPolicyTriggerLogRequest,
194
- cb?: (error: string, rep: DescribeTaskPolicyTriggerLogResponse) => void
195
- ): Promise<DescribeTaskPolicyTriggerLogResponse> {
196
- return this.request("DescribeTaskPolicyTriggerLog", req, cb)
238
+ async DescribeActionFieldConfigList(
239
+ req: DescribeActionFieldConfigListRequest,
240
+ cb?: (error: string, rep: DescribeActionFieldConfigListResponse) => void
241
+ ): Promise<DescribeActionFieldConfigListResponse> {
242
+ return this.request("DescribeActionFieldConfigList", req, cb)
243
+ }
244
+
245
+ /**
246
+ * 查询任务
247
+ */
248
+ async DescribeTask(
249
+ req: DescribeTaskRequest,
250
+ cb?: (error: string, rep: DescribeTaskResponse) => void
251
+ ): Promise<DescribeTaskResponse> {
252
+ return this.request("DescribeTask", req, cb)
197
253
  }
198
254
  }