tencentcloud-sdk-cdb 3.0.998 → 3.0.1000
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170320/client.rb +1 -0
- data/lib/v20170320/models.rb +23 -8
- 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: 63532bafc33f922f92edc19f841504df9fb17a03
|
4
|
+
data.tar.gz: ebd97f30c63aebd4aa3c1d64d52619e766f7b665
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0945427d412043ff91952693e99a8ba4d9cf6faa1fdefc6515f4c625f64348cc9144fdfdf32d36fa9ac73b56cd7700f296eeba38584e6d2185058f547dd49f5e
|
7
|
+
data.tar.gz: 9815adee52e6cbfc35892f6e7db74f3da0e0d993c3a588d98bde2e62e845fc1dd9f8a61ce1a9959880dfef701682cd21888cf6dafe0b1cab2fc64220b04c057f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1000
|
data/lib/v20170320/client.rb
CHANGED
@@ -3423,6 +3423,7 @@ module TencentCloud
|
|
3423
3423
|
end
|
3424
3424
|
|
3425
3425
|
# 该接口(ModifyProtectMode)用于修改实例的同步方式。
|
3426
|
+
# 说明:仅专属集群可调用,该接口即将下线。
|
3426
3427
|
|
3427
3428
|
# @param request: Request instance for ModifyProtectMode.
|
3428
3429
|
# @type request: :class:`Tencentcloud::cdb::V20170320::ModifyProtectModeRequest`
|
data/lib/v20170320/models.rb
CHANGED
@@ -1027,31 +1027,46 @@ module TencentCloud
|
|
1027
1027
|
end
|
1028
1028
|
end
|
1029
1029
|
|
1030
|
-
# CPU
|
1030
|
+
# CPU 弹性扩容的自动扩容策略。
|
1031
1031
|
class AutoStrategy < TencentCloud::Common::AbstractModel
|
1032
|
-
# @param ExpandThreshold: 自动扩容阈值,可选值70、80、90,代表CPU利用率达到70%、80%、90
|
1032
|
+
# @param ExpandThreshold: 自动扩容阈值,可选值40、50、60、70、80、90,代表 CPU 利用率达到40%、50%、60%、70%、80%、90%时后台进行自动扩容。
|
1033
1033
|
# @type ExpandThreshold: Integer
|
1034
|
-
# @param ExpandPeriod: 自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
|
1035
|
-
# @type ExpandPeriod: Integer
|
1036
1034
|
# @param ShrinkThreshold: 自动缩容阈值,可选值10、20、30,代表CPU利用率达到10%、20%、30%时后台进行自动缩容
|
1037
1035
|
# @type ShrinkThreshold: Integer
|
1036
|
+
# @param ExpandPeriod: 自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
|
1037
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1038
|
+
# @type ExpandPeriod: Integer
|
1038
1039
|
# @param ShrinkPeriod: 自动缩容观测周期,单位是分钟,可选值5、10、15、30。后台会按照配置的周期进行缩容判断。
|
1040
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1039
1041
|
# @type ShrinkPeriod: Integer
|
1042
|
+
# @param ExpandSecondPeriod: 弹性扩容观测周期(秒级)
|
1043
|
+
# @type ExpandSecondPeriod: Integer
|
1044
|
+
# @param ShrinkSecondPeriod: 缩容观测周期(秒级)
|
1045
|
+
# @type ShrinkSecondPeriod: Integer
|
1040
1046
|
|
1041
|
-
attr_accessor :ExpandThreshold, :ExpandPeriod, :
|
1047
|
+
attr_accessor :ExpandThreshold, :ShrinkThreshold, :ExpandPeriod, :ShrinkPeriod, :ExpandSecondPeriod, :ShrinkSecondPeriod
|
1048
|
+
extend Gem::Deprecate
|
1049
|
+
deprecate :ExpandPeriod, :none, 2025, 2
|
1050
|
+
deprecate :ExpandPeriod=, :none, 2025, 2
|
1051
|
+
deprecate :ShrinkPeriod, :none, 2025, 2
|
1052
|
+
deprecate :ShrinkPeriod=, :none, 2025, 2
|
1042
1053
|
|
1043
|
-
def initialize(expandthreshold=nil,
|
1054
|
+
def initialize(expandthreshold=nil, shrinkthreshold=nil, expandperiod=nil, shrinkperiod=nil, expandsecondperiod=nil, shrinksecondperiod=nil)
|
1044
1055
|
@ExpandThreshold = expandthreshold
|
1045
|
-
@ExpandPeriod = expandperiod
|
1046
1056
|
@ShrinkThreshold = shrinkthreshold
|
1057
|
+
@ExpandPeriod = expandperiod
|
1047
1058
|
@ShrinkPeriod = shrinkperiod
|
1059
|
+
@ExpandSecondPeriod = expandsecondperiod
|
1060
|
+
@ShrinkSecondPeriod = shrinksecondperiod
|
1048
1061
|
end
|
1049
1062
|
|
1050
1063
|
def deserialize(params)
|
1051
1064
|
@ExpandThreshold = params['ExpandThreshold']
|
1052
|
-
@ExpandPeriod = params['ExpandPeriod']
|
1053
1065
|
@ShrinkThreshold = params['ShrinkThreshold']
|
1066
|
+
@ExpandPeriod = params['ExpandPeriod']
|
1054
1067
|
@ShrinkPeriod = params['ShrinkPeriod']
|
1068
|
+
@ExpandSecondPeriod = params['ExpandSecondPeriod']
|
1069
|
+
@ShrinkSecondPeriod = params['ShrinkSecondPeriod']
|
1055
1070
|
end
|
1056
1071
|
end
|
1057
1072
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1000
|
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-02-
|
11
|
+
date: 2025-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|