Class: TencentCloud::Tke::V20180525::AutoScalingGroupRange
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::AutoScalingGroupRange
- Defined in:
- lib/v20180525/models.rb
Overview
集群关联的伸缩组最大实例数最小值实例数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(minsize = nil, maxsize = nil) ⇒ AutoScalingGroupRange
constructor
A new instance of AutoScalingGroupRange.
Constructor Details
#initialize(minsize = nil, maxsize = nil) ⇒ AutoScalingGroupRange
Returns a new instance of AutoScalingGroupRange.
376 377 378 379 |
# File 'lib/v20180525/models.rb', line 376 def initialize(minsize=nil, maxsize=nil) @MinSize = minsize @MaxSize = maxsize end |
Instance Attribute Details
#MaxSize ⇒ Object
374 375 376 |
# File 'lib/v20180525/models.rb', line 374 def MaxSize @MaxSize end |
#MinSize ⇒ Object
374 375 376 |
# File 'lib/v20180525/models.rb', line 374 def MinSize @MinSize end |
Instance Method Details
#deserialize(params) ⇒ Object
381 382 383 384 |
# File 'lib/v20180525/models.rb', line 381 def deserialize(params) @MinSize = params['MinSize'] @MaxSize = params['MaxSize'] end |