tencentcloud-sdk-cls 3.0.782 → 3.0.783

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201016/models.rb +54 -20
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e91f011f83fa30e90a604289b201d5be663f9709
4
- data.tar.gz: 31bef3538973967284b87a6724de1415fc692750
3
+ metadata.gz: ea76860e542d3ac65a6187a423f222341838bc3f
4
+ data.tar.gz: 082919a4e01fc6bb062e5c1a33918a466fdd9a45
5
5
  SHA512:
6
- metadata.gz: 9d4a316897a1a3616197de53a9bf6af151c000d260dde7d6479d8afaf440a0008637b71537a583fb984432d885927963b5f09eaf0ec728533be638ca4db1cf22
7
- data.tar.gz: 6a7caf6dd8d25c5f7332115d99dda3a9192015488b287fa9cc70ef926f6216e59547fdd3bc0bd80155de5393a4297803a89537a940b8407be7fa6fc46b3e2b61
6
+ metadata.gz: e7d8eb3f5bf50b769de50c9bdc48e421a25f76a5a9b7b4af7e4f2255604caabbfee6436eb9f007e45ee8eb110fa085f7ba7c76031232694b610641cd14e1b446
7
+ data.tar.gz: 499a69ce2064f1f6ae75d8f013172c48a0ae8fe67a798f8798903aabd142b6e9cc131b7cb675cc89d6d45159d3c1df25200ac439893ce76ef6dbf6c2b4c7bd4c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.782
1
+ 3.0.783
@@ -1139,7 +1139,16 @@ module TencentCloud
1139
1139
  # @param Path: 日志采集路径
1140
1140
  # 注意:此字段可能返回 null,表示取不到有效值。
1141
1141
  # @type Path: String
1142
- # @param LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
1142
+ # @param LogType: 采集的日志类型。
1143
+ # - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
1144
+ # - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
1145
+ # - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
1146
+ # - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
1147
+ # - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
1148
+ # - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
1149
+ # - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
1150
+ # - service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
1151
+ # - windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
1143
1152
  # 注意:此字段可能返回 null,表示取不到有效值。
1144
1153
  # @type LogType: String
1145
1154
  # @param ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
@@ -1155,14 +1164,17 @@ module TencentCloud
1155
1164
  # @type UpdateTime: String
1156
1165
  # @param CreateTime: 创建时间
1157
1166
  # @type CreateTime: String
1158
- # @param UserDefineRule: 用户自定义解析字符串
1167
+ # @param UserDefineRule: 用户自定义解析字符串,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)。
1159
1168
  # 注意:此字段可能返回 null,表示取不到有效值。
1160
1169
  # @type UserDefineRule: String
1161
1170
  # @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
1162
1171
  # - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
1163
1172
  # - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
1164
1173
  # - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
1165
- # 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
1174
+ # 样例:
1175
+ # `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
1176
+
1177
+ # 控制台默认占位值:`{\"ClsAgentDefault\":0}`
1166
1178
  # 注意:此字段可能返回 null,表示取不到有效值。
1167
1179
  # @type AdvancedConfig: String
1168
1180
 
@@ -2000,19 +2012,31 @@ module TencentCloud
2000
2012
  # @type Output: String
2001
2013
  # @param Path: 日志采集路径,包含文件名
2002
2014
  # @type Path: String
2003
- # @param LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
2015
+ # @param LogType: 采集的日志类型,默认为minimalist_log。支持以下类型:
2016
+ # - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
2017
+ # - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
2018
+ # - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
2019
+ # - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
2020
+ # - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
2021
+ # - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
2022
+ # - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
2023
+ # - service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
2024
+ # - windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
2004
2025
  # @type LogType: String
2005
2026
  # @param ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
2006
2027
  # @type ExtractRule: :class:`Tencentcloud::Cls.v20201016.models.ExtractRuleInfo`
2007
2028
  # @param ExcludePaths: 采集黑名单路径列表
2008
2029
  # @type ExcludePaths: Array
2009
- # @param UserDefineRule: 用户自定义采集规则,Json格式序列化的字符串
2030
+ # @param UserDefineRule: 用户自定义采集规则,Json格式序列化的字符串。当LogType为user_define_log时,必填。
2010
2031
  # @type UserDefineRule: String
2011
2032
  # @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
2012
2033
  # - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
2013
2034
  # - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
2014
2035
  # - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
2015
- # 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
2036
+ # 样例:
2037
+ # `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
2038
+
2039
+ # 控制台默认占位值:`{\"ClsAgentDefault\":0}`
2016
2040
  # @type AdvancedConfig: String
2017
2041
 
2018
2042
  attr_accessor :Name, :Output, :Path, :LogType, :ExtractRule, :ExcludePaths, :UserDefineRule, :AdvancedConfig
@@ -2463,6 +2487,8 @@ module TencentCloud
2463
2487
  # @type UserKafkaTopics: String
2464
2488
  # @param Offset: 导入数据位置,-2:最早(默认),-1:最晚
2465
2489
  # @type Offset: Integer
2490
+ # @param LogRechargeRule: 日志导入规则。
2491
+ # @type LogRechargeRule: :class:`Tencentcloud::Cls.v20201016.models.LogRechargeRuleInfo`
2466
2492
  # @param KafkaInstance: 腾讯云CKafka实例ID,KafkaType为0时必填
2467
2493
  # @type KafkaInstance: String
2468
2494
  # @param ServerAddr: 服务地址,KafkaType为1时必填
@@ -2474,24 +2500,21 @@ module TencentCloud
2474
2500
  # @type Protocol: :class:`Tencentcloud::Cls.v20201016.models.KafkaProtocolInfo`
2475
2501
  # @param ConsumerGroupName: 用户Kafka消费组名称
2476
2502
  # @type ConsumerGroupName: String
2477
- # @param LogRechargeRule: 日志导入规则。
2478
- # 必填字段。
2479
- # @type LogRechargeRule: :class:`Tencentcloud::Cls.v20201016.models.LogRechargeRuleInfo`
2480
2503
 
2481
- attr_accessor :TopicId, :Name, :KafkaType, :UserKafkaTopics, :Offset, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :ConsumerGroupName, :LogRechargeRule
2504
+ attr_accessor :TopicId, :Name, :KafkaType, :UserKafkaTopics, :Offset, :LogRechargeRule, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :ConsumerGroupName
2482
2505
 
2483
- def initialize(topicid=nil, name=nil, kafkatype=nil, userkafkatopics=nil, offset=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, consumergroupname=nil, logrechargerule=nil)
2506
+ def initialize(topicid=nil, name=nil, kafkatype=nil, userkafkatopics=nil, offset=nil, logrechargerule=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, consumergroupname=nil)
2484
2507
  @TopicId = topicid
2485
2508
  @Name = name
2486
2509
  @KafkaType = kafkatype
2487
2510
  @UserKafkaTopics = userkafkatopics
2488
2511
  @Offset = offset
2512
+ @LogRechargeRule = logrechargerule
2489
2513
  @KafkaInstance = kafkainstance
2490
2514
  @ServerAddr = serveraddr
2491
2515
  @IsEncryptionAddr = isencryptionaddr
2492
2516
  @Protocol = protocol
2493
2517
  @ConsumerGroupName = consumergroupname
2494
- @LogRechargeRule = logrechargerule
2495
2518
  end
2496
2519
 
2497
2520
  def deserialize(params)
@@ -2500,6 +2523,10 @@ module TencentCloud
2500
2523
  @KafkaType = params['KafkaType']
2501
2524
  @UserKafkaTopics = params['UserKafkaTopics']
2502
2525
  @Offset = params['Offset']
2526
+ unless params['LogRechargeRule'].nil?
2527
+ @LogRechargeRule = LogRechargeRuleInfo.new
2528
+ @LogRechargeRule.deserialize(params['LogRechargeRule'])
2529
+ end
2503
2530
  @KafkaInstance = params['KafkaInstance']
2504
2531
  @ServerAddr = params['ServerAddr']
2505
2532
  @IsEncryptionAddr = params['IsEncryptionAddr']
@@ -2508,10 +2535,6 @@ module TencentCloud
2508
2535
  @Protocol.deserialize(params['Protocol'])
2509
2536
  end
2510
2537
  @ConsumerGroupName = params['ConsumerGroupName']
2511
- unless params['LogRechargeRule'].nil?
2512
- @LogRechargeRule = LogRechargeRuleInfo.new
2513
- @LogRechargeRule.deserialize(params['LogRechargeRule'])
2514
- end
2515
2538
  end
2516
2539
  end
2517
2540
 
@@ -7276,13 +7299,23 @@ module TencentCloud
7276
7299
 
7277
7300
  # ModifyConfig请求参数结构体
7278
7301
  class ModifyConfigRequest < TencentCloud::Common::AbstractModel
7279
- # @param ConfigId: 采集规则配置ID
7302
+ # @param ConfigId: 采集规则配置ID,通过[获取采集规则配置](https://cloud.tencent.com/document/product/614/58616)返回信息获取。
7280
7303
  # @type ConfigId: String
7281
7304
  # @param Name: 采集规则配置名称
7282
7305
  # @type Name: String
7283
7306
  # @param Path: 日志采集路径,包含文件名
7284
7307
  # @type Path: String
7285
- # @param LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
7308
+ # @param LogType: 采集的日志类型。支持以下类型:
7309
+ # - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
7310
+ # - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
7311
+ # - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
7312
+ # - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
7313
+ # - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
7314
+ # - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
7315
+ # - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
7316
+ # - service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
7317
+ # - windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
7318
+
7286
7319
  # @type LogType: String
7287
7320
  # @param ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
7288
7321
  # @type ExtractRule: :class:`Tencentcloud::Cls.v20201016.models.ExtractRuleInfo`
@@ -7290,13 +7323,14 @@ module TencentCloud
7290
7323
  # @type ExcludePaths: Array
7291
7324
  # @param Output: 采集配置关联的日志主题(TopicId)
7292
7325
  # @type Output: String
7293
- # @param UserDefineRule: 用户自定义解析字符串,Json格式序列化的字符串
7326
+ # @param UserDefineRule: 用户自定义解析字符串,Json格式序列化的字符串。
7294
7327
  # @type UserDefineRule: String
7295
7328
  # @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
7296
7329
  # - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
7297
7330
  # - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
7298
7331
  # - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
7299
- # 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
7332
+ # 样例:
7333
+ # `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
7300
7334
  # @type AdvancedConfig: String
7301
7335
 
7302
7336
  attr_accessor :ConfigId, :Name, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UserDefineRule, :AdvancedConfig
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.782
4
+ version: 3.0.783
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud