Class: TencentCloud::Tse::V20201207::AutoScalerPolicy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::AutoScalerPolicy
- Defined in:
- lib/v20201207/models.rb
Overview
扩容策略
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, value = nil, periodseconds = nil) ⇒ AutoScalerPolicy
constructor
A new instance of AutoScalerPolicy.
Constructor Details
#initialize(type = nil, value = nil, periodseconds = nil) ⇒ AutoScalerPolicy
Returns a new instance of AutoScalerPolicy.
120 121 122 123 124 |
# File 'lib/v20201207/models.rb', line 120 def initialize(type=nil, value=nil, periodseconds=nil) @Type = type @Value = value @PeriodSeconds = periodseconds end |
Instance Attribute Details
#PeriodSeconds ⇒ Object
118 119 120 |
# File 'lib/v20201207/models.rb', line 118 def PeriodSeconds @PeriodSeconds end |
#Type ⇒ Object
118 119 120 |
# File 'lib/v20201207/models.rb', line 118 def Type @Type end |
#Value ⇒ Object
118 119 120 |
# File 'lib/v20201207/models.rb', line 118 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
126 127 128 129 130 |
# File 'lib/v20201207/models.rb', line 126 def deserialize(params) @Type = params['Type'] @Value = params['Value'] @PeriodSeconds = params['PeriodSeconds'] end |