Class: TencentCloud::Cls::V20201016::ModifyConfigRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::ModifyConfigRequest
- Defined in:
- lib/v20201016/models.rb
Overview
ModifyConfig请求参数结构体
Instance Attribute Summary collapse
-
#AdvancedConfig ⇒ Object
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
-
#ConfigId ⇒ Object
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
-
#ExcludePaths ⇒ Object
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
-
#ExtractRule ⇒ Object
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
-
#InputType ⇒ Object
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
-
#LogType ⇒ Object
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
-
#Name ⇒ Object
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
-
#Output ⇒ Object
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
-
#Path ⇒ Object
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
-
#UserDefineRule ⇒ Object
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
- 通过获取日志主题列表获取日志主题Id。 - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false 样例:
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(configid = nil, name = nil, path = nil, logtype = nil, extractrule = nil, excludepaths = nil, output = nil, userdefinerule = nil, advancedconfig = nil, inputtype = nil) ⇒ ModifyConfigRequest
constructor
A new instance of ModifyConfigRequest.
Constructor Details
#initialize(configid = nil, name = nil, path = nil, logtype = nil, extractrule = nil, excludepaths = nil, output = nil, userdefinerule = nil, advancedconfig = nil, inputtype = nil) ⇒ ModifyConfigRequest
Returns a new instance of ModifyConfigRequest.
13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 |
# File 'lib/v20201016/models.rb', line 13703 def initialize(configid=nil, name=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, userdefinerule=nil, advancedconfig=nil, inputtype=nil) @ConfigId = configid @Name = name @Path = path @LogType = logtype @ExtractRule = extractrule @ExcludePaths = excludepaths @Output = output @UserDefineRule = userdefinerule @AdvancedConfig = advancedconfig @InputType = inputtype end |
Instance Attribute Details
#AdvancedConfig ⇒ Object
- 通过获取日志主题列表获取日志主题Id。
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true} - file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
13701 13702 13703 |
# File 'lib/v20201016/models.rb', line 13701 def AdvancedConfig @AdvancedConfig end |
#ConfigId ⇒ Object
- 通过获取日志主题列表获取日志主题Id。
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true} - file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
13701 13702 13703 |
# File 'lib/v20201016/models.rb', line 13701 def ConfigId @ConfigId end |
#ExcludePaths ⇒ Object
- 通过获取日志主题列表获取日志主题Id。
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true} - file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
13701 13702 13703 |
# File 'lib/v20201016/models.rb', line 13701 def ExcludePaths @ExcludePaths end |
#ExtractRule ⇒ Object
- 通过获取日志主题列表获取日志主题Id。
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true} - file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
13701 13702 13703 |
# File 'lib/v20201016/models.rb', line 13701 def ExtractRule @ExtractRule end |
#InputType ⇒ Object
- 通过获取日志主题列表获取日志主题Id。
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true} - file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
13701 13702 13703 |
# File 'lib/v20201016/models.rb', line 13701 def InputType @InputType end |
#LogType ⇒ Object
- 通过获取日志主题列表获取日志主题Id。
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true} - file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
13701 13702 13703 |
# File 'lib/v20201016/models.rb', line 13701 def LogType @LogType end |
#Name ⇒ Object
- 通过获取日志主题列表获取日志主题Id。
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true} - file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
13701 13702 13703 |
# File 'lib/v20201016/models.rb', line 13701 def Name @Name end |
#Output ⇒ Object
- 通过获取日志主题列表获取日志主题Id。
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true} - file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
13701 13702 13703 |
# File 'lib/v20201016/models.rb', line 13701 def Output @Output end |
#Path ⇒ Object
- 通过获取日志主题列表获取日志主题Id。
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true} - file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
13701 13702 13703 |
# File 'lib/v20201016/models.rb', line 13701 def Path @Path end |
#UserDefineRule ⇒ Object
- 通过获取日志主题列表获取日志主题Id。
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
样例:
{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true} - file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
13701 13702 13703 |
# File 'lib/v20201016/models.rb', line 13701 def UserDefineRule @UserDefineRule end |
Instance Method Details
#deserialize(params) ⇒ Object
13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 |
# File 'lib/v20201016/models.rb', line 13716 def deserialize(params) @ConfigId = params['ConfigId'] @Name = params['Name'] @Path = params['Path'] @LogType = params['LogType'] unless params['ExtractRule'].nil? @ExtractRule = ExtractRuleInfo.new @ExtractRule.deserialize(params['ExtractRule']) end unless params['ExcludePaths'].nil? @ExcludePaths = [] params['ExcludePaths'].each do |i| excludepathinfo_tmp = ExcludePathInfo.new excludepathinfo_tmp.deserialize(i) @ExcludePaths << excludepathinfo_tmp end end @Output = params['Output'] @UserDefineRule = params['UserDefineRule'] @AdvancedConfig = params['AdvancedConfig'] @InputType = params['InputType'] end |