Class: TencentCloud::Tke::V20180525::AutoScalingGroupRange

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

集群关联的伸缩组最大实例数最小值实例数

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#MaxSizeObject

Parameters:

  • MinSize:

    伸缩组最小实例数

  • MaxSize:

    伸缩组最大实例数



374
375
376
# File 'lib/v20180525/models.rb', line 374

def MaxSize
  @MaxSize
end

#MinSizeObject

Parameters:

  • MinSize:

    伸缩组最小实例数

  • MaxSize:

    伸缩组最大实例数



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