tencentcloud-sdk-cdb 3.0.997 → 3.0.999

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: 8a623a20f92983fa12cdff669393fd62c79d6452
4
- data.tar.gz: 33e351f3c160720a80f9f6a8609f5a4c89ac6814
3
+ metadata.gz: aebd9b871c067a2626cfedcb7aa6f6722544ba0a
4
+ data.tar.gz: bceade6741b7365ea7e7396334f82e603523e3b9
5
5
  SHA512:
6
- metadata.gz: d1fa4a248b0a5aecbfeee6d605e4e583c90a0cb692f0b6cdabf9b38792948f447e0301746ad8a35b015bd66062ecaeeae53c4b4d992ee48aa3020b78f08739d5
7
- data.tar.gz: 8c4250521eb2a0717ab58d79a9e7e65066f806f74b86477ad9294ae866d1923c497ca631b4a0d34bdcfe2d32eb3a6dbfdf83d23f0d340170eb75948a4eddd916
6
+ metadata.gz: b3d23daa5b9e6850d1fff11586f04ba5d3ee915b46c0a847d51ac33b462363ef1bfd382f4c0bc1b89e0531893cefc5cab70500c45f3a521965e8385316fc7ba1
7
+ data.tar.gz: b3e08d3f43dc3a57c1bb95a80595fe193a0bbaf262d65b1eb906acaafb7869eba475a32418afadd8bf3d45b368fe24cea8d6596a22f5dbfbb9f20868585cbaca
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.997
1
+ 3.0.999
@@ -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`
@@ -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, :ShrinkThreshold, :ShrinkPeriod
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, expandperiod=nil, shrinkthreshold=nil, shrinkperiod=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.997
4
+ version: 3.0.999
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-12 00:00:00.000000000 Z
11
+ date: 2025-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common