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.
9737 9738 9739 9740 9741 9742 |
# File 'lib/v20170320/models.rb', line 9737 def initialize(status=nil, logsetid=nil, logtopicid=nil, clsregion=nil) @Status = status @LogSetId = logsetid @LogTopicId = logtopicid @ClsRegion = clsregion end |
Instance Attribute Details
#ClsRegion ⇒ Object
9735 9736 9737 |
# File 'lib/v20170320/models.rb', line 9735 def ClsRegion @ClsRegion end |
#LogSetId ⇒ Object
9735 9736 9737 |
# File 'lib/v20170320/models.rb', line 9735 def LogSetId @LogSetId end |
#LogTopicId ⇒ Object
9735 9736 9737 |
# File 'lib/v20170320/models.rb', line 9735 def LogTopicId @LogTopicId end |
#Status ⇒ Object
9735 9736 9737 |
# File 'lib/v20170320/models.rb', line 9735 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
9744 9745 9746 9747 9748 9749 |
# File 'lib/v20170320/models.rb', line 9744 def deserialize(params) @Status = params['Status'] @LogSetId = params['LogSetId'] @LogTopicId = params['LogTopicId'] @ClsRegion = params['ClsRegion'] end |