tencentcloud-sdk-as 1.0.286 → 1.0.289

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e4b78b52054fa8b1487f26d80af74cb0f14c276
4
- data.tar.gz: 2740bf24fbfa82f566203a77cd1dceaf2675fe41
3
+ metadata.gz: 7b1accb61855487159b8fb36e25e17231265756a
4
+ data.tar.gz: f7a8b45083baadcf9105a8bdc298cbf244114291
5
5
  SHA512:
6
- metadata.gz: 8571f7619c2480bc0458db62a8c2d327809e3d0826c584ee3ecb0fb370d4278b4aefda235bb677de53e61686332b1f0a81b63733eccc7fd70f6d153d0d041825
7
- data.tar.gz: 7f3a91e3953caab72ec3915842be16a0f8d5a0163e039eb093991c1976b1333f0575a3e57305f735431c424b78094e4c00c8cbf18e55b95823d6109590321f21
6
+ metadata.gz: 0eb837f6352132d7a9f4b7830d4cf4e6e510bb5bbf5b258a47beff851a5fef25971e4640ae1564fc2d0d9c89fb349fb87df2c98cefa269370b7f113058fe8aff
7
+ data.tar.gz: c6565445c2d46954dcf50fdab872256be844a7c1254eae30f439890202961ae9bac8ec503cca1c76cfc4d93d621d00b1e2df0a0abc3681d837e07da4249c28f4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.286
1
+ 1.0.289
@@ -853,6 +853,19 @@ module TencentCloud
853
853
  end
854
854
 
855
855
  # 本接口(DisableAutoScalingGroup)用于停用指定伸缩组。
856
+ # * 停用伸缩组后,自动触发的伸缩活动不再进行,包括:
857
+ # - 告警策略触发的伸缩活动
858
+ # - 匹配期望实例数的伸缩活动
859
+ # - 不健康实例替换活动
860
+ # - 定时任务
861
+ # * 停用伸缩组后,手动触发的伸缩活动允许进行,包括:
862
+ # - 指定数量扩容实例(ScaleOutInstances)
863
+ # - 指定数量缩容实例(ScaleInInstances)
864
+ # - 从伸缩组中移出 CVM 实例(DetachInstances)
865
+ # - 从伸缩组中删除 CVM 实例(RemoveInstances)
866
+ # - 添加 CVM 实例到伸缩组(AttachInstances)
867
+ # - 关闭伸缩组内 CVM 实例(StopAutoScalingInstances)
868
+ # - 开启伸缩组内 CVM 实例(StartAutoScalingInstances)
856
869
 
857
870
  # @param request: Request instance for DisableAutoScalingGroup.
858
871
  # @type request: :class:`Tencentcloud::as::V20180419::DisableAutoScalingGroupRequest`
@@ -1156,6 +1169,7 @@ module TencentCloud
1156
1169
 
1157
1170
  # 为伸缩组指定数量缩容实例,返回缩容活动的 ActivityId。
1158
1171
  # * 伸缩组需要未处于活动中
1172
+ # * 伸缩组处于停用状态时,该接口也会生效,可参考[停用伸缩组](https://cloud.tencent.com/document/api/377/20435)文档查看伸缩组停用状态的影响范围
1159
1173
  # * 根据伸缩组的`TerminationPolicies`策略,选择被缩容的实例,可参考[缩容处理](https://cloud.tencent.com/document/product/377/8563)
1160
1174
  # * 接口只会选择`IN_SERVICE`实例缩容,如果需要缩容其他状态实例,可以使用 [DetachInstances](https://cloud.tencent.com/document/api/377/20436) 或 [RemoveInstances](https://cloud.tencent.com/document/api/377/20431) 接口
1161
1175
  # * 接口会减少期望实例数,新的期望实例数需要大于等于最小实例数
@@ -1185,6 +1199,7 @@ module TencentCloud
1185
1199
 
1186
1200
  # 为伸缩组指定数量扩容实例,返回扩容活动的 ActivityId。
1187
1201
  # * 伸缩组需要未处于活动中
1202
+ # * 伸缩组处于停用状态时,该接口也会生效,可参考[停用伸缩组](https://cloud.tencent.com/document/api/377/20435)文档查看伸缩组停用状态的影响范围
1188
1203
  # * 接口会增加期望实例数,新的期望实例数需要小于等于最大实例数
1189
1204
  # * 扩容如果失败或者部分成功,最后期望实例数只会增加实际成功的实例数量
1190
1205
 
@@ -1268,14 +1268,18 @@ module TencentCloud
1268
1268
  # @param DeleteWithInstance: 数据盘是否随子机销毁。取值范围:<br><li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘<br><li>FALSE:子机销毁时,保留数据盘
1269
1269
  # 注意:此字段可能返回 null,表示取不到有效值。
1270
1270
  # @type DeleteWithInstance: Boolean
1271
+ # @param Encrypt: 数据盘是否加密。取值范围:<br><li>TRUE:加密<br><li>FALSE:不加密
1272
+ # 注意:此字段可能返回 null,表示取不到有效值。
1273
+ # @type Encrypt: Boolean
1271
1274
 
1272
- attr_accessor :DiskType, :DiskSize, :SnapshotId, :DeleteWithInstance
1275
+ attr_accessor :DiskType, :DiskSize, :SnapshotId, :DeleteWithInstance, :Encrypt
1273
1276
 
1274
- def initialize(disktype=nil, disksize=nil, snapshotid=nil, deletewithinstance=nil)
1277
+ def initialize(disktype=nil, disksize=nil, snapshotid=nil, deletewithinstance=nil, encrypt=nil)
1275
1278
  @DiskType = disktype
1276
1279
  @DiskSize = disksize
1277
1280
  @SnapshotId = snapshotid
1278
1281
  @DeleteWithInstance = deletewithinstance
1282
+ @Encrypt = encrypt
1279
1283
  end
1280
1284
 
1281
1285
  def deserialize(params)
@@ -1283,6 +1287,7 @@ module TencentCloud
1283
1287
  @DiskSize = params['DiskSize']
1284
1288
  @SnapshotId = params['SnapshotId']
1285
1289
  @DeleteWithInstance = params['DeleteWithInstance']
1290
+ @Encrypt = params['Encrypt']
1286
1291
  end
1287
1292
  end
1288
1293
 
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: 1.0.286
4
+ version: 1.0.289
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-28 00:00:00.000000000 Z
11
+ date: 2022-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common