Class: TencentCloud::Tke::V20180525::DrainClusterVirtualNodeRequest

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

Overview

DrainClusterVirtualNode请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, nodename = nil) ⇒ DrainClusterVirtualNodeRequest

Returns a new instance of DrainClusterVirtualNodeRequest.



10733
10734
10735
10736
# File 'lib/v20180525/models.rb', line 10733

def initialize(clusterid=nil, nodename=nil)
  @ClusterId = clusterid
  @NodeName = nodename
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • NodeName:

    节点名



10731
10732
10733
# File 'lib/v20180525/models.rb', line 10731

def ClusterId
  @ClusterId
end

#NodeNameObject

Parameters:

  • ClusterId:

    集群ID

  • NodeName:

    节点名



10731
10732
10733
# File 'lib/v20180525/models.rb', line 10731

def NodeName
  @NodeName
end

Instance Method Details

#deserialize(params) ⇒ Object



10738
10739
10740
10741
# File 'lib/v20180525/models.rb', line 10738

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