tencentcloud-sdk-cynosdb 3.0.598 → 3.0.599
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/v20190107/client.rb +24 -0
- data/lib/v20190107/models.rb +46 -0
- 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: 6fc8f79a53d1d839da67a0324e3f136ec446c397
|
4
|
+
data.tar.gz: a50a694371505cfebb2f4e75a2efa0345fda9466
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87949fc5bc3e0f50bf8e05d8872f2f412012acaacbae3bc690b2e6346ac49340d71bad02884e768dd6a5a7fcdb50a480d922d53cb62ed6008f21d48e0fceb07b
|
7
|
+
data.tar.gz: 58efc1e3715052c5be2e63e3c6ca4900cee32ba8d33e96692ddd3c0a40844543f74969effa17a518bb434bd66fd4332a67351f56568b7e8c3b7195c8d64efc74
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.599
|
data/lib/v20190107/client.rb
CHANGED
@@ -1637,6 +1637,30 @@ module TencentCloud
|
|
1637
1637
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1638
1638
|
end
|
1639
1639
|
|
1640
|
+
# 查询支持的数据库代理版本
|
1641
|
+
|
1642
|
+
# @param request: Request instance for DescribeSupportProxyVersion.
|
1643
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeSupportProxyVersionRequest`
|
1644
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeSupportProxyVersionResponse`
|
1645
|
+
def DescribeSupportProxyVersion(request)
|
1646
|
+
body = send_request('DescribeSupportProxyVersion', request.serialize)
|
1647
|
+
response = JSON.parse(body)
|
1648
|
+
if response['Response'].key?('Error') == false
|
1649
|
+
model = DescribeSupportProxyVersionResponse.new
|
1650
|
+
model.deserialize(response['Response'])
|
1651
|
+
model
|
1652
|
+
else
|
1653
|
+
code = response['Response']['Error']['Code']
|
1654
|
+
message = response['Response']['Error']['Message']
|
1655
|
+
reqid = response['Response']['RequestId']
|
1656
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1657
|
+
end
|
1658
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1659
|
+
raise e
|
1660
|
+
rescue StandardError => e
|
1661
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1662
|
+
end
|
1663
|
+
|
1640
1664
|
# 本接口(DescribeZones)用于查询可售卖地域可用区信息。
|
1641
1665
|
|
1642
1666
|
# @param request: Request instance for DescribeZones.
|
data/lib/v20190107/models.rb
CHANGED
@@ -5900,6 +5900,52 @@ module TencentCloud
|
|
5900
5900
|
end
|
5901
5901
|
end
|
5902
5902
|
|
5903
|
+
# DescribeSupportProxyVersion请求参数结构体
|
5904
|
+
class DescribeSupportProxyVersionRequest < TencentCloud::Common::AbstractModel
|
5905
|
+
# @param ClusterId: 集群ID
|
5906
|
+
# @type ClusterId: String
|
5907
|
+
# @param ProxyGroupId: 数据库代理组ID
|
5908
|
+
# @type ProxyGroupId: String
|
5909
|
+
|
5910
|
+
attr_accessor :ClusterId, :ProxyGroupId
|
5911
|
+
|
5912
|
+
def initialize(clusterid=nil, proxygroupid=nil)
|
5913
|
+
@ClusterId = clusterid
|
5914
|
+
@ProxyGroupId = proxygroupid
|
5915
|
+
end
|
5916
|
+
|
5917
|
+
def deserialize(params)
|
5918
|
+
@ClusterId = params['ClusterId']
|
5919
|
+
@ProxyGroupId = params['ProxyGroupId']
|
5920
|
+
end
|
5921
|
+
end
|
5922
|
+
|
5923
|
+
# DescribeSupportProxyVersion返回参数结构体
|
5924
|
+
class DescribeSupportProxyVersionResponse < TencentCloud::Common::AbstractModel
|
5925
|
+
# @param SupportProxyVersions: 支持的数据库代理版本集合
|
5926
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5927
|
+
# @type SupportProxyVersions: Array
|
5928
|
+
# @param CurrentProxyVersion: 当前proxy版本号
|
5929
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5930
|
+
# @type CurrentProxyVersion: String
|
5931
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5932
|
+
# @type RequestId: String
|
5933
|
+
|
5934
|
+
attr_accessor :SupportProxyVersions, :CurrentProxyVersion, :RequestId
|
5935
|
+
|
5936
|
+
def initialize(supportproxyversions=nil, currentproxyversion=nil, requestid=nil)
|
5937
|
+
@SupportProxyVersions = supportproxyversions
|
5938
|
+
@CurrentProxyVersion = currentproxyversion
|
5939
|
+
@RequestId = requestid
|
5940
|
+
end
|
5941
|
+
|
5942
|
+
def deserialize(params)
|
5943
|
+
@SupportProxyVersions = params['SupportProxyVersions']
|
5944
|
+
@CurrentProxyVersion = params['CurrentProxyVersion']
|
5945
|
+
@RequestId = params['RequestId']
|
5946
|
+
end
|
5947
|
+
end
|
5948
|
+
|
5903
5949
|
# DescribeZones请求参数结构体
|
5904
5950
|
class DescribeZonesRequest < TencentCloud::Common::AbstractModel
|
5905
5951
|
# @param IncludeVirtualZones: 是否包含虚拟区
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cynosdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.599
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|