Class: TencentCloud::As::V20180419::StartInstanceRefreshRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::StartInstanceRefreshRequest
- Defined in:
- lib/v20180419/models.rb
Overview
StartInstanceRefresh请求参数结构体
Instance Attribute Summary collapse
-
#AutoScalingGroupId ⇒ Object
- ROLLING_UPDATE_RESET:重装系统进行滚动更新
- ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口
. -
#RefreshMode ⇒ Object
- ROLLING_UPDATE_RESET:重装系统进行滚动更新
- ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口
. -
#RefreshSettings ⇒ Object
- ROLLING_UPDATE_RESET:重装系统进行滚动更新
- ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(autoscalinggroupid = nil, refreshsettings = nil, refreshmode = nil) ⇒ StartInstanceRefreshRequest
constructor
A new instance of StartInstanceRefreshRequest.
Constructor Details
#initialize(autoscalinggroupid = nil, refreshsettings = nil, refreshmode = nil) ⇒ StartInstanceRefreshRequest
Returns a new instance of StartInstanceRefreshRequest.
5626 5627 5628 5629 5630 |
# File 'lib/v20180419/models.rb', line 5626 def initialize(autoscalinggroupid=nil, refreshsettings=nil, refreshmode=nil) @AutoScalingGroupId = autoscalinggroupid @RefreshSettings = refreshsettings @RefreshMode = refreshmode end |
Instance Attribute Details
#AutoScalingGroupId ⇒ Object
5624 5625 5626 |
# File 'lib/v20180419/models.rb', line 5624 def AutoScalingGroupId @AutoScalingGroupId end |
#RefreshMode ⇒ Object
5624 5625 5626 |
# File 'lib/v20180419/models.rb', line 5624 def RefreshMode @RefreshMode end |
#RefreshSettings ⇒ Object
5624 5625 5626 |
# File 'lib/v20180419/models.rb', line 5624 def RefreshSettings @RefreshSettings end |
Instance Method Details
#deserialize(params) ⇒ Object
5632 5633 5634 5635 5636 5637 5638 5639 |
# File 'lib/v20180419/models.rb', line 5632 def deserialize(params) @AutoScalingGroupId = params['AutoScalingGroupId'] unless params['RefreshSettings'].nil? @RefreshSettings = RefreshSettings.new @RefreshSettings.deserialize(params['RefreshSettings']) end @RefreshMode = params['RefreshMode'] end |