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.
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
#AddToNodePool ⇒ Object
15129 15130 15131 |
# File 'lib/v20180525/models.rb', line 15129 def AddToNodePool @AddToNodePool end |
#InheritConfigurationFromNodePool ⇒ Object
15129 15130 15131 |
# File 'lib/v20180525/models.rb', line 15129 def InheritConfigurationFromNodePool @InheritConfigurationFromNodePool end |
#NodePoolId ⇒ Object
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 |