Class: TencentCloud::Tke::V20180525::ModifyNodePoolDesiredCapacityAboutAsgRequest

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

Overview

ModifyNodePoolDesiredCapacityAboutAsg请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, nodepoolid = nil, desiredcapacity = nil) ⇒ ModifyNodePoolDesiredCapacityAboutAsgRequest

Returns a new instance of ModifyNodePoolDesiredCapacityAboutAsgRequest.



14354
14355
14356
14357
14358
# File 'lib/v20180525/models.rb', line 14354

def initialize(clusterid=nil, nodepoolid=nil, desiredcapacity=nil)
  @ClusterId = clusterid
  @NodePoolId = nodepoolid
  @DesiredCapacity = desiredcapacity
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群id

  • NodePoolId:

    节点池id

  • DesiredCapacity:

    节点池所关联的伸缩组的期望实例数



14352
14353
14354
# File 'lib/v20180525/models.rb', line 14352

def ClusterId
  @ClusterId
end

#DesiredCapacityObject

Parameters:

  • ClusterId:

    集群id

  • NodePoolId:

    节点池id

  • DesiredCapacity:

    节点池所关联的伸缩组的期望实例数



14352
14353
14354
# File 'lib/v20180525/models.rb', line 14352

def DesiredCapacity
  @DesiredCapacity
end

#NodePoolIdObject

Parameters:

  • ClusterId:

    集群id

  • NodePoolId:

    节点池id

  • DesiredCapacity:

    节点池所关联的伸缩组的期望实例数



14352
14353
14354
# File 'lib/v20180525/models.rb', line 14352

def NodePoolId
  @NodePoolId
end

Instance Method Details

#deserialize(params) ⇒ Object



14360
14361
14362
14363
14364
# File 'lib/v20180525/models.rb', line 14360

def deserialize(params)
  @ClusterId = params['ClusterId']
  @NodePoolId = params['NodePoolId']
  @DesiredCapacity = params['DesiredCapacity']
end