Class: TencentCloud::Tke::V20220501::StopMachinesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::StopMachinesRequest
- Defined in:
- lib/v20220501/models.rb
Overview
StopMachines请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机.
-
#MachineNames ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机.
-
#StopType ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, machinenames = nil, stoptype = nil) ⇒ StopMachinesRequest
constructor
A new instance of StopMachinesRequest.
Constructor Details
#initialize(clusterid = nil, machinenames = nil, stoptype = nil) ⇒ StopMachinesRequest
Returns a new instance of StopMachinesRequest.
2252 2253 2254 2255 2256 |
# File 'lib/v20220501/models.rb', line 2252 def initialize(clusterid=nil, machinenames=nil, stoptype=nil) @ClusterId = clusterid @MachineNames = machinenames @StopType = stoptype end |
Instance Attribute Details
#ClusterId ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机
2250 2251 2252 |
# File 'lib/v20220501/models.rb', line 2250 def ClusterId @ClusterId end |
#MachineNames ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机
2250 2251 2252 |
# File 'lib/v20220501/models.rb', line 2250 def MachineNames @MachineNames end |
#StopType ⇒ Object
soft_first:表示在正常关闭失败后进行强制关闭 hard:直接强制关闭 soft:仅软关机
2250 2251 2252 |
# File 'lib/v20220501/models.rb', line 2250 def StopType @StopType end |
Instance Method Details
#deserialize(params) ⇒ Object
2258 2259 2260 2261 2262 |
# File 'lib/v20220501/models.rb', line 2258 def deserialize(params) @ClusterId = params['ClusterId'] @MachineNames = params['MachineNames'] @StopType = params['StopType'] end |