Class: TencentCloud::Cls::V20201016::CreateConfigRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::CreateConfigRequest
- Defined in:
- lib/v20201016/models.rb
Overview
CreateConfig请求参数结构体
Instance Attribute Summary collapse
-
#AdvancedConfig ⇒ Object
控制台默认占位值:
{\"ClsAgentDefault\":0}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集. -
#ExcludePaths ⇒ Object
控制台默认占位值:
{\"ClsAgentDefault\":0}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集. -
#ExtractRule ⇒ Object
控制台默认占位值:
{\"ClsAgentDefault\":0}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集. -
#InputType ⇒ Object
控制台默认占位值:
{\"ClsAgentDefault\":0}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集. -
#LogType ⇒ Object
控制台默认占位值:
{\"ClsAgentDefault\":0}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集. -
#Name ⇒ Object
控制台默认占位值:
{\"ClsAgentDefault\":0}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集. -
#Output ⇒ Object
控制台默认占位值:
{\"ClsAgentDefault\":0}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集. -
#Path ⇒ Object
控制台默认占位值:
{\"ClsAgentDefault\":0}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集. -
#UserDefineRule ⇒ Object
控制台默认占位值:
{\"ClsAgentDefault\":0}- file: 文件类型采集 - windows_event:windows事件采集 - syslog:系统日志采集.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, output = nil, path = nil, logtype = nil, extractrule = nil, excludepaths = nil, userdefinerule = nil, advancedconfig = nil, inputtype = nil) ⇒ CreateConfigRequest
constructor
A new instance of CreateConfigRequest.
Constructor Details
#initialize(name = nil, output = nil, path = nil, logtype = nil, extractrule = nil, excludepaths = nil, userdefinerule = nil, advancedconfig = nil, inputtype = nil) ⇒ CreateConfigRequest
Returns a new instance of CreateConfigRequest.
2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 |
# File 'lib/v20201016/models.rb', line 2975 def initialize(name=nil, output=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, advancedconfig=nil, inputtype=nil) @Name = name @Output = output @Path = path @LogType = logtype @ExtractRule = extractrule @ExcludePaths = excludepaths @UserDefineRule = userdefinerule @AdvancedConfig = advancedconfig @InputType = inputtype end |
Instance Attribute Details
#AdvancedConfig ⇒ Object
控制台默认占位值:{\"ClsAgentDefault\":0}
- file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
2973 2974 2975 |
# File 'lib/v20201016/models.rb', line 2973 def AdvancedConfig @AdvancedConfig end |
#ExcludePaths ⇒ Object
控制台默认占位值:{\"ClsAgentDefault\":0}
- file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
2973 2974 2975 |
# File 'lib/v20201016/models.rb', line 2973 def ExcludePaths @ExcludePaths end |
#ExtractRule ⇒ Object
控制台默认占位值:{\"ClsAgentDefault\":0}
- file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
2973 2974 2975 |
# File 'lib/v20201016/models.rb', line 2973 def ExtractRule @ExtractRule end |
#InputType ⇒ Object
控制台默认占位值:{\"ClsAgentDefault\":0}
- file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
2973 2974 2975 |
# File 'lib/v20201016/models.rb', line 2973 def InputType @InputType end |
#LogType ⇒ Object
控制台默认占位值:{\"ClsAgentDefault\":0}
- file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
2973 2974 2975 |
# File 'lib/v20201016/models.rb', line 2973 def LogType @LogType end |
#Name ⇒ Object
控制台默认占位值:{\"ClsAgentDefault\":0}
- file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
2973 2974 2975 |
# File 'lib/v20201016/models.rb', line 2973 def Name @Name end |
#Output ⇒ Object
控制台默认占位值:{\"ClsAgentDefault\":0}
- file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
2973 2974 2975 |
# File 'lib/v20201016/models.rb', line 2973 def Output @Output end |
#Path ⇒ Object
控制台默认占位值:{\"ClsAgentDefault\":0}
- file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
2973 2974 2975 |
# File 'lib/v20201016/models.rb', line 2973 def Path @Path end |
#UserDefineRule ⇒ Object
控制台默认占位值:{\"ClsAgentDefault\":0}
- file: 文件类型采集
- windows_event:windows事件采集
- syslog:系统日志采集
2973 2974 2975 |
# File 'lib/v20201016/models.rb', line 2973 def UserDefineRule @UserDefineRule end |
Instance Method Details
#deserialize(params) ⇒ Object
2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 |
# File 'lib/v20201016/models.rb', line 2987 def deserialize(params) @Name = params['Name'] @Output = params['Output'] @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 @UserDefineRule = params['UserDefineRule'] @AdvancedConfig = params['AdvancedConfig'] @InputType = params['InputType'] end |