Class: TencentCloud::As::V20180419::RollbackInstanceRefreshRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180419/models.rb

Overview

RollbackInstanceRefresh请求参数结构体

Instance Attribute Summary collapse

  • #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

    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

    #AutoScalingGroupIdObject

  • 通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。
  • 通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • Parameters:

    • AutoScalingGroupId:

      伸缩组ID。可以通过以下方式获取可用的伸缩组ID:

    • RefreshSettings:

      刷新设置。

    • OriginRefreshActivityId:

      原始刷新活动 ID。可以通过调用接口 DescribeRefreshActivities ,取返回信息中的 OriginRefreshActivityId 获取原始刷新活动ID。

    • RefreshMode:

      刷新模式,目前仅支持滚动更新,默认值为 ROLLING_UPDATE_RESET。

    
    
    5055
    5056
    5057
    # File 'lib/v20180419/models.rb', line 5055
    
    def AutoScalingGroupId
      @AutoScalingGroupId
    end

    #OriginRefreshActivityIdObject

  • 通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。
  • 通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • Parameters:

    • AutoScalingGroupId:

      伸缩组ID。可以通过以下方式获取可用的伸缩组ID:

    • RefreshSettings:

      刷新设置。

    • OriginRefreshActivityId:

      原始刷新活动 ID。可以通过调用接口 DescribeRefreshActivities ,取返回信息中的 OriginRefreshActivityId 获取原始刷新活动ID。

    • RefreshMode:

      刷新模式,目前仅支持滚动更新,默认值为 ROLLING_UPDATE_RESET。

    
    
    5055
    5056
    5057
    # File 'lib/v20180419/models.rb', line 5055
    
    def OriginRefreshActivityId
      @OriginRefreshActivityId
    end

    #RefreshModeObject

  • 通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。
  • 通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • Parameters:

    • AutoScalingGroupId:

      伸缩组ID。可以通过以下方式获取可用的伸缩组ID:

    • RefreshSettings:

      刷新设置。

    • OriginRefreshActivityId:

      原始刷新活动 ID。可以通过调用接口 DescribeRefreshActivities ,取返回信息中的 OriginRefreshActivityId 获取原始刷新活动ID。

    • RefreshMode:

      刷新模式,目前仅支持滚动更新,默认值为 ROLLING_UPDATE_RESET。

    
    
    5055
    5056
    5057
    # File 'lib/v20180419/models.rb', line 5055
    
    def RefreshMode
      @RefreshMode
    end

    #RefreshSettingsObject

  • 通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。
  • 通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • Parameters:

    • AutoScalingGroupId:

      伸缩组ID。可以通过以下方式获取可用的伸缩组ID:

    • RefreshSettings:

      刷新设置。

    • OriginRefreshActivityId:

      原始刷新活动 ID。可以通过调用接口 DescribeRefreshActivities ,取返回信息中的 OriginRefreshActivityId 获取原始刷新活动ID。

    • RefreshMode:

      刷新模式,目前仅支持滚动更新,默认值为 ROLLING_UPDATE_RESET。

    
    
    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