tencentcloud-sdk-as 3.0.932 → 3.0.934

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef388725c51c8d879b2284db2b0e459805e56a06
4
- data.tar.gz: 7fedbc06e6f1ed28a0f542a6cfc90f1076c700e0
3
+ metadata.gz: cbbef45135d02f7ffcd086be08b164cb5ffeae29
4
+ data.tar.gz: edc0842a95b8d53a70be0207da0d30c0b7b01efb
5
5
  SHA512:
6
- metadata.gz: dc9cbea84f0981bc2a4f1dda2d7c3782c120e2f66cf3535c6680b7ed09684139c3a566f5cec860c7e9b0209bc588c7e0d452073d767e3c59753adea1b780b1e0
7
- data.tar.gz: 57d26849443de01847da51f61c25ada34be680f38df45526043759ce274b299dbb82148354cb2b66b1c5574a5c8444c66e2c98471404fbe7a3d52f37a8328ddd
6
+ metadata.gz: 0bfe319229d7008a8e6589e17dd9ee61c3c0bc4ad37dea597863cc139173b575d614f340e7ab96132457cd2f02a78c4e7c4d58515c39e118e6a793ea90e6cfa6
7
+ data.tar.gz: c720df603139b8a464b545f5c16464e75628fd73fc5e49f3267076aaadc43d0bb1cf8948406fb20f939f9b19a91684ddb3cd4bafd4a880fdbabf83481d3f203e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.932
1
+ 3.0.934
@@ -83,6 +83,8 @@ module TencentCloud
83
83
  # * 已刷新/正在刷新的批次不受影响,待刷新批次被取消
84
84
  # * 刷新失败的实例保持备用中状态,需用户手动处理后尝试退出备用中状态或销毁
85
85
  # * 取消后不允许回滚操作,也不支持恢复操作
86
+ # * 因 maxSurge 参数而临时扩容的实例在取消后会自动销毁
87
+ # * 进行缩容时,所有实例都已经更新完成,此时无法取消
86
88
 
87
89
  # @param request: Request instance for CancelInstanceRefresh.
88
90
  # @type request: :class:`Tencentcloud::as::V20180419::CancelInstanceRefreshRequest`
@@ -1248,6 +1250,8 @@ module TencentCloud
1248
1250
 
1249
1251
  # 恢复暂停状态的实例刷新活动,使其重试当前批次刷新失败实例或继续刷新后续批次,非暂停状态下调用该接口无效。
1250
1252
 
1253
+ # - 使用 MaxSurge 参数时活动可能会处于扩容或缩容失败导致的暂停状态,也可以使用该接口重试扩缩容。
1254
+
1251
1255
  # @param request: Request instance for ResumeInstanceRefresh.
1252
1256
  # @type request: :class:`Tencentcloud::as::V20180419::ResumeInstanceRefreshRequest`
1253
1257
  # @rtype: :class:`Tencentcloud::as::V20180419::ResumeInstanceRefreshResponse`
@@ -1275,6 +1279,7 @@ module TencentCloud
1275
1279
  # * 原活动中正在刷新的实例不会立刻终止,刷新结束后再执行回滚活动
1276
1280
  # * 暂停状态或最近一次成功的刷新活动支持回滚,其他状态不支持回滚
1277
1281
  # * 原活动刷新方式为重装实例时,对于 ImageId参数,会自动恢复到回滚前镜像 ID;对于 UserData、EnhancedService、LoginSettings、 HostName 参数,依然会从启动配置中读取,需用户在回滚前自行修改启动配置
1282
+ # * 回滚活动暂不支持 MaxSurge 参数
1278
1283
 
1279
1284
  # @param request: Request instance for RollbackInstanceRefresh.
1280
1285
  # @type request: :class:`Tencentcloud::as::V20180419::RollbackInstanceRefreshRequest`
@@ -1467,7 +1472,8 @@ module TencentCloud
1467
1472
 
1468
1473
  # 暂停正在执行的实例刷新活动。
1469
1474
  # * 暂停状态下,伸缩组也会处于停用中状态
1470
- # * 当前正在更新的实例不会暂停,待更新的实例会暂停更新
1475
+ # * 当前正在更新或扩容的实例不会暂停,待更新的实例会暂停更新
1476
+ # * 进行缩容时,所有实例都已经更新完成,此时无法暂停
1471
1477
 
1472
1478
  # @param request: Request instance for StopInstanceRefresh.
1473
1479
  # @type request: :class:`Tencentcloud::as::V20180419::StopInstanceRefreshRequest`
@@ -64,8 +64,8 @@ module TencentCloud
64
64
 
65
65
  attr_accessor :AutoScalingGroupId, :ActivityId, :ActivityType, :StatusCode, :StatusMessage, :Cause, :Description, :StartTime, :EndTime, :CreatedTime, :ActivityRelatedInstanceSet, :StatusMessageSimplified, :LifecycleActionResultSet, :DetailedStatusMessageSet, :InvocationResultSet, :RelatedInstanceSet
66
66
  extend Gem::Deprecate
67
- deprecate :ActivityRelatedInstanceSet, :none, 2024, 9
68
- deprecate :ActivityRelatedInstanceSet=, :none, 2024, 9
67
+ deprecate :ActivityRelatedInstanceSet, :none, 2024, 11
68
+ deprecate :ActivityRelatedInstanceSet=, :none, 2024, 11
69
69
 
70
70
  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)
71
71
  @AutoScalingGroupId = autoscalinggroupid
@@ -2659,8 +2659,8 @@ module TencentCloud
2659
2659
 
2660
2660
  attr_accessor :SecurityService, :MonitorService, :AutomationService, :AutomationToolsService
2661
2661
  extend Gem::Deprecate
2662
- deprecate :AutomationService, :none, 2024, 9
2663
- deprecate :AutomationService=, :none, 2024, 9
2662
+ deprecate :AutomationService, :none, 2024, 11
2663
+ deprecate :AutomationService=, :none, 2024, 11
2664
2664
 
2665
2665
  def initialize(securityservice=nil, monitorservice=nil, automationservice=nil, automationtoolsservice=nil)
2666
2666
  @SecurityService = securityservice
@@ -4671,7 +4671,7 @@ module TencentCloud
4671
4671
  # @type AutoScalingGroupId: String
4672
4672
  # @param RefreshActivityId: 刷新活动ID。
4673
4673
  # @type RefreshActivityId: String
4674
- # @param ResumeMode: 当前批次刷新失败实例的恢复方式,如不存在失败实例,该参数无效。默认值为RETRY,取值范围如下:<br><li>RETRY: 重试当前批次刷新失败实例</li><li>CONTINUE: 跳过当前批次刷新失败实例
4674
+ # @param ResumeMode: 当前批次刷新失败实例的恢复方式,如不存在失败实例,该参数无效。默认值为RETRY,取值范围如下:<li>RETRY: 重试当前批次刷新失败实例</li><li>CONTINUE: 跳过当前批次刷新失败实例</li>
4675
4675
  # @type ResumeMode: String
4676
4676
 
4677
4677
  attr_accessor :AutoScalingGroupId, :RefreshActivityId, :ResumeMode
@@ -4760,19 +4760,27 @@ module TencentCloud
4760
4760
  class RollingUpdateSettings < TencentCloud::Common::AbstractModel
4761
4761
  # @param BatchNumber: 批次数量。批次数量为大于 0 的正整数,但不能大于待刷新实例数量。
4762
4762
  # @type BatchNumber: Integer
4763
- # @param BatchPause: 批次间暂停策略。默认值为 Automatic,取值范围如下:<br><li>FIRST_BATCH_PAUSE:第一批次更新完成后暂停</li><li>BATCH_INTERVAL_PAUSE:批次间暂停</li><li>AUTOMATIC:不暂停
4763
+ # @param BatchPause: 批次间暂停策略。默认值为 Automatic,取值范围如下:
4764
+ # <li>FIRST_BATCH_PAUSE:第一批次更新完成后暂停</li>
4765
+ # <li>BATCH_INTERVAL_PAUSE:批次间暂停</li>
4766
+ # <li>AUTOMATIC:不暂停</li>
4764
4767
  # @type BatchPause: String
4768
+ # @param MaxSurge: 最大额外数量。设置该参数后,在滚动更新开始前根据启动配置创建一批按量计费的额外实例,滚动更新完成后销毁额外实例。
4769
+ # 该参数用于保证滚动更新过程中可用实例的数量,最大额外数量不能超过滚动更新单个批次的刷新实例数。回滚流程暂不支持该参数。
4770
+ # @type MaxSurge: Integer
4765
4771
 
4766
- attr_accessor :BatchNumber, :BatchPause
4772
+ attr_accessor :BatchNumber, :BatchPause, :MaxSurge
4767
4773
 
4768
- def initialize(batchnumber=nil, batchpause=nil)
4774
+ def initialize(batchnumber=nil, batchpause=nil, maxsurge=nil)
4769
4775
  @BatchNumber = batchnumber
4770
4776
  @BatchPause = batchpause
4777
+ @MaxSurge = maxsurge
4771
4778
  end
4772
4779
 
4773
4780
  def deserialize(params)
4774
4781
  @BatchNumber = params['BatchNumber']
4775
4782
  @BatchPause = params['BatchPause']
4783
+ @MaxSurge = params['MaxSurge']
4776
4784
  end
4777
4785
  end
4778
4786
 
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.932
4
+ version: 3.0.934
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-29 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common