Class: TencentCloud::Cdb::V20170320::LogToCLSConfig
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::LogToCLSConfig
- Defined in:
- lib/v20170320/models.rb
Overview
DB实例慢日志、错误日志投递CLS配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, logsetid = nil, logtopicid = nil, clsregion = nil) ⇒ LogToCLSConfig
constructor
A new instance of LogToCLSConfig.
Constructor Details
#initialize(status = nil, logsetid = nil, logtopicid = nil, clsregion = nil) ⇒ LogToCLSConfig
Returns a new instance of LogToCLSConfig.
9922 9923 9924 9925 9926 9927 |
# File 'lib/v20170320/models.rb', line 9922 def initialize(status=nil, logsetid=nil, logtopicid=nil, clsregion=nil) @Status = status @LogSetId = logsetid @LogTopicId = logtopicid @ClsRegion = clsregion end |
Instance Attribute Details
#ClsRegion ⇒ Object
9920 9921 9922 |
# File 'lib/v20170320/models.rb', line 9920 def ClsRegion @ClsRegion end |
#LogSetId ⇒ Object
9920 9921 9922 |
# File 'lib/v20170320/models.rb', line 9920 def LogSetId @LogSetId end |
#LogTopicId ⇒ Object
9920 9921 9922 |
# File 'lib/v20170320/models.rb', line 9920 def LogTopicId @LogTopicId end |
#Status ⇒ Object
9920 9921 9922 |
# File 'lib/v20170320/models.rb', line 9920 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
9929 9930 9931 9932 9933 9934 |
# File 'lib/v20170320/models.rb', line 9929 def deserialize(params) @Status = params['Status'] @LogSetId = params['LogSetId'] @LogTopicId = params['LogTopicId'] @ClsRegion = params['ClsRegion'] end |