tencentcloud-sdk-cdb 3.0.1055 → 3.0.1057
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 +0 -26
- data/lib/v20170320/models.rb +6 -53
- 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: ee7f681403a23e920282e12fb3f5f516bc5d0cc3
|
4
|
+
data.tar.gz: e25659a567a0c1c1b96c814a84d4fc8ae3a5201b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d2d019787c1d107f4e911df09189342b6a552250fc895fc3824be54fe598e6804d0ad8440b301eaeb00460d24824010efac4cfb054c1695314309b9153ddd0c
|
7
|
+
data.tar.gz: ad6b1fb1c48a478a5c15201f8ed62fa1a753192ed4846cb0ec1f8abb56503312d8ae9b99462dfedf3519e92693948c2683812419b47eada562681b3443f9261d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1057
|
data/lib/v20170320/client.rb
CHANGED
@@ -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.
|
data/lib/v20170320/models.rb
CHANGED
@@ -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,
|
1050
|
-
deprecate :ExpandPeriod=, :none, 2025,
|
1051
|
-
deprecate :ShrinkPeriod, :none, 2025,
|
1052
|
-
deprecate :ShrinkPeriod=, :none, 2025,
|
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,
|
11737
|
-
deprecate :IsSucess=, :none, 2025,
|
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.
|
4
|
+
version: 3.0.1057
|
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
|
+
date: 2025-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|