tencentcloud-sdk-nodejs-cls 4.0.320 → 4.0.323

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.
@@ -281,6 +281,23 @@ export interface ModifyConfigExtraResponse {
281
281
  */
282
282
  RequestId?: string;
283
283
  }
284
+ /**
285
+ * ModifyLogset请求参数结构体
286
+ */
287
+ export interface ModifyLogsetRequest {
288
+ /**
289
+ * 日志集ID
290
+ */
291
+ LogsetId: string;
292
+ /**
293
+ * 日志集名称
294
+ */
295
+ LogsetName?: string;
296
+ /**
297
+ * 日志集的绑定的标签键值对。最大支持10个标签键值对,同一个资源只能同时绑定一个标签键。
298
+ */
299
+ Tags?: Array<Tag>;
300
+ }
284
301
  /**
285
302
  * CreateLogset请求参数结构体
286
303
  */
@@ -295,43 +312,29 @@ export interface CreateLogsetRequest {
295
312
  Tags?: Array<Tag>;
296
313
  }
297
314
  /**
298
- * DescribeShippers请求参数结构体
315
+ * ModifyDataTransform请求参数结构体
299
316
  */
300
- export interface DescribeShippersRequest {
317
+ export interface ModifyDataTransformRequest {
301
318
  /**
302
- * <br><li> shipperName
303
-
304
- 按照【投递规则名称】进行过滤。
305
- 类型:String
306
-
307
- 必选:否
308
-
309
- <br><li> shipperId
310
-
311
- 按照【投递规则ID】进行过滤。
312
- 类型:String
313
-
314
- 必选:否
315
-
316
- <br><li> topicId
317
-
318
- 按照【日志主题】进行过滤。
319
-
320
- 类型:String
321
-
322
- 必选:否
323
-
324
- 每次请求的Filters的上限为10,Filter.Values的上限为5。
325
- */
326
- Filters?: Array<Filter>;
319
+ * 加工任务id
320
+ */
321
+ TaskId: string;
327
322
  /**
328
- * 分页的偏移量,默认值为0
323
+ * 加工任务名称
329
324
  */
330
- Offset?: number;
325
+ Name?: string;
331
326
  /**
332
- * 分页单页的限制数目,默认值为20,最大值100
327
+ * 加工逻辑函数
333
328
  */
334
- Limit?: number;
329
+ EtlContent?: string;
330
+ /**
331
+ * 任务启动状态. 默认为1,正常开启, 2关闭
332
+ */
333
+ EnableFlag?: number;
334
+ /**
335
+ * 加工任务目的topic_id以及别名
336
+ */
337
+ DstResources?: Array<DataTransformResouceInfo>;
335
338
  }
336
339
  /**
337
340
  * 日志中的KV对
@@ -650,6 +653,19 @@ export interface CallBackInfo {
650
653
  */
651
654
  Headers?: Array<string>;
652
655
  }
656
+ /**
657
+ * OpenKafkaConsumer返回参数结构体
658
+ */
659
+ export interface OpenKafkaConsumerResponse {
660
+ /**
661
+ * 待消费TopicId
662
+ */
663
+ TopicID: string;
664
+ /**
665
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
666
+ */
667
+ RequestId?: string;
668
+ }
653
669
  /**
654
670
  * 告警对象
655
671
  */
@@ -880,13 +896,13 @@ export interface TopicInfo {
880
896
  Period: number;
881
897
  }
882
898
  /**
883
- * DescribeConsumer请求参数结构体
899
+ * DeleteDataTransform返回参数结构体
884
900
  */
885
- export interface DescribeConsumerRequest {
901
+ export interface DeleteDataTransformResponse {
886
902
  /**
887
- * 投递任务绑定的日志主题 ID
903
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
888
904
  */
889
- TopicId: string;
905
+ RequestId?: string;
890
906
  }
891
907
  /**
892
908
  * DeleteConfigExtra返回参数结构体
@@ -959,24 +975,17 @@ export interface ModifyMachineGroupResponse {
959
975
  RequestId?: string;
960
976
  }
961
977
  /**
962
- * 索引规则,FullText、KeyValue、Tag参数必须输入一个有效参数
978
+ * 数据加工的资源信息
963
979
  */
964
- export interface RuleInfo {
980
+ export interface DataTransformResouceInfo {
965
981
  /**
966
- * 全文索引配置
967
- 注意:此字段可能返回 null,表示取不到有效值。
968
- */
969
- FullText?: FullTextInfo;
970
- /**
971
- * 键值索引配置
972
- 注意:此字段可能返回 null,表示取不到有效值。
973
- */
974
- KeyValue?: RuleKeyValueInfo;
982
+ * 目标主题id
983
+ */
984
+ TopicId: string;
975
985
  /**
976
- * 元字段索引配置
977
- 注意:此字段可能返回 null,表示取不到有效值。
978
- */
979
- Tag?: RuleTagInfo;
986
+ * 别名
987
+ */
988
+ Alias: string;
980
989
  }
981
990
  /**
982
991
  * DeleteMachineGroup请求参数结构体
@@ -1241,77 +1250,43 @@ export interface PartitionInfo {
1241
1250
  LastWriteTime: string;
1242
1251
  }
1243
1252
  /**
1244
- * CreateConfigExtra请求参数结构体
1253
+ * DescribeShippers请求参数结构体
1245
1254
  */
1246
- export interface CreateConfigExtraRequest {
1247
- /**
1248
- * 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾
1249
- */
1250
- Name: string;
1251
- /**
1252
- * 日志主题id
1253
- */
1254
- TopicId: string;
1255
- /**
1256
- * 类型:container_stdout、container_file、host_file
1257
- */
1258
- Type: string;
1259
- /**
1260
- * 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
1261
- */
1262
- LogType: string;
1263
- /**
1264
- * 采集配置标
1265
- */
1266
- ConfigFlag: string;
1267
- /**
1268
- * 日志集id
1269
- */
1270
- LogsetId: string;
1271
- /**
1272
- * 日志集name
1273
- */
1274
- LogsetName: string;
1275
- /**
1276
- * 日志主题名称
1277
- */
1278
- TopicName: string;
1279
- /**
1280
- * 节点文件配置信息
1281
- */
1282
- HostFile?: HostFileInfo;
1283
- /**
1284
- * 容器文件路径信息
1285
- */
1286
- ContainerFile?: ContainerFileInfo;
1287
- /**
1288
- * 容器标准输出信息
1289
- */
1290
- ContainerStdout?: ContainerStdoutInfo;
1291
- /**
1292
- * 日志格式化方式
1293
- */
1294
- LogFormat?: string;
1295
- /**
1296
- * 提取规则,如果设置了ExtractRule,则必须设置LogType
1297
- */
1298
- ExtractRule?: ExtractRuleInfo;
1299
- /**
1300
- * 采集黑名单路径列表
1301
- */
1302
- ExcludePaths?: Array<ExcludePathInfo>;
1255
+ export interface DescribeShippersRequest {
1303
1256
  /**
1304
- * 用户自定义采集规则,Json格式序列化的字符串
1305
- */
1306
- UserDefineRule?: string;
1257
+ * <br><li> shipperName
1258
+
1259
+ 按照【投递规则名称】进行过滤。
1260
+ 类型:String
1261
+
1262
+ 必选:否
1263
+
1264
+ <br><li> shipperId
1265
+
1266
+ 按照【投递规则ID】进行过滤。
1267
+ 类型:String
1268
+
1269
+ 必选:否
1270
+
1271
+ <br><li> topicId
1272
+
1273
+ 按照【日志主题】进行过滤。
1274
+
1275
+ 类型:String
1276
+
1277
+ 必选:否
1278
+
1279
+ 每次请求的Filters的上限为10,Filter.Values的上限为5。
1280
+ */
1281
+ Filters?: Array<Filter>;
1307
1282
  /**
1308
- * 绑定的机器组id
1283
+ * 分页的偏移量,默认值为0
1309
1284
  */
1310
- GroupId?: string;
1285
+ Offset?: number;
1311
1286
  /**
1312
- * 绑定的机器组id列表
1287
+ * 分页单页的限制数目,默认值为20,最大值100
1313
1288
  */
1314
- GroupIds?: Array<string>;
1289
+ Limit?: number;
1315
1290
  }
1316
1291
  /**
1317
1292
  * 黑名单path信息
@@ -1547,6 +1522,15 @@ export interface DescribeLogHistogramResponse {
1547
1522
  */
1548
1523
  RequestId?: string;
1549
1524
  }
1525
+ /**
1526
+ * CloseKafkaConsumer返回参数结构体
1527
+ */
1528
+ export interface CloseKafkaConsumerResponse {
1529
+ /**
1530
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1531
+ */
1532
+ RequestId?: string;
1533
+ }
1550
1534
  /**
1551
1535
  * 元字段索引配置
1552
1536
  */
@@ -1576,6 +1560,14 @@ export interface CreateIndexRequest {
1576
1560
  * 是否生效,默认为true
1577
1561
  */
1578
1562
  Status?: boolean;
1563
+ /**
1564
+ * 全文索引系统预置字段标记,默认false。 false:不包含系统预置字段, true:包含系统预置字段
1565
+ */
1566
+ IncludeInternalFields?: boolean;
1567
+ /**
1568
+ * 元数据相关标志位,默认为0。 0:全文索引包括开启键值索引的元数据字段, 1:全文索引包括所有元数据字段,2:全文索引不包括元数据字段。
1569
+ */
1570
+ MetadataFlag?: number;
1579
1571
  }
1580
1572
  /**
1581
1573
  * DeleteConsumer返回参数结构体
@@ -1750,11 +1742,11 @@ export interface AlarmTarget {
1750
1742
  */
1751
1743
  Number: number;
1752
1744
  /**
1753
- * 查询范围起始时间相对当前的历史时间,单位非分钟,取值为非正,最大值为0,最小值为-1440。
1745
+ * 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。
1754
1746
  */
1755
1747
  StartTimeOffset: number;
1756
1748
  /**
1757
- * 查询范围终止时间相对当前的历史时间,单位非分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
1749
+ * 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
1758
1750
  */
1759
1751
  EndTimeOffset: number;
1760
1752
  /**
@@ -1762,6 +1754,15 @@ export interface AlarmTarget {
1762
1754
  */
1763
1755
  LogsetId: string;
1764
1756
  }
1757
+ /**
1758
+ * OpenKafkaConsumer请求参数结构体
1759
+ */
1760
+ export interface OpenKafkaConsumerRequest {
1761
+ /**
1762
+ * CLS控制台创建的TopicId
1763
+ */
1764
+ FromTopicId: string;
1765
+ }
1765
1766
  /**
1766
1767
  * DeleteConfig返回参数结构体
1767
1768
  */
@@ -1889,6 +1890,45 @@ export interface DescribeConfigsRequest {
1889
1890
  */
1890
1891
  Limit?: number;
1891
1892
  }
1893
+ /**
1894
+ * 日志集相关信息
1895
+ */
1896
+ export interface LogsetInfo {
1897
+ /**
1898
+ * 日志集ID
1899
+ */
1900
+ LogsetId: string;
1901
+ /**
1902
+ * 日志集名称
1903
+ */
1904
+ LogsetName: string;
1905
+ /**
1906
+ * 创建时间
1907
+ */
1908
+ CreateTime: string;
1909
+ /**
1910
+ * 日志集绑定的标签
1911
+ 注意:此字段可能返回 null,表示取不到有效值。
1912
+ */
1913
+ Tags: Array<Tag>;
1914
+ /**
1915
+ * 日志集下日志主题的数目
1916
+ */
1917
+ TopicCount: number;
1918
+ /**
1919
+ * 若AssumerUin非空,则表示创建该日志集的服务方角色
1920
+ */
1921
+ RoleName: string;
1922
+ }
1923
+ /**
1924
+ * DescribeConsumer请求参数结构体
1925
+ */
1926
+ export interface DescribeConsumerRequest {
1927
+ /**
1928
+ * 投递任务绑定的日志主题 ID
1929
+ */
1930
+ TopicId: string;
1931
+ }
1892
1932
  /**
1893
1933
  * DeleteConfig请求参数结构体
1894
1934
  */
@@ -1957,45 +1997,24 @@ export interface ShipperTaskInfo {
1957
1997
  Message: string;
1958
1998
  }
1959
1999
  /**
1960
- * 日志集相关信息
2000
+ * CloseKafkaConsumer请求参数结构体
1961
2001
  */
1962
- export interface LogsetInfo {
2002
+ export interface CloseKafkaConsumerRequest {
1963
2003
  /**
1964
- * 日志集ID
2004
+ * CLS对应的topic标识
1965
2005
  */
1966
- LogsetId: string;
2006
+ FromTopicId: string;
2007
+ }
2008
+ /**
2009
+ * CreateExport请求参数结构体
2010
+ */
2011
+ export interface CreateExportRequest {
1967
2012
  /**
1968
- * 日志集名称
2013
+ * 日志主题ID
1969
2014
  */
1970
- LogsetName: string;
2015
+ TopicId: string;
1971
2016
  /**
1972
- * 创建时间
1973
- */
1974
- CreateTime: string;
1975
- /**
1976
- * 日志集绑定的标签
1977
- 注意:此字段可能返回 null,表示取不到有效值。
1978
- */
1979
- Tags: Array<Tag>;
1980
- /**
1981
- * 日志集下日志主题的数目
1982
- */
1983
- TopicCount: number;
1984
- /**
1985
- * 若AssumerUin非空,则表示创建该日志集的服务方角色
1986
- */
1987
- RoleName: string;
1988
- }
1989
- /**
1990
- * CreateExport请求参数结构体
1991
- */
1992
- export interface CreateExportRequest {
1993
- /**
1994
- * 日志主题ID
1995
- */
1996
- TopicId: string;
1997
- /**
1998
- * 日志导出数量, 最大值5000万
2017
+ * 日志导出数量, 最大值5000万
1999
2018
  */
2000
2019
  Count: number;
2001
2020
  /**
@@ -2037,6 +2056,15 @@ export interface DescribeAlarmNoticesResponse {
2037
2056
  */
2038
2057
  RequestId?: string;
2039
2058
  }
2059
+ /**
2060
+ * DeleteDataTransform请求参数结构体
2061
+ */
2062
+ export interface DeleteDataTransformRequest {
2063
+ /**
2064
+ * 数据加工任务id
2065
+ */
2066
+ TaskId: string;
2067
+ }
2040
2068
  /**
2041
2069
  * DeleteConfigExtra请求参数结构体
2042
2070
  */
@@ -2330,6 +2358,14 @@ export interface ModifyIndexRequest {
2330
2358
  * 索引规则
2331
2359
  */
2332
2360
  Rule?: RuleInfo;
2361
+ /**
2362
+ * 全文索引系统预置字段标记,默认false。 false:不包含系统预置字段, true:包含系统预置字段
2363
+ */
2364
+ IncludeInternalFields?: boolean;
2365
+ /**
2366
+ * 元数据相关标志位,默认为0。 0:全文索引包括开启键值索引的元数据字段, 1:全文索引包括所有元数据字段,2:全文索引不包括元数据字段。
2367
+ */
2368
+ MetadataFlag?: number;
2333
2369
  }
2334
2370
  /**
2335
2371
  * 日志分析的列属性
@@ -2376,37 +2412,43 @@ export interface ValueInfo {
2376
2412
  ContainZH?: boolean;
2377
2413
  }
2378
2414
  /**
2379
- * GetAlarmLog请求参数结构体
2415
+ * DescribeDataTransformInfo请求参数结构体
2380
2416
  */
2381
- export interface GetAlarmLogRequest {
2382
- /**
2383
- * 要查询的日志的起始时间,Unix时间戳,单位ms
2384
- */
2385
- From: number;
2417
+ export interface DescribeDataTransformInfoRequest {
2386
2418
  /**
2387
- * 要查询的日志的结束时间,Unix时间戳,单位ms
2388
- */
2389
- To: number;
2419
+ * <br><li> taskName
2420
+
2421
+ 按照【加工任务名称】进行过滤。
2422
+ 类型:String
2423
+
2424
+ 必选:否
2425
+
2426
+ <br><li> taskId
2427
+
2428
+ 按照【加工任务id】进行过滤。
2429
+ 类型:String
2430
+
2431
+ 必选:否
2432
+
2433
+ 每次请求的Filters的上限为10,Filter.Values的上限为100。
2434
+ */
2435
+ Filters?: Array<Filter>;
2390
2436
  /**
2391
- * 查询语句,语句长度最大为1024
2437
+ * 分页的偏移量,默认值为0。
2392
2438
  */
2393
- Query: string;
2439
+ Offset?: number;
2394
2440
  /**
2395
- * 单次查询返回的日志条数,最大值为1000
2441
+ * 分页单页限制数目,默认值为20,最大值100。
2396
2442
  */
2397
2443
  Limit?: number;
2398
2444
  /**
2399
- * 加载更多日志时使用,透传上次返回的Context值,获取后续的日志内容
2400
- */
2401
- Context?: string;
2402
- /**
2403
- * 日志接口是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
2445
+ * 默认值为2. 1: 获取单个任务的详细信息 2:获取任务列表
2404
2446
  */
2405
- Sort?: string;
2447
+ Type?: number;
2406
2448
  /**
2407
- * 为true代表使用新检索,响应参数AnalysisRecords和Columns有效, 为false时代表使用老检索方式, AnalysisResults和ColNames有效
2449
+ * Type1, 此参数必填
2408
2450
  */
2409
- UseNewAnalysis?: boolean;
2451
+ TaskId?: string;
2410
2452
  }
2411
2453
  /**
2412
2454
  * DeleteShipper返回参数结构体
@@ -2474,6 +2516,27 @@ export interface ExportInfo {
2474
2516
  */
2475
2517
  CreateTime: string;
2476
2518
  }
2519
+ /**
2520
+ * DescribeLogContext返回参数结构体
2521
+ */
2522
+ export interface DescribeLogContextResponse {
2523
+ /**
2524
+ * 日志上下文信息集合
2525
+ */
2526
+ LogContextInfos: Array<LogContextInfo>;
2527
+ /**
2528
+ * 上文日志是否已经返回
2529
+ */
2530
+ PrevOver: boolean;
2531
+ /**
2532
+ * 下文日志是否已经返回
2533
+ */
2534
+ NextOver: boolean;
2535
+ /**
2536
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2537
+ */
2538
+ RequestId?: string;
2539
+ }
2477
2540
  /**
2478
2541
  * 采集规则配置信息
2479
2542
  */
@@ -2548,6 +2611,19 @@ export interface SplitPartitionResponse {
2548
2611
  */
2549
2612
  RequestId?: string;
2550
2613
  }
2614
+ /**
2615
+ * CreateDataTransform返回参数结构体
2616
+ */
2617
+ export interface CreateDataTransformResponse {
2618
+ /**
2619
+ * 任务id
2620
+ */
2621
+ TaskId: string;
2622
+ /**
2623
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2624
+ */
2625
+ RequestId?: string;
2626
+ }
2551
2627
  /**
2552
2628
  * 日志上下文信息
2553
2629
  */
@@ -2627,25 +2703,97 @@ export interface ModifyShipperRequest {
2627
2703
  Content?: ContentInfo;
2628
2704
  }
2629
2705
  /**
2630
- * DescribeLogContext返回参数结构体
2706
+ * 索引规则,FullText、KeyValue、Tag参数必须输入一个有效参数
2631
2707
  */
2632
- export interface DescribeLogContextResponse {
2708
+ export interface RuleInfo {
2633
2709
  /**
2634
- * 日志上下文信息集合
2710
+ * 全文索引配置
2711
+ 注意:此字段可能返回 null,表示取不到有效值。
2712
+ */
2713
+ FullText?: FullTextInfo;
2714
+ /**
2715
+ * 键值索引配置
2716
+ 注意:此字段可能返回 null,表示取不到有效值。
2717
+ */
2718
+ KeyValue?: RuleKeyValueInfo;
2719
+ /**
2720
+ * 元字段索引配置
2721
+ 注意:此字段可能返回 null,表示取不到有效值。
2722
+ */
2723
+ Tag?: RuleTagInfo;
2724
+ }
2725
+ /**
2726
+ * CreateConfigExtra请求参数结构体
2727
+ */
2728
+ export interface CreateConfigExtraRequest {
2729
+ /**
2730
+ * 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾
2635
2731
  */
2636
- LogContextInfos: Array<LogContextInfo>;
2732
+ Name: string;
2637
2733
  /**
2638
- * 上文日志是否已经返回
2734
+ * 日志主题id
2639
2735
  */
2640
- PrevOver: boolean;
2736
+ TopicId: string;
2641
2737
  /**
2642
- * 下文日志是否已经返回
2738
+ * 类型:container_stdout、container_file、host_file
2643
2739
  */
2644
- NextOver: boolean;
2740
+ Type: string;
2645
2741
  /**
2646
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2742
+ * 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
2647
2743
  */
2648
- RequestId?: string;
2744
+ LogType: string;
2745
+ /**
2746
+ * 采集配置标
2747
+ */
2748
+ ConfigFlag: string;
2749
+ /**
2750
+ * 日志集id
2751
+ */
2752
+ LogsetId: string;
2753
+ /**
2754
+ * 日志集name
2755
+ */
2756
+ LogsetName: string;
2757
+ /**
2758
+ * 日志主题名称
2759
+ */
2760
+ TopicName: string;
2761
+ /**
2762
+ * 节点文件配置信息
2763
+ */
2764
+ HostFile?: HostFileInfo;
2765
+ /**
2766
+ * 容器文件路径信息
2767
+ */
2768
+ ContainerFile?: ContainerFileInfo;
2769
+ /**
2770
+ * 容器标准输出信息
2771
+ */
2772
+ ContainerStdout?: ContainerStdoutInfo;
2773
+ /**
2774
+ * 日志格式化方式
2775
+ */
2776
+ LogFormat?: string;
2777
+ /**
2778
+ * 提取规则,如果设置了ExtractRule,则必须设置LogType
2779
+ */
2780
+ ExtractRule?: ExtractRuleInfo;
2781
+ /**
2782
+ * 采集黑名单路径列表
2783
+ */
2784
+ ExcludePaths?: Array<ExcludePathInfo>;
2785
+ /**
2786
+ * 用户自定义采集规则,Json格式序列化的字符串
2787
+ */
2788
+ UserDefineRule?: string;
2789
+ /**
2790
+ * 绑定的机器组id
2791
+ */
2792
+ GroupId?: string;
2793
+ /**
2794
+ * 绑定的机器组id列表
2795
+ */
2796
+ GroupIds?: Array<string>;
2649
2797
  }
2650
2798
  /**
2651
2799
  * CreateConsumer请求参数结构体
@@ -2727,6 +2875,63 @@ export interface ModifyAlarmNoticeResponse {
2727
2875
  */
2728
2876
  RequestId?: string;
2729
2877
  }
2878
+ /**
2879
+ * 数据加工任务基本详情
2880
+ */
2881
+ export interface DataTransformTaskInfo {
2882
+ /**
2883
+ * 数据加工任务名称
2884
+ */
2885
+ Name: string;
2886
+ /**
2887
+ * 数据加工任务id
2888
+ */
2889
+ TaskId: string;
2890
+ /**
2891
+ * 任务启用状态,默认为1,正常开启, 2关闭
2892
+ */
2893
+ EnableFlag: number;
2894
+ /**
2895
+ * 加工任务类型,1: DSL, 2:SQL
2896
+ */
2897
+ Type: number;
2898
+ /**
2899
+ * 源日志主题
2900
+ */
2901
+ SrcTopicId: string;
2902
+ /**
2903
+ * 当前加工任务状态(1准备中/2运行中/3停止中/4已停止)
2904
+ */
2905
+ Status: number;
2906
+ /**
2907
+ * 加工任务创建时间
2908
+ */
2909
+ CreateTime: string;
2910
+ /**
2911
+ * 最近修改时间
2912
+ */
2913
+ UpdateTime: string;
2914
+ /**
2915
+ * 最后启用时间,如果需要重建集群,修改该时间
2916
+ */
2917
+ LastEnableTime: string;
2918
+ /**
2919
+ * 日志主题名称
2920
+ */
2921
+ SrcTopicName: string;
2922
+ /**
2923
+ * 日志集id
2924
+ */
2925
+ LogsetId: string;
2926
+ /**
2927
+ * 加工任务目的topic_id以及别名
2928
+ */
2929
+ DstResources: Array<DataTransformResouceInfo>;
2930
+ /**
2931
+ * 加工逻辑函数
2932
+ */
2933
+ EtlContent: string;
2934
+ }
2730
2935
  /**
2731
2936
  * DescribeMachines返回参数结构体
2732
2937
  */
@@ -2760,6 +2965,36 @@ export interface DescribeMachinesResponse {
2760
2965
  */
2761
2966
  RequestId?: string;
2762
2967
  }
2968
+ /**
2969
+ * 预览数据详情
2970
+ */
2971
+ export interface PreviewLogStatistic {
2972
+ /**
2973
+ * 日志内容
2974
+ */
2975
+ LogContent: string;
2976
+ /**
2977
+ * 行号
2978
+ */
2979
+ LineNum: number;
2980
+ /**
2981
+ * 目标日志主题
2982
+ */
2983
+ DstTopicId?: string;
2984
+ /**
2985
+ * 失败错误码, 空字符串""表示正常
2986
+ */
2987
+ FailReason?: string;
2988
+ /**
2989
+ * 日志时间戳
2990
+ */
2991
+ Time?: string;
2992
+ /**
2993
+ * 目标topic-name
2994
+ 注意:此字段可能返回 null,表示取不到有效值。
2995
+ */
2996
+ DstTopicName?: string;
2997
+ }
2763
2998
  /**
2764
2999
  * 投递日志的内容格式配置
2765
3000
  */
@@ -3245,6 +3480,39 @@ export interface ApplyConfigToMachineGroupRequest {
3245
3480
  */
3246
3481
  GroupId: string;
3247
3482
  }
3483
+ /**
3484
+ * GetAlarmLog请求参数结构体
3485
+ */
3486
+ export interface GetAlarmLogRequest {
3487
+ /**
3488
+ * 要查询的日志的起始时间,Unix时间戳,单位ms
3489
+ */
3490
+ From: number;
3491
+ /**
3492
+ * 要查询的日志的结束时间,Unix时间戳,单位ms
3493
+ */
3494
+ To: number;
3495
+ /**
3496
+ * 查询语句,语句长度最大为1024
3497
+ */
3498
+ Query: string;
3499
+ /**
3500
+ * 单次查询返回的日志条数,最大值为1000
3501
+ */
3502
+ Limit?: number;
3503
+ /**
3504
+ * 加载更多日志时使用,透传上次返回的Context值,获取后续的日志内容
3505
+ */
3506
+ Context?: string;
3507
+ /**
3508
+ * 日志接口是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
3509
+ */
3510
+ Sort?: string;
3511
+ /**
3512
+ * 为true代表使用新检索,响应参数AnalysisRecords和Columns有效, 为false时代表使用老检索方式, AnalysisResults和ColNames有效
3513
+ */
3514
+ UseNewAnalysis?: boolean;
3515
+ }
3248
3516
  /**
3249
3517
  * 自建k8s-容器文件路径信息
3250
3518
  */
@@ -3374,6 +3642,16 @@ export interface DescribeIndexResponse {
3374
3642
  * 索引修改时间,初始值为索引创建时间。
3375
3643
  */
3376
3644
  ModifyTime: string;
3645
+ /**
3646
+ * 全文索引系统预置字段标记,默认false。 false:不包含系统预置字段, true:包含系统预置字段
3647
+ 注意:此字段可能返回 null,表示取不到有效值。
3648
+ */
3649
+ IncludeInternalFields: boolean;
3650
+ /**
3651
+ * 元数据相关标志位,默认为0。 0:全文索引包括开启键值索引的元数据字段, 1:全文索引包括所有元数据字段,2:全文索引不包括元数据字段。
3652
+ 注意:此字段可能返回 null,表示取不到有效值。
3653
+ */
3654
+ MetadataFlag: number;
3377
3655
  /**
3378
3656
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3379
3657
  */
@@ -3475,21 +3753,41 @@ export interface ModifyConfigExtraRequest {
3475
3753
  TopicName?: string;
3476
3754
  }
3477
3755
  /**
3478
- * ModifyLogset请求参数结构体
3756
+ * CreateDataTransform请求参数结构体
3479
3757
  */
3480
- export interface ModifyLogsetRequest {
3758
+ export interface CreateDataTransformRequest {
3481
3759
  /**
3482
- * 日志集ID
3760
+ * 函数类型. DSL:1 SQL:2
3483
3761
  */
3484
- LogsetId: string;
3762
+ FuncType: number;
3485
3763
  /**
3486
- * 日志集名称
3764
+ * 源日志主题
3487
3765
  */
3488
- LogsetName?: string;
3766
+ SrcTopicId: string;
3489
3767
  /**
3490
- * 日志集的绑定的标签键值对。最大支持10个标签键值对,同一个资源只能同时绑定一个标签键。
3768
+ * 加工任务名称
3491
3769
  */
3492
- Tags?: Array<Tag>;
3770
+ Name: string;
3771
+ /**
3772
+ * 加工逻辑函数
3773
+ */
3774
+ EtlContent: string;
3775
+ /**
3776
+ * 加工任务目的topic_id以及别名
3777
+ */
3778
+ DstResources: Array<DataTransformResouceInfo>;
3779
+ /**
3780
+ * 任务类型. 以SrcTopicId为数据源建立预览任务:1,以PreviewLogStatistics为数据源建立预览任务:2 真实任务:3
3781
+ */
3782
+ TaskType: number;
3783
+ /**
3784
+ * 任务启动状态. 默认为1,正常开启, 2关闭
3785
+ */
3786
+ EnableFlag?: number;
3787
+ /**
3788
+ * 测试数据
3789
+ */
3790
+ PreviewLogStatistics?: Array<PreviewLogStatistic>;
3493
3791
  }
3494
3792
  /**
3495
3793
  * DescribeMachineGroups返回参数结构体
@@ -3578,6 +3876,32 @@ export interface Filter {
3578
3876
  */
3579
3877
  Values: Array<string>;
3580
3878
  }
3879
+ /**
3880
+ * ModifyDataTransform返回参数结构体
3881
+ */
3882
+ export interface ModifyDataTransformResponse {
3883
+ /**
3884
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3885
+ */
3886
+ RequestId?: string;
3887
+ }
3888
+ /**
3889
+ * DescribeDataTransformInfo返回参数结构体
3890
+ */
3891
+ export interface DescribeDataTransformInfoResponse {
3892
+ /**
3893
+ * 数据加工任务列表信息
3894
+ */
3895
+ DataTransformTaskInfos: Array<DataTransformTaskInfo>;
3896
+ /**
3897
+ * 任务总次数
3898
+ */
3899
+ TotalCount: number;
3900
+ /**
3901
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3902
+ */
3903
+ RequestId?: string;
3904
+ }
3581
3905
  /**
3582
3906
  * 投递任务出入参 Content
3583
3907
  */