Class: TencentCloud::Tke::V20180525::AddNodeToNodePoolRequest

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

Overview

AddNodeToNodePool请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, nodepoolid = nil, instanceids = nil) ⇒ AddNodeToNodePoolRequest

Returns a new instance of AddNodeToNodePoolRequest.



214
215
216
217
218
# File 'lib/v20180525/models.rb', line 214

def initialize(clusterid=nil, nodepoolid=nil, instanceids=nil)
  @ClusterId = clusterid
  @NodePoolId = nodepoolid
  @InstanceIds = instanceids
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群id

  • NodePoolId:

    节点池id

  • InstanceIds:

    节点id



212
213
214
# File 'lib/v20180525/models.rb', line 212

def ClusterId
  @ClusterId
end

#InstanceIdsObject

Parameters:

  • ClusterId:

    集群id

  • NodePoolId:

    节点池id

  • InstanceIds:

    节点id



212
213
214
# File 'lib/v20180525/models.rb', line 212

def InstanceIds
  @InstanceIds
end

#NodePoolIdObject

Parameters:

  • ClusterId:

    集群id

  • NodePoolId:

    节点池id

  • InstanceIds:

    节点id



212
213
214
# File 'lib/v20180525/models.rb', line 212

def NodePoolId
  @NodePoolId
end

Instance Method Details

#deserialize(params) ⇒ Object



220
221
222
223
224
# File 'lib/v20180525/models.rb', line 220

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