Class: TencentCloud::Tke::V20180525::ModifyNodePoolInstanceTypesRequest

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

Overview

ModifyNodePoolInstanceTypes请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, nodepoolid = nil, instancetypes = nil) ⇒ ModifyNodePoolInstanceTypesRequest

Returns a new instance of ModifyNodePoolInstanceTypesRequest.



14394
14395
14396
14397
14398
# File 'lib/v20180525/models.rb', line 14394

def initialize(clusterid=nil, nodepoolid=nil, instancetypes=nil)
  @ClusterId = clusterid
  @NodePoolId = nodepoolid
  @InstanceTypes = instancetypes
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群id

  • NodePoolId:

    节点池id

  • InstanceTypes:

    机型列表,主实例机型不支持修改



14392
14393
14394
# File 'lib/v20180525/models.rb', line 14392

def ClusterId
  @ClusterId
end

#InstanceTypesObject

Parameters:

  • ClusterId:

    集群id

  • NodePoolId:

    节点池id

  • InstanceTypes:

    机型列表,主实例机型不支持修改



14392
14393
14394
# File 'lib/v20180525/models.rb', line 14392

def InstanceTypes
  @InstanceTypes
end

#NodePoolIdObject

Parameters:

  • ClusterId:

    集群id

  • NodePoolId:

    节点池id

  • InstanceTypes:

    机型列表,主实例机型不支持修改



14392
14393
14394
# File 'lib/v20180525/models.rb', line 14392

def NodePoolId
  @NodePoolId
end

Instance Method Details

#deserialize(params) ⇒ Object



14400
14401
14402
14403
14404
# File 'lib/v20180525/models.rb', line 14400

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