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.
9798 9799 9800 9801 9802 9803 |
# File 'lib/v20170320/models.rb', line 9798 def initialize(status=nil, logsetid=nil, logtopicid=nil, clsregion=nil) @Status = status @LogSetId = logsetid @LogTopicId = logtopicid @ClsRegion = clsregion end |
Instance Attribute Details
#ClsRegion ⇒ Object
9796 9797 9798 |
# File 'lib/v20170320/models.rb', line 9796 def ClsRegion @ClsRegion end |
#LogSetId ⇒ Object
9796 9797 9798 |
# File 'lib/v20170320/models.rb', line 9796 def LogSetId @LogSetId end |
#LogTopicId ⇒ Object
9796 9797 9798 |
# File 'lib/v20170320/models.rb', line 9796 def LogTopicId @LogTopicId end |
#Status ⇒ Object
9796 9797 9798 |
# File 'lib/v20170320/models.rb', line 9796 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
9805 9806 9807 9808 9809 9810 |
# File 'lib/v20170320/models.rb', line 9805 def deserialize(params) @Status = params['Status'] @LogSetId = params['LogSetId'] @LogTopicId = params['LogTopicId'] @ClsRegion = params['ClsRegion'] end |