Class: TencentCloud::Tke::V20180525::DeleteClusterNodePoolRequest

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

Overview

DeleteClusterNodePool请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, nodepoolids = nil, keepinstance = nil) ⇒ DeleteClusterNodePoolRequest

Returns a new instance of DeleteClusterNodePoolRequest.



4174
4175
4176
4177
4178
# File 'lib/v20180525/models.rb', line 4174

def initialize(clusterid=nil, nodepoolids=nil, keepinstance=nil)
  @ClusterId = clusterid
  @NodePoolIds = nodepoolids
  @KeepInstance = keepinstance
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    节点池对应的 ClusterId

  • NodePoolIds:

    需要删除的节点池 Id 列表

  • KeepInstance:

    删除节点池时是否保留节点池内节点(节点仍然会被移出集群,但对应的实例不会被销毁)



4172
4173
4174
# File 'lib/v20180525/models.rb', line 4172

def ClusterId
  @ClusterId
end

#KeepInstanceObject

Parameters:

  • ClusterId:

    节点池对应的 ClusterId

  • NodePoolIds:

    需要删除的节点池 Id 列表

  • KeepInstance:

    删除节点池时是否保留节点池内节点(节点仍然会被移出集群,但对应的实例不会被销毁)



4172
4173
4174
# File 'lib/v20180525/models.rb', line 4172

def KeepInstance
  @KeepInstance
end

#NodePoolIdsObject

Parameters:

  • ClusterId:

    节点池对应的 ClusterId

  • NodePoolIds:

    需要删除的节点池 Id 列表

  • KeepInstance:

    删除节点池时是否保留节点池内节点(节点仍然会被移出集群,但对应的实例不会被销毁)



4172
4173
4174
# File 'lib/v20180525/models.rb', line 4172

def NodePoolIds
  @NodePoolIds
end

Instance Method Details

#deserialize(params) ⇒ Object



4180
4181
4182
4183
4184
# File 'lib/v20180525/models.rb', line 4180

def deserialize(params)
  @ClusterId = params['ClusterId']
  @NodePoolIds = params['NodePoolIds']
  @KeepInstance = params['KeepInstance']
end