Class: TencentCloud::Sqlserver::V20180328::EventConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::EventConfig
- Defined in:
- lib/v20180328/models.rb
Overview
设置实例扩展事件阈值
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventtype = nil, threshold = nil) ⇒ EventConfig
constructor
A new instance of EventConfig.
Constructor Details
#initialize(eventtype = nil, threshold = nil) ⇒ EventConfig
Returns a new instance of EventConfig.
7387 7388 7389 7390 |
# File 'lib/v20180328/models.rb', line 7387 def initialize(eventtype=nil, threshold=nil) @EventType = eventtype @Threshold = threshold end |
Instance Attribute Details
#EventType ⇒ Object
7385 7386 7387 |
# File 'lib/v20180328/models.rb', line 7385 def EventType @EventType end |
#Threshold ⇒ Object
7385 7386 7387 |
# File 'lib/v20180328/models.rb', line 7385 def Threshold @Threshold end |
Instance Method Details
#deserialize(params) ⇒ Object
7392 7393 7394 7395 |
# File 'lib/v20180328/models.rb', line 7392 def deserialize(params) @EventType = params['EventType'] @Threshold = params['Threshold'] end |