tencentcloud-sdk-tem 3.0.441 → 3.0.443
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/tencentcloud-sdk-tem.rb +3 -3
- data/lib/v20210701/models.rb +79 -7
- 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: 440cce22563a719ee48ba8eb4077e68d85ef72f1
|
4
|
+
data.tar.gz: 4d2f81cab30b1c4d1275c29644d6ac1a36ef617f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 116bbca08557c0405b10e41d85a1832c8512a46cc9ce05ba572289c76dfcb3fec8c536b3e63e6348d301db38b543e826a8eada2ecd68989397041b257574a699
|
7
|
+
data.tar.gz: 58aec9798c5e8ca1095e30b039f987d906c0fc355c3a078a252924793e9428086dca1f7baa00526795b298fc8e2cf3ff52f497debf0e876a985a332ae007ce90
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.443
|
data/lib/tencentcloud-sdk-tem.rb
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
require 'tencentcloud-sdk-common'
|
4
4
|
|
5
|
-
require_relative 'v20201221/client'
|
6
|
-
require_relative 'v20201221/models'
|
7
|
-
|
8
5
|
require_relative 'v20210701/client'
|
9
6
|
require_relative 'v20210701/models'
|
10
7
|
|
8
|
+
require_relative 'v20201221/client'
|
9
|
+
require_relative 'v20201221/models'
|
10
|
+
|
11
11
|
module TencentCloud
|
12
12
|
module Tem
|
13
13
|
end
|
data/lib/v20210701/models.rb
CHANGED
@@ -590,7 +590,7 @@ module TencentCloud
|
|
590
590
|
# @type LogsetId: String
|
591
591
|
# @param TopicId: 日志主题 ID
|
592
592
|
# @type TopicId: String
|
593
|
-
# @param LogType: 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
|
593
|
+
# @param LogType: 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;json_log 为 json格式;fullregex_log 为单行正则;multiline_fullregex_log 为多行正则
|
594
594
|
# @type LogType: String
|
595
595
|
# @param BeginningRegex: 首行正则表达式,当LogType=multiline_log 时生效
|
596
596
|
# @type BeginningRegex: String
|
@@ -598,10 +598,12 @@ module TencentCloud
|
|
598
598
|
# @type LogPath: String
|
599
599
|
# @param FilePattern: 收集文件名模式,当 InputType=container_file 时生效
|
600
600
|
# @type FilePattern: String
|
601
|
+
# @param ExtractRule: 导出规则
|
602
|
+
# @type ExtractRule: :class:`Tencentcloud::Tem.v20210701.models.LogConfigExtractRule`
|
601
603
|
|
602
|
-
attr_accessor :EnvironmentId, :Name, :InputType, :ApplicationId, :LogsetId, :TopicId, :LogType, :BeginningRegex, :LogPath, :FilePattern
|
604
|
+
attr_accessor :EnvironmentId, :Name, :InputType, :ApplicationId, :LogsetId, :TopicId, :LogType, :BeginningRegex, :LogPath, :FilePattern, :ExtractRule
|
603
605
|
|
604
|
-
def initialize(environmentid=nil, name=nil, inputtype=nil, applicationid=nil, logsetid=nil, topicid=nil, logtype=nil, beginningregex=nil, logpath=nil, filepattern=nil)
|
606
|
+
def initialize(environmentid=nil, name=nil, inputtype=nil, applicationid=nil, logsetid=nil, topicid=nil, logtype=nil, beginningregex=nil, logpath=nil, filepattern=nil, extractrule=nil)
|
605
607
|
@EnvironmentId = environmentid
|
606
608
|
@Name = name
|
607
609
|
@InputType = inputtype
|
@@ -612,6 +614,7 @@ module TencentCloud
|
|
612
614
|
@BeginningRegex = beginningregex
|
613
615
|
@LogPath = logpath
|
614
616
|
@FilePattern = filepattern
|
617
|
+
@ExtractRule = extractrule
|
615
618
|
end
|
616
619
|
|
617
620
|
def deserialize(params)
|
@@ -625,6 +628,10 @@ module TencentCloud
|
|
625
628
|
@BeginningRegex = params['BeginningRegex']
|
626
629
|
@LogPath = params['LogPath']
|
627
630
|
@FilePattern = params['FilePattern']
|
631
|
+
unless params['ExtractRule'].nil?
|
632
|
+
@ExtractRule = LogConfigExtractRule.new
|
633
|
+
@ExtractRule.deserialize(params['ExtractRule'])
|
634
|
+
end
|
628
635
|
end
|
629
636
|
end
|
630
637
|
|
@@ -3100,9 +3107,9 @@ module TencentCloud
|
|
3100
3107
|
# @param TopicId: 日志主题 ID
|
3101
3108
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3102
3109
|
# @type TopicId: String
|
3103
|
-
# @param LogType: 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
|
3110
|
+
# @param LogType: 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文; fullregex_log 为单行正则; multiline_fullregex_log 为多行正则; json_log 为 json;
|
3104
3111
|
# @type LogType: String
|
3105
|
-
# @param BeginningRegex: 首行正则表达式,当LogType
|
3112
|
+
# @param BeginningRegex: 首行正则表达式,当 LogType 为多行全文、多行正则时生效
|
3106
3113
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3107
3114
|
# @type BeginningRegex: String
|
3108
3115
|
# @param LogPath: 收集文件目录,当 InputType=container_file 时生效
|
@@ -3123,10 +3130,13 @@ module TencentCloud
|
|
3123
3130
|
# @param ApplicationName: 应用名
|
3124
3131
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3125
3132
|
# @type ApplicationName: String
|
3133
|
+
# @param ExtractRule: 导出规则
|
3134
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3135
|
+
# @type ExtractRule: :class:`Tencentcloud::Tem.v20210701.models.LogConfigExtractRule`
|
3126
3136
|
|
3127
|
-
attr_accessor :Name, :InputType, :LogsetId, :TopicId, :LogType, :BeginningRegex, :LogPath, :FilePattern, :CreateDate, :ModifyDate, :ApplicationId, :ApplicationName
|
3137
|
+
attr_accessor :Name, :InputType, :LogsetId, :TopicId, :LogType, :BeginningRegex, :LogPath, :FilePattern, :CreateDate, :ModifyDate, :ApplicationId, :ApplicationName, :ExtractRule
|
3128
3138
|
|
3129
|
-
def initialize(name=nil, inputtype=nil, logsetid=nil, topicid=nil, logtype=nil, beginningregex=nil, logpath=nil, filepattern=nil, createdate=nil, modifydate=nil, applicationid=nil, applicationname=nil)
|
3139
|
+
def initialize(name=nil, inputtype=nil, logsetid=nil, topicid=nil, logtype=nil, beginningregex=nil, logpath=nil, filepattern=nil, createdate=nil, modifydate=nil, applicationid=nil, applicationname=nil, extractrule=nil)
|
3130
3140
|
@Name = name
|
3131
3141
|
@InputType = inputtype
|
3132
3142
|
@LogsetId = logsetid
|
@@ -3139,6 +3149,7 @@ module TencentCloud
|
|
3139
3149
|
@ModifyDate = modifydate
|
3140
3150
|
@ApplicationId = applicationid
|
3141
3151
|
@ApplicationName = applicationname
|
3152
|
+
@ExtractRule = extractrule
|
3142
3153
|
end
|
3143
3154
|
|
3144
3155
|
def deserialize(params)
|
@@ -3154,6 +3165,67 @@ module TencentCloud
|
|
3154
3165
|
@ModifyDate = params['ModifyDate']
|
3155
3166
|
@ApplicationId = params['ApplicationId']
|
3156
3167
|
@ApplicationName = params['ApplicationName']
|
3168
|
+
unless params['ExtractRule'].nil?
|
3169
|
+
@ExtractRule = LogConfigExtractRule.new
|
3170
|
+
@ExtractRule.deserialize(params['ExtractRule'])
|
3171
|
+
end
|
3172
|
+
end
|
3173
|
+
end
|
3174
|
+
|
3175
|
+
# 日志采集的导出规则配置
|
3176
|
+
class LogConfigExtractRule < TencentCloud::Common::AbstractModel
|
3177
|
+
# @param BeginningRegex: 首行正则表达式
|
3178
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3179
|
+
# @type BeginningRegex: String
|
3180
|
+
# @param Keys: 提取结果
|
3181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3182
|
+
# @type Keys: Array
|
3183
|
+
# @param FilterKeys: 过滤键
|
3184
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3185
|
+
# @type FilterKeys: Array
|
3186
|
+
# @param FilterRegex: 过滤值
|
3187
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3188
|
+
# @type FilterRegex: Array
|
3189
|
+
# @param LogRegex: 日志正则表达式
|
3190
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3191
|
+
# @type LogRegex: String
|
3192
|
+
# @param TimeKey: 时间字段
|
3193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3194
|
+
# @type TimeKey: String
|
3195
|
+
# @param TimeFormat: 时间格式
|
3196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3197
|
+
# @type TimeFormat: String
|
3198
|
+
# @param UnMatchUpload: 是否上传解析失败日志
|
3199
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3200
|
+
# @type UnMatchUpload: String
|
3201
|
+
# @param UnMatchedKey: 解析失败日志的键名称
|
3202
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3203
|
+
# @type UnMatchedKey: String
|
3204
|
+
|
3205
|
+
attr_accessor :BeginningRegex, :Keys, :FilterKeys, :FilterRegex, :LogRegex, :TimeKey, :TimeFormat, :UnMatchUpload, :UnMatchedKey
|
3206
|
+
|
3207
|
+
def initialize(beginningregex=nil, keys=nil, filterkeys=nil, filterregex=nil, logregex=nil, timekey=nil, timeformat=nil, unmatchupload=nil, unmatchedkey=nil)
|
3208
|
+
@BeginningRegex = beginningregex
|
3209
|
+
@Keys = keys
|
3210
|
+
@FilterKeys = filterkeys
|
3211
|
+
@FilterRegex = filterregex
|
3212
|
+
@LogRegex = logregex
|
3213
|
+
@TimeKey = timekey
|
3214
|
+
@TimeFormat = timeformat
|
3215
|
+
@UnMatchUpload = unmatchupload
|
3216
|
+
@UnMatchedKey = unmatchedkey
|
3217
|
+
end
|
3218
|
+
|
3219
|
+
def deserialize(params)
|
3220
|
+
@BeginningRegex = params['BeginningRegex']
|
3221
|
+
@Keys = params['Keys']
|
3222
|
+
@FilterKeys = params['FilterKeys']
|
3223
|
+
@FilterRegex = params['FilterRegex']
|
3224
|
+
@LogRegex = params['LogRegex']
|
3225
|
+
@TimeKey = params['TimeKey']
|
3226
|
+
@TimeFormat = params['TimeFormat']
|
3227
|
+
@UnMatchUpload = params['UnMatchUpload']
|
3228
|
+
@UnMatchedKey = params['UnMatchedKey']
|
3157
3229
|
end
|
3158
3230
|
end
|
3159
3231
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.443
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|