Class: TencentCloud::Emr::V20190103::StartStopServiceOrMonitorRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::StartStopServiceOrMonitorRequest
- Defined in:
- lib/v20190103/models.rb
Overview
StartStopServiceOrMonitor请求参数结构体
Instance Attribute Summary collapse
-
#InstanceId ⇒ Object
- StartService:启动服务
- StopService:停止服务
- StartMonitor:退出维护
- StopMonitor:进入维护
- RestartService:重启服务 如果操作类型选择重启服务 StrategyConfig操作策略则是必填项
. -
#KeepMonitorButNotRecoverProcess ⇒ Object
- StartService:启动服务
- StopService:停止服务
- StartMonitor:退出维护
- StopMonitor:进入维护
- RestartService:重启服务 如果操作类型选择重启服务 StrategyConfig操作策略则是必填项
. -
#OpScope ⇒ Object
- StartService:启动服务
- StopService:停止服务
- StartMonitor:退出维护
- StopMonitor:进入维护
- RestartService:重启服务 如果操作类型选择重启服务 StrategyConfig操作策略则是必填项
. -
#OpType ⇒ Object
- StartService:启动服务
- StopService:停止服务
- StartMonitor:退出维护
- StopMonitor:进入维护
- RestartService:重启服务 如果操作类型选择重启服务 StrategyConfig操作策略则是必填项
. -
#StopParams ⇒ Object
- StartService:启动服务
- StopService:停止服务
- StartMonitor:退出维护
- StopMonitor:进入维护
- RestartService:重启服务 如果操作类型选择重启服务 StrategyConfig操作策略则是必填项
. -
#StrategyConfig ⇒ Object
- StartService:启动服务
- StopService:停止服务
- StartMonitor:退出维护
- StopMonitor:进入维护
- RestartService:重启服务 如果操作类型选择重启服务 StrategyConfig操作策略则是必填项
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, optype = nil, opscope = nil, strategyconfig = nil, stopparams = nil, keepmonitorbutnotrecoverprocess = nil) ⇒ StartStopServiceOrMonitorRequest
constructor
A new instance of StartStopServiceOrMonitorRequest.
Constructor Details
#initialize(instanceid = nil, optype = nil, opscope = nil, strategyconfig = nil, stopparams = nil, keepmonitorbutnotrecoverprocess = nil) ⇒ StartStopServiceOrMonitorRequest
Returns a new instance of StartStopServiceOrMonitorRequest.
13793 13794 13795 13796 13797 13798 13799 13800 |
# File 'lib/v20190103/models.rb', line 13793 def initialize(instanceid=nil, optype=nil, opscope=nil, strategyconfig=nil, stopparams=nil, keepmonitorbutnotrecoverprocess=nil) @InstanceId = instanceid @OpType = optype @OpScope = opscope @StrategyConfig = strategyconfig @StopParams = stopparams @KeepMonitorButNotRecoverProcess = keepmonitorbutnotrecoverprocess end |
Instance Attribute Details
#InstanceId ⇒ Object
13791 13792 13793 |
# File 'lib/v20190103/models.rb', line 13791 def InstanceId @InstanceId end |
#KeepMonitorButNotRecoverProcess ⇒ Object
13791 13792 13793 |
# File 'lib/v20190103/models.rb', line 13791 def KeepMonitorButNotRecoverProcess @KeepMonitorButNotRecoverProcess end |
#OpScope ⇒ Object
13791 13792 13793 |
# File 'lib/v20190103/models.rb', line 13791 def OpScope @OpScope end |
#OpType ⇒ Object
13791 13792 13793 |
# File 'lib/v20190103/models.rb', line 13791 def OpType @OpType end |
#StopParams ⇒ Object
13791 13792 13793 |
# File 'lib/v20190103/models.rb', line 13791 def StopParams @StopParams end |
#StrategyConfig ⇒ Object
13791 13792 13793 |
# File 'lib/v20190103/models.rb', line 13791 def StrategyConfig @StrategyConfig end |
Instance Method Details
#deserialize(params) ⇒ Object
13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 |
# File 'lib/v20190103/models.rb', line 13802 def deserialize(params) @InstanceId = params['InstanceId'] @OpType = params['OpType'] unless params['OpScope'].nil? @OpScope = OpScope.new @OpScope.deserialize(params['OpScope']) end unless params['StrategyConfig'].nil? @StrategyConfig = StrategyConfig.new @StrategyConfig.deserialize(params['StrategyConfig']) end unless params['StopParams'].nil? @StopParams = StopParams.new @StopParams.deserialize(params['StopParams']) end @KeepMonitorButNotRecoverProcess = params['KeepMonitorButNotRecoverProcess'] end |