Class: TencentCloud::Tke::V20220501::ExternalNodePoolInfo

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

Overview

第三方节点池信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(runtimeconfig = nil, nodesnum = nil) ⇒ ExternalNodePoolInfo

Returns a new instance of ExternalNodePoolInfo.



913
914
915
916
# File 'lib/v20220501/models.rb', line 913

def initialize(runtimeconfig=nil, nodesnum=nil)
  @RuntimeConfig = runtimeconfig
  @NodesNum = nodesnum
end

Instance Attribute Details

#NodesNumObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuntimeConfig:

    第三方节点Runtime配置

  • NodesNum:

    节点数



911
912
913
# File 'lib/v20220501/models.rb', line 911

def NodesNum
  @NodesNum
end

#RuntimeConfigObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuntimeConfig:

    第三方节点Runtime配置

  • NodesNum:

    节点数



911
912
913
# File 'lib/v20220501/models.rb', line 911

def RuntimeConfig
  @RuntimeConfig
end

Instance Method Details

#deserialize(params) ⇒ Object



918
919
920
921
922
923
924
# File 'lib/v20220501/models.rb', line 918

def deserialize(params)
  unless params['RuntimeConfig'].nil?
    @RuntimeConfig = RuntimeConfig.new
    @RuntimeConfig.deserialize(params['RuntimeConfig'])
  end
  @NodesNum = params['NodesNum']
end