Class: TencentCloud::Tke::V20180525::NodePoolOption

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

Overview

加入存量节点时的节点池选项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(addtonodepool = nil, nodepoolid = nil, inheritconfigurationfromnodepool = nil) ⇒ NodePoolOption

Returns a new instance of NodePoolOption.



15131
15132
15133
15134
15135
# File 'lib/v20180525/models.rb', line 15131

def initialize(addtonodepool=nil, nodepoolid=nil, inheritconfigurationfromnodepool=nil)
  @AddToNodePool = addtonodepool
  @NodePoolId = nodepoolid
  @InheritConfigurationFromNodePool = inheritconfigurationfromnodepool
end

Instance Attribute Details

#AddToNodePoolObject

Parameters:

  • AddToNodePool:

    是否加入节点池

  • NodePoolId:

    节点池id

  • InheritConfigurationFromNodePool:

    是否继承节点池相关配置



15129
15130
15131
# File 'lib/v20180525/models.rb', line 15129

def AddToNodePool
  @AddToNodePool
end

#InheritConfigurationFromNodePoolObject

Parameters:

  • AddToNodePool:

    是否加入节点池

  • NodePoolId:

    节点池id

  • InheritConfigurationFromNodePool:

    是否继承节点池相关配置



15129
15130
15131
# File 'lib/v20180525/models.rb', line 15129

def InheritConfigurationFromNodePool
  @InheritConfigurationFromNodePool
end

#NodePoolIdObject

Parameters:

  • AddToNodePool:

    是否加入节点池

  • NodePoolId:

    节点池id

  • InheritConfigurationFromNodePool:

    是否继承节点池相关配置



15129
15130
15131
# File 'lib/v20180525/models.rb', line 15129

def NodePoolId
  @NodePoolId
end

Instance Method Details

#deserialize(params) ⇒ Object



15137
15138
15139
15140
15141
# File 'lib/v20180525/models.rb', line 15137

def deserialize(params)
  @AddToNodePool = params['AddToNodePool']
  @NodePoolId = params['NodePoolId']
  @InheritConfigurationFromNodePool = params['InheritConfigurationFromNodePool']
end