Class: TencentCloud::Cfs::V20190719::AutoScaleUpRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::AutoScaleUpRule
- Defined in:
- lib/v20190719/models.rb
Overview
自动扩容规则
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, scalethreshold = nil, targetthreshold = nil) ⇒ AutoScaleUpRule
constructor
A new instance of AutoScaleUpRule.
Constructor Details
#initialize(status = nil, scalethreshold = nil, targetthreshold = nil) ⇒ AutoScaleUpRule
Returns a new instance of AutoScaleUpRule.
31 32 33 34 35 |
# File 'lib/v20190719/models.rb', line 31 def initialize(status=nil, scalethreshold=nil, targetthreshold=nil) @Status = status @ScaleThreshold = scalethreshold @TargetThreshold = targetthreshold end |
Instance Attribute Details
#ScaleThreshold ⇒ Object
29 30 31 |
# File 'lib/v20190719/models.rb', line 29 def ScaleThreshold @ScaleThreshold end |
#Status ⇒ Object
29 30 31 |
# File 'lib/v20190719/models.rb', line 29 def Status @Status end |
#TargetThreshold ⇒ Object
29 30 31 |
# File 'lib/v20190719/models.rb', line 29 def TargetThreshold @TargetThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
37 38 39 40 41 |
# File 'lib/v20190719/models.rb', line 37 def deserialize(params) @Status = params['Status'] @ScaleThreshold = params['ScaleThreshold'] @TargetThreshold = params['TargetThreshold'] end |