tencentcloud-sdk-tem 1.0.327 → 1.0.328
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210701/models.rb +8 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39f54ffbfdfcf2e190d44b6a8b22c8e895b7ddb1
|
4
|
+
data.tar.gz: 9a6937492f9e6a878744d9d5d1757bb1af1f4735
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d791791c1d40bed4b9978d1af0d0632589c79453bddfec46640f21a6568286208c98a82be8a119443f2f5a628251411c53fe6ecab154d9106625fc3dc710adf
|
7
|
+
data.tar.gz: 6ac6a61f9cbb5c70744184f77cd321222efc43442d944d265f3cd8811bd9c6c56d139b9ff428129cb3430acb8d1d7eff36951c6129e2416282e6123998e8d6f2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.328
|
data/lib/v20210701/models.rb
CHANGED
@@ -1499,22 +1499,25 @@ module TencentCloud
|
|
1499
1499
|
|
1500
1500
|
# 弹性伸缩策略
|
1501
1501
|
class HorizontalAutoscaler < TencentCloud::Common::AbstractModel
|
1502
|
-
# @param MinReplicas:
|
1502
|
+
# @param MinReplicas: 最小实例数(可以不传)
|
1503
1503
|
# @type MinReplicas: Integer
|
1504
|
-
# @param MaxReplicas:
|
1504
|
+
# @param MaxReplicas: 最大实例数(可以不传)
|
1505
1505
|
# @type MaxReplicas: Integer
|
1506
1506
|
# @param Metrics: 指标度量(CPU or MEMORY)
|
1507
1507
|
# @type Metrics: String
|
1508
1508
|
# @param Threshold: 阈值(百分比)
|
1509
1509
|
# @type Threshold: Integer
|
1510
|
+
# @param Enabled: 是否启用
|
1511
|
+
# @type Enabled: Boolean
|
1510
1512
|
|
1511
|
-
attr_accessor :MinReplicas, :MaxReplicas, :Metrics, :Threshold
|
1513
|
+
attr_accessor :MinReplicas, :MaxReplicas, :Metrics, :Threshold, :Enabled
|
1512
1514
|
|
1513
|
-
def initialize(minreplicas=nil, maxreplicas=nil, metrics=nil, threshold=nil)
|
1515
|
+
def initialize(minreplicas=nil, maxreplicas=nil, metrics=nil, threshold=nil, enabled=nil)
|
1514
1516
|
@MinReplicas = minreplicas
|
1515
1517
|
@MaxReplicas = maxreplicas
|
1516
1518
|
@Metrics = metrics
|
1517
1519
|
@Threshold = threshold
|
1520
|
+
@Enabled = enabled
|
1518
1521
|
end
|
1519
1522
|
|
1520
1523
|
def deserialize(params)
|
@@ -1522,6 +1525,7 @@ module TencentCloud
|
|
1522
1525
|
@MaxReplicas = params['MaxReplicas']
|
1523
1526
|
@Metrics = params['Metrics']
|
1524
1527
|
@Threshold = params['Threshold']
|
1528
|
+
@Enabled = params['Enabled']
|
1525
1529
|
end
|
1526
1530
|
end
|
1527
1531
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.328
|
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-06-
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|