tencentcloud-sdk-nodejs 4.0.847 → 4.0.848
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 +173 -0
- package/SERVICE_CHANGELOG.md +197 -129
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/index.ts +2 -2
- package/src/services/btoe/index.ts +2 -2
- package/src/services/cdn/v20180606/cdn_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +195 -44
- package/src/services/dbbrain/index.ts +2 -2
- package/src/services/dts/index.ts +2 -2
- package/src/services/eis/index.ts +2 -2
- package/src/services/ess/v20201111/ess_models.ts +4 -0
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +10 -1
- package/src/services/facefusion/index.ts +2 -2
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +2 -2
- package/src/services/iotcloud/index.ts +2 -2
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/monitor/v20180724/monitor_models.ts +36 -36
- package/src/services/organization/index.ts +2 -2
- package/src/services/rum/v20210622/rum_models.ts +11 -11
- package/src/services/sms/index.ts +2 -2
- package/src/services/tbp/index.ts +2 -2
- package/src/services/tdmq/v20200217/tdmq_models.ts +56 -1
- package/src/services/teo/index.ts +2 -2
- package/src/services/teo/v20220901/teo_client.ts +17 -2
- package/src/services/teo/v20220901/teo_models.ts +30 -0
- package/src/services/tke/index.ts +2 -2
- package/src/services/trtc/v20190722/trtc_client.ts +3 -3
- package/src/services/trtc/v20190722/trtc_models.ts +15 -5
- package/src/services/yunsou/index.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +195 -44
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/eis/index.d.ts +4 -4
- package/tencentcloud/services/eis/index.js +2 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -0
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -1
- package/tencentcloud/services/facefusion/index.d.ts +4 -4
- package/tencentcloud/services/facefusion/index.js +2 -2
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +2 -2
- package/tencentcloud/services/iotcloud/index.d.ts +4 -4
- package/tencentcloud/services/iotcloud/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +36 -36
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +11 -11
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +56 -1
- package/tencentcloud/services/teo/index.d.ts +4 -4
- package/tencentcloud/services/teo/index.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +9 -2
- package/tencentcloud/services/teo/v20220901/teo_client.js +10 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +28 -0
- package/tencentcloud/services/tke/index.d.ts +4 -4
- package/tencentcloud/services/tke/index.js +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +3 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +3 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +15 -5
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/teo.v20220901.test.js +10 -0
package/products.md
CHANGED
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
| bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2024-04-16 01:05:23 |
|
|
36
36
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2024-03-20 01:09:12 |
|
|
37
37
|
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-03-20 01:09:14 |
|
|
38
|
-
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-
|
|
38
|
+
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-05-08 01:09:39 |
|
|
39
39
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-04-22 01:09:16 |
|
|
40
40
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-03-20 01:09:28 |
|
|
41
41
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-03-21 01:09:20 |
|
|
42
42
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-04-26 01:09:38 |
|
|
43
43
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-05-07 01:10:17 |
|
|
44
44
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-03-20 01:10:04 |
|
|
45
|
-
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-
|
|
45
|
+
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-05-08 01:10:36 |
|
|
46
46
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-04-22 01:10:25 |
|
|
47
47
|
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2024-04-26 01:10:21 |
|
|
48
48
|
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-04-09 01:09:52 |
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
| cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
|
|
61
61
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
|
|
62
62
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-04-26 01:11:33 |
|
|
63
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-05-
|
|
63
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-05-08 01:12:18 |
|
|
64
64
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-03-20 01:12:05 |
|
|
65
65
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-03-20 01:12:14 |
|
|
66
66
|
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-04-22 01:12:28 |
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
70
70
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-05-07 01:12:54 |
|
|
71
71
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
|
|
72
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-05-
|
|
72
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-05-08 01:12:59 |
|
|
73
73
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-05-07 01:13:25 |
|
|
74
74
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
75
75
|
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-05-07 01:14:21 |
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-03-20 01:16:13 |
|
|
96
96
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
97
97
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-04-17 01:13:44 |
|
|
98
|
-
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-
|
|
99
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-
|
|
100
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-
|
|
98
|
+
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-05-08 01:17:25 |
|
|
99
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-05-08 01:17:34 |
|
|
100
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-05-08 01:17:50 |
|
|
101
101
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-04-18 01:20:43 |
|
|
102
102
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-04-26 01:16:30 |
|
|
103
103
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-03-20 01:17:11 |
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-03-22 01:16:13 |
|
|
113
113
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
114
114
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-03-20 01:17:36 |
|
|
115
|
-
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-
|
|
115
|
+
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-05-08 01:18:38 |
|
|
116
116
|
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 |
|
|
117
117
|
| ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
|
|
118
118
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 |
|
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-03-20 01:20:23 |
|
|
147
147
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-04-12 01:19:07 |
|
|
148
148
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-04-18 01:24:29 |
|
|
149
|
-
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-
|
|
150
|
-
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-
|
|
149
|
+
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-05-08 01:22:13 |
|
|
150
|
+
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-05-08 01:22:37 |
|
|
151
151
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-04-03 11:24:07 |
|
|
152
152
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-04-01 01:22:02 |
|
|
153
153
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-04-19 01:23:09 |
|
|
158
158
|
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-05-07 01:22:19 |
|
|
159
159
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-04-22 01:22:30 |
|
|
160
|
-
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-
|
|
160
|
+
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-05-08 01:23:38 |
|
|
161
161
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-03-20 01:22:23 |
|
|
162
162
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
|
|
163
163
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-03-20 01:22:26 |
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-04-22 01:23:34 |
|
|
169
169
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
|
|
170
170
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
171
|
-
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-05-
|
|
171
|
+
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-05-08 01:24:46 |
|
|
172
172
|
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-04-15 02:05:44 |
|
|
173
173
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-03-20 01:23:23 |
|
|
174
174
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-04-16 01:18:21 |
|
|
@@ -203,10 +203,10 @@
|
|
|
203
203
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-04-22 01:25:22 |
|
|
204
204
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-03-20 01:25:48 |
|
|
205
205
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-04-25 01:24:56 |
|
|
206
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-
|
|
206
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-05-08 01:27:51 |
|
|
207
207
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 |
|
|
208
208
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-03-20 01:26:14 |
|
|
209
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-05-07
|
|
209
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-05-07 17:57:40 |
|
|
210
210
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-03-20 01:27:05 |
|
|
211
211
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
212
212
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-04-22 01:28:17 |
|
|
226
226
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-04-22 01:28:30 |
|
|
227
227
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-03-20 01:29:13 |
|
|
228
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-
|
|
228
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-05-07 11:13:32 |
|
|
229
229
|
| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-04-29 01:27:04 |
|
|
230
230
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-05-07 01:28:28 |
|
|
231
231
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
|
|
234
234
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-03-20 01:30:12 |
|
|
235
235
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
|
|
236
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-
|
|
236
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-05-08 01:31:07 |
|
|
237
237
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-05-07 01:29:27 |
|
|
238
238
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
|
|
239
239
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-04-25 14:30:01 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.848"
|
|
@@ -963,7 +963,7 @@ ListDiagnoseReport 用于获取用户诊断URL访问后各个子任务的简要
|
|
|
963
963
|
/**
|
|
964
964
|
* UpdateDomainConfig 用于修改内容分发网络加速域名配置信息。
|
|
965
965
|
注意:如果需要更新复杂类型的配置项,必须传递整个对象的所有属性,未传递的属性将使用默认值,建议通过查询接口获取配置属性后,直接修改后传递给本接口。
|
|
966
|
-
|
|
966
|
+
操作审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到操作审计。
|
|
967
967
|
*/
|
|
968
968
|
async UpdateDomainConfig(
|
|
969
969
|
req: UpdateDomainConfigRequest,
|
|
@@ -1200,7 +1200,12 @@ export interface ModifyDataTransformRequest {
|
|
|
1200
1200
|
*/
|
|
1201
1201
|
Name?: string
|
|
1202
1202
|
/**
|
|
1203
|
-
*
|
|
1203
|
+
* 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f)
|
|
1204
|
+
|
|
1205
|
+
其他参考文档:
|
|
1206
|
+
|
|
1207
|
+
- [创建加工任务](https://cloud.tencent.com/document/product/614/63940)
|
|
1208
|
+
- [函数总览](https://cloud.tencent.com/document/product/614/70395)
|
|
1204
1209
|
*/
|
|
1205
1210
|
EtlContent?: string
|
|
1206
1211
|
/**
|
|
@@ -1470,11 +1475,110 @@ export interface NoticeRule {
|
|
|
1470
1475
|
WebCallbacks?: Array<WebCallback>
|
|
1471
1476
|
/**
|
|
1472
1477
|
* 匹配规则 JSON串。
|
|
1473
|
-
|
|
1478
|
+
**rule格式为如下嵌套结构体JSON字符串**
|
|
1479
|
+
```
|
|
1480
|
+
{
|
|
1481
|
+
"Value": "AND",
|
|
1482
|
+
"Type": "Operation",
|
|
1483
|
+
"Children": [
|
|
1484
|
+
{
|
|
1485
|
+
"Value": "OR",
|
|
1486
|
+
"Type": "Operation",
|
|
1487
|
+
"Children": [
|
|
1488
|
+
{
|
|
1489
|
+
"Type": "Condition",
|
|
1490
|
+
"Value": "Level",
|
|
1491
|
+
"Children": [
|
|
1492
|
+
{
|
|
1493
|
+
"Value": "In",
|
|
1494
|
+
"Type": "Compare"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"Value": "[1,0]",
|
|
1498
|
+
"Type": "Value"
|
|
1499
|
+
}
|
|
1500
|
+
]
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"Type": "Condition",
|
|
1504
|
+
"Value": "Level",
|
|
1505
|
+
"Children": [
|
|
1506
|
+
{
|
|
1507
|
+
"Value": "NotIn",
|
|
1508
|
+
"Type": "Compare"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"Value": "[2]",
|
|
1512
|
+
"Type": "Value"
|
|
1513
|
+
}
|
|
1514
|
+
]
|
|
1515
|
+
}
|
|
1516
|
+
]
|
|
1517
|
+
}
|
|
1518
|
+
]
|
|
1519
|
+
}
|
|
1520
|
+
```
|
|
1521
|
+
**rule规则树限制规则如下**:
|
|
1522
|
+
- 顶层rule中Type可取值:`Condition`,`Operation`
|
|
1523
|
+
- Type为`Operation`的子节点支持的Type可取值:`Condition`,`Operation`
|
|
1524
|
+
- Type为`Condition`的子节点支持的Type可取值:`String`,`Compare`,`Array`,`TimeRange`,`Value`,`Key`
|
|
1525
|
+
- 其他Type无子节点
|
|
1526
|
+
- 当rule Type为`Operation`时,value可取值:`AND`,`OR`
|
|
1527
|
+
- 当rule Type为`Condition`时,value不可为空,子节点个数不能小于2
|
|
1528
|
+
- 当子节点Type为 `Compare` 时,value可取值:`>`,`<`,`>=`,`<=`,`=`,`!=`,`Between`,`NotBetween`,`=~`,`!=~`,`In`,`NotIn`
|
|
1529
|
+
- value为`Between`,`NotBetween`时,下一个子节点value必须是长度为2的数组
|
|
1530
|
+
- value为`=~`,`!=~`时,下一个子节点value必须是一个正则表达式
|
|
1531
|
+
- value为`In`,`NotIn`时, 下一个子节点value必须是一个数组
|
|
1532
|
+
|
|
1533
|
+
**业务参数含义**:
|
|
1534
|
+
- Type:Condition 表示是规则条件,Value:Level 表示告警等级
|
|
1535
|
+
- 子节点Type支持`Compare`,Value支持`In`,`NotIn`
|
|
1536
|
+
- 下一个子节点value支持的值:0(警告),1(提醒),2 (紧急)
|
|
1537
|
+
以下示例表示:告警等级属于提醒
|
|
1538
|
+
`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Level\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1]\",\"Type\":\"Value\"}]}]}
|
|
1539
|
+
`
|
|
1540
|
+
|
|
1541
|
+
- Type:Condition 表示是规则条件,Value:NotifyType 表示通知类型
|
|
1542
|
+
- 子节点Type支持`Compare`,Value支持`In`,`NotIn`
|
|
1543
|
+
- 下一个子节点value支持的值:1(告警通知),2 (恢复通知)
|
|
1544
|
+
以下示例表示:通知类型属于告警通知或通知类型不属于恢复通知
|
|
1545
|
+
`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[2]\",\"Type\":\"Value\"}]}]}]}
|
|
1546
|
+
`
|
|
1547
|
+
|
|
1548
|
+
- Type:Condition 表示是规则条件,Value:AlarmID 表示告警策略
|
|
1549
|
+
- 子节点Type支持`Compare`,Value支持`In`,`NotIn`
|
|
1550
|
+
- 下一个子节点value支持的值:告警策略id数组
|
|
1551
|
+
以下示例表示:告警策略属于alarm-53af048c-254b-4c73-bb48-xxx,alarm-6dfa8bc5-08da-4d64-b6cb-xxx或告警策略不属于alarm-1036314c-1e49-4cee-a8fb-xxx
|
|
1552
|
+
`"{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"AlarmID\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"alarm-53af048c-254b-4c73-bb48-xxx\\\",\\\"alarm-6dfa8bc5-08da-4d64-b6cb-xxx\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"AlarmID\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"alarm-1036314c-1e49-4cee-a8fb-xxx\\\"]\",\"Type\":\"Value\"}]}]}]}"
|
|
1553
|
+
`
|
|
1554
|
+
|
|
1555
|
+
- Type:Condition 表示是规则条件,Value:AlarmName 表示告警策略名称
|
|
1556
|
+
- 子节点Type支持`Compare`,Value支持`=~`,`!=~`
|
|
1557
|
+
- 下一个子节点value支持的值:必须是正则表达式
|
|
1558
|
+
以下示例表示:告警策略名称正则匹配^test$或告警策略名称正则不匹配^hahaha$
|
|
1559
|
+
`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"AlarmName\",\"Children\":[{\"Value\":\"=~\",\"Type\":\"Compare\"},{\"Value\":\"^test$\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"AlarmName\",\"Children\":[{\"Value\":\"!=~\",\"Type\":\"Compare\"},{\"Value\":\"^hahaha$\",\"Type\":\"Value\"}]}]}]}
|
|
1560
|
+
`
|
|
1561
|
+
|
|
1562
|
+
- Type:Condition 表示是规则条件,Value:Label 表示告警分类字段
|
|
1563
|
+
- 子节点Type支持`Compare`,Value支持`In`,`NotIn`,`=~`,`!=~`
|
|
1564
|
+
- 下一个子节点value支持的值:`In`,`NotIn` 时value是数组,`=~`,`!=~`时value是正则表达式
|
|
1565
|
+
以下示例表示:告警分类字段key1属于v1或告警分类字段key2不属于v2或告警分类字段key3正则匹配^test$或告警分类字段key4正则不匹配^hahaha$
|
|
1566
|
+
`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key1\",\"Type\":\"Key\"},{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"v1\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key2\",\"Type\":\"Key\"},{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"v2\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key3\",\"Type\":\"Key\"},{\"Value\":\"=~\",\"Type\":\"Compare\"},{\"Value\":\"^test$\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key4\",\"Type\":\"Key\"},{\"Value\":\"!=~\",\"Type\":\"Compare\"},{\"Value\":\"^hahaha$\",\"Type\":\"Value\"}]}]}]}
|
|
1567
|
+
`
|
|
1568
|
+
|
|
1569
|
+
- Type:Condition 表示是规则条件,Value:NotifyTime 表示通知时间
|
|
1570
|
+
- 子节点Type支持`Compare`,Value支持`Between `,`NotBetween `
|
|
1571
|
+
- 下一个子节点value支持的值:长度为2,格式为`14:20:36`的字符串数组
|
|
1572
|
+
以下示例表示:通知时间在指定范围内14:18:36至14:33:36或通知时间不在指定范围内14:20:36至14:30:36
|
|
1573
|
+
`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyTime\",\"Children\":[{\"Value\":\"Between\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"14:18:36\\\",\\\"14:33:36\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"NotifyTime\",\"Children\":[{\"Value\":\"NotBetween\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"14:20:36\\\",\\\"14:30:36\\\"]\",\"Type\":\"Value\"}]}]}]}
|
|
1574
|
+
`
|
|
1575
|
+
|
|
1576
|
+
- Type:Condition 表示是规则条件,Value:Duration 表示告警持续时间
|
|
1577
|
+
- 子节点Type支持`Compare`,Value支持`>`,`<`,`>=`,`<=`
|
|
1578
|
+
- 下一个子节点value支持的值:整型值单位分钟
|
|
1579
|
+
以下示例表示:告警持续时间大于1分钟或告警持续时间大于等于2分钟或告警持续时间小于3分钟或告警持续时间小于等于4分钟
|
|
1580
|
+
`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">\",\"Type\":\"Compare\"},{\"Value\":1,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">=\",\"Type\":\"Compare\"},{\"Value\":2,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<\",\"Type\":\"Compare\"},{\"Value\":3,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<=\",\"Type\":\"Compare\"},{\"Value\":4,\"Type\":\"Value\"}]}]}]}
|
|
1474
1581
|
`
|
|
1475
|
-
以上示例表示:
|
|
1476
|
-
规则:
|
|
1477
|
-
通知类型属于告警通知,恢复通知
|
|
1478
1582
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1479
1583
|
*/
|
|
1480
1584
|
Rule?: string
|
|
@@ -1622,6 +1726,11 @@ export interface ScheduledSqlTaskInfo {
|
|
|
1622
1726
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1623
1727
|
*/
|
|
1624
1728
|
SyntaxRule?: number
|
|
1729
|
+
/**
|
|
1730
|
+
* 是否开启投递服务日志。1:关闭,2:开启。
|
|
1731
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1732
|
+
*/
|
|
1733
|
+
HasServicesLog?: number
|
|
1625
1734
|
}
|
|
1626
1735
|
|
|
1627
1736
|
/**
|
|
@@ -1777,7 +1886,6 @@ export interface ExtractRuleInfo {
|
|
|
1777
1886
|
IsGBK?: number
|
|
1778
1887
|
/**
|
|
1779
1888
|
* 是否为标准json。 0:否; 1:是。
|
|
1780
|
-
注
|
|
1781
1889
|
- 标准json指采集器使用业界标准开源解析器进行json解析,非标json指采集器使用CLS自研json解析器进行解析,两种解析器没有本质区别,建议客户使用标准json进行解析。
|
|
1782
1890
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1783
1891
|
*/
|
|
@@ -4166,9 +4274,11 @@ export interface WebCallback {
|
|
|
4166
4274
|
CallbackType: string
|
|
4167
4275
|
/**
|
|
4168
4276
|
* 回调方法。可选值:
|
|
4169
|
-
- POST
|
|
4277
|
+
- POST(默认值)
|
|
4170
4278
|
- PUT
|
|
4171
|
-
|
|
4279
|
+
|
|
4280
|
+
注意:
|
|
4281
|
+
- 参数CallbackType为Http时为必选。
|
|
4172
4282
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4173
4283
|
*/
|
|
4174
4284
|
Method?: string
|
|
@@ -4378,7 +4488,7 @@ export interface PreviewLogStatistic {
|
|
|
4378
4488
|
*/
|
|
4379
4489
|
LogContent: string
|
|
4380
4490
|
/**
|
|
4381
|
-
*
|
|
4491
|
+
* 行号。从0开始
|
|
4382
4492
|
*/
|
|
4383
4493
|
LineNum: number
|
|
4384
4494
|
/**
|
|
@@ -4386,16 +4496,20 @@ export interface PreviewLogStatistic {
|
|
|
4386
4496
|
*/
|
|
4387
4497
|
DstTopicId?: string
|
|
4388
4498
|
/**
|
|
4389
|
-
*
|
|
4499
|
+
* 失败错误信息, 空字符串""表示正常
|
|
4390
4500
|
*/
|
|
4391
4501
|
FailReason?: string
|
|
4392
4502
|
/**
|
|
4393
|
-
*
|
|
4503
|
+
* 日志时间,格式:`2024-05-07 17:13:17.105`
|
|
4504
|
+
|
|
4505
|
+
- 入参时无效
|
|
4506
|
+
- 出参时有效,为日志中的时间格式
|
|
4394
4507
|
*/
|
|
4395
4508
|
Time?: string
|
|
4396
4509
|
/**
|
|
4397
4510
|
* 目标topic-name
|
|
4398
4511
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4512
|
+
* @deprecated
|
|
4399
4513
|
*/
|
|
4400
4514
|
DstTopicName?: string
|
|
4401
4515
|
}
|
|
@@ -5136,15 +5250,24 @@ export interface CreateConfigExtraRequest {
|
|
|
5136
5250
|
*/
|
|
5137
5251
|
TopicId: string
|
|
5138
5252
|
/**
|
|
5139
|
-
*
|
|
5253
|
+
* 日志源类型。支持 container_stdout:容器标准输出;container_file:容器文件路径;host_file:节点文件路径。
|
|
5140
5254
|
*/
|
|
5141
5255
|
Type: string
|
|
5142
5256
|
/**
|
|
5143
|
-
*
|
|
5257
|
+
* 采集的日志类型,默认为minimalist_log。支持以下类型:
|
|
5258
|
+
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
5259
|
+
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
5260
|
+
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
5261
|
+
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
5262
|
+
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
5263
|
+
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
5264
|
+
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。
|
|
5144
5265
|
*/
|
|
5145
5266
|
LogType: string
|
|
5146
5267
|
/**
|
|
5147
|
-
*
|
|
5268
|
+
* 采集配置标记。
|
|
5269
|
+
- 目前只支持label_k8s,用于标记自建k8s集群使用的采集配置
|
|
5270
|
+
|
|
5148
5271
|
*/
|
|
5149
5272
|
ConfigFlag: string
|
|
5150
5273
|
/**
|
|
@@ -5160,19 +5283,21 @@ export interface CreateConfigExtraRequest {
|
|
|
5160
5283
|
*/
|
|
5161
5284
|
TopicName: string
|
|
5162
5285
|
/**
|
|
5163
|
-
*
|
|
5286
|
+
* 节点文件路径类型配置。
|
|
5164
5287
|
*/
|
|
5165
5288
|
HostFile?: HostFileInfo
|
|
5166
5289
|
/**
|
|
5167
|
-
*
|
|
5290
|
+
* 容器文件路径类型配置。
|
|
5168
5291
|
*/
|
|
5169
5292
|
ContainerFile?: ContainerFileInfo
|
|
5170
5293
|
/**
|
|
5171
|
-
*
|
|
5294
|
+
* 容器标准输出类型配置。
|
|
5172
5295
|
*/
|
|
5173
5296
|
ContainerStdout?: ContainerStdoutInfo
|
|
5174
5297
|
/**
|
|
5175
|
-
*
|
|
5298
|
+
* 日志格式化方式,用于容器采集场景。
|
|
5299
|
+
- stdout-docker-json:用于docker容器采集场景
|
|
5300
|
+
- stdout-containerd:用于containerd容器采集场景
|
|
5176
5301
|
*/
|
|
5177
5302
|
LogFormat?: string
|
|
5178
5303
|
/**
|
|
@@ -5184,7 +5309,9 @@ export interface CreateConfigExtraRequest {
|
|
|
5184
5309
|
*/
|
|
5185
5310
|
ExcludePaths?: Array<ExcludePathInfo>
|
|
5186
5311
|
/**
|
|
5187
|
-
*
|
|
5312
|
+
* 组合解析采集规则,用于复杂场景下的日志采集。
|
|
5313
|
+
- 取值参考:[使用组合解析提取模式采集日志
|
|
5314
|
+
](https://cloud.tencent.com/document/product/614/61310)
|
|
5188
5315
|
*/
|
|
5189
5316
|
UserDefineRule?: string
|
|
5190
5317
|
/**
|
|
@@ -5204,7 +5331,8 @@ export interface CreateConfigExtraRequest {
|
|
|
5204
5331
|
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
5205
5332
|
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
5206
5333
|
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
5207
|
-
|
|
5334
|
+
- ClsAgentDefault(自定义默认值,无特殊含义,用于清空其他选项),建议取值0
|
|
5335
|
+
|
|
5208
5336
|
*/
|
|
5209
5337
|
AdvancedConfig?: string
|
|
5210
5338
|
}
|
|
@@ -5998,17 +6126,17 @@ export interface NoticeReceiver {
|
|
|
5998
6126
|
*/
|
|
5999
6127
|
ReceiverChannels: Array<string>
|
|
6000
6128
|
/**
|
|
6001
|
-
*
|
|
6129
|
+
* 允许接收信息的开始时间。格式:`15:04:05`,必填。
|
|
6002
6130
|
*/
|
|
6003
6131
|
StartTime?: string
|
|
6004
6132
|
/**
|
|
6005
|
-
*
|
|
6133
|
+
* 允许接收信息的结束时间。格式:`15:04:05`,必填。
|
|
6006
6134
|
*/
|
|
6007
6135
|
EndTime?: string
|
|
6008
6136
|
/**
|
|
6009
6137
|
* 位序。
|
|
6010
6138
|
|
|
6011
|
-
-
|
|
6139
|
+
- 入参时无效。
|
|
6012
6140
|
- 出参时有效。
|
|
6013
6141
|
*/
|
|
6014
6142
|
Index?: number
|
|
@@ -6361,7 +6489,9 @@ export interface CreateMachineGroupRequest {
|
|
|
6361
6489
|
*/
|
|
6362
6490
|
GroupName: string
|
|
6363
6491
|
/**
|
|
6364
|
-
*
|
|
6492
|
+
* 创建机器组类型。取值如下:
|
|
6493
|
+
- Type:ip,Values中为ip字符串列表创建机器组
|
|
6494
|
+
- Type:label,Values中为标签字符串列表创建机器组
|
|
6365
6495
|
*/
|
|
6366
6496
|
MachineGroupType: MachineGroupTypeInfo
|
|
6367
6497
|
/**
|
|
@@ -6393,7 +6523,9 @@ export interface CreateMachineGroupRequest {
|
|
|
6393
6523
|
*/
|
|
6394
6524
|
MetaTags?: Array<MetaTagInfo>
|
|
6395
6525
|
/**
|
|
6396
|
-
*
|
|
6526
|
+
* 系统类型,取值如下:
|
|
6527
|
+
- 0:Linux (默认值)
|
|
6528
|
+
- 1:Windows
|
|
6397
6529
|
*/
|
|
6398
6530
|
OSType?: number
|
|
6399
6531
|
}
|
|
@@ -6581,25 +6713,22 @@ export interface CsvInfo {
|
|
|
6581
6713
|
*/
|
|
6582
6714
|
export interface DescribeConfigExtrasRequest {
|
|
6583
6715
|
/**
|
|
6584
|
-
*
|
|
6716
|
+
* 过滤器,支持如下选项:
|
|
6717
|
+
name
|
|
6585
6718
|
- 按照【特殊采集配置名称】进行模糊匹配过滤。
|
|
6586
6719
|
- 类型:String
|
|
6587
|
-
- 必选:否
|
|
6588
6720
|
|
|
6589
6721
|
configExtraId
|
|
6590
6722
|
- 按照【特殊采集配置ID】进行过滤。
|
|
6591
6723
|
- 类型:String
|
|
6592
|
-
- 必选:否
|
|
6593
6724
|
|
|
6594
6725
|
topicId
|
|
6595
6726
|
- 按照【日志主题】进行过滤。
|
|
6596
6727
|
- 类型:String
|
|
6597
|
-
- 必选:否
|
|
6598
6728
|
|
|
6599
6729
|
machineGroupId
|
|
6600
6730
|
- 按照【机器组ID】进行过滤。
|
|
6601
6731
|
- 类型:String
|
|
6602
|
-
- 必选:否
|
|
6603
6732
|
|
|
6604
6733
|
每次请求的Filters的上限为10,Filter.Values的上限为5。
|
|
6605
6734
|
*/
|
|
@@ -6630,29 +6759,33 @@ export interface CreateAlarmNoticeRequest {
|
|
|
6630
6759
|
|
|
6631
6760
|
|
|
6632
6761
|
注意:
|
|
6633
|
-
- Type、NoticeReceivers和WebCallbacks
|
|
6634
|
-
-
|
|
6762
|
+
- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
|
|
6763
|
+
- 2组rule配置互斥
|
|
6764
|
+
- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
|
|
6635
6765
|
*/
|
|
6636
6766
|
Type?: string
|
|
6637
6767
|
/**
|
|
6638
6768
|
* 通知接收对象。
|
|
6639
6769
|
注意:
|
|
6640
|
-
- Type、NoticeReceivers和WebCallbacks
|
|
6641
|
-
-
|
|
6770
|
+
- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
|
|
6771
|
+
- 2组rule配置互斥
|
|
6772
|
+
- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
|
|
6642
6773
|
*/
|
|
6643
6774
|
NoticeReceivers?: Array<NoticeReceiver>
|
|
6644
6775
|
/**
|
|
6645
6776
|
* 接口回调信息(包括企业微信)。
|
|
6646
6777
|
注意:
|
|
6647
|
-
- Type、NoticeReceivers和WebCallbacks
|
|
6648
|
-
-
|
|
6778
|
+
- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
|
|
6779
|
+
- 2组rule配置互斥
|
|
6780
|
+
- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
|
|
6649
6781
|
*/
|
|
6650
6782
|
WebCallbacks?: Array<WebCallback>
|
|
6651
6783
|
/**
|
|
6652
6784
|
* 通知规则。
|
|
6653
6785
|
注意:
|
|
6654
|
-
- Type、NoticeReceivers和WebCallbacks
|
|
6655
|
-
-
|
|
6786
|
+
- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
|
|
6787
|
+
- 2组rule配置互斥
|
|
6788
|
+
- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
|
|
6656
6789
|
|
|
6657
6790
|
|
|
6658
6791
|
*/
|
|
@@ -6746,7 +6879,8 @@ export interface ModifyConfigExtraRequest {
|
|
|
6746
6879
|
*/
|
|
6747
6880
|
HostFile?: HostFileInfo
|
|
6748
6881
|
/**
|
|
6749
|
-
*
|
|
6882
|
+
* 采集配置标记。
|
|
6883
|
+
- 目前只支持label_k8s,用于标记自建k8s集群使用的采集配置
|
|
6750
6884
|
*/
|
|
6751
6885
|
ContainerFile?: ContainerFileInfo
|
|
6752
6886
|
/**
|
|
@@ -6754,11 +6888,20 @@ export interface ModifyConfigExtraRequest {
|
|
|
6754
6888
|
*/
|
|
6755
6889
|
ContainerStdout?: ContainerStdoutInfo
|
|
6756
6890
|
/**
|
|
6757
|
-
*
|
|
6891
|
+
* 采集的日志类型,默认为minimalist_log。支持以下类型:
|
|
6892
|
+
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
6893
|
+
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
6894
|
+
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
6895
|
+
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
6896
|
+
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
6897
|
+
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
6898
|
+
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。
|
|
6758
6899
|
*/
|
|
6759
6900
|
LogType?: string
|
|
6760
6901
|
/**
|
|
6761
|
-
*
|
|
6902
|
+
* 日志格式化方式,用于容器采集场景。
|
|
6903
|
+
- stdout-docker-json:用于docker容器采集场景
|
|
6904
|
+
- stdout-containerd:用于containerd容器采集场景
|
|
6762
6905
|
*/
|
|
6763
6906
|
LogFormat?: string
|
|
6764
6907
|
/**
|
|
@@ -6770,7 +6913,9 @@ export interface ModifyConfigExtraRequest {
|
|
|
6770
6913
|
*/
|
|
6771
6914
|
ExcludePaths?: Array<ExcludePathInfo>
|
|
6772
6915
|
/**
|
|
6773
|
-
*
|
|
6916
|
+
* 组合解析采集规则,用于复杂场景下的日志采集。
|
|
6917
|
+
- 取值参考:[使用组合解析提取模式采集日志
|
|
6918
|
+
](https://cloud.tencent.com/document/product/614/61310)
|
|
6774
6919
|
*/
|
|
6775
6920
|
UserDefineRule?: string
|
|
6776
6921
|
/**
|
|
@@ -6802,7 +6947,8 @@ export interface ModifyConfigExtraRequest {
|
|
|
6802
6947
|
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
6803
6948
|
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
6804
6949
|
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
6805
|
-
|
|
6950
|
+
- ClsAgentDefault(自定义默认值,无特殊含义,用于清空其他选项),建议取值0
|
|
6951
|
+
|
|
6806
6952
|
*/
|
|
6807
6953
|
AdvancedConfig?: string
|
|
6808
6954
|
}
|
|
@@ -6878,7 +7024,12 @@ export interface CreateDataTransformRequest {
|
|
|
6878
7024
|
*/
|
|
6879
7025
|
Name: string
|
|
6880
7026
|
/**
|
|
6881
|
-
* 加工语句。[
|
|
7027
|
+
* 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f)
|
|
7028
|
+
|
|
7029
|
+
其他参考文档:
|
|
7030
|
+
|
|
7031
|
+
- [创建加工任务](https://cloud.tencent.com/document/product/614/63940)
|
|
7032
|
+
- [函数总览](https://cloud.tencent.com/document/product/614/70395)
|
|
6882
7033
|
*/
|
|
6883
7034
|
EtlContent: string
|
|
6884
7035
|
/**
|