Class: TencentCloud::Tke::V20180525::DeleteClusterVirtualNodeRequest

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

Overview

DeleteClusterVirtualNode请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, nodenames = nil, force = nil) ⇒ DeleteClusterVirtualNodeRequest

Returns a new instance of DeleteClusterVirtualNodeRequest.



4373
4374
4375
4376
4377
# File 'lib/v20180525/models.rb', line 4373

def initialize(clusterid=nil, nodenames=nil, force=nil)
  @ClusterId = clusterid
  @NodeNames = nodenames
  @Force = force
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • NodeNames:

    虚拟节点列表

  • Force:

    是否强制删除:如果虚拟节点上有运行中Pod,则非强制删除状态下不会进行删除



4371
4372
4373
# File 'lib/v20180525/models.rb', line 4371

def ClusterId
  @ClusterId
end

#ForceObject

Parameters:

  • ClusterId:

    集群ID

  • NodeNames:

    虚拟节点列表

  • Force:

    是否强制删除:如果虚拟节点上有运行中Pod,则非强制删除状态下不会进行删除



4371
4372
4373
# File 'lib/v20180525/models.rb', line 4371

def Force
  @Force
end

#NodeNamesObject

Parameters:

  • ClusterId:

    集群ID

  • NodeNames:

    虚拟节点列表

  • Force:

    是否强制删除:如果虚拟节点上有运行中Pod,则非强制删除状态下不会进行删除



4371
4372
4373
# File 'lib/v20180525/models.rb', line 4371

def NodeNames
  @NodeNames
end

Instance Method Details

#deserialize(params) ⇒ Object



4379
4380
4381
4382
4383
# File 'lib/v20180525/models.rb', line 4379

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