Class: TencentCloud::Tke::V20180525::DeleteClusterVirtualNodePoolRequest

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

Overview

DeleteClusterVirtualNodePool请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, nodepoolids = nil, force = nil) ⇒ DeleteClusterVirtualNodePoolRequest

Returns a new instance of DeleteClusterVirtualNodePoolRequest.



4406
4407
4408
4409
4410
# File 'lib/v20180525/models.rb', line 4406

def initialize(clusterid=nil, nodepoolids=nil, force=nil)
  @ClusterId = clusterid
  @NodePoolIds = nodepoolids
  @Force = force
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID,通过DescribeClusters接口获取

  • NodePoolIds:

    节点池ID,通过DescribeNodePools接口获取

  • Force:

    是否强制删除,在超级节点上有pod的情况下,如果选择非强制删除,则删除会失败



4404
4405
4406
# File 'lib/v20180525/models.rb', line 4404

def ClusterId
  @ClusterId
end

#ForceObject

Parameters:

  • ClusterId:

    集群ID,通过DescribeClusters接口获取

  • NodePoolIds:

    节点池ID,通过DescribeNodePools接口获取

  • Force:

    是否强制删除,在超级节点上有pod的情况下,如果选择非强制删除,则删除会失败



4404
4405
4406
# File 'lib/v20180525/models.rb', line 4404

def Force
  @Force
end

#NodePoolIdsObject

Parameters:

  • ClusterId:

    集群ID,通过DescribeClusters接口获取

  • NodePoolIds:

    节点池ID,通过DescribeNodePools接口获取

  • Force:

    是否强制删除,在超级节点上有pod的情况下,如果选择非强制删除,则删除会失败



4404
4405
4406
# File 'lib/v20180525/models.rb', line 4404

def NodePoolIds
  @NodePoolIds
end

Instance Method Details

#deserialize(params) ⇒ Object



4412
4413
4414
4415
4416
# File 'lib/v20180525/models.rb', line 4412

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