Class: TencentCloud::Tke::V20180525::DeleteClusterInstancesRequest

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

Overview

DeleteClusterInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, instanceids = nil, instancedeletemode = nil, forcedelete = nil) ⇒ DeleteClusterInstancesRequest

Returns a new instance of DeleteClusterInstancesRequest.



4117
4118
4119
4120
4121
4122
# File 'lib/v20180525/models.rb', line 4117

def initialize(clusterid=nil, instanceids=nil, instancedeletemode=nil, forcedelete=nil)
  @ClusterId = clusterid
  @InstanceIds = instanceids
  @InstanceDeleteMode = instancedeletemode
  @ForceDelete = forcedelete
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • InstanceIds:

    主机InstanceId列表

  • InstanceDeleteMode:

    集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)

  • ForceDelete:

    是否强制删除(当节点在初始化时,可以指定参数为TRUE)



4115
4116
4117
# File 'lib/v20180525/models.rb', line 4115

def ClusterId
  @ClusterId
end

#ForceDeleteObject

Parameters:

  • ClusterId:

    集群ID

  • InstanceIds:

    主机InstanceId列表

  • InstanceDeleteMode:

    集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)

  • ForceDelete:

    是否强制删除(当节点在初始化时,可以指定参数为TRUE)



4115
4116
4117
# File 'lib/v20180525/models.rb', line 4115

def ForceDelete
  @ForceDelete
end

#InstanceDeleteModeObject

Parameters:

  • ClusterId:

    集群ID

  • InstanceIds:

    主机InstanceId列表

  • InstanceDeleteMode:

    集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)

  • ForceDelete:

    是否强制删除(当节点在初始化时,可以指定参数为TRUE)



4115
4116
4117
# File 'lib/v20180525/models.rb', line 4115

def InstanceDeleteMode
  @InstanceDeleteMode
end

#InstanceIdsObject

Parameters:

  • ClusterId:

    集群ID

  • InstanceIds:

    主机InstanceId列表

  • InstanceDeleteMode:

    集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)

  • ForceDelete:

    是否强制删除(当节点在初始化时,可以指定参数为TRUE)



4115
4116
4117
# File 'lib/v20180525/models.rb', line 4115

def InstanceIds
  @InstanceIds
end

Instance Method Details

#deserialize(params) ⇒ Object



4124
4125
4126
4127
4128
4129
# File 'lib/v20180525/models.rb', line 4124

def deserialize(params)
  @ClusterId = params['ClusterId']
  @InstanceIds = params['InstanceIds']
  @InstanceDeleteMode = params['InstanceDeleteMode']
  @ForceDelete = params['ForceDelete']
end