tencentcloud-sdk-cdb 3.0.835 → 3.0.837
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/models.rb +60 -12
- 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: e05ed73bf49e48d3affdb13bbfd6079a58cc1fe3
|
4
|
+
data.tar.gz: 03c6f2de569d356bad42a47df7b7189fa810406b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0271702dc84d60c38e69839175c7360c01f790635de81a65e4e80fd62c8ae65b4db8094fadca49af165c8b4ef47dd061712c6e3127eb2dcd79689c77c7661b21
|
7
|
+
data.tar.gz: 2923a655a5a3d03083314fdfd8d322abcca3fb0612553ec20ff768479cc54a3353a726d88b0544cef1c1395c911a3e357ce741934c568e30995d7b7c70902111
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.837
|
data/lib/v20170320/models.rb
CHANGED
@@ -205,13 +205,18 @@ module TencentCloud
|
|
205
205
|
# @param TransSplit: 是否开启事务分离,取值:"true" | "false"
|
206
206
|
# @type TransSplit: Boolean
|
207
207
|
# @param ConnectionPool: 是否开启连接池
|
208
|
+
# 注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
208
209
|
# @type ConnectionPool: Boolean
|
209
210
|
# @param ProxyAllocation: 读写权重分配。如果 WeightMode 传的是 system ,则传入的权重不生效,由系统分配默认权重。
|
210
211
|
# @type ProxyAllocation: Array
|
212
|
+
# @param AutoLoadBalance: 是否开启自适应负载均衡
|
213
|
+
# @type AutoLoadBalance: Boolean
|
214
|
+
# @param AccessMode: 访问模式:就近访问,均衡分配
|
215
|
+
# @type AccessMode: String
|
211
216
|
|
212
|
-
attr_accessor :ProxyGroupId, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :FailOver, :AutoAddRo, :ReadOnly, :ProxyAddressId, :TransSplit, :ConnectionPool, :ProxyAllocation
|
217
|
+
attr_accessor :ProxyGroupId, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :FailOver, :AutoAddRo, :ReadOnly, :ProxyAddressId, :TransSplit, :ConnectionPool, :ProxyAllocation, :AutoLoadBalance, :AccessMode
|
213
218
|
|
214
|
-
def initialize(proxygroupid=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, failover=nil, autoaddro=nil, readonly=nil, proxyaddressid=nil, transsplit=nil, connectionpool=nil, proxyallocation=nil)
|
219
|
+
def initialize(proxygroupid=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, failover=nil, autoaddro=nil, readonly=nil, proxyaddressid=nil, transsplit=nil, connectionpool=nil, proxyallocation=nil, autoloadbalance=nil, accessmode=nil)
|
215
220
|
@ProxyGroupId = proxygroupid
|
216
221
|
@WeightMode = weightmode
|
217
222
|
@IsKickOut = iskickout
|
@@ -224,6 +229,8 @@ module TencentCloud
|
|
224
229
|
@TransSplit = transsplit
|
225
230
|
@ConnectionPool = connectionpool
|
226
231
|
@ProxyAllocation = proxyallocation
|
232
|
+
@AutoLoadBalance = autoloadbalance
|
233
|
+
@AccessMode = accessmode
|
227
234
|
end
|
228
235
|
|
229
236
|
def deserialize(params)
|
@@ -246,6 +253,8 @@ module TencentCloud
|
|
246
253
|
@ProxyAllocation << proxyallocation_tmp
|
247
254
|
end
|
248
255
|
end
|
256
|
+
@AutoLoadBalance = params['AutoLoadBalance']
|
257
|
+
@AccessMode = params['AccessMode']
|
249
258
|
end
|
250
259
|
end
|
251
260
|
|
@@ -2445,6 +2454,7 @@ module TencentCloud
|
|
2445
2454
|
# @param UniqSubnetId: 私有子网ID
|
2446
2455
|
# @type UniqSubnetId: String
|
2447
2456
|
# @param ConnectionPool: 是否开启连接池
|
2457
|
+
# 注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
2448
2458
|
# @type ConnectionPool: Boolean
|
2449
2459
|
# @param Desc: 描述
|
2450
2460
|
# @type Desc: String
|
@@ -2456,10 +2466,14 @@ module TencentCloud
|
|
2456
2466
|
# @type SecurityGroup: Array
|
2457
2467
|
# @param ConnectionPoolType: 连接池类型。可选值 transaction(事务级别连接池),connection(会话级别连接池),ConnectionPool为true时生效。
|
2458
2468
|
# @type ConnectionPoolType: String
|
2469
|
+
# @param AutoLoadBalance: 是否自适应负载均衡
|
2470
|
+
# @type AutoLoadBalance: Boolean
|
2471
|
+
# @param AccessMode: 接入模式
|
2472
|
+
# @type AccessMode: String
|
2459
2473
|
|
2460
|
-
attr_accessor :ProxyGroupId, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :FailOver, :AutoAddRo, :ReadOnly, :TransSplit, :ProxyAllocation, :UniqVpcId, :UniqSubnetId, :ConnectionPool, :Desc, :Vip, :VPort, :SecurityGroup, :ConnectionPoolType
|
2474
|
+
attr_accessor :ProxyGroupId, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :FailOver, :AutoAddRo, :ReadOnly, :TransSplit, :ProxyAllocation, :UniqVpcId, :UniqSubnetId, :ConnectionPool, :Desc, :Vip, :VPort, :SecurityGroup, :ConnectionPoolType, :AutoLoadBalance, :AccessMode
|
2461
2475
|
|
2462
|
-
def initialize(proxygroupid=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, failover=nil, autoaddro=nil, readonly=nil, transsplit=nil, proxyallocation=nil, uniqvpcid=nil, uniqsubnetid=nil, connectionpool=nil, desc=nil, vip=nil, vport=nil, securitygroup=nil, connectionpooltype=nil)
|
2476
|
+
def initialize(proxygroupid=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, failover=nil, autoaddro=nil, readonly=nil, transsplit=nil, proxyallocation=nil, uniqvpcid=nil, uniqsubnetid=nil, connectionpool=nil, desc=nil, vip=nil, vport=nil, securitygroup=nil, connectionpooltype=nil, autoloadbalance=nil, accessmode=nil)
|
2463
2477
|
@ProxyGroupId = proxygroupid
|
2464
2478
|
@WeightMode = weightmode
|
2465
2479
|
@IsKickOut = iskickout
|
@@ -2478,6 +2492,8 @@ module TencentCloud
|
|
2478
2492
|
@VPort = vport
|
2479
2493
|
@SecurityGroup = securitygroup
|
2480
2494
|
@ConnectionPoolType = connectionpooltype
|
2495
|
+
@AutoLoadBalance = autoloadbalance
|
2496
|
+
@AccessMode = accessmode
|
2481
2497
|
end
|
2482
2498
|
|
2483
2499
|
def deserialize(params)
|
@@ -2506,6 +2522,8 @@ module TencentCloud
|
|
2506
2522
|
@VPort = params['VPort']
|
2507
2523
|
@SecurityGroup = params['SecurityGroup']
|
2508
2524
|
@ConnectionPoolType = params['ConnectionPoolType']
|
2525
|
+
@AutoLoadBalance = params['AutoLoadBalance']
|
2526
|
+
@AccessMode = params['AccessMode']
|
2509
2527
|
end
|
2510
2528
|
end
|
2511
2529
|
|
@@ -7118,12 +7136,18 @@ module TencentCloud
|
|
7118
7136
|
# @param SupportReadOnly: 是否支持设置只读
|
7119
7137
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7120
7138
|
# @type SupportReadOnly: Boolean
|
7139
|
+
# @param SupportAutoLoadBalance: 是否自动均衡负载
|
7140
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7141
|
+
# @type SupportAutoLoadBalance: Boolean
|
7142
|
+
# @param SupportAccessMode: 是否支持接入模式
|
7143
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7144
|
+
# @type SupportAccessMode: Boolean
|
7121
7145
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7122
7146
|
# @type RequestId: String
|
7123
7147
|
|
7124
|
-
attr_accessor :ProxyVersion, :SupportPool, :PoolMin, :PoolMax, :SupportTransSplit, :SupportPoolMinVersion, :SupportTransSplitMinVersion, :SupportReadOnly, :RequestId
|
7148
|
+
attr_accessor :ProxyVersion, :SupportPool, :PoolMin, :PoolMax, :SupportTransSplit, :SupportPoolMinVersion, :SupportTransSplitMinVersion, :SupportReadOnly, :SupportAutoLoadBalance, :SupportAccessMode, :RequestId
|
7125
7149
|
|
7126
|
-
def initialize(proxyversion=nil, supportpool=nil, poolmin=nil, poolmax=nil, supporttranssplit=nil, supportpoolminversion=nil, supporttranssplitminversion=nil, supportreadonly=nil, requestid=nil)
|
7150
|
+
def initialize(proxyversion=nil, supportpool=nil, poolmin=nil, poolmax=nil, supporttranssplit=nil, supportpoolminversion=nil, supporttranssplitminversion=nil, supportreadonly=nil, supportautoloadbalance=nil, supportaccessmode=nil, requestid=nil)
|
7127
7151
|
@ProxyVersion = proxyversion
|
7128
7152
|
@SupportPool = supportpool
|
7129
7153
|
@PoolMin = poolmin
|
@@ -7132,6 +7156,8 @@ module TencentCloud
|
|
7132
7156
|
@SupportPoolMinVersion = supportpoolminversion
|
7133
7157
|
@SupportTransSplitMinVersion = supporttranssplitminversion
|
7134
7158
|
@SupportReadOnly = supportreadonly
|
7159
|
+
@SupportAutoLoadBalance = supportautoloadbalance
|
7160
|
+
@SupportAccessMode = supportaccessmode
|
7135
7161
|
@RequestId = requestid
|
7136
7162
|
end
|
7137
7163
|
|
@@ -7144,6 +7170,8 @@ module TencentCloud
|
|
7144
7170
|
@SupportPoolMinVersion = params['SupportPoolMinVersion']
|
7145
7171
|
@SupportTransSplitMinVersion = params['SupportTransSplitMinVersion']
|
7146
7172
|
@SupportReadOnly = params['SupportReadOnly']
|
7173
|
+
@SupportAutoLoadBalance = params['SupportAutoLoadBalance']
|
7174
|
+
@SupportAccessMode = params['SupportAccessMode']
|
7147
7175
|
@RequestId = params['RequestId']
|
7148
7176
|
end
|
7149
7177
|
end
|
@@ -11008,8 +11036,8 @@ module TencentCloud
|
|
11008
11036
|
|
11009
11037
|
attr_accessor :InstanceId, :ParamName, :OldValue, :NewValue, :IsSucess, :ModifyTime, :IsSuccess
|
11010
11038
|
extend Gem::Deprecate
|
11011
|
-
deprecate :IsSucess, :none, 2024,
|
11012
|
-
deprecate :IsSucess=, :none, 2024,
|
11039
|
+
deprecate :IsSucess, :none, 2024, 6
|
11040
|
+
deprecate :IsSucess=, :none, 2024, 6
|
11013
11041
|
|
11014
11042
|
def initialize(instanceid=nil, paramname=nil, oldvalue=nil, newvalue=nil, issucess=nil, modifytime=nil, issuccess=nil)
|
11015
11043
|
@InstanceId = instanceid
|
@@ -11196,10 +11224,16 @@ module TencentCloud
|
|
11196
11224
|
# @param ProxyAllocation: 实例读权重分配
|
11197
11225
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11198
11226
|
# @type ProxyAllocation: Array
|
11227
|
+
# @param AccessMode: 接入模式
|
11228
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11229
|
+
# @type AccessMode: String
|
11230
|
+
# @param AutoLoadBalance: 是否开启自动负载均衡
|
11231
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11232
|
+
# @type AutoLoadBalance: Boolean
|
11199
11233
|
|
11200
|
-
attr_accessor :ProxyAddressId, :UniqVpcId, :UniqSubnetId, :Vip, :VPort, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :AutoAddRo, :ReadOnly, :TransSplit, :FailOver, :ConnectionPool, :Desc, :ProxyAllocation
|
11234
|
+
attr_accessor :ProxyAddressId, :UniqVpcId, :UniqSubnetId, :Vip, :VPort, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :AutoAddRo, :ReadOnly, :TransSplit, :FailOver, :ConnectionPool, :Desc, :ProxyAllocation, :AccessMode, :AutoLoadBalance
|
11201
11235
|
|
11202
|
-
def initialize(proxyaddressid=nil, uniqvpcid=nil, uniqsubnetid=nil, vip=nil, vport=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, autoaddro=nil, readonly=nil, transsplit=nil, failover=nil, connectionpool=nil, desc=nil, proxyallocation=nil)
|
11236
|
+
def initialize(proxyaddressid=nil, uniqvpcid=nil, uniqsubnetid=nil, vip=nil, vport=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, autoaddro=nil, readonly=nil, transsplit=nil, failover=nil, connectionpool=nil, desc=nil, proxyallocation=nil, accessmode=nil, autoloadbalance=nil)
|
11203
11237
|
@ProxyAddressId = proxyaddressid
|
11204
11238
|
@UniqVpcId = uniqvpcid
|
11205
11239
|
@UniqSubnetId = uniqsubnetid
|
@@ -11216,6 +11250,8 @@ module TencentCloud
|
|
11216
11250
|
@ConnectionPool = connectionpool
|
11217
11251
|
@Desc = desc
|
11218
11252
|
@ProxyAllocation = proxyallocation
|
11253
|
+
@AccessMode = accessmode
|
11254
|
+
@AutoLoadBalance = autoloadbalance
|
11219
11255
|
end
|
11220
11256
|
|
11221
11257
|
def deserialize(params)
|
@@ -11242,6 +11278,8 @@ module TencentCloud
|
|
11242
11278
|
@ProxyAllocation << proxyallocation_tmp
|
11243
11279
|
end
|
11244
11280
|
end
|
11281
|
+
@AccessMode = params['AccessMode']
|
11282
|
+
@AutoLoadBalance = params['AutoLoadBalance']
|
11245
11283
|
end
|
11246
11284
|
end
|
11247
11285
|
|
@@ -11374,10 +11412,16 @@ module TencentCloud
|
|
11374
11412
|
# @param Zone: 实例所属可用区
|
11375
11413
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11376
11414
|
# @type Zone: String
|
11415
|
+
# @param InstNodeId: 实例节点ID
|
11416
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11417
|
+
# @type InstNodeId: String
|
11418
|
+
# @param InstNodeRole: 节点角色
|
11419
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11420
|
+
# @type InstNodeRole: String
|
11377
11421
|
|
11378
|
-
attr_accessor :InstanceId, :InstanceName, :InstanceType, :Status, :Weight, :Region, :Zone
|
11422
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceType, :Status, :Weight, :Region, :Zone, :InstNodeId, :InstNodeRole
|
11379
11423
|
|
11380
|
-
def initialize(instanceid=nil, instancename=nil, instancetype=nil, status=nil, weight=nil, region=nil, zone=nil)
|
11424
|
+
def initialize(instanceid=nil, instancename=nil, instancetype=nil, status=nil, weight=nil, region=nil, zone=nil, instnodeid=nil, instnoderole=nil)
|
11381
11425
|
@InstanceId = instanceid
|
11382
11426
|
@InstanceName = instancename
|
11383
11427
|
@InstanceType = instancetype
|
@@ -11385,6 +11429,8 @@ module TencentCloud
|
|
11385
11429
|
@Weight = weight
|
11386
11430
|
@Region = region
|
11387
11431
|
@Zone = zone
|
11432
|
+
@InstNodeId = instnodeid
|
11433
|
+
@InstNodeRole = instnoderole
|
11388
11434
|
end
|
11389
11435
|
|
11390
11436
|
def deserialize(params)
|
@@ -11395,6 +11441,8 @@ module TencentCloud
|
|
11395
11441
|
@Weight = params['Weight']
|
11396
11442
|
@Region = params['Region']
|
11397
11443
|
@Zone = params['Zone']
|
11444
|
+
@InstNodeId = params['InstNodeId']
|
11445
|
+
@InstNodeRole = params['InstNodeRole']
|
11398
11446
|
end
|
11399
11447
|
end
|
11400
11448
|
|
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.837
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|