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.



4333
4334
4335
4336
4337
# File 'lib/v20180525/models.rb', line 4333

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • NodePoolIds:

    超级节点池ID列表

  • Force:

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



4331
4332
4333
# File 'lib/v20180525/models.rb', line 4331

def ClusterId
  @ClusterId
end

#ForceObject

Parameters:

  • ClusterId:

    集群ID

  • NodePoolIds:

    超级节点池ID列表

  • Force:

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



4331
4332
4333
# File 'lib/v20180525/models.rb', line 4331

def Force
  @Force
end

#NodePoolIdsObject

Parameters:

  • ClusterId:

    集群ID

  • NodePoolIds:

    超级节点池ID列表

  • Force:

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



4331
4332
4333
# File 'lib/v20180525/models.rb', line 4331

def NodePoolIds
  @NodePoolIds
end

Instance Method Details

#deserialize(params) ⇒ Object



4339
4340
4341
4342
4343
# File 'lib/v20180525/models.rb', line 4339

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