Class: TencentCloud::Tke::V20180525::NodePoolOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::NodePoolOption
- Defined in:
- lib/v20180525/models.rb
Overview
加入存量节点时的节点池选项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(addtonodepool = nil, nodepoolid = nil, inheritconfigurationfromnodepool = nil) ⇒ NodePoolOption
constructor
A new instance of NodePoolOption.
Constructor Details
#initialize(addtonodepool = nil, nodepoolid = nil, inheritconfigurationfromnodepool = nil) ⇒ NodePoolOption
Returns a new instance of NodePoolOption.
15361 15362 15363 15364 15365 |
# File 'lib/v20180525/models.rb', line 15361 def initialize(addtonodepool=nil, nodepoolid=nil, inheritconfigurationfromnodepool=nil) @AddToNodePool = addtonodepool @NodePoolId = nodepoolid @InheritConfigurationFromNodePool = inheritconfigurationfromnodepool end |
Instance Attribute Details
#AddToNodePool ⇒ Object
15359 15360 15361 |
# File 'lib/v20180525/models.rb', line 15359 def AddToNodePool @AddToNodePool end |
#InheritConfigurationFromNodePool ⇒ Object
15359 15360 15361 |
# File 'lib/v20180525/models.rb', line 15359 def InheritConfigurationFromNodePool @InheritConfigurationFromNodePool end |
#NodePoolId ⇒ Object
15359 15360 15361 |
# File 'lib/v20180525/models.rb', line 15359 def NodePoolId @NodePoolId end |
Instance Method Details
#deserialize(params) ⇒ Object
15367 15368 15369 15370 15371 |
# File 'lib/v20180525/models.rb', line 15367 def deserialize(params) @AddToNodePool = params['AddToNodePool'] @NodePoolId = params['NodePoolId'] @InheritConfigurationFromNodePool = params['InheritConfigurationFromNodePool'] end |