tencentcloud-sdk-as 3.0.1057 → 3.0.1058

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180419/models.rb +25 -14
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b6b01853505957a152fe0686deb60023e905ee9
4
- data.tar.gz: 92b8ebcd4edfb538e3b7d1061ecd9ef083c08e14
3
+ metadata.gz: 1274ba89463f5f39e51a5f40c89487f0348412ce
4
+ data.tar.gz: b21a6013f4895fd9b0c7324c6033555ab2ec488f
5
5
  SHA512:
6
- metadata.gz: 8684cc2c97df629d7cd5e89a46475d839f6e0910e6c1d58279cb0eef7ce8c382bb2158178f1495acce9170865108c625e8fa4a5567b21241ee884ba03095c9f1
7
- data.tar.gz: 60bd4f5d32f71eec565434926a391da6676beadb176813bd6c7519253cc2e4cfb1a563040d40bcb67ba3ef0f1100bb2e6f4a8266613045e01c79e64726a6a6da
6
+ metadata.gz: d3a6735f8c7b1f7d6fb739c98e065ae18201bb3bf5c794712f74369b27e319a89263dc5e095d3177583b4ca258735dea28f657a89ab70b9db8225ab6efb22f0c
7
+ data.tar.gz: 5e90bab76b462f96102112e5940eee0e55291036fa310823e243f83904257cfda774fe7ac75163e9bbd8777fd08cf351d8f1ffa49e7d26276fde6828a729c94b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1057
1
+ 3.0.1058
@@ -70,8 +70,8 @@ module TencentCloud
70
70
 
71
71
  attr_accessor :AutoScalingGroupId, :ActivityId, :ActivityType, :StatusCode, :StatusMessage, :Cause, :Description, :StartTime, :EndTime, :CreatedTime, :ActivityRelatedInstanceSet, :StatusMessageSimplified, :LifecycleActionResultSet, :DetailedStatusMessageSet, :InvocationResultSet, :RelatedInstanceSet
72
72
  extend Gem::Deprecate
73
- deprecate :ActivityRelatedInstanceSet, :none, 2025, 4
74
- deprecate :ActivityRelatedInstanceSet=, :none, 2025, 4
73
+ deprecate :ActivityRelatedInstanceSet, :none, 2025, 5
74
+ deprecate :ActivityRelatedInstanceSet=, :none, 2025, 5
75
75
 
76
76
  def initialize(autoscalinggroupid=nil, activityid=nil, activitytype=nil, statuscode=nil, statusmessage=nil, cause=nil, description=nil, starttime=nil, endtime=nil, createdtime=nil, activityrelatedinstanceset=nil, statusmessagesimplified=nil, lifecycleactionresultset=nil, detailedstatusmessageset=nil, invocationresultset=nil, relatedinstanceset=nil)
77
77
  @AutoScalingGroupId = autoscalinggroupid
@@ -1595,7 +1595,7 @@ module TencentCloud
1595
1595
 
1596
1596
  # DeleteLifecycleHook请求参数结构体
1597
1597
  class DeleteLifecycleHookRequest < TencentCloud::Common::AbstractModel
1598
- # @param LifecycleHookId: 生命周期挂钩ID
1598
+ # @param LifecycleHookId: 生命周期挂钩ID。可以通过调用接口 [DescribeLifecycleHooks](https://cloud.tencent.com/document/api/377/34452) ,取返回信息中的 LifecycleHookId 获取生命周期挂钩ID。
1599
1599
  # @type LifecycleHookId: String
1600
1600
 
1601
1601
  attr_accessor :LifecycleHookId
@@ -1890,15 +1890,19 @@ module TencentCloud
1890
1890
  class DescribeAutoScalingGroupLastActivitiesRequest < TencentCloud::Common::AbstractModel
1891
1891
  # @param AutoScalingGroupIds: 伸缩组ID列表
1892
1892
  # @type AutoScalingGroupIds: Array
1893
+ # @param ExcludeCancelledActivity: 查询时排除取消类型活动。默认值为 false,表示不排除取消类型活动。
1894
+ # @type ExcludeCancelledActivity: Boolean
1893
1895
 
1894
- attr_accessor :AutoScalingGroupIds
1896
+ attr_accessor :AutoScalingGroupIds, :ExcludeCancelledActivity
1895
1897
 
1896
- def initialize(autoscalinggroupids=nil)
1898
+ def initialize(autoscalinggroupids=nil, excludecancelledactivity=nil)
1897
1899
  @AutoScalingGroupIds = autoscalinggroupids
1900
+ @ExcludeCancelledActivity = excludecancelledactivity
1898
1901
  end
1899
1902
 
1900
1903
  def deserialize(params)
1901
1904
  @AutoScalingGroupIds = params['AutoScalingGroupIds']
1905
+ @ExcludeCancelledActivity = params['ExcludeCancelledActivity']
1902
1906
  end
1903
1907
  end
1904
1908
 
@@ -2707,8 +2711,8 @@ module TencentCloud
2707
2711
 
2708
2712
  attr_accessor :SecurityService, :MonitorService, :AutomationService, :AutomationToolsService
2709
2713
  extend Gem::Deprecate
2710
- deprecate :AutomationService, :none, 2025, 4
2711
- deprecate :AutomationService=, :none, 2025, 4
2714
+ deprecate :AutomationService, :none, 2025, 5
2715
+ deprecate :AutomationService=, :none, 2025, 5
2712
2716
 
2713
2717
  def initialize(securityservice=nil, monitorservice=nil, automationservice=nil, automationtoolsservice=nil)
2714
2718
  @SecurityService = securityservice
@@ -3598,19 +3602,24 @@ module TencentCloud
3598
3602
  # @type LifecycleHookName: String
3599
3603
  # @param AutoScalingGroupId: 伸缩组ID
3600
3604
  # @type AutoScalingGroupId: String
3601
- # @param DefaultResult: 生命周期挂钩默认结果
3605
+ # @param DefaultResult: 定义伸缩组在生命周期挂钩超时或 LifecycleCommand 执行失败时应采取的操作,取值范围如下:
3606
+ # - CONTINUE: 默认值,表示继续执行扩缩容活动
3607
+ # - ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动
3602
3608
  # @type DefaultResult: String
3603
- # @param HeartbeatTimeout: 生命周期挂钩等待超时时间
3609
+ # @param HeartbeatTimeout: 生命周期挂钩超时等待时间(以秒为单位),范围从 30 到 7200 秒。
3604
3610
  # @type HeartbeatTimeout: Integer
3605
- # @param LifecycleTransition: 生命周期挂钩适用场景
3611
+ # @param LifecycleTransition: 生命周期挂钩场景,取值范围如下:
3612
+ # - INSTANCE_LAUNCHING: 扩容生命周期挂钩
3613
+ # - INSTANCE_TERMINATING: 缩容生命周期挂钩
3606
3614
  # @type LifecycleTransition: String
3607
3615
  # @param NotificationMetadata: 通知目标的附加信息
3608
3616
  # @type NotificationMetadata: String
3609
- # @param CreatedTime: 创建时间
3617
+ # @param CreatedTime: 创建时间,采用 UTC 标准计时
3610
3618
  # @type CreatedTime: String
3611
3619
  # @param NotificationTarget: 通知目标
3612
3620
  # @type NotificationTarget: :class:`Tencentcloud::As.v20180419.models.NotificationTarget`
3613
- # @param LifecycleTransitionType: 生命周期挂钩适用场景
3621
+ # @param LifecycleTransitionType: 进行生命周期挂钩的场景类型,取值范围包括 NORMAL 和 EXTENSION,默认值为 NORMAL。
3622
+ # 说明:设置为EXTENSION值,在AttachInstances、DetachInstances、RemoveInstances 接口时会触发生命周期挂钩操作,值为NORMAL则不会在这些接口中触发生命周期挂钩。
3614
3623
  # @type LifecycleTransitionType: String
3615
3624
  # @param LifecycleCommand: 远程命令执行对象
3616
3625
  # @type LifecycleCommand: :class:`Tencentcloud::As.v20180419.models.LifecycleCommand`
@@ -5007,9 +5016,11 @@ module TencentCloud
5007
5016
 
5008
5017
  # ScaleInInstances请求参数结构体
5009
5018
  class ScaleInInstancesRequest < TencentCloud::Common::AbstractModel
5010
- # @param AutoScalingGroupId: 伸缩组ID
5019
+ # @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
5020
+ # <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
5021
+ # <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
5011
5022
  # @type AutoScalingGroupId: String
5012
- # @param ScaleInNumber: 希望缩容的实例数量。
5023
+ # @param ScaleInNumber: 希望缩容的实例数量。该参数的静态取值范围是 [1,2000],同时该参数不得大于期望数与最小值的差值。例如伸缩组期望数为 100,最小值为 20,此时可取值范围为 [1,80]。
5013
5024
  # @type ScaleInNumber: Integer
5014
5025
 
5015
5026
  attr_accessor :AutoScalingGroupId, :ScaleInNumber
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-as
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1057
4
+ version: 3.0.1058
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-12 00:00:00.000000000 Z
11
+ date: 2025-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common