tencentcloud-sdk-cls 3.0.923 → 3.0.924
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201016/models.rb +44 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71d47f84e8cdbff6523e2c0aa6affdc53fafe272
|
4
|
+
data.tar.gz: 7d2e10b21e47d0cbfe4973d9bdda377e32ea2a16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf23ec04717f5ec24710d520f15bddbaafddb4c8953df1ae689ec8e749491808dfe2649caafcbfd23e7be4dd64d25314a3593d5d9ccdaf4af16287b72e384b79
|
7
|
+
data.tar.gz: 5fc27cbd2d24348418a7713525e44434f2a324dd0ae3bccfd0436c4cd57ae62982d0b8044d23008497d69fa745b77401a628e267b362f856eaf3cd7675aa074b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.924
|
data/lib/v20201016/models.rb
CHANGED
@@ -57,6 +57,33 @@ module TencentCloud
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
+
# 高级过滤规则
|
61
|
+
class AdvanceFilterRuleInfo < TencentCloud::Common::AbstractModel
|
62
|
+
# @param Key: 过滤字段
|
63
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
64
|
+
# @type Key: String
|
65
|
+
# @param Rule: 过滤规则,0:等于,1:字段存在,2:字段不存在
|
66
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
67
|
+
# @type Rule: Integer
|
68
|
+
# @param Value: 过滤值
|
69
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
70
|
+
# @type Value: String
|
71
|
+
|
72
|
+
attr_accessor :Key, :Rule, :Value
|
73
|
+
|
74
|
+
def initialize(key=nil, rule=nil, value=nil)
|
75
|
+
@Key = key
|
76
|
+
@Rule = rule
|
77
|
+
@Value = value
|
78
|
+
end
|
79
|
+
|
80
|
+
def deserialize(params)
|
81
|
+
@Key = params['Key']
|
82
|
+
@Rule = params['Rule']
|
83
|
+
@Value = params['Value']
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
60
87
|
# 告警多维分析一些配置信息
|
61
88
|
class AlarmAnalysisConfig < TencentCloud::Common::AbstractModel
|
62
89
|
# @param Key: 键。支持以下key:
|
@@ -6449,10 +6476,16 @@ module TencentCloud
|
|
6449
6476
|
# @type MetaTags: Array
|
6450
6477
|
# @param EventLogRules: Windows事件日志采集规则,只有在LogType为windows_event_log时生效,其余类型无需填写。
|
6451
6478
|
# @type EventLogRules: Array
|
6479
|
+
# @param AdvanceFilterRules: 日志过滤规则列表(新版)。
|
6480
|
+
# 注意:
|
6481
|
+
# - 2.9.3以下版本LogListener不支持, 请使用FilterKeyRegex配置日志过滤规则。
|
6482
|
+
# - 自建k8s采集配置(CreateConfigExtra、ModifyConfigExtra)不支持此字段。
|
6483
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6484
|
+
# @type AdvanceFilterRules: Array
|
6452
6485
|
|
6453
|
-
attr_accessor :TimeKey, :TimeFormat, :Delimiter, :LogRegex, :BeginRegex, :Keys, :FilterKeyRegex, :UnMatchUpLoadSwitch, :UnMatchLogKey, :Backtracking, :IsGBK, :JsonStandard, :Protocol, :Address, :ParseProtocol, :MetadataType, :PathRegex, :MetaTags, :EventLogRules
|
6486
|
+
attr_accessor :TimeKey, :TimeFormat, :Delimiter, :LogRegex, :BeginRegex, :Keys, :FilterKeyRegex, :UnMatchUpLoadSwitch, :UnMatchLogKey, :Backtracking, :IsGBK, :JsonStandard, :Protocol, :Address, :ParseProtocol, :MetadataType, :PathRegex, :MetaTags, :EventLogRules, :AdvanceFilterRules
|
6454
6487
|
|
6455
|
-
def initialize(timekey=nil, timeformat=nil, delimiter=nil, logregex=nil, beginregex=nil, keys=nil, filterkeyregex=nil, unmatchuploadswitch=nil, unmatchlogkey=nil, backtracking=nil, isgbk=nil, jsonstandard=nil, protocol=nil, address=nil, parseprotocol=nil, metadatatype=nil, pathregex=nil, metatags=nil, eventlogrules=nil)
|
6488
|
+
def initialize(timekey=nil, timeformat=nil, delimiter=nil, logregex=nil, beginregex=nil, keys=nil, filterkeyregex=nil, unmatchuploadswitch=nil, unmatchlogkey=nil, backtracking=nil, isgbk=nil, jsonstandard=nil, protocol=nil, address=nil, parseprotocol=nil, metadatatype=nil, pathregex=nil, metatags=nil, eventlogrules=nil, advancefilterrules=nil)
|
6456
6489
|
@TimeKey = timekey
|
6457
6490
|
@TimeFormat = timeformat
|
6458
6491
|
@Delimiter = delimiter
|
@@ -6472,6 +6505,7 @@ module TencentCloud
|
|
6472
6505
|
@PathRegex = pathregex
|
6473
6506
|
@MetaTags = metatags
|
6474
6507
|
@EventLogRules = eventlogrules
|
6508
|
+
@AdvanceFilterRules = advancefilterrules
|
6475
6509
|
end
|
6476
6510
|
|
6477
6511
|
def deserialize(params)
|
@@ -6515,6 +6549,14 @@ module TencentCloud
|
|
6515
6549
|
@EventLogRules << eventlog_tmp
|
6516
6550
|
end
|
6517
6551
|
end
|
6552
|
+
unless params['AdvanceFilterRules'].nil?
|
6553
|
+
@AdvanceFilterRules = []
|
6554
|
+
params['AdvanceFilterRules'].each do |i|
|
6555
|
+
advancefilterruleinfo_tmp = AdvanceFilterRuleInfo.new
|
6556
|
+
advancefilterruleinfo_tmp.deserialize(i)
|
6557
|
+
@AdvanceFilterRules << advancefilterruleinfo_tmp
|
6558
|
+
end
|
6559
|
+
end
|
6518
6560
|
end
|
6519
6561
|
end
|
6520
6562
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.924
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|