Class: TencentCloud::Tke::V20220501::SetMachineLoginRequest

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

Overview

SetMachineLogin请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, machinename = nil, keyids = nil) ⇒ SetMachineLoginRequest

Returns a new instance of SetMachineLoginRequest.



2339
2340
2341
2342
2343
# File 'lib/v20220501/models.rb', line 2339

def initialize(clusterid=nil, machinename=nil, keyids=nil)
  @ClusterId = clusterid
  @MachineName = machinename
  @KeyIds = keyids
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群 ID

  • MachineName:

    节点名称

  • KeyIds:

    密钥 ID 列表



2337
2338
2339
# File 'lib/v20220501/models.rb', line 2337

def ClusterId
  @ClusterId
end

#KeyIdsObject

Parameters:

  • ClusterId:

    集群 ID

  • MachineName:

    节点名称

  • KeyIds:

    密钥 ID 列表



2337
2338
2339
# File 'lib/v20220501/models.rb', line 2337

def KeyIds
  @KeyIds
end

#MachineNameObject

Parameters:

  • ClusterId:

    集群 ID

  • MachineName:

    节点名称

  • KeyIds:

    密钥 ID 列表



2337
2338
2339
# File 'lib/v20220501/models.rb', line 2337

def MachineName
  @MachineName
end

Instance Method Details

#deserialize(params) ⇒ Object



2345
2346
2347
2348
2349
# File 'lib/v20220501/models.rb', line 2345

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