Class: TencentCloud::Tem::V20210701::LogConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::LogConfig
- Defined in:
- lib/v20210701/models.rb
Overview
日志收集配置
Instance Attribute Summary collapse
- #ApplicationId ⇒ Object
- #ApplicationName ⇒ Object
- #BeginningRegex ⇒ Object
- #CreateDate ⇒ Object
- #ExtractRule ⇒ Object
- #FilePattern ⇒ Object
- #InputType ⇒ Object
- #LogPath ⇒ Object
- #LogsetId ⇒ Object
- #LogType ⇒ Object
- #ModifyDate ⇒ Object
- #Name ⇒ Object
- #TopicId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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) ⇒ LogConfig
constructor
A new instance of LogConfig.
Constructor Details
#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) ⇒ LogConfig
Returns a new instance of LogConfig.
3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 |
# File 'lib/v20210701/models.rb', line 3154 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) @Name = name @InputType = inputtype @LogsetId = logsetid @TopicId = topicid @LogType = logtype @BeginningRegex = beginningregex @LogPath = logpath @FilePattern = filepattern @CreateDate = createdate @ModifyDate = modifydate @ApplicationId = applicationid @ApplicationName = applicationname @ExtractRule = extractrule end |
Instance Attribute Details
#ApplicationId ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def ApplicationId @ApplicationId end |
#ApplicationName ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def ApplicationName @ApplicationName end |
#BeginningRegex ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def BeginningRegex @BeginningRegex end |
#CreateDate ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def CreateDate @CreateDate end |
#ExtractRule ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def ExtractRule @ExtractRule end |
#FilePattern ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def FilePattern @FilePattern end |
#InputType ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def InputType @InputType end |
#LogPath ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def LogPath @LogPath end |
#LogsetId ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def LogsetId @LogsetId end |
#LogType ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def LogType @LogType end |
#ModifyDate ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def ModifyDate @ModifyDate end |
#Name ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def Name @Name end |
#TopicId ⇒ Object
3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3152 def TopicId @TopicId end |
Instance Method Details
#deserialize(params) ⇒ Object
3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 |
# File 'lib/v20210701/models.rb', line 3170 def deserialize(params) @Name = params['Name'] @InputType = params['InputType'] @LogsetId = params['LogsetId'] @TopicId = params['TopicId'] @LogType = params['LogType'] @BeginningRegex = params['BeginningRegex'] @LogPath = params['LogPath'] @FilePattern = params['FilePattern'] @CreateDate = params['CreateDate'] @ModifyDate = params['ModifyDate'] @ApplicationId = params['ApplicationId'] @ApplicationName = params['ApplicationName'] unless params['ExtractRule'].nil? @ExtractRule = LogConfigExtractRule.new @ExtractRule.deserialize(params['ExtractRule']) end end |