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.
20003 20004 20005 20006 20007 20008 20009 20010 |
# File 'lib/v20180525/models.rb', line 20003 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,表示取不到有效值。
20001 20002 20003 |
# File 'lib/v20180525/models.rb', line 20001 def Labels @Labels end |
#LifeState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
creating:创建中
-
normal:正常
-
updating:更新中
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
20001 20002 20003 |
# File 'lib/v20180525/models.rb', line 20001 def LifeState @LifeState end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
creating:创建中
-
normal:正常
-
updating:更新中
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
20001 20002 20003 |
# File 'lib/v20180525/models.rb', line 20001 def Name @Name end |
#NodePoolId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
creating:创建中
-
normal:正常
-
updating:更新中
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
20001 20002 20003 |
# File 'lib/v20180525/models.rb', line 20001 def NodePoolId @NodePoolId end |
#SubnetIds ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
creating:创建中
-
normal:正常
-
updating:更新中
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
20001 20002 20003 |
# File 'lib/v20180525/models.rb', line 20001 def SubnetIds @SubnetIds end |
#Taints ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
creating:创建中
-
normal:正常
-
updating:更新中
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
20001 20002 20003 |
# File 'lib/v20180525/models.rb', line 20001 def Taints @Taints end |
Instance Method Details
#deserialize(params) ⇒ Object
20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 |
# File 'lib/v20180525/models.rb', line 20012 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 |