tencentcloud-sdk-as 3.0.933 → 3.0.935

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: b1ce374e457cffc74770ecf21cd75dbf36a2c453
4
- data.tar.gz: 82ccc2a3404189e1eb3a9a7e7393a5ab7f2b81b0
3
+ metadata.gz: 12e8e4b8a6a6a1ae6e26fc5b13fc58f4963452a3
4
+ data.tar.gz: ea3c4f0a93008c93e805dae1d07f070b48f70fec
5
5
  SHA512:
6
- metadata.gz: acdacf087ca5f92d8ee72e438c2d1d7bdb6d032e0eb237f6fdc05944d711223d4c1c8f8f346914d36438a81cfa97c8d70ad9a8212801037bf3164d3112e80e62
7
- data.tar.gz: b7a2600f068f3383f2b250299d3e04c60128a1131cbdc379637ee7321bab2e0eace44dab9a28dd5acfad8aa0b61fdbb4d7fccb97961d9e498a63bc4ac6497d1c
6
+ metadata.gz: 96af422a3f5ca6abf55e6ad6c643c0b30023a0d7a65e7bea3339a6259fc8b2fb4d6e3d06b20265af9cb2bd00c907b29b069b819a41f61b218f612d9476fc80e7
7
+ data.tar.gz: 2d9726b6331bc4cdd963fc081e67fb7aac5645ea7581c15945be82c6f5fd71de2b5f9d5289dee3060709cbd91bb820970914de031c1fd082b878d76c38179a3f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.933
1
+ 3.0.935
@@ -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.933
4
+ version: 3.0.935
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-31 00:00:00.000000000 Z
11
+ date: 2024-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common