Class: TencentCloud::Tke::V20220501::NodePool

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

Overview

节点池信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, nodepoolid = nil, tags = nil, taints = nil, deletionprotection = nil, unschedulable = nil, type = nil, labels = nil, lifestate = nil, createdat = nil, name = nil, native = nil, annotations = nil, _super = nil, regular = nil, external = nil) ⇒ NodePool

Returns a new instance of NodePool.



2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
# File 'lib/v20220501/models.rb', line 2514

def initialize(clusterid=nil, nodepoolid=nil, tags=nil, taints=nil, deletionprotection=nil, unschedulable=nil, type=nil, labels=nil, lifestate=nil, createdat=nil, name=nil, native=nil, annotations=nil, _super=nil, regular=nil, external=nil)
  @ClusterId = clusterid
  @NodePoolId = nodepoolid
  @Tags = tags
  @Taints = taints
  @DeletionProtection = deletionprotection
  @Unschedulable = unschedulable
  @Type = type
  @Labels = labels
  @LifeState = lifestate
  @CreatedAt = createdat
  @Name = name
  @Native = native
  @Annotations = annotations
  @Super = _super
  @Regular = regular
  @External = external
end

Instance Attribute Details

#AnnotationsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def Annotations
  @Annotations
end

#ClusterIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def ClusterId
  @ClusterId
end

#CreatedAtObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def CreatedAt
  @CreatedAt
end

#DeletionProtectionObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def DeletionProtection
  @DeletionProtection
end

#ExternalObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def External
  @External
end

#LabelsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def Labels
  @Labels
end

#LifeStateObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def LifeState
  @LifeState
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def Name
  @Name
end

#NativeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def Native
  @Native
end

#NodePoolIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def NodePoolId
  @NodePoolId
end

#RegularObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def Regular
  @Regular
end

#SuperObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def Super
  @Super
end

#TagsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def Tags
  @Tags
end

#TaintsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def Taints
  @Taints
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def Type
  @Type
end

#UnschedulableObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2512
2513
2514
# File 'lib/v20220501/models.rb', line 2512

def Unschedulable
  @Unschedulable
end

Instance Method Details

#deserialize(params) ⇒ Object



2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
# File 'lib/v20220501/models.rb', line 2533

def deserialize(params)
  @ClusterId = params['ClusterId']
  @NodePoolId = params['NodePoolId']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tagspecification_tmp = TagSpecification.new
      tagspecification_tmp.deserialize(i)
      @Tags << tagspecification_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
  @DeletionProtection = params['DeletionProtection']
  @Unschedulable = params['Unschedulable']
  @Type = params['Type']
  unless params['Labels'].nil?
    @Labels = []
    params['Labels'].each do |i|
      label_tmp = Label.new
      label_tmp.deserialize(i)
      @Labels << label_tmp
    end
  end
  @LifeState = params['LifeState']
  @CreatedAt = params['CreatedAt']
  @Name = params['Name']
  unless params['Native'].nil?
    @Native = NativeNodePoolInfo.new
    @Native.deserialize(params['Native'])
  end
  unless params['Annotations'].nil?
    @Annotations = []
    params['Annotations'].each do |i|
      annotation_tmp = Annotation.new
      annotation_tmp.deserialize(i)
      @Annotations << annotation_tmp
    end
  end
  unless params['Super'].nil?
    @Super = SuperNodePoolInfo.new
    @Super.deserialize(params['Super'])
  end
  unless params['Regular'].nil?
    @Regular = RegularNodePoolInfo.new
    @Regular.deserialize(params['Regular'])
  end
  unless params['External'].nil?
    @External = ExternalNodePoolInfo.new
    @External.deserialize(params['External'])
  end
end