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.
2364 2365 2366 2367 2368 |
# File 'lib/v20220501/models.rb', line 2364 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。
2362 2363 2364 |
# File 'lib/v20220501/models.rb', line 2362 def ClusterId @ClusterId end |
#MachineNames ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭hard:直接强制关闭soft:仅软关机默认取值:soft。
2362 2363 2364 |
# File 'lib/v20220501/models.rb', line 2362 def MachineNames @MachineNames end |
#StopType ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭hard:直接强制关闭soft:仅软关机默认取值:soft。
2362 2363 2364 |
# File 'lib/v20220501/models.rb', line 2362 def StopType @StopType end |
Instance Method Details
#deserialize(params) ⇒ Object
2370 2371 2372 2373 2374 |
# File 'lib/v20220501/models.rb', line 2370 def deserialize(params) @ClusterId = params['ClusterId'] @MachineNames = params['MachineNames'] @StopType = params['StopType'] end |