tencentcloud-sdk-nodejs-cls 4.1.94 → 4.1.97

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.1.94",
3
+ "version": "4.1.97",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -600,7 +600,8 @@ export interface DeleteConsoleSharingRequest {
600
600
  */
601
601
  export interface UploadLogRequest {
602
602
  /**
603
- * 主题id
603
+ * 日志主题id
604
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
604
605
  */
605
606
  TopicId: string;
606
607
  /**
@@ -609,7 +610,9 @@ export interface UploadLogRequest {
609
610
  */
610
611
  HashKey?: string;
611
612
  /**
612
- * 压缩方法
613
+ * 压缩方法,目前支持
614
+ - lz4
615
+ - zstd
613
616
  */
614
617
  CompressType?: string;
615
618
  }
@@ -1214,11 +1217,11 @@ export interface KafkaRechargeInfo {
1214
1217
  */
1215
1218
  Offset?: number;
1216
1219
  /**
1217
- * 创建时间
1220
+ * 创建时间。格式`YYYY-MM-DD HH:MM:SS`
1218
1221
  */
1219
1222
  CreateTime?: string;
1220
1223
  /**
1221
- * 更新时间
1224
+ * 更新时间。格式`YYYY-MM-DD HH:MM:SS`
1222
1225
  */
1223
1226
  UpdateTime?: string;
1224
1227
  /**
@@ -1240,7 +1243,12 @@ export interface DeleteKafkaRechargeResponse {
1240
1243
  */
1241
1244
  export interface ContainerWorkLoadInfo {
1242
1245
  /**
1243
- * 工作负载的类型
1246
+ * 工作负载的类型,支持
1247
+ - deployment
1248
+ - statefulset
1249
+ - daemonset
1250
+ - job
1251
+ - cronjob
1244
1252
  */
1245
1253
  Kind: string;
1246
1254
  /**
@@ -2637,7 +2645,12 @@ export interface TopicExtendInfo {
2637
2645
  */
2638
2646
  export interface EventLog {
2639
2647
  /**
2640
- * 事件通道,支持Application,Security,Setup,System,ALL
2648
+ * 事件通道,支持
2649
+ - Application 应用日志
2650
+ - Security 安全日志
2651
+ - Setup 启动日志
2652
+ - System 系统日志
2653
+ - ALL 所有日志
2641
2654
 
2642
2655
  */
2643
2656
  EventChannel: string;
@@ -2646,7 +2659,7 @@ export interface EventLog {
2646
2659
  */
2647
2660
  TimeType: number;
2648
2661
  /**
2649
- * 时间,用户选择自定义时间类型时,需要指定时间
2662
+ * 时间,用户选择自定义时间类型时,需要指定时间,单位秒
2650
2663
  */
2651
2664
  Timestamp?: number;
2652
2665
  /**
@@ -3236,6 +3249,8 @@ export interface CheckRechargeKafkaServerRequest {
3236
3249
  /**
3237
3250
  * 腾讯云CKafka实例ID。
3238
3251
  KafkaType为0时,KafkaInstance必填
3252
+
3253
+ - 通过 [获取实例列表信息](https://cloud.tencent.com/document/product/597/40835) 获取实例id。
3239
3254
  */
3240
3255
  KafkaInstance?: string;
3241
3256
  /**
@@ -5867,6 +5882,7 @@ export interface PreviewKafkaRechargeRequest {
5867
5882
  Offset: number;
5868
5883
  /**
5869
5884
  * 腾讯云CKafka实例ID,当KafkaType为0时参数KafkaInstance有效且必填。
5885
+ - 通过 [获取实例列表信息](https://cloud.tencent.com/document/product/597/40835) 获取实例id。
5870
5886
  */
5871
5887
  KafkaInstance?: string;
5872
5888
  /**
@@ -5885,7 +5901,9 @@ export interface PreviewKafkaRechargeRequest {
5885
5901
  */
5886
5902
  Protocol?: KafkaProtocolInfo;
5887
5903
  /**
5888
- * 用户Kafka消费组
5904
+ * 用户Kafka消费组。
5905
+
5906
+ - 消费组是 Kafka 提供的可扩展且具有容错性的消费者机制,一个消费组中存在多个消费者,组内的所有消费者共同消费订阅 Topic 中的消息。一个消费者可同时消费多个 Partition,但一个 Partition 只能被消费组内的一个消费者消费。
5889
5907
  */
5890
5908
  ConsumerGroupName?: string;
5891
5909
  /**
@@ -6137,11 +6155,15 @@ export interface CreateKafkaRechargeRequest {
6137
6155
  */
6138
6156
  export interface DeleteKafkaRechargeRequest {
6139
6157
  /**
6140
- * Kafka导入配置ID
6158
+ * Kafka导入配置Id。
6159
+
6160
+ - 通过 [创建Kafka数据订阅任务](https://cloud.tencent.com/document/product/614/94448)获取Kafka导入配置Id。
6161
+ - 通过 [获取Kafka数据订阅任务列表](https://cloud.tencent.com/document/product/614/94446)获取Kafka导入配置Id。
6141
6162
  */
6142
6163
  Id: string;
6143
6164
  /**
6144
- * 导入CLS目标topic ID
6165
+ * 导入CLS目标日志主题Id。
6166
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
6145
6167
  */
6146
6168
  TopicId: string;
6147
6169
  }
@@ -7728,6 +7750,7 @@ export interface DescribeMachineGroupConfigsRequest {
7728
7750
  export interface ModifyConfigExtraRequest {
7729
7751
  /**
7730
7752
  * 采集配置扩展信息id
7753
+ - 通过[获取特殊采集配置](https://cloud.tencent.com/document/api/614/71164)获取采集配置扩展信息id。
7731
7754
  */
7732
7755
  ConfigExtraId: string;
7733
7756
  /**
@@ -7736,10 +7759,11 @@ export interface ModifyConfigExtraRequest {
7736
7759
  Name?: string;
7737
7760
  /**
7738
7761
  * 日志主题id
7762
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
7739
7763
  */
7740
7764
  TopicId?: string;
7741
7765
  /**
7742
- * 节点文件配置信息
7766
+ * 自建k8s-节点文件配置信息,包括文件路径、名称及元数据相关信息,详细参考https://cloud.tencent.com/document/api/614/56471#HostFileInfo
7743
7767
  */
7744
7768
  HostFile?: HostFileInfo;
7745
7769
  /**
@@ -7748,7 +7772,7 @@ export interface ModifyConfigExtraRequest {
7748
7772
  */
7749
7773
  ContainerFile?: ContainerFileInfo;
7750
7774
  /**
7751
- * 容器标准输出信息
7775
+ * 自建k8s-容器标准输出信息,包括容器、命名空间等,详细参考https://cloud.tencent.com/document/api/614/56471#ContainerStdoutInfo
7752
7776
  */
7753
7777
  ContainerStdout?: ContainerStdoutInfo;
7754
7778
  /**
@@ -7784,11 +7808,15 @@ export interface ModifyConfigExtraRequest {
7784
7808
  */
7785
7809
  UserDefineRule?: string;
7786
7810
  /**
7787
- * 类型:container_stdout、container_file、host_file
7811
+ * 容器场景,日志采集输入类型,支持以下三种类型
7812
+ - container_stdout 标准输出
7813
+ - container_file 容器文件
7814
+ - host_file 主机节点文件
7788
7815
  */
7789
7816
  Type?: string;
7790
7817
  /**
7791
7818
  * 机器组ID
7819
+ - 通过[获取机器组列表](https://cloud.tencent.com/document/api/614/56438)获取机器组Id。
7792
7820
  */
7793
7821
  GroupId?: string;
7794
7822
  /**
@@ -7797,14 +7825,17 @@ export interface ModifyConfigExtraRequest {
7797
7825
  ConfigFlag?: string;
7798
7826
  /**
7799
7827
  * 日志集ID
7828
+ - 通过[获取日志集列表](https://cloud.tencent.com/document/api/614/58624)获取日志集Id。
7800
7829
  */
7801
7830
  LogsetId?: string;
7802
7831
  /**
7803
- * 日志集name
7832
+ * 日志集名称
7833
+ - 通过[获取日志集列表](https://cloud.tencent.com/document/api/614/58624)获取日志集名称。
7804
7834
  */
7805
7835
  LogsetName?: string;
7806
7836
  /**
7807
- * 日志主题name
7837
+ * 日志主题名称
7838
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题名称。
7808
7839
  */
7809
7840
  TopicName?: string;
7810
7841
  /**
@@ -7931,7 +7962,20 @@ export interface DeleteMachineGroupInfoResponse {
7931
7962
  */
7932
7963
  export interface CheckRechargeKafkaServerResponse {
7933
7964
  /**
7934
- * Kafka集群可访问状态,0:可正常访问 ...
7965
+ * Kafka集群可访问状态。
7966
+
7967
+ - 0:可正常访问
7968
+ - -1:broker 连接失败
7969
+ - -2:sasl 鉴权失败
7970
+ - -3:ckafka 角色未授权
7971
+ - -4:topic 列表不存在
7972
+ - -5:topic 内暂无数据
7973
+ - -6:用户没有 ckafka 权限
7974
+ - -7:消费组已经存在
7975
+ - -8:kafka 实例不存在或已销毁
7976
+ - -9:Broker 列表为空
7977
+ - -10:Broker 地址格式不正确
7978
+ - -11:Broker 端口非整型
7935
7979
  */
7936
7980
  Status?: number;
7937
7981
  /**