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.



2516
2517
2518
2519
2520
# File 'lib/v20220501/models.rb', line 2516

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 列表



2514
2515
2516
# File 'lib/v20220501/models.rb', line 2514

def ClusterId
  @ClusterId
end

#KeyIdsObject

Parameters:

  • ClusterId:

    集群 ID

  • MachineName:

    节点名称

  • KeyIds:

    密钥 ID 列表



2514
2515
2516
# File 'lib/v20220501/models.rb', line 2514

def KeyIds
  @KeyIds
end

#MachineNameObject

Parameters:

  • ClusterId:

    集群 ID

  • MachineName:

    节点名称

  • KeyIds:

    密钥 ID 列表



2514
2515
2516
# File 'lib/v20220501/models.rb', line 2514

def MachineName
  @MachineName
end

Instance Method Details

#deserialize(params) ⇒ Object



2522
2523
2524
2525
2526
# File 'lib/v20220501/models.rb', line 2522

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