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.
382 383 384 385 |
# File 'lib/v20180525/models.rb', line 382 def initialize(minsize=nil, maxsize=nil) @MinSize = minsize @MaxSize = maxsize end |
Instance Attribute Details
#MaxSize ⇒ Object
380 381 382 |
# File 'lib/v20180525/models.rb', line 380 def MaxSize @MaxSize end |
#MinSize ⇒ Object
380 381 382 |
# File 'lib/v20180525/models.rb', line 380 def MinSize @MinSize end |
Instance Method Details
#deserialize(params) ⇒ Object
387 388 389 390 |
# File 'lib/v20180525/models.rb', line 387 def deserialize(params) @MinSize = params['MinSize'] @MaxSize = params['MaxSize'] end |