tencentcloud-sdk-as 3.0.1171 → 3.0.1174

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 +15 -4
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c62283ccf0dc6803921882daf3963f41b168074c
4
- data.tar.gz: 31eebf58dc7f9798fb3031aa0f8e45bde109f89c
3
+ metadata.gz: bda553b146a9b2ac2b300d75a37c0f573f1072c3
4
+ data.tar.gz: 22989e61251d3ecca66fff53bd2ed71de57cb686
5
5
  SHA512:
6
- metadata.gz: b47905f59b4eec02fcdccbd2ad84c5b1f2658adad710b93d0dec0abfdc42fb952bf3894c50a35eaee27214f21350ed89a045712ce45bf5b51b33b7d3c635d02c
7
- data.tar.gz: 4cc7a404845f9f1cb88d84bba9aec6ada94fa170638445be626ff5b91b80408e1a0ebe2cd20ef3766c5d0d5b0d61ed51080ec5309072a1a1a8c4a926934187c2
6
+ metadata.gz: 508fc1a59dd305f196cc1672ef72644935d8f8661263a4b5aaaaeab626f30c617f6a185bb85b777898850870d6b4f46ef08b7d3bbe1e73a2fafa1bf8b28a51db
7
+ data.tar.gz: cd20b5db4783b7f522d36099e48955673258450861d703185c3ea557d064a2dfa0d67256ce79035df0459949e8794f2e24ce5832c1865057cc21f1fc43b5e320
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1171
1
+ 3.0.1174
@@ -3242,17 +3242,24 @@ module TencentCloud
3242
3242
  # 下调初始序号可能会造成伸缩组内实例名称序号重复。
3243
3243
  # 注意:此字段可能返回 null,表示取不到有效值。
3244
3244
  # @type BeginIndex: Integer
3245
+ # @param IndexLength: 实例名称递增序号位数,默认为0,表示不指定序号位数。不指定序号时,采用默认值0。 取值范围:0-8,最大为整数8。 采用取值1-8时,会检查序号是否超过此序号位数的最大数字。
3245
3246
 
3246
- attr_accessor :Enabled, :BeginIndex
3247
+ # 假设设置为3,那么序号形如:000、001、002 ... 010、011 ... 100 ... 999,序号上限为999;
3248
+ # 假设设置为0,对应的序号为0、1、2 ... 10、11 ... 100 ... 1000 ...10000 ... 99999999,序号上限为99999999。
3249
+ # @type IndexLength: Integer
3247
3250
 
3248
- def initialize(enabled=nil, beginindex=nil)
3251
+ attr_accessor :Enabled, :BeginIndex, :IndexLength
3252
+
3253
+ def initialize(enabled=nil, beginindex=nil, indexlength=nil)
3249
3254
  @Enabled = enabled
3250
3255
  @BeginIndex = beginindex
3256
+ @IndexLength = indexlength
3251
3257
  end
3252
3258
 
3253
3259
  def deserialize(params)
3254
3260
  @Enabled = params['Enabled']
3255
3261
  @BeginIndex = params['BeginIndex']
3262
+ @IndexLength = params['IndexLength']
3256
3263
  end
3257
3264
  end
3258
3265
 
@@ -5382,16 +5389,19 @@ module TencentCloud
5382
5389
  # <li>True: 修改最大值或最小值时,如与当前期望数存在冲突,则同步调整期望数。例如修改时传入最小值 2,当前期望数为 1,则同步调整期望数为 2。</li>
5383
5390
  # <li>False: 修改最大值或最小值时,如与当前期望数存在冲突,报错提示不允许修改。</li>
5384
5391
  # @type DesiredCapacitySyncWithMaxMinSize: Boolean
5392
+ # @param PriorityScaleInUnhealthy: 优先缩容不健康实例。若开启,缩容时会优先选择不健康实例。默认值为 False。
5393
+ # @type PriorityScaleInUnhealthy: Boolean
5385
5394
 
5386
- attr_accessor :ReplaceMonitorUnhealthy, :ScalingMode, :ReplaceLoadBalancerUnhealthy, :ReplaceMode, :AutoUpdateInstanceTags, :DesiredCapacitySyncWithMaxMinSize
5395
+ attr_accessor :ReplaceMonitorUnhealthy, :ScalingMode, :ReplaceLoadBalancerUnhealthy, :ReplaceMode, :AutoUpdateInstanceTags, :DesiredCapacitySyncWithMaxMinSize, :PriorityScaleInUnhealthy
5387
5396
 
5388
- def initialize(replacemonitorunhealthy=nil, scalingmode=nil, replaceloadbalancerunhealthy=nil, replacemode=nil, autoupdateinstancetags=nil, desiredcapacitysyncwithmaxminsize=nil)
5397
+ def initialize(replacemonitorunhealthy=nil, scalingmode=nil, replaceloadbalancerunhealthy=nil, replacemode=nil, autoupdateinstancetags=nil, desiredcapacitysyncwithmaxminsize=nil, priorityscaleinunhealthy=nil)
5389
5398
  @ReplaceMonitorUnhealthy = replacemonitorunhealthy
5390
5399
  @ScalingMode = scalingmode
5391
5400
  @ReplaceLoadBalancerUnhealthy = replaceloadbalancerunhealthy
5392
5401
  @ReplaceMode = replacemode
5393
5402
  @AutoUpdateInstanceTags = autoupdateinstancetags
5394
5403
  @DesiredCapacitySyncWithMaxMinSize = desiredcapacitysyncwithmaxminsize
5404
+ @PriorityScaleInUnhealthy = priorityscaleinunhealthy
5395
5405
  end
5396
5406
 
5397
5407
  def deserialize(params)
@@ -5401,6 +5411,7 @@ module TencentCloud
5401
5411
  @ReplaceMode = params['ReplaceMode']
5402
5412
  @AutoUpdateInstanceTags = params['AutoUpdateInstanceTags']
5403
5413
  @DesiredCapacitySyncWithMaxMinSize = params['DesiredCapacitySyncWithMaxMinSize']
5414
+ @PriorityScaleInUnhealthy = params['PriorityScaleInUnhealthy']
5404
5415
  end
5405
5416
  end
5406
5417
 
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.1171
4
+ version: 3.0.1174
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-11-20 00:00:00.000000000 Z
11
+ date: 2025-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20180419/client.rb
37
- - lib/v20180419/models.rb
38
36
  - lib/tencentcloud-sdk-as.rb
37
+ - lib/v20180419/models.rb
38
+ - lib/v20180419/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: