Class: TencentCloud::Tke::V20220501::StartMachinesRequest

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

Overview

StartMachines请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, machinenames = nil) ⇒ StartMachinesRequest

Returns a new instance of StartMachinesRequest.



2211
2212
2213
2214
# File 'lib/v20220501/models.rb', line 2211

def initialize(clusterid=nil, machinenames=nil)
  @ClusterId = clusterid
  @MachineNames = machinenames
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群 ID

  • MachineNames:

    节点名字列表,一次请求,传入节点数量上限为100个



2209
2210
2211
# File 'lib/v20220501/models.rb', line 2209

def ClusterId
  @ClusterId
end

#MachineNamesObject

Parameters:

  • ClusterId:

    集群 ID

  • MachineNames:

    节点名字列表,一次请求,传入节点数量上限为100个



2209
2210
2211
# File 'lib/v20220501/models.rb', line 2209

def MachineNames
  @MachineNames
end

Instance Method Details

#deserialize(params) ⇒ Object



2216
2217
2218
2219
# File 'lib/v20220501/models.rb', line 2216

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