tencentcloud-sdk-cdb 3.0.618 → 3.0.619
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170320/client.rb +0 -130
- data/lib/v20170320/models.rb +0 -735
- 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: fcaa53f35ef4517af6f778fd4e33f5c046e2ea32
|
4
|
+
data.tar.gz: aad0acc5b195cfac6815ae5fff050e627fcdc953
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 783a8c00ac08e815a3697a64ef2f6d87ebf792acf856968630d327a4ff7d0ae13627676197b18a653c3dde47a35bb2ab555f90eb2720c5a5a4c41ce08248639b
|
7
|
+
data.tar.gz: 9890872869f31c29bc439bc14dda79496c6b8a3945efde9ec9fd29c6648449a70a5c2701d02c174aa3cffbd85ab4ae80aae7105e89c06073a510e99b584e9783
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.619
|
data/lib/v20170320/client.rb
CHANGED
@@ -1252,32 +1252,6 @@ module TencentCloud
|
|
1252
1252
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1253
1253
|
end
|
1254
1254
|
|
1255
|
-
# 接口已经废弃,请使用+DescribeCdbProxyInfo+进行替换。
|
1256
|
-
|
1257
|
-
# 查询数据库代理(待下线,替换接口QueryCDBProxy)
|
1258
|
-
|
1259
|
-
# @param request: Request instance for DescribeCDBProxy.
|
1260
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeCDBProxyRequest`
|
1261
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeCDBProxyResponse`
|
1262
|
-
def DescribeCDBProxy(request)
|
1263
|
-
body = send_request('DescribeCDBProxy', request.serialize)
|
1264
|
-
response = JSON.parse(body)
|
1265
|
-
if response['Response'].key?('Error') == false
|
1266
|
-
model = DescribeCDBProxyResponse.new
|
1267
|
-
model.deserialize(response['Response'])
|
1268
|
-
model
|
1269
|
-
else
|
1270
|
-
code = response['Response']['Error']['Code']
|
1271
|
-
message = response['Response']['Error']['Message']
|
1272
|
-
reqid = response['Response']['RequestId']
|
1273
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1274
|
-
end
|
1275
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1276
|
-
raise e
|
1277
|
-
rescue StandardError => e
|
1278
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1279
|
-
end
|
1280
|
-
|
1281
1255
|
# 查询数据库代理详情信息
|
1282
1256
|
|
1283
1257
|
# @param request: Request instance for DescribeCdbProxyInfo.
|
@@ -1905,32 +1879,6 @@ module TencentCloud
|
|
1905
1879
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1906
1880
|
end
|
1907
1881
|
|
1908
|
-
# 当前接口已经废弃,请使用+DescribeCdbProxyInfo+替代。
|
1909
|
-
|
1910
|
-
# 获取数据库代理连接池相关规格配置
|
1911
|
-
|
1912
|
-
# @param request: Request instance for DescribeProxyConnectionPoolConf.
|
1913
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeProxyConnectionPoolConfRequest`
|
1914
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeProxyConnectionPoolConfResponse`
|
1915
|
-
def DescribeProxyConnectionPoolConf(request)
|
1916
|
-
body = send_request('DescribeProxyConnectionPoolConf', request.serialize)
|
1917
|
-
response = JSON.parse(body)
|
1918
|
-
if response['Response'].key?('Error') == false
|
1919
|
-
model = DescribeProxyConnectionPoolConfResponse.new
|
1920
|
-
model.deserialize(response['Response'])
|
1921
|
-
model
|
1922
|
-
else
|
1923
|
-
code = response['Response']['Error']['Code']
|
1924
|
-
message = response['Response']['Error']['Message']
|
1925
|
-
reqid = response['Response']['RequestId']
|
1926
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1927
|
-
end
|
1928
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1929
|
-
raise e
|
1930
|
-
rescue StandardError => e
|
1931
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1932
|
-
end
|
1933
|
-
|
1934
1882
|
# 查询代理规格配置
|
1935
1883
|
|
1936
1884
|
# @param request: Request instance for DescribeProxyCustomConf.
|
@@ -2657,58 +2605,6 @@ module TencentCloud
|
|
2657
2605
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2658
2606
|
end
|
2659
2607
|
|
2660
|
-
# 当前接口已经废弃,请使用+AdjustCdbProxyAddress+进行替代。
|
2661
|
-
|
2662
|
-
# 请求该接口配置数据库连接池;支持的连接池配置请求DescribeProxyConnectionPoolConf接口获取。
|
2663
|
-
|
2664
|
-
# @param request: Request instance for ModifyCDBProxyConnectionPool.
|
2665
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::ModifyCDBProxyConnectionPoolRequest`
|
2666
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::ModifyCDBProxyConnectionPoolResponse`
|
2667
|
-
def ModifyCDBProxyConnectionPool(request)
|
2668
|
-
body = send_request('ModifyCDBProxyConnectionPool', request.serialize)
|
2669
|
-
response = JSON.parse(body)
|
2670
|
-
if response['Response'].key?('Error') == false
|
2671
|
-
model = ModifyCDBProxyConnectionPoolResponse.new
|
2672
|
-
model.deserialize(response['Response'])
|
2673
|
-
model
|
2674
|
-
else
|
2675
|
-
code = response['Response']['Error']['Code']
|
2676
|
-
message = response['Response']['Error']['Message']
|
2677
|
-
reqid = response['Response']['RequestId']
|
2678
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2679
|
-
end
|
2680
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2681
|
-
raise e
|
2682
|
-
rescue StandardError => e
|
2683
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2684
|
-
end
|
2685
|
-
|
2686
|
-
# 当前接口已经废弃,请使用+ModifyCdbProxyAddressVipAndVPort+进行替代。
|
2687
|
-
|
2688
|
-
# 修改数据库代理VIP或端口
|
2689
|
-
|
2690
|
-
# @param request: Request instance for ModifyCDBProxyVipVPort.
|
2691
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::ModifyCDBProxyVipVPortRequest`
|
2692
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::ModifyCDBProxyVipVPortResponse`
|
2693
|
-
def ModifyCDBProxyVipVPort(request)
|
2694
|
-
body = send_request('ModifyCDBProxyVipVPort', request.serialize)
|
2695
|
-
response = JSON.parse(body)
|
2696
|
-
if response['Response'].key?('Error') == false
|
2697
|
-
model = ModifyCDBProxyVipVPortResponse.new
|
2698
|
-
model.deserialize(response['Response'])
|
2699
|
-
model
|
2700
|
-
else
|
2701
|
-
code = response['Response']['Error']['Code']
|
2702
|
-
message = response['Response']['Error']['Message']
|
2703
|
-
reqid = response['Response']['RequestId']
|
2704
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2705
|
-
end
|
2706
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2707
|
-
raise e
|
2708
|
-
rescue StandardError => e
|
2709
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2710
|
-
end
|
2711
|
-
|
2712
2608
|
# 修改代理地址描述信息
|
2713
2609
|
|
2714
2610
|
# @param request: Request instance for ModifyCdbProxyAddressDesc.
|
@@ -3229,32 +3125,6 @@ module TencentCloud
|
|
3229
3125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3230
3126
|
end
|
3231
3127
|
|
3232
|
-
# 当前接口已经废弃,请使用+DescribeCdbProxyInfo+进行替代。
|
3233
|
-
|
3234
|
-
# 查询代理详情
|
3235
|
-
|
3236
|
-
# @param request: Request instance for QueryCDBProxy.
|
3237
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::QueryCDBProxyRequest`
|
3238
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::QueryCDBProxyResponse`
|
3239
|
-
def QueryCDBProxy(request)
|
3240
|
-
body = send_request('QueryCDBProxy', request.serialize)
|
3241
|
-
response = JSON.parse(body)
|
3242
|
-
if response['Response'].key?('Error') == false
|
3243
|
-
model = QueryCDBProxyResponse.new
|
3244
|
-
model.deserialize(response['Response'])
|
3245
|
-
model
|
3246
|
-
else
|
3247
|
-
code = response['Response']['Error']['Code']
|
3248
|
-
message = response['Response']['Error']['Message']
|
3249
|
-
reqid = response['Response']['RequestId']
|
3250
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3251
|
-
end
|
3252
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3253
|
-
raise e
|
3254
|
-
rescue StandardError => e
|
3255
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3256
|
-
end
|
3257
|
-
|
3258
3128
|
# 本接口(ReleaseIsolatedDBInstances)用于恢复已隔离云数据库实例。
|
3259
3129
|
|
3260
3130
|
# @param request: Request instance for ReleaseIsolatedDBInstances.
|
data/lib/v20170320/models.rb
CHANGED
@@ -141,43 +141,6 @@ module TencentCloud
|
|
141
141
|
end
|
142
142
|
end
|
143
143
|
|
144
|
-
# 地址
|
145
|
-
class Address < TencentCloud::Common::AbstractModel
|
146
|
-
# @param Vip: 地址
|
147
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
148
|
-
# @type Vip: String
|
149
|
-
# @param VPort: 端口
|
150
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
151
|
-
# @type VPort: Integer
|
152
|
-
# @param UniqVpcId: 私有网络ID
|
153
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
154
|
-
# @type UniqVpcId: String
|
155
|
-
# @param UniqSubnet: 私有网络子网ID
|
156
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
157
|
-
# @type UniqSubnet: String
|
158
|
-
# @param Desc: 描述
|
159
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
160
|
-
# @type Desc: String
|
161
|
-
|
162
|
-
attr_accessor :Vip, :VPort, :UniqVpcId, :UniqSubnet, :Desc
|
163
|
-
|
164
|
-
def initialize(vip=nil, vport=nil, uniqvpcid=nil, uniqsubnet=nil, desc=nil)
|
165
|
-
@Vip = vip
|
166
|
-
@VPort = vport
|
167
|
-
@UniqVpcId = uniqvpcid
|
168
|
-
@UniqSubnet = uniqsubnet
|
169
|
-
@Desc = desc
|
170
|
-
end
|
171
|
-
|
172
|
-
def deserialize(params)
|
173
|
-
@Vip = params['Vip']
|
174
|
-
@VPort = params['VPort']
|
175
|
-
@UniqVpcId = params['UniqVpcId']
|
176
|
-
@UniqSubnet = params['UniqSubnet']
|
177
|
-
@Desc = params['Desc']
|
178
|
-
end
|
179
|
-
end
|
180
|
-
|
181
144
|
# AdjustCdbProxyAddress请求参数结构体
|
182
145
|
class AdjustCdbProxyAddressRequest < TencentCloud::Common::AbstractModel
|
183
146
|
# @param ProxyGroupId: 代理组ID
|
@@ -1141,58 +1104,6 @@ module TencentCloud
|
|
1141
1104
|
end
|
1142
1105
|
end
|
1143
1106
|
|
1144
|
-
# proxy代理组信息
|
1145
|
-
class BaseGroupInfo < TencentCloud::Common::AbstractModel
|
1146
|
-
# @param ProxyGroupId: 代理组ID
|
1147
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1148
|
-
# @type ProxyGroupId: String
|
1149
|
-
# @param NodeCount: 代理节点数
|
1150
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1151
|
-
# @type NodeCount: Integer
|
1152
|
-
# @param Status: 状态:发货中(init)运行中(online)下线中(offline)销毁中(destroy)
|
1153
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1154
|
-
# @type Status: String
|
1155
|
-
# @param Region: 地域
|
1156
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1157
|
-
# @type Region: String
|
1158
|
-
# @param Zone: 可用区
|
1159
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1160
|
-
# @type Zone: String
|
1161
|
-
# @param OpenRW: 是否开启读写分离
|
1162
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1163
|
-
# @type OpenRW: Boolean
|
1164
|
-
# @param CurrentProxyVersion: 当前代理版本
|
1165
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1166
|
-
# @type CurrentProxyVersion: String
|
1167
|
-
# @param SupportUpgradeProxyVersion: 支持升级版本
|
1168
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1169
|
-
# @type SupportUpgradeProxyVersion: String
|
1170
|
-
|
1171
|
-
attr_accessor :ProxyGroupId, :NodeCount, :Status, :Region, :Zone, :OpenRW, :CurrentProxyVersion, :SupportUpgradeProxyVersion
|
1172
|
-
|
1173
|
-
def initialize(proxygroupid=nil, nodecount=nil, status=nil, region=nil, zone=nil, openrw=nil, currentproxyversion=nil, supportupgradeproxyversion=nil)
|
1174
|
-
@ProxyGroupId = proxygroupid
|
1175
|
-
@NodeCount = nodecount
|
1176
|
-
@Status = status
|
1177
|
-
@Region = region
|
1178
|
-
@Zone = zone
|
1179
|
-
@OpenRW = openrw
|
1180
|
-
@CurrentProxyVersion = currentproxyversion
|
1181
|
-
@SupportUpgradeProxyVersion = supportupgradeproxyversion
|
1182
|
-
end
|
1183
|
-
|
1184
|
-
def deserialize(params)
|
1185
|
-
@ProxyGroupId = params['ProxyGroupId']
|
1186
|
-
@NodeCount = params['NodeCount']
|
1187
|
-
@Status = params['Status']
|
1188
|
-
@Region = params['Region']
|
1189
|
-
@Zone = params['Zone']
|
1190
|
-
@OpenRW = params['OpenRW']
|
1191
|
-
@CurrentProxyVersion = params['CurrentProxyVersion']
|
1192
|
-
@SupportUpgradeProxyVersion = params['SupportUpgradeProxyVersion']
|
1193
|
-
end
|
1194
|
-
end
|
1195
|
-
|
1196
1107
|
# 二进制日志信息
|
1197
1108
|
class BinlogInfo < TencentCloud::Common::AbstractModel
|
1198
1109
|
# @param Name: binlog 日志备份文件名
|
@@ -1796,33 +1707,6 @@ module TencentCloud
|
|
1796
1707
|
end
|
1797
1708
|
end
|
1798
1709
|
|
1799
|
-
# 连接池信息
|
1800
|
-
class ConnectionPoolInfo < TencentCloud::Common::AbstractModel
|
1801
|
-
# @param ConnectionPool: 是否开启了连接池
|
1802
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1803
|
-
# @type ConnectionPool: Boolean
|
1804
|
-
# @param ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池)
|
1805
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1806
|
-
# @type ConnectionPoolType: String
|
1807
|
-
# @param PoolConnectionTimeOut: 连接池保持阈值:单位(秒)
|
1808
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1809
|
-
# @type PoolConnectionTimeOut: Integer
|
1810
|
-
|
1811
|
-
attr_accessor :ConnectionPool, :ConnectionPoolType, :PoolConnectionTimeOut
|
1812
|
-
|
1813
|
-
def initialize(connectionpool=nil, connectionpooltype=nil, poolconnectiontimeout=nil)
|
1814
|
-
@ConnectionPool = connectionpool
|
1815
|
-
@ConnectionPoolType = connectionpooltype
|
1816
|
-
@PoolConnectionTimeOut = poolconnectiontimeout
|
1817
|
-
end
|
1818
|
-
|
1819
|
-
def deserialize(params)
|
1820
|
-
@ConnectionPool = params['ConnectionPool']
|
1821
|
-
@ConnectionPoolType = params['ConnectionPoolType']
|
1822
|
-
@PoolConnectionTimeOut = params['PoolConnectionTimeOut']
|
1823
|
-
end
|
1824
|
-
end
|
1825
|
-
|
1826
1710
|
# CreateAccounts请求参数结构体
|
1827
1711
|
class CreateAccountsRequest < TencentCloud::Common::AbstractModel
|
1828
1712
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
@@ -4667,99 +4551,6 @@ module TencentCloud
|
|
4667
4551
|
end
|
4668
4552
|
end
|
4669
4553
|
|
4670
|
-
# DescribeCDBProxy请求参数结构体
|
4671
|
-
class DescribeCDBProxyRequest < TencentCloud::Common::AbstractModel
|
4672
|
-
# @param InstanceId: 实例ID
|
4673
|
-
# @type InstanceId: String
|
4674
|
-
# @param ProxyGroupId: 代理组ID
|
4675
|
-
# @type ProxyGroupId: String
|
4676
|
-
|
4677
|
-
attr_accessor :InstanceId, :ProxyGroupId
|
4678
|
-
|
4679
|
-
def initialize(instanceid=nil, proxygroupid=nil)
|
4680
|
-
@InstanceId = instanceid
|
4681
|
-
@ProxyGroupId = proxygroupid
|
4682
|
-
end
|
4683
|
-
|
4684
|
-
def deserialize(params)
|
4685
|
-
@InstanceId = params['InstanceId']
|
4686
|
-
@ProxyGroupId = params['ProxyGroupId']
|
4687
|
-
end
|
4688
|
-
end
|
4689
|
-
|
4690
|
-
# DescribeCDBProxy返回参数结构体
|
4691
|
-
class DescribeCDBProxyResponse < TencentCloud::Common::AbstractModel
|
4692
|
-
# @param BaseGroup: 代理组基本信息
|
4693
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4694
|
-
# @type BaseGroup: :class:`Tencentcloud::Cdb.v20170320.models.BaseGroupInfo`
|
4695
|
-
# @param Address: 代理组地址信息
|
4696
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4697
|
-
# @type Address: :class:`Tencentcloud::Cdb.v20170320.models.Address`
|
4698
|
-
# @param ProxyNode: 代理组节点信息
|
4699
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4700
|
-
# @type ProxyNode: :class:`Tencentcloud::Cdb.v20170320.models.ProxyNodeInfo`
|
4701
|
-
# @param RWInstInfo: 读写分析信息
|
4702
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4703
|
-
# @type RWInstInfo: :class:`Tencentcloud::Cdb.v20170320.models.RWInfo`
|
4704
|
-
# @param ConnectionPoolInfo: 连接池信息
|
4705
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4706
|
-
# @type ConnectionPoolInfo: :class:`Tencentcloud::Cdb.v20170320.models.ConnectionPoolInfo`
|
4707
|
-
# @param Count: 代理数量
|
4708
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4709
|
-
# @type Count: Integer
|
4710
|
-
# @param ProxyGroup: 代理信息
|
4711
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4712
|
-
# @type ProxyGroup: Array
|
4713
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4714
|
-
# @type RequestId: String
|
4715
|
-
|
4716
|
-
attr_accessor :BaseGroup, :Address, :ProxyNode, :RWInstInfo, :ConnectionPoolInfo, :Count, :ProxyGroup, :RequestId
|
4717
|
-
|
4718
|
-
def initialize(basegroup=nil, address=nil, proxynode=nil, rwinstinfo=nil, connectionpoolinfo=nil, count=nil, proxygroup=nil, requestid=nil)
|
4719
|
-
@BaseGroup = basegroup
|
4720
|
-
@Address = address
|
4721
|
-
@ProxyNode = proxynode
|
4722
|
-
@RWInstInfo = rwinstinfo
|
4723
|
-
@ConnectionPoolInfo = connectionpoolinfo
|
4724
|
-
@Count = count
|
4725
|
-
@ProxyGroup = proxygroup
|
4726
|
-
@RequestId = requestid
|
4727
|
-
end
|
4728
|
-
|
4729
|
-
def deserialize(params)
|
4730
|
-
unless params['BaseGroup'].nil?
|
4731
|
-
@BaseGroup = BaseGroupInfo.new
|
4732
|
-
@BaseGroup.deserialize(params['BaseGroup'])
|
4733
|
-
end
|
4734
|
-
unless params['Address'].nil?
|
4735
|
-
@Address = Address.new
|
4736
|
-
@Address.deserialize(params['Address'])
|
4737
|
-
end
|
4738
|
-
unless params['ProxyNode'].nil?
|
4739
|
-
@ProxyNode = ProxyNodeInfo.new
|
4740
|
-
@ProxyNode.deserialize(params['ProxyNode'])
|
4741
|
-
end
|
4742
|
-
unless params['RWInstInfo'].nil?
|
4743
|
-
@RWInstInfo = RWInfo.new
|
4744
|
-
@RWInstInfo.deserialize(params['RWInstInfo'])
|
4745
|
-
end
|
4746
|
-
unless params['ConnectionPoolInfo'].nil?
|
4747
|
-
@ConnectionPoolInfo = ConnectionPoolInfo.new
|
4748
|
-
@ConnectionPoolInfo.deserialize(params['ConnectionPoolInfo'])
|
4749
|
-
end
|
4750
|
-
@Count = params['Count']
|
4751
|
-
unless params['ProxyGroup'].nil?
|
4752
|
-
@ProxyGroup = []
|
4753
|
-
params['ProxyGroup'].each do |i|
|
4754
|
-
proxygroup_tmp = ProxyGroup.new
|
4755
|
-
proxygroup_tmp.deserialize(i)
|
4756
|
-
@ProxyGroup << proxygroup_tmp
|
4757
|
-
end
|
4758
|
-
end
|
4759
|
-
@RequestId = params['RequestId']
|
4760
|
-
end
|
4761
|
-
end
|
4762
|
-
|
4763
4554
|
# DescribeCdbProxyInfo请求参数结构体
|
4764
4555
|
class DescribeCdbProxyInfoRequest < TencentCloud::Common::AbstractModel
|
4765
4556
|
# @param InstanceId: 实例ID
|
@@ -6379,59 +6170,6 @@ module TencentCloud
|
|
6379
6170
|
end
|
6380
6171
|
end
|
6381
6172
|
|
6382
|
-
# DescribeProxyConnectionPoolConf请求参数结构体
|
6383
|
-
class DescribeProxyConnectionPoolConfRequest < TencentCloud::Common::AbstractModel
|
6384
|
-
# @param InstanceId: 实例ID
|
6385
|
-
# @type InstanceId: String
|
6386
|
-
# @param Offset: 分页查询偏移量
|
6387
|
-
# @type Offset: Integer
|
6388
|
-
# @param Limit: 分页查询限制
|
6389
|
-
# @type Limit: Integer
|
6390
|
-
|
6391
|
-
attr_accessor :InstanceId, :Offset, :Limit
|
6392
|
-
|
6393
|
-
def initialize(instanceid=nil, offset=nil, limit=nil)
|
6394
|
-
@InstanceId = instanceid
|
6395
|
-
@Offset = offset
|
6396
|
-
@Limit = limit
|
6397
|
-
end
|
6398
|
-
|
6399
|
-
def deserialize(params)
|
6400
|
-
@InstanceId = params['InstanceId']
|
6401
|
-
@Offset = params['Offset']
|
6402
|
-
@Limit = params['Limit']
|
6403
|
-
end
|
6404
|
-
end
|
6405
|
-
|
6406
|
-
# DescribeProxyConnectionPoolConf返回参数结构体
|
6407
|
-
class DescribeProxyConnectionPoolConfResponse < TencentCloud::Common::AbstractModel
|
6408
|
-
# @param Count: 配置规格数量
|
6409
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6410
|
-
# @type Count: Integer
|
6411
|
-
# @param PoolConf: 连接池配置规格
|
6412
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6413
|
-
# @type PoolConf: :class:`Tencentcloud::Cdb.v20170320.models.PoolConf`
|
6414
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6415
|
-
# @type RequestId: String
|
6416
|
-
|
6417
|
-
attr_accessor :Count, :PoolConf, :RequestId
|
6418
|
-
|
6419
|
-
def initialize(count=nil, poolconf=nil, requestid=nil)
|
6420
|
-
@Count = count
|
6421
|
-
@PoolConf = poolconf
|
6422
|
-
@RequestId = requestid
|
6423
|
-
end
|
6424
|
-
|
6425
|
-
def deserialize(params)
|
6426
|
-
@Count = params['Count']
|
6427
|
-
unless params['PoolConf'].nil?
|
6428
|
-
@PoolConf = PoolConf.new
|
6429
|
-
@PoolConf.deserialize(params['PoolConf'])
|
6430
|
-
end
|
6431
|
-
@RequestId = params['RequestId']
|
6432
|
-
end
|
6433
|
-
end
|
6434
|
-
|
6435
6173
|
# DescribeProxyCustomConf请求参数结构体
|
6436
6174
|
class DescribeProxyCustomConfRequest < TencentCloud::Common::AbstractModel
|
6437
6175
|
# @param InstanceId: 实例ID
|
@@ -8946,109 +8684,6 @@ module TencentCloud
|
|
8946
8684
|
end
|
8947
8685
|
end
|
8948
8686
|
|
8949
|
-
# ModifyCDBProxyConnectionPool请求参数结构体
|
8950
|
-
class ModifyCDBProxyConnectionPoolRequest < TencentCloud::Common::AbstractModel
|
8951
|
-
# @param ProxyGroupId: 数据库代理ID
|
8952
|
-
# @type ProxyGroupId: String
|
8953
|
-
# @param OpenConnectionPool: 是否开启连接池,true:开启连接池;
|
8954
|
-
# false:关闭连接池。
|
8955
|
-
# @type OpenConnectionPool: Boolean
|
8956
|
-
# @param ConnectionPoolType: 连接池类型,
|
8957
|
-
# 通过DescribeProxyConnectionPoolConf获取连接池类型值
|
8958
|
-
# @type ConnectionPoolType: String
|
8959
|
-
# @param PoolConnectionTimeOut: 连接保留阈值:单位(秒)
|
8960
|
-
# @type PoolConnectionTimeOut: Integer
|
8961
|
-
|
8962
|
-
attr_accessor :ProxyGroupId, :OpenConnectionPool, :ConnectionPoolType, :PoolConnectionTimeOut
|
8963
|
-
|
8964
|
-
def initialize(proxygroupid=nil, openconnectionpool=nil, connectionpooltype=nil, poolconnectiontimeout=nil)
|
8965
|
-
@ProxyGroupId = proxygroupid
|
8966
|
-
@OpenConnectionPool = openconnectionpool
|
8967
|
-
@ConnectionPoolType = connectionpooltype
|
8968
|
-
@PoolConnectionTimeOut = poolconnectiontimeout
|
8969
|
-
end
|
8970
|
-
|
8971
|
-
def deserialize(params)
|
8972
|
-
@ProxyGroupId = params['ProxyGroupId']
|
8973
|
-
@OpenConnectionPool = params['OpenConnectionPool']
|
8974
|
-
@ConnectionPoolType = params['ConnectionPoolType']
|
8975
|
-
@PoolConnectionTimeOut = params['PoolConnectionTimeOut']
|
8976
|
-
end
|
8977
|
-
end
|
8978
|
-
|
8979
|
-
# ModifyCDBProxyConnectionPool返回参数结构体
|
8980
|
-
class ModifyCDBProxyConnectionPoolResponse < TencentCloud::Common::AbstractModel
|
8981
|
-
# @param AsyncRequestId: 异步处理ID
|
8982
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8983
|
-
# @type AsyncRequestId: String
|
8984
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8985
|
-
# @type RequestId: String
|
8986
|
-
|
8987
|
-
attr_accessor :AsyncRequestId, :RequestId
|
8988
|
-
|
8989
|
-
def initialize(asyncrequestid=nil, requestid=nil)
|
8990
|
-
@AsyncRequestId = asyncrequestid
|
8991
|
-
@RequestId = requestid
|
8992
|
-
end
|
8993
|
-
|
8994
|
-
def deserialize(params)
|
8995
|
-
@AsyncRequestId = params['AsyncRequestId']
|
8996
|
-
@RequestId = params['RequestId']
|
8997
|
-
end
|
8998
|
-
end
|
8999
|
-
|
9000
|
-
# ModifyCDBProxyVipVPort请求参数结构体
|
9001
|
-
class ModifyCDBProxyVipVPortRequest < TencentCloud::Common::AbstractModel
|
9002
|
-
# @param ProxyGroupId: 代理组ID
|
9003
|
-
# @type ProxyGroupId: String
|
9004
|
-
# @param UniqVpcId: 私有网络ID
|
9005
|
-
# @type UniqVpcId: String
|
9006
|
-
# @param UniqSubnetId: 私有网络子网ID
|
9007
|
-
# @type UniqSubnetId: String
|
9008
|
-
# @param DstIp: 目标IP
|
9009
|
-
# @type DstIp: String
|
9010
|
-
# @param DstPort: 目标端口
|
9011
|
-
# @type DstPort: Integer
|
9012
|
-
# @param ReleaseDuration: 旧IP回收时间 单位小时
|
9013
|
-
# @type ReleaseDuration: Integer
|
9014
|
-
|
9015
|
-
attr_accessor :ProxyGroupId, :UniqVpcId, :UniqSubnetId, :DstIp, :DstPort, :ReleaseDuration
|
9016
|
-
|
9017
|
-
def initialize(proxygroupid=nil, uniqvpcid=nil, uniqsubnetid=nil, dstip=nil, dstport=nil, releaseduration=nil)
|
9018
|
-
@ProxyGroupId = proxygroupid
|
9019
|
-
@UniqVpcId = uniqvpcid
|
9020
|
-
@UniqSubnetId = uniqsubnetid
|
9021
|
-
@DstIp = dstip
|
9022
|
-
@DstPort = dstport
|
9023
|
-
@ReleaseDuration = releaseduration
|
9024
|
-
end
|
9025
|
-
|
9026
|
-
def deserialize(params)
|
9027
|
-
@ProxyGroupId = params['ProxyGroupId']
|
9028
|
-
@UniqVpcId = params['UniqVpcId']
|
9029
|
-
@UniqSubnetId = params['UniqSubnetId']
|
9030
|
-
@DstIp = params['DstIp']
|
9031
|
-
@DstPort = params['DstPort']
|
9032
|
-
@ReleaseDuration = params['ReleaseDuration']
|
9033
|
-
end
|
9034
|
-
end
|
9035
|
-
|
9036
|
-
# ModifyCDBProxyVipVPort返回参数结构体
|
9037
|
-
class ModifyCDBProxyVipVPortResponse < TencentCloud::Common::AbstractModel
|
9038
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9039
|
-
# @type RequestId: String
|
9040
|
-
|
9041
|
-
attr_accessor :RequestId
|
9042
|
-
|
9043
|
-
def initialize(requestid=nil)
|
9044
|
-
@RequestId = requestid
|
9045
|
-
end
|
9046
|
-
|
9047
|
-
def deserialize(params)
|
9048
|
-
@RequestId = params['RequestId']
|
9049
|
-
end
|
9050
|
-
end
|
9051
|
-
|
9052
8687
|
# ModifyCdbProxyAddressDesc请求参数结构体
|
9053
8688
|
class ModifyCdbProxyAddressDescRequest < TencentCloud::Common::AbstractModel
|
9054
8689
|
# @param ProxyGroupId: 代理组ID
|
@@ -10226,33 +9861,6 @@ module TencentCloud
|
|
10226
9861
|
end
|
10227
9862
|
end
|
10228
9863
|
|
10229
|
-
# 数据库代理连接池规格配置
|
10230
|
-
class PoolConf < TencentCloud::Common::AbstractModel
|
10231
|
-
# @param ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池
|
10232
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10233
|
-
# @type ConnectionPoolType: String
|
10234
|
-
# @param MaxPoolConnectionTimeOut: 最大可保持连接阈值:单位(秒)
|
10235
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10236
|
-
# @type MaxPoolConnectionTimeOut: Integer
|
10237
|
-
# @param MinPoolConnectionTimeOut: 最小可保持连接阈值:单位(秒)
|
10238
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10239
|
-
# @type MinPoolConnectionTimeOut: Integer
|
10240
|
-
|
10241
|
-
attr_accessor :ConnectionPoolType, :MaxPoolConnectionTimeOut, :MinPoolConnectionTimeOut
|
10242
|
-
|
10243
|
-
def initialize(connectionpooltype=nil, maxpoolconnectiontimeout=nil, minpoolconnectiontimeout=nil)
|
10244
|
-
@ConnectionPoolType = connectionpooltype
|
10245
|
-
@MaxPoolConnectionTimeOut = maxpoolconnectiontimeout
|
10246
|
-
@MinPoolConnectionTimeOut = minpoolconnectiontimeout
|
10247
|
-
end
|
10248
|
-
|
10249
|
-
def deserialize(params)
|
10250
|
-
@ConnectionPoolType = params['ConnectionPoolType']
|
10251
|
-
@MaxPoolConnectionTimeOut = params['MaxPoolConnectionTimeOut']
|
10252
|
-
@MinPoolConnectionTimeOut = params['MinPoolConnectionTimeOut']
|
10253
|
-
end
|
10254
|
-
end
|
10255
|
-
|
10256
9864
|
# 数据库代理地址信息
|
10257
9865
|
class ProxyAddress < TencentCloud::Common::AbstractModel
|
10258
9866
|
# @param ProxyAddressId: 代理组地址ID
|
@@ -10379,66 +9987,6 @@ module TencentCloud
|
|
10379
9987
|
end
|
10380
9988
|
end
|
10381
9989
|
|
10382
|
-
# 数据代理组信息
|
10383
|
-
class ProxyGroup < TencentCloud::Common::AbstractModel
|
10384
|
-
# @param BaseGroup: 代理基本信息
|
10385
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10386
|
-
# @type BaseGroup: :class:`Tencentcloud::Cdb.v20170320.models.BaseGroupInfo`
|
10387
|
-
# @param Address: 代理地址信息
|
10388
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10389
|
-
# @type Address: Array
|
10390
|
-
# @param ConnectionPoolInfo: 代理连接池信息
|
10391
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10392
|
-
# @type ConnectionPoolInfo: :class:`Tencentcloud::Cdb.v20170320.models.ConnectionPoolInfo`
|
10393
|
-
# @param ProxyNode: 代理节点信息
|
10394
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10395
|
-
# @type ProxyNode: Array
|
10396
|
-
# @param RWInstInfo: 代理路由信息
|
10397
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10398
|
-
# @type RWInstInfo: :class:`Tencentcloud::Cdb.v20170320.models.RWInfo`
|
10399
|
-
|
10400
|
-
attr_accessor :BaseGroup, :Address, :ConnectionPoolInfo, :ProxyNode, :RWInstInfo
|
10401
|
-
|
10402
|
-
def initialize(basegroup=nil, address=nil, connectionpoolinfo=nil, proxynode=nil, rwinstinfo=nil)
|
10403
|
-
@BaseGroup = basegroup
|
10404
|
-
@Address = address
|
10405
|
-
@ConnectionPoolInfo = connectionpoolinfo
|
10406
|
-
@ProxyNode = proxynode
|
10407
|
-
@RWInstInfo = rwinstinfo
|
10408
|
-
end
|
10409
|
-
|
10410
|
-
def deserialize(params)
|
10411
|
-
unless params['BaseGroup'].nil?
|
10412
|
-
@BaseGroup = BaseGroupInfo.new
|
10413
|
-
@BaseGroup.deserialize(params['BaseGroup'])
|
10414
|
-
end
|
10415
|
-
unless params['Address'].nil?
|
10416
|
-
@Address = []
|
10417
|
-
params['Address'].each do |i|
|
10418
|
-
address_tmp = Address.new
|
10419
|
-
address_tmp.deserialize(i)
|
10420
|
-
@Address << address_tmp
|
10421
|
-
end
|
10422
|
-
end
|
10423
|
-
unless params['ConnectionPoolInfo'].nil?
|
10424
|
-
@ConnectionPoolInfo = ConnectionPoolInfo.new
|
10425
|
-
@ConnectionPoolInfo.deserialize(params['ConnectionPoolInfo'])
|
10426
|
-
end
|
10427
|
-
unless params['ProxyNode'].nil?
|
10428
|
-
@ProxyNode = []
|
10429
|
-
params['ProxyNode'].each do |i|
|
10430
|
-
proxynodeinfo_tmp = ProxyNodeInfo.new
|
10431
|
-
proxynodeinfo_tmp.deserialize(i)
|
10432
|
-
@ProxyNode << proxynodeinfo_tmp
|
10433
|
-
end
|
10434
|
-
end
|
10435
|
-
unless params['RWInstInfo'].nil?
|
10436
|
-
@RWInstInfo = RWInfo.new
|
10437
|
-
@RWInstInfo.deserialize(params['RWInstInfo'])
|
10438
|
-
end
|
10439
|
-
end
|
10440
|
-
end
|
10441
|
-
|
10442
9990
|
# 代理组详情
|
10443
9991
|
class ProxyGroupInfo < TencentCloud::Common::AbstractModel
|
10444
9992
|
# @param ProxyGroupId: 代理组ID
|
@@ -10514,66 +10062,6 @@ module TencentCloud
|
|
10514
10062
|
end
|
10515
10063
|
end
|
10516
10064
|
|
10517
|
-
# 数据代理组信息
|
10518
|
-
class ProxyGroups < TencentCloud::Common::AbstractModel
|
10519
|
-
# @param BaseGroup: 代理基本信息
|
10520
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10521
|
-
# @type BaseGroup: :class:`Tencentcloud::Cdb.v20170320.models.BaseGroupInfo`
|
10522
|
-
# @param Address: 代理地址信息
|
10523
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10524
|
-
# @type Address: Array
|
10525
|
-
# @param ConnectionPoolInfo: 代理连接池信息
|
10526
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10527
|
-
# @type ConnectionPoolInfo: :class:`Tencentcloud::Cdb.v20170320.models.ConnectionPoolInfo`
|
10528
|
-
# @param ProxyNode: 代理节点信息
|
10529
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10530
|
-
# @type ProxyNode: Array
|
10531
|
-
# @param RWInstInfo: 代理路由信息
|
10532
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10533
|
-
# @type RWInstInfo: :class:`Tencentcloud::Cdb.v20170320.models.RWInfos`
|
10534
|
-
|
10535
|
-
attr_accessor :BaseGroup, :Address, :ConnectionPoolInfo, :ProxyNode, :RWInstInfo
|
10536
|
-
|
10537
|
-
def initialize(basegroup=nil, address=nil, connectionpoolinfo=nil, proxynode=nil, rwinstinfo=nil)
|
10538
|
-
@BaseGroup = basegroup
|
10539
|
-
@Address = address
|
10540
|
-
@ConnectionPoolInfo = connectionpoolinfo
|
10541
|
-
@ProxyNode = proxynode
|
10542
|
-
@RWInstInfo = rwinstinfo
|
10543
|
-
end
|
10544
|
-
|
10545
|
-
def deserialize(params)
|
10546
|
-
unless params['BaseGroup'].nil?
|
10547
|
-
@BaseGroup = BaseGroupInfo.new
|
10548
|
-
@BaseGroup.deserialize(params['BaseGroup'])
|
10549
|
-
end
|
10550
|
-
unless params['Address'].nil?
|
10551
|
-
@Address = []
|
10552
|
-
params['Address'].each do |i|
|
10553
|
-
address_tmp = Address.new
|
10554
|
-
address_tmp.deserialize(i)
|
10555
|
-
@Address << address_tmp
|
10556
|
-
end
|
10557
|
-
end
|
10558
|
-
unless params['ConnectionPoolInfo'].nil?
|
10559
|
-
@ConnectionPoolInfo = ConnectionPoolInfo.new
|
10560
|
-
@ConnectionPoolInfo.deserialize(params['ConnectionPoolInfo'])
|
10561
|
-
end
|
10562
|
-
unless params['ProxyNode'].nil?
|
10563
|
-
@ProxyNode = []
|
10564
|
-
params['ProxyNode'].each do |i|
|
10565
|
-
proxynodeinfo_tmp = ProxyNodeInfo.new
|
10566
|
-
proxynodeinfo_tmp.deserialize(i)
|
10567
|
-
@ProxyNode << proxynodeinfo_tmp
|
10568
|
-
end
|
10569
|
-
end
|
10570
|
-
unless params['RWInstInfo'].nil?
|
10571
|
-
@RWInstInfo = RWInfos.new
|
10572
|
-
@RWInstInfo.deserialize(params['RWInstInfo'])
|
10573
|
-
end
|
10574
|
-
end
|
10575
|
-
end
|
10576
|
-
|
10577
10065
|
# 代理实例
|
10578
10066
|
class ProxyInst < TencentCloud::Common::AbstractModel
|
10579
10067
|
# @param InstanceId: 实例ID
|
@@ -10700,229 +10188,6 @@ module TencentCloud
|
|
10700
10188
|
end
|
10701
10189
|
end
|
10702
10190
|
|
10703
|
-
# 代理节点信息
|
10704
|
-
class ProxyNodeInfo < TencentCloud::Common::AbstractModel
|
10705
|
-
# @param ProxyNodeId: 代理节点ID
|
10706
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10707
|
-
# @type ProxyNodeId: String
|
10708
|
-
# @param ProxyNodeConnections: 节点当前连接数
|
10709
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10710
|
-
# @type ProxyNodeConnections: Integer
|
10711
|
-
# @param ProxyNodeCpu: cup
|
10712
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10713
|
-
# @type ProxyNodeCpu: Integer
|
10714
|
-
# @param ProxyNodeMem: 内存
|
10715
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10716
|
-
# @type ProxyNodeMem: Integer
|
10717
|
-
# @param ProxyStatus: 节点状态:
|
10718
|
-
# init(申请中)
|
10719
|
-
# online(运行中)
|
10720
|
-
# offline(离线中)
|
10721
|
-
# destroy(已销毁)
|
10722
|
-
# recovering(故障恢复中)
|
10723
|
-
# error(节点故障)
|
10724
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10725
|
-
# @type ProxyStatus: String
|
10726
|
-
|
10727
|
-
attr_accessor :ProxyNodeId, :ProxyNodeConnections, :ProxyNodeCpu, :ProxyNodeMem, :ProxyStatus
|
10728
|
-
|
10729
|
-
def initialize(proxynodeid=nil, proxynodeconnections=nil, proxynodecpu=nil, proxynodemem=nil, proxystatus=nil)
|
10730
|
-
@ProxyNodeId = proxynodeid
|
10731
|
-
@ProxyNodeConnections = proxynodeconnections
|
10732
|
-
@ProxyNodeCpu = proxynodecpu
|
10733
|
-
@ProxyNodeMem = proxynodemem
|
10734
|
-
@ProxyStatus = proxystatus
|
10735
|
-
end
|
10736
|
-
|
10737
|
-
def deserialize(params)
|
10738
|
-
@ProxyNodeId = params['ProxyNodeId']
|
10739
|
-
@ProxyNodeConnections = params['ProxyNodeConnections']
|
10740
|
-
@ProxyNodeCpu = params['ProxyNodeCpu']
|
10741
|
-
@ProxyNodeMem = params['ProxyNodeMem']
|
10742
|
-
@ProxyStatus = params['ProxyStatus']
|
10743
|
-
end
|
10744
|
-
end
|
10745
|
-
|
10746
|
-
# QueryCDBProxy请求参数结构体
|
10747
|
-
class QueryCDBProxyRequest < TencentCloud::Common::AbstractModel
|
10748
|
-
# @param InstanceId: 实例ID
|
10749
|
-
# @type InstanceId: String
|
10750
|
-
# @param ProxyGroupId: 代理ID
|
10751
|
-
# @type ProxyGroupId: String
|
10752
|
-
|
10753
|
-
attr_accessor :InstanceId, :ProxyGroupId
|
10754
|
-
|
10755
|
-
def initialize(instanceid=nil, proxygroupid=nil)
|
10756
|
-
@InstanceId = instanceid
|
10757
|
-
@ProxyGroupId = proxygroupid
|
10758
|
-
end
|
10759
|
-
|
10760
|
-
def deserialize(params)
|
10761
|
-
@InstanceId = params['InstanceId']
|
10762
|
-
@ProxyGroupId = params['ProxyGroupId']
|
10763
|
-
end
|
10764
|
-
end
|
10765
|
-
|
10766
|
-
# QueryCDBProxy返回参数结构体
|
10767
|
-
class QueryCDBProxyResponse < TencentCloud::Common::AbstractModel
|
10768
|
-
# @param Count: 代理数量
|
10769
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10770
|
-
# @type Count: Integer
|
10771
|
-
# @param ProxyGroup: 代理信息
|
10772
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10773
|
-
# @type ProxyGroup: Array
|
10774
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10775
|
-
# @type RequestId: String
|
10776
|
-
|
10777
|
-
attr_accessor :Count, :ProxyGroup, :RequestId
|
10778
|
-
|
10779
|
-
def initialize(count=nil, proxygroup=nil, requestid=nil)
|
10780
|
-
@Count = count
|
10781
|
-
@ProxyGroup = proxygroup
|
10782
|
-
@RequestId = requestid
|
10783
|
-
end
|
10784
|
-
|
10785
|
-
def deserialize(params)
|
10786
|
-
@Count = params['Count']
|
10787
|
-
unless params['ProxyGroup'].nil?
|
10788
|
-
@ProxyGroup = []
|
10789
|
-
params['ProxyGroup'].each do |i|
|
10790
|
-
proxygroups_tmp = ProxyGroups.new
|
10791
|
-
proxygroups_tmp.deserialize(i)
|
10792
|
-
@ProxyGroup << proxygroups_tmp
|
10793
|
-
end
|
10794
|
-
end
|
10795
|
-
@RequestId = params['RequestId']
|
10796
|
-
end
|
10797
|
-
end
|
10798
|
-
|
10799
|
-
# proxy读写分离信息
|
10800
|
-
class RWInfo < TencentCloud::Common::AbstractModel
|
10801
|
-
# @param InstCount: 代理实例数量
|
10802
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10803
|
-
# @type InstCount: Integer
|
10804
|
-
# @param WeightMode: 权重分配模式;
|
10805
|
-
# 系统自动分配:"system", 自定义:"custom"
|
10806
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10807
|
-
# @type WeightMode: String
|
10808
|
-
# @param IsKickOut: 是否开启延迟剔除
|
10809
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10810
|
-
# @type IsKickOut: Boolean
|
10811
|
-
# @param MinCount: 最小保留数
|
10812
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10813
|
-
# @type MinCount: Integer
|
10814
|
-
# @param MaxDelay: 延迟剔除阈值
|
10815
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10816
|
-
# @type MaxDelay: Integer
|
10817
|
-
# @param FailOver: 是否开启故障转移
|
10818
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10819
|
-
# @type FailOver: Boolean
|
10820
|
-
# @param AutoAddRo: 是否自动添加RO
|
10821
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10822
|
-
# @type AutoAddRo: Boolean
|
10823
|
-
# @param RWInstInfo: 代理实例信息
|
10824
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10825
|
-
# @type RWInstInfo: :class:`Tencentcloud::Cdb.v20170320.models.RWInstanceInfo`
|
10826
|
-
|
10827
|
-
attr_accessor :InstCount, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :FailOver, :AutoAddRo, :RWInstInfo
|
10828
|
-
|
10829
|
-
def initialize(instcount=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, failover=nil, autoaddro=nil, rwinstinfo=nil)
|
10830
|
-
@InstCount = instcount
|
10831
|
-
@WeightMode = weightmode
|
10832
|
-
@IsKickOut = iskickout
|
10833
|
-
@MinCount = mincount
|
10834
|
-
@MaxDelay = maxdelay
|
10835
|
-
@FailOver = failover
|
10836
|
-
@AutoAddRo = autoaddro
|
10837
|
-
@RWInstInfo = rwinstinfo
|
10838
|
-
end
|
10839
|
-
|
10840
|
-
def deserialize(params)
|
10841
|
-
@InstCount = params['InstCount']
|
10842
|
-
@WeightMode = params['WeightMode']
|
10843
|
-
@IsKickOut = params['IsKickOut']
|
10844
|
-
@MinCount = params['MinCount']
|
10845
|
-
@MaxDelay = params['MaxDelay']
|
10846
|
-
@FailOver = params['FailOver']
|
10847
|
-
@AutoAddRo = params['AutoAddRo']
|
10848
|
-
unless params['RWInstInfo'].nil?
|
10849
|
-
@RWInstInfo = RWInstanceInfo.new
|
10850
|
-
@RWInstInfo.deserialize(params['RWInstInfo'])
|
10851
|
-
end
|
10852
|
-
end
|
10853
|
-
end
|
10854
|
-
|
10855
|
-
# proxy读写分离信息
|
10856
|
-
class RWInfos < TencentCloud::Common::AbstractModel
|
10857
|
-
# @param InstCount: 代理实例数量
|
10858
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10859
|
-
# @type InstCount: Integer
|
10860
|
-
# @param WeightMode: 权重分配模式;
|
10861
|
-
# 系统自动分配:"system", 自定义:"custom"
|
10862
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10863
|
-
# @type WeightMode: String
|
10864
|
-
# @param IsKickOut: 是否开启延迟剔除
|
10865
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10866
|
-
# @type IsKickOut: Boolean
|
10867
|
-
# @param MinCount: 最小保留数
|
10868
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10869
|
-
# @type MinCount: Integer
|
10870
|
-
# @param MaxDelay: 延迟剔除阈值
|
10871
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10872
|
-
# @type MaxDelay: Integer
|
10873
|
-
# @param FailOver: 是否开启故障转移
|
10874
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10875
|
-
# @type FailOver: Boolean
|
10876
|
-
# @param AutoAddRo: 是否自动添加RO
|
10877
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10878
|
-
# @type AutoAddRo: Boolean
|
10879
|
-
# @param RWInstInfo: 代理实例信息
|
10880
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10881
|
-
# @type RWInstInfo: Array
|
10882
|
-
|
10883
|
-
attr_accessor :InstCount, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :FailOver, :AutoAddRo, :RWInstInfo
|
10884
|
-
|
10885
|
-
def initialize(instcount=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, failover=nil, autoaddro=nil, rwinstinfo=nil)
|
10886
|
-
@InstCount = instcount
|
10887
|
-
@WeightMode = weightmode
|
10888
|
-
@IsKickOut = iskickout
|
10889
|
-
@MinCount = mincount
|
10890
|
-
@MaxDelay = maxdelay
|
10891
|
-
@FailOver = failover
|
10892
|
-
@AutoAddRo = autoaddro
|
10893
|
-
@RWInstInfo = rwinstinfo
|
10894
|
-
end
|
10895
|
-
|
10896
|
-
def deserialize(params)
|
10897
|
-
@InstCount = params['InstCount']
|
10898
|
-
@WeightMode = params['WeightMode']
|
10899
|
-
@IsKickOut = params['IsKickOut']
|
10900
|
-
@MinCount = params['MinCount']
|
10901
|
-
@MaxDelay = params['MaxDelay']
|
10902
|
-
@FailOver = params['FailOver']
|
10903
|
-
@AutoAddRo = params['AutoAddRo']
|
10904
|
-
unless params['RWInstInfo'].nil?
|
10905
|
-
@RWInstInfo = []
|
10906
|
-
params['RWInstInfo'].each do |i|
|
10907
|
-
rwinstanceinfo_tmp = RWInstanceInfo.new
|
10908
|
-
rwinstanceinfo_tmp.deserialize(i)
|
10909
|
-
@RWInstInfo << rwinstanceinfo_tmp
|
10910
|
-
end
|
10911
|
-
end
|
10912
|
-
end
|
10913
|
-
end
|
10914
|
-
|
10915
|
-
# 代理实例信息
|
10916
|
-
class RWInstanceInfo < TencentCloud::Common::AbstractModel
|
10917
|
-
|
10918
|
-
|
10919
|
-
def initialize()
|
10920
|
-
end
|
10921
|
-
|
10922
|
-
def deserialize(params)
|
10923
|
-
end
|
10924
|
-
end
|
10925
|
-
|
10926
10191
|
# ReleaseIsolatedDBInstances请求参数结构体
|
10927
10192
|
class ReleaseIsolatedDBInstancesRequest < TencentCloud::Common::AbstractModel
|
10928
10193
|
# @param InstanceIds: 实例 ID 数组,单个实例 ID 格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 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.619
|
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-07-
|
11
|
+
date: 2023-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|