tencentcloud-sdk-cdb 3.0.1056 → 3.0.1058

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: 7a0bd6e5c92a4f52f81d7adc19df7621e6bf506f
4
- data.tar.gz: 08a25135a2285e4175cf3471334c46122d130d6c
3
+ metadata.gz: aaa0b03cc857521c007a067b8c274e1f61b8cb85
4
+ data.tar.gz: af3c03744fa87b54615d4012012bfb07251021dc
5
5
  SHA512:
6
- metadata.gz: a16d0558cc4f1ce02481d42cb153094031170e71ba3993c4093e14ed83a2052a4c96356736c5f0bf409bf8cf33fd1c86b5f796b774da88593b913a8f72b53b0b
7
- data.tar.gz: 8bd0b7975326e66f75063a11f18d9bb9b4001d35d5d306856020b4287c09c98746daf648a0d6ae9623b30b1fd05417f7a2e8fde78680cca20fc72a07fb592663
6
+ metadata.gz: 6fe6316dd54cb6a35bd54a02bcf87fbcc08b624b25219d8dd44fb3ef8c86b7b4ec239984ab10d7bfe1cca64778c6f727f7218a64ad872640243fdd8bd752bbf8
7
+ data.tar.gz: 8627c94aed6a47e178e6328221d1cd1ec07492d01be614075d75010bb00b45062aa0f5450022e2b0a30726505e86c7a6e5e3299c1f6fa6604e0751621e27a800
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1056
1
+ 3.0.1058
@@ -1611,32 +1611,6 @@ module TencentCloud
1611
1611
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1612
1612
  end
1613
1613
 
1614
- # DescribeCpuExpandStrategy
1615
-
1616
- # 通过该 API 可以查询实例的 CPU 弹性扩容策略
1617
-
1618
- # @param request: Request instance for DescribeCpuExpandStrategy.
1619
- # @type request: :class:`Tencentcloud::cdb::V20170320::DescribeCpuExpandStrategyRequest`
1620
- # @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeCpuExpandStrategyResponse`
1621
- def DescribeCpuExpandStrategy(request)
1622
- body = send_request('DescribeCpuExpandStrategy', request.serialize)
1623
- response = JSON.parse(body)
1624
- if response['Response'].key?('Error') == false
1625
- model = DescribeCpuExpandStrategyResponse.new
1626
- model.deserialize(response['Response'])
1627
- model
1628
- else
1629
- code = response['Response']['Error']['Code']
1630
- message = response['Response']['Error']['Message']
1631
- reqid = response['Response']['RequestId']
1632
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1633
- end
1634
- rescue TencentCloud::Common::TencentCloudSDKException => e
1635
- raise e
1636
- rescue StandardError => e
1637
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1638
- end
1639
-
1640
1614
  # 本接口(DescribeDBFeatures)用于查询云数据库版本属性,包括是否支持数据库加密、数据库审计等功能。
1641
1615
 
1642
1616
  # @param request: Request instance for DescribeDBFeatures.
@@ -1046,10 +1046,10 @@ module TencentCloud
1046
1046
 
1047
1047
  attr_accessor :ExpandThreshold, :ShrinkThreshold, :ExpandPeriod, :ShrinkPeriod, :ExpandSecondPeriod, :ShrinkSecondPeriod
1048
1048
  extend Gem::Deprecate
1049
- deprecate :ExpandPeriod, :none, 2025, 4
1050
- deprecate :ExpandPeriod=, :none, 2025, 4
1051
- deprecate :ShrinkPeriod, :none, 2025, 4
1052
- deprecate :ShrinkPeriod=, :none, 2025, 4
1049
+ deprecate :ExpandPeriod, :none, 2025, 5
1050
+ deprecate :ExpandPeriod=, :none, 2025, 5
1051
+ deprecate :ShrinkPeriod, :none, 2025, 5
1052
+ deprecate :ShrinkPeriod=, :none, 2025, 5
1053
1053
 
1054
1054
  def initialize(expandthreshold=nil, shrinkthreshold=nil, expandperiod=nil, shrinkperiod=nil, expandsecondperiod=nil, shrinksecondperiod=nil)
1055
1055
  @ExpandThreshold = expandthreshold
@@ -5745,53 +5745,6 @@ module TencentCloud
5745
5745
  end
5746
5746
  end
5747
5747
 
5748
- # DescribeCpuExpandStrategy请求参数结构体
5749
- class DescribeCpuExpandStrategyRequest < TencentCloud::Common::AbstractModel
5750
- # @param InstanceId: 实例 ID 。
5751
- # @type InstanceId: String
5752
-
5753
- attr_accessor :InstanceId
5754
-
5755
- def initialize(instanceid=nil)
5756
- @InstanceId = instanceid
5757
- end
5758
-
5759
- def deserialize(params)
5760
- @InstanceId = params['InstanceId']
5761
- end
5762
- end
5763
-
5764
- # DescribeCpuExpandStrategy返回参数结构体
5765
- class DescribeCpuExpandStrategyResponse < TencentCloud::Common::AbstractModel
5766
- # @param Type: 策略类型。可选值 auto、manual。
5767
- # @type Type: String
5768
- # @param ExpandCpu: 手动扩容的 CPU 。Type为 manual 时有效。
5769
- # @type ExpandCpu: String
5770
- # @param AutoStrategy: 自动扩容策略。Type 为 auto 时有效
5771
- # @type AutoStrategy: String
5772
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5773
- # @type RequestId: String
5774
-
5775
- attr_accessor :Type, :ExpandCpu, :AutoStrategy, :RequestId
5776
- extend Gem::Deprecate
5777
- deprecate :AutoStrategy, :none, 2025, 4
5778
- deprecate :AutoStrategy=, :none, 2025, 4
5779
-
5780
- def initialize(type=nil, expandcpu=nil, autostrategy=nil, requestid=nil)
5781
- @Type = type
5782
- @ExpandCpu = expandcpu
5783
- @AutoStrategy = autostrategy
5784
- @RequestId = requestid
5785
- end
5786
-
5787
- def deserialize(params)
5788
- @Type = params['Type']
5789
- @ExpandCpu = params['ExpandCpu']
5790
- @AutoStrategy = params['AutoStrategy']
5791
- @RequestId = params['RequestId']
5792
- end
5793
- end
5794
-
5795
5748
  # DescribeDBFeatures请求参数结构体
5796
5749
  class DescribeDBFeaturesRequest < TencentCloud::Common::AbstractModel
5797
5750
  # @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
@@ -11733,8 +11686,8 @@ module TencentCloud
11733
11686
 
11734
11687
  attr_accessor :InstanceId, :ParamName, :OldValue, :NewValue, :IsSucess, :ModifyTime, :IsSuccess
11735
11688
  extend Gem::Deprecate
11736
- deprecate :IsSucess, :none, 2025, 4
11737
- deprecate :IsSucess=, :none, 2025, 4
11689
+ deprecate :IsSucess, :none, 2025, 5
11690
+ deprecate :IsSucess=, :none, 2025, 5
11738
11691
 
11739
11692
  def initialize(instanceid=nil, paramname=nil, oldvalue=nil, newvalue=nil, issucess=nil, modifytime=nil, issuccess=nil)
11740
11693
  @InstanceId = instanceid
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.1056
4
+ version: 3.0.1058
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-05-11 00:00:00.000000000 Z
11
+ date: 2025-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common