tencentcloud-sdk-nodejs-cls 4.0.258 → 4.0.259

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cls",
3
- "version": "4.0.258",
3
+ "version": "4.0.259",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -29,11 +29,11 @@
29
29
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2021-11-10 08:03:08 |
30
30
  | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2021-12-16 08:05:15 |
31
31
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2021-12-03 08:02:43 |
32
- | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-12-14 08:06:08 |
33
- | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-11-10 08:03:22 |
32
+ | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-12-16 17:16:49 |
33
+ | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-12-17 08:07:31 |
34
34
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-12-10 08:02:29 |
35
35
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2021-12-02 08:03:37 |
36
- | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-12-10 08:02:48 |
36
+ | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-12-17 08:07:56 |
37
37
  | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2021-11-10 08:03:57 |
38
38
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2021-12-06 08:02:54 |
39
39
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2021-12-01 08:04:35 |
@@ -45,7 +45,7 @@
45
45
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2021-12-14 08:07:15 |
46
46
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-11-16 08:07:51 |
47
47
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-11-10 08:04:28 |
48
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-12-14 14:53:27 |
48
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-12-17 08:08:49 |
49
49
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2021-12-14 08:07:36 |
50
50
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2021-11-10 08:04:45 |
51
51
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
@@ -58,9 +58,9 @@
58
58
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2021-11-10 08:05:47 |
59
59
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2021-12-15 08:06:44 |
60
60
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2021-11-10 08:06:00 |
61
- | dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2021-12-07 08:06:14 |
62
- | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2021-11-10 08:06:10 |
63
- | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2021-12-09 08:05:19 |
61
+ | dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2021-12-17 08:10:31 |
62
+ | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2021-12-17 08:10:39 |
63
+ | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2021-12-17 08:10:50 |
64
64
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2021-12-06 08:05:24 |
65
65
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2021-11-10 08:06:23 |
66
66
  | ds | [电子合同服务](https://cloud.tencent.com/document/product/869) | 2021-11-10 08:06:24 |
@@ -98,10 +98,10 @@
98
98
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2021-12-16 08:10:46 |
99
99
  | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2021-11-30 14:56:41 |
100
100
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2021-11-29 08:10:07 |
101
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-12-16 08:11:07 |
101
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-12-17 08:13:20 |
102
102
  | live | [云直播](https://cloud.tencent.com/document/product/267) | 2021-12-15 08:10:09 |
103
103
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2021-11-10 08:08:46 |
104
- | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2021-11-26 08:11:04 |
104
+ | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2021-12-17 08:13:52 |
105
105
  | market | [云市场](https://cloud.tencent.com/document/product/306) | 2021-11-10 08:08:54 |
106
106
  | memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product) | 2020-08-24 08:07:49 |
107
107
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2021-11-10 08:08:55 |
@@ -127,13 +127,13 @@
127
127
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2021-11-10 08:10:03 |
128
128
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2021-11-10 08:10:04 |
129
129
  | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2021-12-16 08:13:07 |
130
- | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2021-12-13 08:12:48 |
130
+ | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2021-12-17 08:15:19 |
131
131
  | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2021-11-26 08:12:29 |
132
132
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2021-11-10 08:10:15 |
133
133
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2021-12-16 08:13:20 |
134
134
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2021-11-18 08:11:34 |
135
135
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
136
- | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2021-11-10 08:10:19 |
136
+ | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2021-12-17 08:15:35 |
137
137
  | ssa | [态势感知](https://cloud.tencent.com/document/product/664) | 2021-11-22 08:10:13 |
138
138
  | ssl | [证书](https://cloud.tencent.com/document/product/400) | 2021-12-08 08:14:38 |
139
139
  | sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2021-11-10 08:10:37 |
@@ -156,7 +156,7 @@
156
156
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2021-11-10 08:11:24 |
157
157
  | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2021-12-14 08:15:22 |
158
158
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2021-12-09 08:11:43 |
159
- | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2021-12-16 08:15:07 |
159
+ | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2021-12-17 08:17:26 |
160
160
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
161
161
  | tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2021-11-10 08:11:35 |
162
162
  | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
@@ -165,7 +165,7 @@
165
165
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2021-12-16 08:15:16 |
166
166
  | tione | [智能钛机器学习平台](https://cloud.tencent.com/document/product/851) | 2021-11-10 08:11:45 |
167
167
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2021-12-15 08:14:01 |
168
- | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2021-12-16 08:15:28 |
168
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2021-12-17 08:17:44 |
169
169
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
170
170
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2021-11-10 08:12:05 |
171
171
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2021-11-10 08:12:05 |
@@ -178,7 +178,7 @@
178
178
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2021-11-10 08:12:36 |
179
179
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2021-11-10 08:12:38 |
180
180
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2021-12-13 08:15:55 |
181
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2021-12-15 08:15:14 |
181
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2021-12-17 08:18:55 |
182
182
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2021-12-02 08:14:23 |
183
183
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2021-11-10 08:13:30 |
184
184
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
@@ -57,9 +57,12 @@ import {
57
57
  DescribeExportsRequest,
58
58
  CreateAsyncSearchTaskRequest,
59
59
  TopicInfo,
60
+ DescribeConsumerRequest,
60
61
  ShipperTaskInfo,
62
+ ModifyConsumerRequest,
61
63
  CreateIndexResponse,
62
64
  DeleteConfigFromMachineGroupResponse,
65
+ CreateConsumerResponse,
63
66
  ModifyMachineGroupResponse,
64
67
  RuleInfo,
65
68
  DeleteMachineGroupRequest,
@@ -83,19 +86,23 @@ import {
83
86
  DescribeMachineGroupsRequest,
84
87
  DescribeAsyncContextTasksResponse,
85
88
  CreateIndexRequest,
86
- CreateTopicRequest,
89
+ DeleteConsumerResponse,
87
90
  DescribeTopicsRequest,
88
91
  GetAlarmLogResponse,
89
92
  DescribeAsyncSearchTasksRequest,
90
- DescribeConfigsRequest,
93
+ CreateTopicRequest,
91
94
  DescribeAsyncSearchResultResponse,
92
95
  DescribeAsyncContextTasksRequest,
93
96
  AlarmTarget,
94
97
  DeleteConfigResponse,
95
98
  ModifyIndexResponse,
99
+ DeleteConsumerRequest,
96
100
  DeleteIndexRequest,
101
+ DescribeConsumerResponse,
97
102
  ExtractRuleInfo,
98
103
  AsyncContextTask,
104
+ ModifyConsumerResponse,
105
+ DescribeConfigsRequest,
99
106
  DeleteConfigRequest,
100
107
  AnalysisDimensional,
101
108
  LogsetInfo,
@@ -131,6 +138,7 @@ import {
131
138
  ModifyShipperRequest,
132
139
  DescribeLogContextResponse,
133
140
  DescribeAsyncSearchResultRequest,
141
+ CreateConsumerRequest,
134
142
  AlarmNotice,
135
143
  ModifyConfigResponse,
136
144
  ModifyAlarmNoticeResponse,
@@ -145,10 +153,11 @@ import {
145
153
  KeyValueInfo,
146
154
  DeleteAsyncSearchTaskRequest,
147
155
  ModifyMachineGroupRequest,
156
+ MergePartitionRequest,
148
157
  DescribeAlarmNoticesRequest,
149
158
  NoticeReceiver,
150
159
  AsyncSearchTask,
151
- MergePartitionRequest,
160
+ Ckafka,
152
161
  WebCallback,
153
162
  CreateAsyncSearchTaskResponse,
154
163
  DeleteAlarmNoticeRequest,
@@ -170,6 +179,7 @@ import {
170
179
  DescribeLogsetsRequest,
171
180
  DeleteTopicResponse,
172
181
  Filter,
182
+ ConsumerContent,
173
183
  CreateExportResponse,
174
184
  KeyRegexInfo,
175
185
  MergePartitionResponse,
@@ -214,6 +224,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
214
224
  return this.request("GetAlarmLog", req, cb)
215
225
  }
216
226
 
227
+ /**
228
+ * 本接口用于创建投递任务
229
+ */
230
+ async CreateConsumer(
231
+ req: CreateConsumerRequest,
232
+ cb?: (error: string, rep: CreateConsumerResponse) => void
233
+ ): Promise<CreateConsumerResponse> {
234
+ return this.request("CreateConsumer", req, cb)
235
+ }
236
+
217
237
  /**
218
238
  * 本接口用于修改日志主题。
219
239
  */
@@ -335,13 +355,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
335
355
  }
336
356
 
337
357
  /**
338
- * 修改现有的投递规则,客户如果使用此接口,需要自行处理CLS对指定bucket的写权限。
358
+ * 本接口用于修改投递任务
339
359
  */
340
- async ModifyShipper(
341
- req: ModifyShipperRequest,
342
- cb?: (error: string, rep: ModifyShipperResponse) => void
343
- ): Promise<ModifyShipperResponse> {
344
- return this.request("ModifyShipper", req, cb)
360
+ async ModifyConsumer(
361
+ req: ModifyConsumerRequest,
362
+ cb?: (error: string, rep: ModifyConsumerResponse) => void
363
+ ): Promise<ModifyConsumerResponse> {
364
+ return this.request("ModifyConsumer", req, cb)
345
365
  }
346
366
 
347
367
  /**
@@ -365,13 +385,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
365
385
  }
366
386
 
367
387
  /**
368
- * 获取采集规则配置
388
+ * 本接口用于删除投递配置
369
389
  */
370
- async DescribeConfigs(
371
- req: DescribeConfigsRequest,
372
- cb?: (error: string, rep: DescribeConfigsResponse) => void
373
- ): Promise<DescribeConfigsResponse> {
374
- return this.request("DescribeConfigs", req, cb)
390
+ async DeleteConsumer(
391
+ req: DeleteConsumerRequest,
392
+ cb?: (error: string, rep: DeleteConsumerResponse) => void
393
+ ): Promise<DeleteConsumerResponse> {
394
+ return this.request("DeleteConsumer", req, cb)
375
395
  }
376
396
 
377
397
  /**
@@ -723,6 +743,16 @@ cls.pb.cc cls.pb.h cls.proto
723
743
  return this.request("CreateAsyncContextTask", req, cb)
724
744
  }
725
745
 
746
+ /**
747
+ * 修改现有的投递规则,客户如果使用此接口,需要自行处理CLS对指定bucket的写权限。
748
+ */
749
+ async ModifyShipper(
750
+ req: ModifyShipperRequest,
751
+ cb?: (error: string, rep: ModifyShipperResponse) => void
752
+ ): Promise<ModifyShipperResponse> {
753
+ return this.request("ModifyShipper", req, cb)
754
+ }
755
+
726
756
  /**
727
757
  * 创建采集规则配置
728
758
  */
@@ -793,6 +823,26 @@ cls.pb.cc cls.pb.h cls.proto
793
823
  return this.request("DescribeLogContext", req, cb)
794
824
  }
795
825
 
826
+ /**
827
+ * 本接口用于获取投递配置
828
+ */
829
+ async DescribeConsumer(
830
+ req: DescribeConsumerRequest,
831
+ cb?: (error: string, rep: DescribeConsumerResponse) => void
832
+ ): Promise<DescribeConsumerResponse> {
833
+ return this.request("DescribeConsumer", req, cb)
834
+ }
835
+
836
+ /**
837
+ * 获取采集规则配置
838
+ */
839
+ async DescribeConfigs(
840
+ req: DescribeConfigsRequest,
841
+ cb?: (error: string, rep: DescribeConfigsResponse) => void
842
+ ): Promise<DescribeConfigsResponse> {
843
+ return this.request("DescribeConfigs", req, cb)
844
+ }
845
+
796
846
  /**
797
847
  * 本接口用于合并一个读写态的主题分区,合并时指定一个主题分区 ID,日志服务会自动合并范围右相邻的分区。
798
848
  */
@@ -950,6 +950,16 @@ export interface TopicInfo {
950
950
  Period: number
951
951
  }
952
952
 
953
+ /**
954
+ * DescribeConsumer请求参数结构体
955
+ */
956
+ export interface DescribeConsumerRequest {
957
+ /**
958
+ * 投递任务绑定的日志主题 ID
959
+ */
960
+ TopicId: string
961
+ }
962
+
953
963
  /**
954
964
  * 投递任务信息
955
965
  */
@@ -1000,6 +1010,36 @@ export interface ShipperTaskInfo {
1000
1010
  Message: string
1001
1011
  }
1002
1012
 
1013
+ /**
1014
+ * ModifyConsumer请求参数结构体
1015
+ */
1016
+ export interface ModifyConsumerRequest {
1017
+ /**
1018
+ * 投递任务绑定的日志主题 ID
1019
+ */
1020
+ TopicId: string
1021
+
1022
+ /**
1023
+ * 投递任务是否生效
1024
+ */
1025
+ Effective?: boolean
1026
+
1027
+ /**
1028
+ * 是否投递日志的元数据信息,默认为 false
1029
+ */
1030
+ NeedContent?: boolean
1031
+
1032
+ /**
1033
+ * 如果需要投递元数据信息,元数据信息的描述
1034
+ */
1035
+ Content?: ConsumerContent
1036
+
1037
+ /**
1038
+ * CKafka的描述
1039
+ */
1040
+ Ckafka?: Ckafka
1041
+ }
1042
+
1003
1043
  /**
1004
1044
  * CreateIndex返回参数结构体
1005
1045
  */
@@ -1020,6 +1060,16 @@ export interface DeleteConfigFromMachineGroupResponse {
1020
1060
  RequestId?: string
1021
1061
  }
1022
1062
 
1063
+ /**
1064
+ * CreateConsumer返回参数结构体
1065
+ */
1066
+ export interface CreateConsumerResponse {
1067
+ /**
1068
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1069
+ */
1070
+ RequestId?: string
1071
+ }
1072
+
1023
1073
  /**
1024
1074
  * ModifyMachineGroup返回参数结构体
1025
1075
  */
@@ -1624,48 +1674,13 @@ export interface CreateIndexRequest {
1624
1674
  }
1625
1675
 
1626
1676
  /**
1627
- * CreateTopic请求参数结构体
1677
+ * DeleteConsumer返回参数结构体
1628
1678
  */
1629
- export interface CreateTopicRequest {
1630
- /**
1631
- * 日志集ID
1632
- */
1633
- LogsetId: string
1634
-
1635
- /**
1636
- * 日志主题名称
1637
- */
1638
- TopicName: string
1639
-
1640
- /**
1641
- * 日志主题分区个数。默认创建1个,最大支持创建10个分区。
1642
- */
1643
- PartitionCount?: number
1644
-
1679
+ export interface DeleteConsumerResponse {
1645
1680
  /**
1646
- * 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
1647
- */
1648
- Tags?: Array<Tag>
1649
-
1650
- /**
1651
- * 是否开启自动分裂,默认值为true
1652
- */
1653
- AutoSplit?: boolean
1654
-
1655
- /**
1656
- * 开启自动分裂后,每个主题能够允许的最大分区数,默认值为50
1657
- */
1658
- MaxSplitPartitions?: number
1659
-
1660
- /**
1661
- * 日志主题的存储类型,可选值 hot(实时存储),cold(离线存储);默认为hot。若传入cold,请先联系客服进行开白。
1662
- */
1663
- StorageType?: string
1664
-
1665
- /**
1666
- * 生命周期,单位天;可取值范围1~366。默认30天
1681
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1667
1682
  */
1668
- Period?: number
1683
+ RequestId?: string
1669
1684
  }
1670
1685
 
1671
1686
  /**
@@ -1825,45 +1840,48 @@ export interface DescribeAsyncSearchTasksRequest {
1825
1840
  }
1826
1841
 
1827
1842
  /**
1828
- * DescribeConfigs请求参数结构体
1843
+ * CreateTopic请求参数结构体
1829
1844
  */
1830
- export interface DescribeConfigsRequest {
1845
+ export interface CreateTopicRequest {
1831
1846
  /**
1832
- * <br><li> configName
1833
-
1834
- 按照【采集配置名称】进行模糊匹配过滤。
1835
- 类型:String
1836
-
1837
- 必选:否
1838
-
1839
- <br><li> configId
1840
-
1841
- 按照【采集配置ID】进行过滤。
1842
- 类型:String
1843
-
1844
- 必选:否
1847
+ * 日志集ID
1848
+ */
1849
+ LogsetId: string
1845
1850
 
1846
- <br><li> topicId
1851
+ /**
1852
+ * 日志主题名称
1853
+ */
1854
+ TopicName: string
1847
1855
 
1848
- 按照【日志主题】进行过滤。
1856
+ /**
1857
+ * 日志主题分区个数。默认创建1个,最大支持创建10个分区。
1858
+ */
1859
+ PartitionCount?: number
1849
1860
 
1850
- 类型:String
1861
+ /**
1862
+ * 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
1863
+ */
1864
+ Tags?: Array<Tag>
1851
1865
 
1852
- 必选:否
1866
+ /**
1867
+ * 是否开启自动分裂,默认值为true
1868
+ */
1869
+ AutoSplit?: boolean
1853
1870
 
1854
- 每次请求的Filters的上限为10,Filter.Values的上限为5。
1855
- */
1856
- Filters?: Array<Filter>
1871
+ /**
1872
+ * 开启自动分裂后,每个主题能够允许的最大分区数,默认值为50
1873
+ */
1874
+ MaxSplitPartitions?: number
1857
1875
 
1858
1876
  /**
1859
- * 分页的偏移量,默认值为0
1877
+ * 日志主题的存储类型,可选值 hot(实时存储),cold(离线存储);默认为hot。若传入cold,请先联系客服进行开白。
1860
1878
  */
1861
- Offset?: number
1879
+ StorageType?: string
1862
1880
 
1863
1881
  /**
1864
- * 分页单页的限制数目,默认值为20,最大值100
1882
+ * 生命周期,单位天;可取值范围1~366。默认30天
1865
1883
  */
1866
- Limit?: number
1884
+ Period?: number
1867
1885
  }
1868
1886
 
1869
1887
  /**
@@ -1981,6 +1999,16 @@ export interface ModifyIndexResponse {
1981
1999
  RequestId?: string
1982
2000
  }
1983
2001
 
2002
+ /**
2003
+ * DeleteConsumer请求参数结构体
2004
+ */
2005
+ export interface DeleteConsumerRequest {
2006
+ /**
2007
+ * 投递任务绑定的日志主题 ID
2008
+ */
2009
+ TopicId: string
2010
+ }
2011
+
1984
2012
  /**
1985
2013
  * DeleteIndex请求参数结构体
1986
2014
  */
@@ -1991,6 +2019,37 @@ export interface DeleteIndexRequest {
1991
2019
  TopicId: string
1992
2020
  }
1993
2021
 
2022
+ /**
2023
+ * DescribeConsumer返回参数结构体
2024
+ */
2025
+ export interface DescribeConsumerResponse {
2026
+ /**
2027
+ * 投递任务是否生效
2028
+ */
2029
+ Effective: boolean
2030
+
2031
+ /**
2032
+ * 是否投递日志的元数据信息
2033
+ */
2034
+ NeedContent: boolean
2035
+
2036
+ /**
2037
+ * 如果需要投递元数据信息,元数据信息的描述
2038
+ 注意:此字段可能返回 null,表示取不到有效值。
2039
+ */
2040
+ Content: ConsumerContent
2041
+
2042
+ /**
2043
+ * CKafka的描述
2044
+ */
2045
+ Ckafka: Ckafka
2046
+
2047
+ /**
2048
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2049
+ */
2050
+ RequestId?: string
2051
+ }
2052
+
1994
2053
  /**
1995
2054
  * 日志提取规则
1996
2055
  */
@@ -2122,6 +2181,58 @@ export interface AsyncContextTask {
2122
2181
  AsyncSearchTaskId: string
2123
2182
  }
2124
2183
 
2184
+ /**
2185
+ * ModifyConsumer返回参数结构体
2186
+ */
2187
+ export interface ModifyConsumerResponse {
2188
+ /**
2189
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2190
+ */
2191
+ RequestId?: string
2192
+ }
2193
+
2194
+ /**
2195
+ * DescribeConfigs请求参数结构体
2196
+ */
2197
+ export interface DescribeConfigsRequest {
2198
+ /**
2199
+ * <br><li> configName
2200
+
2201
+ 按照【采集配置名称】进行模糊匹配过滤。
2202
+ 类型:String
2203
+
2204
+ 必选:否
2205
+
2206
+ <br><li> configId
2207
+
2208
+ 按照【采集配置ID】进行过滤。
2209
+ 类型:String
2210
+
2211
+ 必选:否
2212
+
2213
+ <br><li> topicId
2214
+
2215
+ 按照【日志主题】进行过滤。
2216
+
2217
+ 类型:String
2218
+
2219
+ 必选:否
2220
+
2221
+ 每次请求的Filters的上限为10,Filter.Values的上限为5。
2222
+ */
2223
+ Filters?: Array<Filter>
2224
+
2225
+ /**
2226
+ * 分页的偏移量,默认值为0
2227
+ */
2228
+ Offset?: number
2229
+
2230
+ /**
2231
+ * 分页单页的限制数目,默认值为20,最大值100
2232
+ */
2233
+ Limit?: number
2234
+ }
2235
+
2125
2236
  /**
2126
2237
  * DeleteConfig请求参数结构体
2127
2238
  */
@@ -3023,6 +3134,31 @@ export interface DescribeAsyncSearchResultRequest {
3023
3134
  Limit?: number
3024
3135
  }
3025
3136
 
3137
+ /**
3138
+ * CreateConsumer请求参数结构体
3139
+ */
3140
+ export interface CreateConsumerRequest {
3141
+ /**
3142
+ * 投递任务绑定的日志主题 ID
3143
+ */
3144
+ TopicId: string
3145
+
3146
+ /**
3147
+ * 是否投递日志的元数据信息,默认为 true
3148
+ */
3149
+ NeedContent?: boolean
3150
+
3151
+ /**
3152
+ * 如果需要投递元数据信息,元数据信息的描述
3153
+ */
3154
+ Content?: ConsumerContent
3155
+
3156
+ /**
3157
+ * CKafka的描述
3158
+ */
3159
+ Ckafka?: Ckafka
3160
+ }
3161
+
3026
3162
  /**
3027
3163
  * 告警通知模板类型
3028
3164
  */
@@ -3348,6 +3484,21 @@ export interface ModifyMachineGroupRequest {
3348
3484
  ServiceLogging?: boolean
3349
3485
  }
3350
3486
 
3487
+ /**
3488
+ * MergePartition请求参数结构体
3489
+ */
3490
+ export interface MergePartitionRequest {
3491
+ /**
3492
+ * 日志主题ID
3493
+ */
3494
+ TopicId: string
3495
+
3496
+ /**
3497
+ * 合并的PartitionId
3498
+ */
3499
+ PartitionId: number
3500
+ }
3501
+
3351
3502
  /**
3352
3503
  * DescribeAlarmNotices请求参数结构体
3353
3504
  */
@@ -3509,18 +3660,38 @@ export interface AsyncSearchTask {
3509
3660
  }
3510
3661
 
3511
3662
  /**
3512
- * MergePartition请求参数结构体
3663
+ * CKafka的描述-需要投递到的kafka信息
3513
3664
  */
3514
- export interface MergePartitionRequest {
3665
+ export interface Ckafka {
3515
3666
  /**
3516
- * 日志主题ID
3667
+ * Ckafka 的 Vip
3668
+ */
3669
+ Vip: string
3670
+
3671
+ /**
3672
+ * Ckafka 的 Vport
3673
+ */
3674
+ Vport: string
3675
+
3676
+ /**
3677
+ * Ckafka 的 InstanceId
3678
+ */
3679
+ InstanceId: string
3680
+
3681
+ /**
3682
+ * Ckafka 的 InstanceName
3683
+ */
3684
+ InstanceName: string
3685
+
3686
+ /**
3687
+ * Ckafka 的 TopicId
3517
3688
  */
3518
3689
  TopicId: string
3519
3690
 
3520
3691
  /**
3521
- * 合并的PartitionId
3692
+ * Ckafka 的 TopicName
3522
3693
  */
3523
- PartitionId: number
3694
+ TopicName: string
3524
3695
  }
3525
3696
 
3526
3697
  /**
@@ -4020,6 +4191,23 @@ export interface Filter {
4020
4191
  Values: Array<string>
4021
4192
  }
4022
4193
 
4194
+ /**
4195
+ * 投递任务出入参 Content
4196
+ */
4197
+ export interface ConsumerContent {
4198
+ /**
4199
+ * 是否投递 TAG 信息
4200
+ 注意:此字段可能返回 null,表示取不到有效值。
4201
+ */
4202
+ EnableTag: boolean
4203
+
4204
+ /**
4205
+ * 需要投递的元数据列表,目前仅支持:__SOURCE__,__FILENAME__和__TIMESTAMP__
4206
+ 注意:此字段可能返回 null,表示取不到有效值。
4207
+ */
4208
+ MetaFields: Array<string>
4209
+ }
4210
+
4023
4211
  /**
4024
4212
  * CreateExport返回参数结构体
4025
4213
  */