Class: TencentCloud::Tke::V20220501::RebootMachinesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::RebootMachinesRequest
- Defined in:
- lib/v20220501/models.rb
Overview
RebootMachines请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机默认取值:soft。.
-
#MachineNames ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机默认取值:soft。.
-
#StopType ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机默认取值:soft。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, machinenames = nil, stoptype = nil) ⇒ RebootMachinesRequest
constructor
A new instance of RebootMachinesRequest.
Constructor Details
#initialize(clusterid = nil, machinenames = nil, stoptype = nil) ⇒ RebootMachinesRequest
Returns a new instance of RebootMachinesRequest.
2041 2042 2043 2044 2045 |
# File 'lib/v20220501/models.rb', line 2041 def initialize(clusterid=nil, machinenames=nil, stoptype=nil) @ClusterId = clusterid @MachineNames = machinenames @StopType = stoptype end |
Instance Attribute Details
#ClusterId ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机默认取值:soft。
2039 2040 2041 |
# File 'lib/v20220501/models.rb', line 2039 def ClusterId @ClusterId end |
#MachineNames ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机默认取值:soft。
2039 2040 2041 |
# File 'lib/v20220501/models.rb', line 2039 def MachineNames @MachineNames end |
#StopType ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机默认取值:soft。
2039 2040 2041 |
# File 'lib/v20220501/models.rb', line 2039 def StopType @StopType end |
Instance Method Details
#deserialize(params) ⇒ Object
2047 2048 2049 2050 2051 |
# File 'lib/v20220501/models.rb', line 2047 def deserialize(params) @ClusterId = params['ClusterId'] @MachineNames = params['MachineNames'] @StopType = params['StopType'] end |