Class: TencentCloud::As::V20180419::RollbackInstanceRefreshRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::RollbackInstanceRefreshRequest
- Defined in:
- lib/v20180419/models.rb
Overview
RollbackInstanceRefresh请求参数结构体
Instance Attribute Summary collapse
-
#AutoScalingGroupId ⇒ Object
- 通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。
- 通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
. -
#OriginRefreshActivityId ⇒ Object
- 通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。
- 通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
. -
#RefreshMode ⇒ Object
- 通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。
- 通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
. -
#RefreshSettings ⇒ Object
- 通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。
- 通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(autoscalinggroupid = nil, refreshsettings = nil, originrefreshactivityid = nil, refreshmode = nil) ⇒ RollbackInstanceRefreshRequest
constructor
A new instance of RollbackInstanceRefreshRequest.
Constructor Details
#initialize(autoscalinggroupid = nil, refreshsettings = nil, originrefreshactivityid = nil, refreshmode = nil) ⇒ RollbackInstanceRefreshRequest
Returns a new instance of RollbackInstanceRefreshRequest.
5057 5058 5059 5060 5061 5062 |
# File 'lib/v20180419/models.rb', line 5057 def initialize(autoscalinggroupid=nil, refreshsettings=nil, originrefreshactivityid=nil, refreshmode=nil) @AutoScalingGroupId = autoscalinggroupid @RefreshSettings = refreshsettings @OriginRefreshActivityId = originrefreshactivityid @RefreshMode = refreshmode end |
Instance Attribute Details
#AutoScalingGroupId ⇒ Object
5055 5056 5057 |
# File 'lib/v20180419/models.rb', line 5055 def AutoScalingGroupId @AutoScalingGroupId end |
#OriginRefreshActivityId ⇒ Object
5055 5056 5057 |
# File 'lib/v20180419/models.rb', line 5055 def OriginRefreshActivityId @OriginRefreshActivityId end |
#RefreshMode ⇒ Object
5055 5056 5057 |
# File 'lib/v20180419/models.rb', line 5055 def RefreshMode @RefreshMode end |
#RefreshSettings ⇒ Object
5055 5056 5057 |
# File 'lib/v20180419/models.rb', line 5055 def RefreshSettings @RefreshSettings end |
Instance Method Details
#deserialize(params) ⇒ Object
5064 5065 5066 5067 5068 5069 5070 5071 5072 |
# File 'lib/v20180419/models.rb', line 5064 def deserialize(params) @AutoScalingGroupId = params['AutoScalingGroupId'] unless params['RefreshSettings'].nil? @RefreshSettings = RefreshSettings.new @RefreshSettings.deserialize(params['RefreshSettings']) end @OriginRefreshActivityId = params['OriginRefreshActivityId'] @RefreshMode = params['RefreshMode'] end |