Class: TencentCloud::Tke::V20180525::VirtualNodePool
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::VirtualNodePool
- Defined in:
- lib/v20180525/models.rb
Overview
虚拟节点池
Instance Attribute Summary collapse
-
#Labels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 - creating:创建中 - normal:正常 - updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LifeState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 - creating:创建中 - normal:正常 - updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 - creating:创建中 - normal:正常 - updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NodePoolId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 - creating:创建中 - normal:正常 - updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SubnetIds ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 - creating:创建中 - normal:正常 - updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Taints ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 - creating:创建中 - normal:正常 - updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodepoolid = nil, subnetids = nil, name = nil, lifestate = nil, labels = nil, taints = nil) ⇒ VirtualNodePool
constructor
A new instance of VirtualNodePool.
Constructor Details
#initialize(nodepoolid = nil, subnetids = nil, name = nil, lifestate = nil, labels = nil, taints = nil) ⇒ VirtualNodePool
Returns a new instance of VirtualNodePool.
21634 21635 21636 21637 21638 21639 21640 21641 |
# File 'lib/v20180525/models.rb', line 21634 def initialize(nodepoolid=nil, subnetids=nil, name=nil, lifestate=nil, labels=nil, taints=nil) @NodePoolId = nodepoolid @SubnetIds = subnetids @Name = name @LifeState = lifestate @Labels = labels @Taints = taints end |
Instance Attribute Details
#Labels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
- creating:创建中
- normal:正常
- updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
21632 21633 21634 |
# File 'lib/v20180525/models.rb', line 21632 def Labels @Labels end |
#LifeState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
- creating:创建中
- normal:正常
- updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
21632 21633 21634 |
# File 'lib/v20180525/models.rb', line 21632 def LifeState @LifeState end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
- creating:创建中
- normal:正常
- updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
21632 21633 21634 |
# File 'lib/v20180525/models.rb', line 21632 def Name @Name end |
#NodePoolId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
- creating:创建中
- normal:正常
- updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
21632 21633 21634 |
# File 'lib/v20180525/models.rb', line 21632 def NodePoolId @NodePoolId end |
#SubnetIds ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
- creating:创建中
- normal:正常
- updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
21632 21633 21634 |
# File 'lib/v20180525/models.rb', line 21632 def SubnetIds @SubnetIds end |
#Taints ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
- creating:创建中
- normal:正常
- updating:更新中 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
21632 21633 21634 |
# File 'lib/v20180525/models.rb', line 21632 def Taints @Taints end |
Instance Method Details
#deserialize(params) ⇒ Object
21643 21644 21645 21646 21647 21648 21649 21650 21651 21652 21653 21654 21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 |
# File 'lib/v20180525/models.rb', line 21643 def deserialize(params) @NodePoolId = params['NodePoolId'] @SubnetIds = params['SubnetIds'] @Name = params['Name'] @LifeState = params['LifeState'] unless params['Labels'].nil? @Labels = [] params['Labels'].each do |i| label_tmp = Label.new label_tmp.deserialize(i) @Labels << label_tmp end end unless params['Taints'].nil? @Taints = [] params['Taints'].each do |i| taint_tmp = Taint.new taint_tmp.deserialize(i) @Taints << taint_tmp end end end |