tencentcloud-sdk-cdb 1.0.242 → 1.0.243

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe96a75d6b83b640fc1208e8830e36e001d0066a
4
- data.tar.gz: c132634edc5ae100f936706537ad14308adacb02
3
+ metadata.gz: 66248cd7e85fc526b2f8530618711c20a1de91ba
4
+ data.tar.gz: b1fd0eee0194bbb4f793ef99cb913ba4935173cb
5
5
  SHA512:
6
- metadata.gz: a4410ece2ca6df2b9471af4e98b59aaf0749b5f00b93b725020749e3c86d2016e646ad646222218869823e1cf00d7eb5e80484e578258525978497be2b77a54a
7
- data.tar.gz: 010d59488bc1aee70405531b3c94c38276088780dee4a0b24fac9c90cf3ad49b41dbea43720291f3cbec2f6620b293e8748ded37a8af951a69b48051dd1fb093
6
+ metadata.gz: 7e632d4d444b4483a8c1c9a2b117105caeb6c22dc8c0569a1b73cee57b6874815cf2a6f620c4d53d3f55500d141807b74ca22008c0ae60338d1d6817a9e89cb3
7
+ data.tar.gz: e5546588805d42bbcb15cb4ece52fe24f4dca5ab66cc8ecc48e89706bb28a1968f50c0da9cea6663da39182933120fbce23a302aacf076b7dd75b42cbd13cf8f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.242
1
+ 1.0.243
@@ -2997,7 +2997,7 @@ module TencentCloud
2997
2997
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2998
2998
  end
2999
2999
 
3000
- # 昨晚数据库代理配置变更或则升级版本后手动发起立即切换
3000
+ # 数据库代理配置变更或则升级版本后手动发起立即切换
3001
3001
 
3002
3002
  # @param request: Request instance for SwitchCDBProxy.
3003
3003
  # @type request: :class:`Tencentcloud::cdb::V20170320::SwitchCDBProxyRequest`
@@ -3461,17 +3461,25 @@ module TencentCloud
3461
3461
  # @param ConnectionPoolInfo: 连接池信息
3462
3462
  # 注意:此字段可能返回 null,表示取不到有效值。
3463
3463
  # @type ConnectionPoolInfo: :class:`Tencentcloud::Cdb.v20170320.models.ConnectionPoolInfo`
3464
+ # @param Count: 代理数量
3465
+ # 注意:此字段可能返回 null,表示取不到有效值。
3466
+ # @type Count: Integer
3467
+ # @param ProxyGroup: 代理信息
3468
+ # 注意:此字段可能返回 null,表示取不到有效值。
3469
+ # @type ProxyGroup: Array
3464
3470
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3465
3471
  # @type RequestId: String
3466
3472
 
3467
- attr_accessor :BaseGroup, :Address, :ProxyNode, :RWInstInfo, :ConnectionPoolInfo, :RequestId
3473
+ attr_accessor :BaseGroup, :Address, :ProxyNode, :RWInstInfo, :ConnectionPoolInfo, :Count, :ProxyGroup, :RequestId
3468
3474
 
3469
- def initialize(basegroup=nil, address=nil, proxynode=nil, rwinstinfo=nil, connectionpoolinfo=nil, requestid=nil)
3475
+ def initialize(basegroup=nil, address=nil, proxynode=nil, rwinstinfo=nil, connectionpoolinfo=nil, count=nil, proxygroup=nil, requestid=nil)
3470
3476
  @BaseGroup = basegroup
3471
3477
  @Address = address
3472
3478
  @ProxyNode = proxynode
3473
3479
  @RWInstInfo = rwinstinfo
3474
3480
  @ConnectionPoolInfo = connectionpoolinfo
3481
+ @Count = count
3482
+ @ProxyGroup = proxygroup
3475
3483
  @RequestId = requestid
3476
3484
  end
3477
3485
 
@@ -3496,6 +3504,15 @@ module TencentCloud
3496
3504
  @ConnectionPoolInfo = ConnectionPoolInfo.new
3497
3505
  @ConnectionPoolInfo.deserialize(params['ConnectionPoolInfo'])
3498
3506
  end
3507
+ @Count = params['Count']
3508
+ unless params['ProxyGroup'].nil?
3509
+ @ProxyGroup = []
3510
+ params['ProxyGroup'].each do |i|
3511
+ proxygroup_tmp = ProxyGroup.new
3512
+ proxygroup_tmp.deserialize(i)
3513
+ @ProxyGroup << proxygroup_tmp
3514
+ end
3515
+ end
3499
3516
  @RequestId = params['RequestId']
3500
3517
  end
3501
3518
  end
@@ -8225,6 +8242,66 @@ module TencentCloud
8225
8242
  end
8226
8243
  end
8227
8244
 
8245
+ # 数据代理组信息
8246
+ class ProxyGroup < TencentCloud::Common::AbstractModel
8247
+ # @param BaseGroup: 代理基本信息
8248
+ # 注意:此字段可能返回 null,表示取不到有效值。
8249
+ # @type BaseGroup: :class:`Tencentcloud::Cdb.v20170320.models.BaseGroupInfo`
8250
+ # @param Address: 代理地址信息
8251
+ # 注意:此字段可能返回 null,表示取不到有效值。
8252
+ # @type Address: Array
8253
+ # @param ConnectionPoolInfo: 代理连接池信息
8254
+ # 注意:此字段可能返回 null,表示取不到有效值。
8255
+ # @type ConnectionPoolInfo: :class:`Tencentcloud::Cdb.v20170320.models.ConnectionPoolInfo`
8256
+ # @param ProxyNode: 代理节点信息
8257
+ # 注意:此字段可能返回 null,表示取不到有效值。
8258
+ # @type ProxyNode: Array
8259
+ # @param RWInstInfo: 代理路由信息
8260
+ # 注意:此字段可能返回 null,表示取不到有效值。
8261
+ # @type RWInstInfo: :class:`Tencentcloud::Cdb.v20170320.models.RWInfo`
8262
+
8263
+ attr_accessor :BaseGroup, :Address, :ConnectionPoolInfo, :ProxyNode, :RWInstInfo
8264
+
8265
+ def initialize(basegroup=nil, address=nil, connectionpoolinfo=nil, proxynode=nil, rwinstinfo=nil)
8266
+ @BaseGroup = basegroup
8267
+ @Address = address
8268
+ @ConnectionPoolInfo = connectionpoolinfo
8269
+ @ProxyNode = proxynode
8270
+ @RWInstInfo = rwinstinfo
8271
+ end
8272
+
8273
+ def deserialize(params)
8274
+ unless params['BaseGroup'].nil?
8275
+ @BaseGroup = BaseGroupInfo.new
8276
+ @BaseGroup.deserialize(params['BaseGroup'])
8277
+ end
8278
+ unless params['Address'].nil?
8279
+ @Address = []
8280
+ params['Address'].each do |i|
8281
+ address_tmp = Address.new
8282
+ address_tmp.deserialize(i)
8283
+ @Address << address_tmp
8284
+ end
8285
+ end
8286
+ unless params['ConnectionPoolInfo'].nil?
8287
+ @ConnectionPoolInfo = ConnectionPoolInfo.new
8288
+ @ConnectionPoolInfo.deserialize(params['ConnectionPoolInfo'])
8289
+ end
8290
+ unless params['ProxyNode'].nil?
8291
+ @ProxyNode = []
8292
+ params['ProxyNode'].each do |i|
8293
+ proxynodeinfo_tmp = ProxyNodeInfo.new
8294
+ proxynodeinfo_tmp.deserialize(i)
8295
+ @ProxyNode << proxynodeinfo_tmp
8296
+ end
8297
+ end
8298
+ unless params['RWInstInfo'].nil?
8299
+ @RWInstInfo = RWInfo.new
8300
+ @RWInstInfo.deserialize(params['RWInstInfo'])
8301
+ end
8302
+ end
8303
+ end
8304
+
8228
8305
  # 代理节点信息
8229
8306
  class ProxyNodeInfo < TencentCloud::Common::AbstractModel
8230
8307
  # @param ProxyNodeId: 代理节点ID
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: 1.0.242
4
+ version: 1.0.243
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-14 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common