tencentcloud-sdk-cdb 3.0.558 → 3.0.559

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: 483b92561f110d0fbe42b5dd6e49030f644c6033
4
- data.tar.gz: f155515946f397bff1d7ff18d9e358786b7fcaeb
3
+ metadata.gz: 8d6cfd52c030d885a2857e9eb03ec741cc52d2b3
4
+ data.tar.gz: e20f413184454147268a14007dc7d19930535c98
5
5
  SHA512:
6
- metadata.gz: 0e35c3f1bab8fb234d0d6964e886b46d8619be263f2729067fe72e9d5368efdeb851457efaa8a9eb6f3b2b204c5dcfdb0faf341fa0010161753357e8a3ffbf01
7
- data.tar.gz: ff869c02570e374e1838aa5307522433a97bf62206f5cbd351d0be9edd11131fa83856e0df3c1bbd4b642e63339835599c5828d6f5df150c3efd9dc30a5f3efd
6
+ metadata.gz: 59b03b978ca68052d3f9d2ed0ac2a82d239b3d53e14176e14b2c5188c3a36cc4ca4836b599cd88633fbc0c930d6a647bc481b6bfefeea2898ce944d06b02d6c0
7
+ data.tar.gz: 8293839f605227cf921a4ee6a6f9f55d2fc6d27c2ab6201dbe705dcdd0922d4ea52de85aa54552b956ba918ad0d51ec29ea672c2866424eb7e85d46053dfccfe
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.558
1
+ 3.0.559
@@ -53,6 +53,54 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 调整数据库代理配置
57
+
58
+ # @param request: Request instance for AdjustCdbProxy.
59
+ # @type request: :class:`Tencentcloud::cdb::V20170320::AdjustCdbProxyRequest`
60
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::AdjustCdbProxyResponse`
61
+ def AdjustCdbProxy(request)
62
+ body = send_request('AdjustCdbProxy', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = AdjustCdbProxyResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 调整数据库代理地址配置
81
+
82
+ # @param request: Request instance for AdjustCdbProxyAddress.
83
+ # @type request: :class:`Tencentcloud::cdb::V20170320::AdjustCdbProxyAddressRequest`
84
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::AdjustCdbProxyAddressResponse`
85
+ def AdjustCdbProxyAddress(request)
86
+ body = send_request('AdjustCdbProxyAddress', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = AdjustCdbProxyAddressResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
56
104
  # 在不同过滤条件下的审计日志结果集中,选定特定的数据列进行聚合统计。
57
105
 
58
106
  # @param request: Request instance for AnalyzeAuditLogs.
@@ -149,6 +197,30 @@ module TencentCloud
149
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
198
  end
151
199
 
200
+ # 请求关闭数据库代理地址
201
+
202
+ # @param request: Request instance for CloseCdbProxyAddress.
203
+ # @type request: :class:`Tencentcloud::cdb::V20170320::CloseCdbProxyAddressRequest`
204
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::CloseCdbProxyAddressResponse`
205
+ def CloseCdbProxyAddress(request)
206
+ body = send_request('CloseCdbProxyAddress', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = CloseCdbProxyAddressResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
152
224
  # 本接口(CloseWanService)用于关闭云数据库实例的外网访问。关闭外网访问后,外网地址将不可访问。
153
225
 
154
226
  # @param request: Request instance for CloseWanService.
@@ -293,6 +365,54 @@ module TencentCloud
293
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
366
  end
295
367
 
368
+ # 主实例创建数据库代理
369
+
370
+ # @param request: Request instance for CreateCdbProxy.
371
+ # @type request: :class:`Tencentcloud::cdb::V20170320::CreateCdbProxyRequest`
372
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::CreateCdbProxyResponse`
373
+ def CreateCdbProxy(request)
374
+ body = send_request('CreateCdbProxy', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = CreateCdbProxyResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
392
+ # 数据库代理增加代理地址
393
+
394
+ # @param request: Request instance for CreateCdbProxyAddress.
395
+ # @type request: :class:`Tencentcloud::cdb::V20170320::CreateCdbProxyAddressRequest`
396
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::CreateCdbProxyAddressResponse`
397
+ def CreateCdbProxyAddress(request)
398
+ body = send_request('CreateCdbProxyAddress', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = CreateCdbProxyAddressResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
296
416
  # 本接口(CreateCloneInstance) 用于从目标源实例创建一个克隆实例,可以指定克隆实例回档到源实例的指定物理备份文件或者指定的回档时间点。
297
417
 
298
418
  # @param request: Request instance for CreateCloneInstance.
@@ -1110,6 +1230,30 @@ module TencentCloud
1110
1230
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1111
1231
  end
1112
1232
 
1233
+ # 查询数据库代理详情信息
1234
+
1235
+ # @param request: Request instance for DescribeCdbProxyInfo.
1236
+ # @type request: :class:`Tencentcloud::cdb::V20170320::DescribeCdbProxyInfoRequest`
1237
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeCdbProxyInfoResponse`
1238
+ def DescribeCdbProxyInfo(request)
1239
+ body = send_request('DescribeCdbProxyInfo', request.serialize)
1240
+ response = JSON.parse(body)
1241
+ if response['Response'].key?('Error') == false
1242
+ model = DescribeCdbProxyInfoResponse.new
1243
+ model.deserialize(response['Response'])
1244
+ model
1245
+ else
1246
+ code = response['Response']['Error']['Code']
1247
+ message = response['Response']['Error']['Message']
1248
+ reqid = response['Response']['RequestId']
1249
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1250
+ end
1251
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1252
+ raise e
1253
+ rescue StandardError => e
1254
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1255
+ end
1256
+
1113
1257
  # 本接口(DescribeCdbZoneConfig)用于查询云数据库各地域可售卖的规格配置。
1114
1258
 
1115
1259
  # @param request: Request instance for DescribeCdbZoneConfig.
@@ -1763,6 +1907,30 @@ module TencentCloud
1763
1907
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1764
1908
  end
1765
1909
 
1910
+ # 查询实例支持代理版本和参数
1911
+
1912
+ # @param request: Request instance for DescribeProxySupportParam.
1913
+ # @type request: :class:`Tencentcloud::cdb::V20170320::DescribeProxySupportParamRequest`
1914
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeProxySupportParamResponse`
1915
+ def DescribeProxySupportParam(request)
1916
+ body = send_request('DescribeProxySupportParam', request.serialize)
1917
+ response = JSON.parse(body)
1918
+ if response['Response'].key?('Error') == false
1919
+ model = DescribeProxySupportParamResponse.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
+
1766
1934
  # 本接口(DescribeRemoteBackupConfig)用于查询数据库异地备份配置信息。
1767
1935
 
1768
1936
  # @param request: Request instance for DescribeRemoteBackupConfig.
@@ -2519,6 +2687,78 @@ module TencentCloud
2519
2687
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2520
2688
  end
2521
2689
 
2690
+ # 修改代理地址描述信息
2691
+
2692
+ # @param request: Request instance for ModifyCdbProxyAddressDesc.
2693
+ # @type request: :class:`Tencentcloud::cdb::V20170320::ModifyCdbProxyAddressDescRequest`
2694
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::ModifyCdbProxyAddressDescResponse`
2695
+ def ModifyCdbProxyAddressDesc(request)
2696
+ body = send_request('ModifyCdbProxyAddressDesc', request.serialize)
2697
+ response = JSON.parse(body)
2698
+ if response['Response'].key?('Error') == false
2699
+ model = ModifyCdbProxyAddressDescResponse.new
2700
+ model.deserialize(response['Response'])
2701
+ model
2702
+ else
2703
+ code = response['Response']['Error']['Code']
2704
+ message = response['Response']['Error']['Message']
2705
+ reqid = response['Response']['RequestId']
2706
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2707
+ end
2708
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2709
+ raise e
2710
+ rescue StandardError => e
2711
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2712
+ end
2713
+
2714
+ # 修改数据库代理地址VPC信息
2715
+
2716
+ # @param request: Request instance for ModifyCdbProxyAddressVipAndVPort.
2717
+ # @type request: :class:`Tencentcloud::cdb::V20170320::ModifyCdbProxyAddressVipAndVPortRequest`
2718
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::ModifyCdbProxyAddressVipAndVPortResponse`
2719
+ def ModifyCdbProxyAddressVipAndVPort(request)
2720
+ body = send_request('ModifyCdbProxyAddressVipAndVPort', request.serialize)
2721
+ response = JSON.parse(body)
2722
+ if response['Response'].key?('Error') == false
2723
+ model = ModifyCdbProxyAddressVipAndVPortResponse.new
2724
+ model.deserialize(response['Response'])
2725
+ model
2726
+ else
2727
+ code = response['Response']['Error']['Code']
2728
+ message = response['Response']['Error']['Message']
2729
+ reqid = response['Response']['RequestId']
2730
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2731
+ end
2732
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2733
+ raise e
2734
+ rescue StandardError => e
2735
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2736
+ end
2737
+
2738
+ # 配置数据库代理参数
2739
+
2740
+ # @param request: Request instance for ModifyCdbProxyParam.
2741
+ # @type request: :class:`Tencentcloud::cdb::V20170320::ModifyCdbProxyParamRequest`
2742
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::ModifyCdbProxyParamResponse`
2743
+ def ModifyCdbProxyParam(request)
2744
+ body = send_request('ModifyCdbProxyParam', request.serialize)
2745
+ response = JSON.parse(body)
2746
+ if response['Response'].key?('Error') == false
2747
+ model = ModifyCdbProxyParamResponse.new
2748
+ model.deserialize(response['Response'])
2749
+ model
2750
+ else
2751
+ code = response['Response']['Error']['Code']
2752
+ message = response['Response']['Error']['Message']
2753
+ reqid = response['Response']['RequestId']
2754
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2755
+ end
2756
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2757
+ raise e
2758
+ rescue StandardError => e
2759
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2760
+ end
2761
+
2522
2762
  # 本接口(ModifyDBInstanceName)用于修改云数据库实例的名称。
2523
2763
 
2524
2764
  # @param request: Request instance for ModifyDBInstanceName.
@@ -178,6 +178,155 @@ module TencentCloud
178
178
  end
179
179
  end
180
180
 
181
+ # AdjustCdbProxyAddress请求参数结构体
182
+ class AdjustCdbProxyAddressRequest < TencentCloud::Common::AbstractModel
183
+ # @param ProxyGroupId: 代理组ID
184
+ # @type ProxyGroupId: String
185
+ # @param WeightMode: 权重分配模式,
186
+ # 系统自动分配:"system", 自定义:"custom"
187
+ # @type WeightMode: String
188
+ # @param IsKickOut: 是否开启延迟剔除,取值:"true" | "false"
189
+ # @type IsKickOut: Boolean
190
+ # @param MinCount: 最小保留数量,最小取值:0
191
+ # @type MinCount: Integer
192
+ # @param MaxDelay: 延迟剔除阈值,最小取值:0
193
+ # @type MaxDelay: Integer
194
+ # @param FailOver: 是否开启故障转移,取值:"true" | "false"
195
+ # @type FailOver: Boolean
196
+ # @param AutoAddRo: 是否自动添加RO,取值:"true" | "false"
197
+ # @type AutoAddRo: Boolean
198
+ # @param ReadOnly: 是否是只读,取值:"true" | "false"
199
+ # @type ReadOnly: Boolean
200
+ # @param ProxyAddressId: 代理组地址ID
201
+ # @type ProxyAddressId: String
202
+ # @param TransSplit: 是否开启事务分离,取值:"true" | "false"
203
+ # @type TransSplit: Boolean
204
+ # @param ConnectionPool: 是否开启连接池
205
+ # @type ConnectionPool: Boolean
206
+ # @param ProxyAllocation: 读写权重分配。如果 WeightMode 传的是 system ,则传入的权重不生效,由系统分配默认权重。
207
+ # @type ProxyAllocation: Array
208
+
209
+ attr_accessor :ProxyGroupId, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :FailOver, :AutoAddRo, :ReadOnly, :ProxyAddressId, :TransSplit, :ConnectionPool, :ProxyAllocation
210
+
211
+ 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)
212
+ @ProxyGroupId = proxygroupid
213
+ @WeightMode = weightmode
214
+ @IsKickOut = iskickout
215
+ @MinCount = mincount
216
+ @MaxDelay = maxdelay
217
+ @FailOver = failover
218
+ @AutoAddRo = autoaddro
219
+ @ReadOnly = readonly
220
+ @ProxyAddressId = proxyaddressid
221
+ @TransSplit = transsplit
222
+ @ConnectionPool = connectionpool
223
+ @ProxyAllocation = proxyallocation
224
+ end
225
+
226
+ def deserialize(params)
227
+ @ProxyGroupId = params['ProxyGroupId']
228
+ @WeightMode = params['WeightMode']
229
+ @IsKickOut = params['IsKickOut']
230
+ @MinCount = params['MinCount']
231
+ @MaxDelay = params['MaxDelay']
232
+ @FailOver = params['FailOver']
233
+ @AutoAddRo = params['AutoAddRo']
234
+ @ReadOnly = params['ReadOnly']
235
+ @ProxyAddressId = params['ProxyAddressId']
236
+ @TransSplit = params['TransSplit']
237
+ @ConnectionPool = params['ConnectionPool']
238
+ unless params['ProxyAllocation'].nil?
239
+ @ProxyAllocation = []
240
+ params['ProxyAllocation'].each do |i|
241
+ proxyallocation_tmp = ProxyAllocation.new
242
+ proxyallocation_tmp.deserialize(i)
243
+ @ProxyAllocation << proxyallocation_tmp
244
+ end
245
+ end
246
+ end
247
+ end
248
+
249
+ # AdjustCdbProxyAddress返回参数结构体
250
+ class AdjustCdbProxyAddressResponse < TencentCloud::Common::AbstractModel
251
+ # @param AsyncRequestId: 异步任务ID
252
+ # 注意:此字段可能返回 null,表示取不到有效值。
253
+ # @type AsyncRequestId: String
254
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
255
+ # @type RequestId: String
256
+
257
+ attr_accessor :AsyncRequestId, :RequestId
258
+
259
+ def initialize(asyncrequestid=nil, requestid=nil)
260
+ @AsyncRequestId = asyncrequestid
261
+ @RequestId = requestid
262
+ end
263
+
264
+ def deserialize(params)
265
+ @AsyncRequestId = params['AsyncRequestId']
266
+ @RequestId = params['RequestId']
267
+ end
268
+ end
269
+
270
+ # AdjustCdbProxy请求参数结构体
271
+ class AdjustCdbProxyRequest < TencentCloud::Common::AbstractModel
272
+ # @param InstanceId: 实例ID
273
+ # @type InstanceId: String
274
+ # @param ProxyGroupId: 代理组ID
275
+ # @type ProxyGroupId: String
276
+ # @param ProxyNodeCustom: 节点规格配置
277
+ # @type ProxyNodeCustom: Array
278
+ # @param ReloadBalance: 重新负载均衡:auto(自动),manual(手动)
279
+ # @type ReloadBalance: String
280
+ # @param UpgradeTime: 升级切换时间:nowTime(升级完成时),timeWindow(维护时间内)
281
+ # @type UpgradeTime: String
282
+
283
+ attr_accessor :InstanceId, :ProxyGroupId, :ProxyNodeCustom, :ReloadBalance, :UpgradeTime
284
+
285
+ def initialize(instanceid=nil, proxygroupid=nil, proxynodecustom=nil, reloadbalance=nil, upgradetime=nil)
286
+ @InstanceId = instanceid
287
+ @ProxyGroupId = proxygroupid
288
+ @ProxyNodeCustom = proxynodecustom
289
+ @ReloadBalance = reloadbalance
290
+ @UpgradeTime = upgradetime
291
+ end
292
+
293
+ def deserialize(params)
294
+ @InstanceId = params['InstanceId']
295
+ @ProxyGroupId = params['ProxyGroupId']
296
+ unless params['ProxyNodeCustom'].nil?
297
+ @ProxyNodeCustom = []
298
+ params['ProxyNodeCustom'].each do |i|
299
+ proxynodecustom_tmp = ProxyNodeCustom.new
300
+ proxynodecustom_tmp.deserialize(i)
301
+ @ProxyNodeCustom << proxynodecustom_tmp
302
+ end
303
+ end
304
+ @ReloadBalance = params['ReloadBalance']
305
+ @UpgradeTime = params['UpgradeTime']
306
+ end
307
+ end
308
+
309
+ # AdjustCdbProxy返回参数结构体
310
+ class AdjustCdbProxyResponse < TencentCloud::Common::AbstractModel
311
+ # @param AsyncRequestId: 异步任务ID
312
+ # 注意:此字段可能返回 null,表示取不到有效值。
313
+ # @type AsyncRequestId: String
314
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
315
+ # @type RequestId: String
316
+
317
+ attr_accessor :AsyncRequestId, :RequestId
318
+
319
+ def initialize(asyncrequestid=nil, requestid=nil)
320
+ @AsyncRequestId = asyncrequestid
321
+ @RequestId = requestid
322
+ end
323
+
324
+ def deserialize(params)
325
+ @AsyncRequestId = params['AsyncRequestId']
326
+ @RequestId = params['RequestId']
327
+ end
328
+ end
329
+
181
330
  # 审计日志聚合条件
182
331
  class AggregationCondition < TencentCloud::Common::AbstractModel
183
332
  # @param AggregationField: 聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。
@@ -1394,6 +1543,42 @@ module TencentCloud
1394
1543
  end
1395
1544
  end
1396
1545
 
1546
+ # CloseCdbProxyAddress请求参数结构体
1547
+ class CloseCdbProxyAddressRequest < TencentCloud::Common::AbstractModel
1548
+ # @param ProxyGroupId: 代理组ID
1549
+ # @type ProxyGroupId: String
1550
+ # @param ProxyAddressId: 代理组地址ID
1551
+ # @type ProxyAddressId: String
1552
+
1553
+ attr_accessor :ProxyGroupId, :ProxyAddressId
1554
+
1555
+ def initialize(proxygroupid=nil, proxyaddressid=nil)
1556
+ @ProxyGroupId = proxygroupid
1557
+ @ProxyAddressId = proxyaddressid
1558
+ end
1559
+
1560
+ def deserialize(params)
1561
+ @ProxyGroupId = params['ProxyGroupId']
1562
+ @ProxyAddressId = params['ProxyAddressId']
1563
+ end
1564
+ end
1565
+
1566
+ # CloseCdbProxyAddress返回参数结构体
1567
+ class CloseCdbProxyAddressResponse < TencentCloud::Common::AbstractModel
1568
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1569
+ # @type RequestId: String
1570
+
1571
+ attr_accessor :RequestId
1572
+
1573
+ def initialize(requestid=nil)
1574
+ @RequestId = requestid
1575
+ end
1576
+
1577
+ def deserialize(params)
1578
+ @RequestId = params['RequestId']
1579
+ end
1580
+ end
1581
+
1397
1582
  # CloseWanService请求参数结构体
1398
1583
  class CloseWanServiceRequest < TencentCloud::Common::AbstractModel
1399
1584
  # @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
@@ -1824,6 +2009,183 @@ module TencentCloud
1824
2009
  end
1825
2010
  end
1826
2011
 
2012
+ # CreateCdbProxyAddress请求参数结构体
2013
+ class CreateCdbProxyAddressRequest < TencentCloud::Common::AbstractModel
2014
+ # @param ProxyGroupId: 代理组ID
2015
+ # @type ProxyGroupId: String
2016
+ # @param WeightMode: 权重分配模式,
2017
+ # 系统自动分配:"system", 自定义:"custom"
2018
+ # @type WeightMode: String
2019
+ # @param IsKickOut: 是否开启延迟剔除,取值:"true" | "false"
2020
+ # @type IsKickOut: Boolean
2021
+ # @param MinCount: 最小保留数量,最小取值:0
2022
+ # @type MinCount: Integer
2023
+ # @param MaxDelay: 延迟剔除阈值,最小取值:0
2024
+ # @type MaxDelay: Integer
2025
+ # @param FailOver: 是否开启故障转移,取值:"true" | "false"
2026
+ # @type FailOver: Boolean
2027
+ # @param AutoAddRo: 是否自动添加RO,取值:"true" | "false"
2028
+ # @type AutoAddRo: Boolean
2029
+ # @param ReadOnly: 是否是只读,取值:"true" | "false"
2030
+ # @type ReadOnly: Boolean
2031
+ # @param TransSplit: 是否开启事务分离,取值:"true" | "false"
2032
+ # @type TransSplit: Boolean
2033
+ # @param ProxyAllocation: 读写权重分配
2034
+ # @type ProxyAllocation: Array
2035
+ # @param UniqVpcId: 私有网络ID
2036
+ # @type UniqVpcId: String
2037
+ # @param UniqSubnetId: 私有子网ID
2038
+ # @type UniqSubnetId: String
2039
+ # @param ConnectionPool: 是否开启连接池
2040
+ # @type ConnectionPool: Boolean
2041
+ # @param Desc: 描述
2042
+ # @type Desc: String
2043
+ # @param Vip: IP地址
2044
+ # @type Vip: String
2045
+ # @param VPort: 端口
2046
+ # @type VPort: Integer
2047
+ # @param SecurityGroup: 安全组
2048
+ # @type SecurityGroup: Array
2049
+
2050
+ attr_accessor :ProxyGroupId, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :FailOver, :AutoAddRo, :ReadOnly, :TransSplit, :ProxyAllocation, :UniqVpcId, :UniqSubnetId, :ConnectionPool, :Desc, :Vip, :VPort, :SecurityGroup
2051
+
2052
+ 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)
2053
+ @ProxyGroupId = proxygroupid
2054
+ @WeightMode = weightmode
2055
+ @IsKickOut = iskickout
2056
+ @MinCount = mincount
2057
+ @MaxDelay = maxdelay
2058
+ @FailOver = failover
2059
+ @AutoAddRo = autoaddro
2060
+ @ReadOnly = readonly
2061
+ @TransSplit = transsplit
2062
+ @ProxyAllocation = proxyallocation
2063
+ @UniqVpcId = uniqvpcid
2064
+ @UniqSubnetId = uniqsubnetid
2065
+ @ConnectionPool = connectionpool
2066
+ @Desc = desc
2067
+ @Vip = vip
2068
+ @VPort = vport
2069
+ @SecurityGroup = securitygroup
2070
+ end
2071
+
2072
+ def deserialize(params)
2073
+ @ProxyGroupId = params['ProxyGroupId']
2074
+ @WeightMode = params['WeightMode']
2075
+ @IsKickOut = params['IsKickOut']
2076
+ @MinCount = params['MinCount']
2077
+ @MaxDelay = params['MaxDelay']
2078
+ @FailOver = params['FailOver']
2079
+ @AutoAddRo = params['AutoAddRo']
2080
+ @ReadOnly = params['ReadOnly']
2081
+ @TransSplit = params['TransSplit']
2082
+ unless params['ProxyAllocation'].nil?
2083
+ @ProxyAllocation = []
2084
+ params['ProxyAllocation'].each do |i|
2085
+ proxyallocation_tmp = ProxyAllocation.new
2086
+ proxyallocation_tmp.deserialize(i)
2087
+ @ProxyAllocation << proxyallocation_tmp
2088
+ end
2089
+ end
2090
+ @UniqVpcId = params['UniqVpcId']
2091
+ @UniqSubnetId = params['UniqSubnetId']
2092
+ @ConnectionPool = params['ConnectionPool']
2093
+ @Desc = params['Desc']
2094
+ @Vip = params['Vip']
2095
+ @VPort = params['VPort']
2096
+ @SecurityGroup = params['SecurityGroup']
2097
+ end
2098
+ end
2099
+
2100
+ # CreateCdbProxyAddress返回参数结构体
2101
+ class CreateCdbProxyAddressResponse < TencentCloud::Common::AbstractModel
2102
+ # @param AsyncRequestId: 异步任务ID
2103
+ # 注意:此字段可能返回 null,表示取不到有效值。
2104
+ # @type AsyncRequestId: String
2105
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2106
+ # @type RequestId: String
2107
+
2108
+ attr_accessor :AsyncRequestId, :RequestId
2109
+
2110
+ def initialize(asyncrequestid=nil, requestid=nil)
2111
+ @AsyncRequestId = asyncrequestid
2112
+ @RequestId = requestid
2113
+ end
2114
+
2115
+ def deserialize(params)
2116
+ @AsyncRequestId = params['AsyncRequestId']
2117
+ @RequestId = params['RequestId']
2118
+ end
2119
+ end
2120
+
2121
+ # CreateCdbProxy请求参数结构体
2122
+ class CreateCdbProxyRequest < TencentCloud::Common::AbstractModel
2123
+ # @param InstanceId: 实例ID
2124
+ # @type InstanceId: String
2125
+ # @param UniqVpcId: 私有网络ID
2126
+ # @type UniqVpcId: String
2127
+ # @param UniqSubnetId: 私有子网ID
2128
+ # @type UniqSubnetId: String
2129
+ # @param ProxyNodeCustom: 节点规格配置
2130
+ # @type ProxyNodeCustom: Array
2131
+ # @param SecurityGroup: 安全组
2132
+ # @type SecurityGroup: Array
2133
+ # @param Desc: 描述
2134
+ # @type Desc: String
2135
+ # @param ConnectionPoolLimit: 连接池阈值
2136
+ # @type ConnectionPoolLimit: Integer
2137
+
2138
+ attr_accessor :InstanceId, :UniqVpcId, :UniqSubnetId, :ProxyNodeCustom, :SecurityGroup, :Desc, :ConnectionPoolLimit
2139
+
2140
+ def initialize(instanceid=nil, uniqvpcid=nil, uniqsubnetid=nil, proxynodecustom=nil, securitygroup=nil, desc=nil, connectionpoollimit=nil)
2141
+ @InstanceId = instanceid
2142
+ @UniqVpcId = uniqvpcid
2143
+ @UniqSubnetId = uniqsubnetid
2144
+ @ProxyNodeCustom = proxynodecustom
2145
+ @SecurityGroup = securitygroup
2146
+ @Desc = desc
2147
+ @ConnectionPoolLimit = connectionpoollimit
2148
+ end
2149
+
2150
+ def deserialize(params)
2151
+ @InstanceId = params['InstanceId']
2152
+ @UniqVpcId = params['UniqVpcId']
2153
+ @UniqSubnetId = params['UniqSubnetId']
2154
+ unless params['ProxyNodeCustom'].nil?
2155
+ @ProxyNodeCustom = []
2156
+ params['ProxyNodeCustom'].each do |i|
2157
+ proxynodecustom_tmp = ProxyNodeCustom.new
2158
+ proxynodecustom_tmp.deserialize(i)
2159
+ @ProxyNodeCustom << proxynodecustom_tmp
2160
+ end
2161
+ end
2162
+ @SecurityGroup = params['SecurityGroup']
2163
+ @Desc = params['Desc']
2164
+ @ConnectionPoolLimit = params['ConnectionPoolLimit']
2165
+ end
2166
+ end
2167
+
2168
+ # CreateCdbProxy返回参数结构体
2169
+ class CreateCdbProxyResponse < TencentCloud::Common::AbstractModel
2170
+ # @param AsyncRequestId: 异步任务ID
2171
+ # 注意:此字段可能返回 null,表示取不到有效值。
2172
+ # @type AsyncRequestId: String
2173
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2174
+ # @type RequestId: String
2175
+
2176
+ attr_accessor :AsyncRequestId, :RequestId
2177
+
2178
+ def initialize(asyncrequestid=nil, requestid=nil)
2179
+ @AsyncRequestId = asyncrequestid
2180
+ @RequestId = requestid
2181
+ end
2182
+
2183
+ def deserialize(params)
2184
+ @AsyncRequestId = params['AsyncRequestId']
2185
+ @RequestId = params['RequestId']
2186
+ end
2187
+ end
2188
+
1827
2189
  # CreateCloneInstance请求参数结构体
1828
2190
  class CreateCloneInstanceRequest < TencentCloud::Common::AbstractModel
1829
2191
  # @param InstanceId: 克隆源实例Id。
@@ -4175,8 +4537,61 @@ module TencentCloud
4175
4537
  end
4176
4538
  end
4177
4539
 
4178
- # DescribeCdbZoneConfig请求参数结构体
4179
- class DescribeCdbZoneConfigRequest < TencentCloud::Common::AbstractModel
4540
+ # DescribeCdbProxyInfo请求参数结构体
4541
+ class DescribeCdbProxyInfoRequest < TencentCloud::Common::AbstractModel
4542
+ # @param InstanceId: 实例ID
4543
+ # @type InstanceId: String
4544
+ # @param ProxyGroupId: 代理组ID
4545
+ # @type ProxyGroupId: String
4546
+
4547
+ attr_accessor :InstanceId, :ProxyGroupId
4548
+
4549
+ def initialize(instanceid=nil, proxygroupid=nil)
4550
+ @InstanceId = instanceid
4551
+ @ProxyGroupId = proxygroupid
4552
+ end
4553
+
4554
+ def deserialize(params)
4555
+ @InstanceId = params['InstanceId']
4556
+ @ProxyGroupId = params['ProxyGroupId']
4557
+ end
4558
+ end
4559
+
4560
+ # DescribeCdbProxyInfo返回参数结构体
4561
+ class DescribeCdbProxyInfoResponse < TencentCloud::Common::AbstractModel
4562
+ # @param Count: 代理组数量
4563
+ # 注意:此字段可能返回 null,表示取不到有效值。
4564
+ # @type Count: Integer
4565
+ # @param ProxyInfos: 代理组信息
4566
+ # 注意:此字段可能返回 null,表示取不到有效值。
4567
+ # @type ProxyInfos: Array
4568
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4569
+ # @type RequestId: String
4570
+
4571
+ attr_accessor :Count, :ProxyInfos, :RequestId
4572
+
4573
+ def initialize(count=nil, proxyinfos=nil, requestid=nil)
4574
+ @Count = count
4575
+ @ProxyInfos = proxyinfos
4576
+ @RequestId = requestid
4577
+ end
4578
+
4579
+ def deserialize(params)
4580
+ @Count = params['Count']
4581
+ unless params['ProxyInfos'].nil?
4582
+ @ProxyInfos = []
4583
+ params['ProxyInfos'].each do |i|
4584
+ proxygroupinfo_tmp = ProxyGroupInfo.new
4585
+ proxygroupinfo_tmp.deserialize(i)
4586
+ @ProxyInfos << proxygroupinfo_tmp
4587
+ end
4588
+ end
4589
+ @RequestId = params['RequestId']
4590
+ end
4591
+ end
4592
+
4593
+ # DescribeCdbZoneConfig请求参数结构体
4594
+ class DescribeCdbZoneConfigRequest < TencentCloud::Common::AbstractModel
4180
4595
 
4181
4596
 
4182
4597
  def initialize()
@@ -5850,6 +6265,78 @@ module TencentCloud
5850
6265
  end
5851
6266
  end
5852
6267
 
6268
+ # DescribeProxySupportParam请求参数结构体
6269
+ class DescribeProxySupportParamRequest < TencentCloud::Common::AbstractModel
6270
+ # @param InstanceId: 实例ID
6271
+ # @type InstanceId: String
6272
+
6273
+ attr_accessor :InstanceId
6274
+
6275
+ def initialize(instanceid=nil)
6276
+ @InstanceId = instanceid
6277
+ end
6278
+
6279
+ def deserialize(params)
6280
+ @InstanceId = params['InstanceId']
6281
+ end
6282
+ end
6283
+
6284
+ # DescribeProxySupportParam返回参数结构体
6285
+ class DescribeProxySupportParamResponse < TencentCloud::Common::AbstractModel
6286
+ # @param ProxyVersion: 支持最大代理版本
6287
+ # 注意:此字段可能返回 null,表示取不到有效值。
6288
+ # @type ProxyVersion: String
6289
+ # @param SupportPool: 是否支持连接池
6290
+ # 注意:此字段可能返回 null,表示取不到有效值。
6291
+ # @type SupportPool: Boolean
6292
+ # @param PoolMin: 连接池最小值
6293
+ # 注意:此字段可能返回 null,表示取不到有效值。
6294
+ # @type PoolMin: Integer
6295
+ # @param PoolMax: 连接池最大值
6296
+ # 注意:此字段可能返回 null,表示取不到有效值。
6297
+ # @type PoolMax: Integer
6298
+ # @param SupportTransSplit: 是否支持事务拆分
6299
+ # 注意:此字段可能返回 null,表示取不到有效值。
6300
+ # @type SupportTransSplit: Boolean
6301
+ # @param SupportPoolMinVersion: 支持连接池的最小代理版本
6302
+ # 注意:此字段可能返回 null,表示取不到有效值。
6303
+ # @type SupportPoolMinVersion: String
6304
+ # @param SupportTransSplitMinVersion: 支持事务拆分的最小代理版本
6305
+ # 注意:此字段可能返回 null,表示取不到有效值。
6306
+ # @type SupportTransSplitMinVersion: String
6307
+ # @param SupportReadOnly: 是否支持设置只读
6308
+ # 注意:此字段可能返回 null,表示取不到有效值。
6309
+ # @type SupportReadOnly: Boolean
6310
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6311
+ # @type RequestId: String
6312
+
6313
+ attr_accessor :ProxyVersion, :SupportPool, :PoolMin, :PoolMax, :SupportTransSplit, :SupportPoolMinVersion, :SupportTransSplitMinVersion, :SupportReadOnly, :RequestId
6314
+
6315
+ def initialize(proxyversion=nil, supportpool=nil, poolmin=nil, poolmax=nil, supporttranssplit=nil, supportpoolminversion=nil, supporttranssplitminversion=nil, supportreadonly=nil, requestid=nil)
6316
+ @ProxyVersion = proxyversion
6317
+ @SupportPool = supportpool
6318
+ @PoolMin = poolmin
6319
+ @PoolMax = poolmax
6320
+ @SupportTransSplit = supporttranssplit
6321
+ @SupportPoolMinVersion = supportpoolminversion
6322
+ @SupportTransSplitMinVersion = supporttranssplitminversion
6323
+ @SupportReadOnly = supportreadonly
6324
+ @RequestId = requestid
6325
+ end
6326
+
6327
+ def deserialize(params)
6328
+ @ProxyVersion = params['ProxyVersion']
6329
+ @SupportPool = params['SupportPool']
6330
+ @PoolMin = params['PoolMin']
6331
+ @PoolMax = params['PoolMax']
6332
+ @SupportTransSplit = params['SupportTransSplit']
6333
+ @SupportPoolMinVersion = params['SupportPoolMinVersion']
6334
+ @SupportTransSplitMinVersion = params['SupportTransSplitMinVersion']
6335
+ @SupportReadOnly = params['SupportReadOnly']
6336
+ @RequestId = params['RequestId']
6337
+ end
6338
+ end
6339
+
5853
6340
  # DescribeRemoteBackupConfig请求参数结构体
5854
6341
  class DescribeRemoteBackupConfigRequest < TencentCloud::Common::AbstractModel
5855
6342
  # @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
@@ -8313,6 +8800,142 @@ module TencentCloud
8313
8800
  end
8314
8801
  end
8315
8802
 
8803
+ # ModifyCdbProxyAddressDesc请求参数结构体
8804
+ class ModifyCdbProxyAddressDescRequest < TencentCloud::Common::AbstractModel
8805
+ # @param ProxyGroupId: 代理组ID
8806
+ # @type ProxyGroupId: String
8807
+ # @param ProxyAddressId: 代理组地址ID
8808
+ # @type ProxyAddressId: String
8809
+ # @param Desc: 描述
8810
+ # @type Desc: String
8811
+
8812
+ attr_accessor :ProxyGroupId, :ProxyAddressId, :Desc
8813
+
8814
+ def initialize(proxygroupid=nil, proxyaddressid=nil, desc=nil)
8815
+ @ProxyGroupId = proxygroupid
8816
+ @ProxyAddressId = proxyaddressid
8817
+ @Desc = desc
8818
+ end
8819
+
8820
+ def deserialize(params)
8821
+ @ProxyGroupId = params['ProxyGroupId']
8822
+ @ProxyAddressId = params['ProxyAddressId']
8823
+ @Desc = params['Desc']
8824
+ end
8825
+ end
8826
+
8827
+ # ModifyCdbProxyAddressDesc返回参数结构体
8828
+ class ModifyCdbProxyAddressDescResponse < TencentCloud::Common::AbstractModel
8829
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8830
+ # @type RequestId: String
8831
+
8832
+ attr_accessor :RequestId
8833
+
8834
+ def initialize(requestid=nil)
8835
+ @RequestId = requestid
8836
+ end
8837
+
8838
+ def deserialize(params)
8839
+ @RequestId = params['RequestId']
8840
+ end
8841
+ end
8842
+
8843
+ # ModifyCdbProxyAddressVipAndVPort请求参数结构体
8844
+ class ModifyCdbProxyAddressVipAndVPortRequest < TencentCloud::Common::AbstractModel
8845
+ # @param ProxyGroupId: 代理组ID
8846
+ # @type ProxyGroupId: String
8847
+ # @param ProxyAddressId: 代理组地址ID
8848
+ # @type ProxyAddressId: String
8849
+ # @param UniqVpcId: 私有网络ID
8850
+ # @type UniqVpcId: String
8851
+ # @param UniqSubnetId: 私有子网ID
8852
+ # @type UniqSubnetId: String
8853
+ # @param Vip: IP地址
8854
+ # @type Vip: String
8855
+ # @param VPort: 端口
8856
+ # @type VPort: Integer
8857
+ # @param ReleaseDuration: 旧IP地址回收时间
8858
+ # @type ReleaseDuration: Integer
8859
+
8860
+ attr_accessor :ProxyGroupId, :ProxyAddressId, :UniqVpcId, :UniqSubnetId, :Vip, :VPort, :ReleaseDuration
8861
+
8862
+ def initialize(proxygroupid=nil, proxyaddressid=nil, uniqvpcid=nil, uniqsubnetid=nil, vip=nil, vport=nil, releaseduration=nil)
8863
+ @ProxyGroupId = proxygroupid
8864
+ @ProxyAddressId = proxyaddressid
8865
+ @UniqVpcId = uniqvpcid
8866
+ @UniqSubnetId = uniqsubnetid
8867
+ @Vip = vip
8868
+ @VPort = vport
8869
+ @ReleaseDuration = releaseduration
8870
+ end
8871
+
8872
+ def deserialize(params)
8873
+ @ProxyGroupId = params['ProxyGroupId']
8874
+ @ProxyAddressId = params['ProxyAddressId']
8875
+ @UniqVpcId = params['UniqVpcId']
8876
+ @UniqSubnetId = params['UniqSubnetId']
8877
+ @Vip = params['Vip']
8878
+ @VPort = params['VPort']
8879
+ @ReleaseDuration = params['ReleaseDuration']
8880
+ end
8881
+ end
8882
+
8883
+ # ModifyCdbProxyAddressVipAndVPort返回参数结构体
8884
+ class ModifyCdbProxyAddressVipAndVPortResponse < TencentCloud::Common::AbstractModel
8885
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8886
+ # @type RequestId: String
8887
+
8888
+ attr_accessor :RequestId
8889
+
8890
+ def initialize(requestid=nil)
8891
+ @RequestId = requestid
8892
+ end
8893
+
8894
+ def deserialize(params)
8895
+ @RequestId = params['RequestId']
8896
+ end
8897
+ end
8898
+
8899
+ # ModifyCdbProxyParam请求参数结构体
8900
+ class ModifyCdbProxyParamRequest < TencentCloud::Common::AbstractModel
8901
+ # @param InstanceId: 实例ID
8902
+ # @type InstanceId: String
8903
+ # @param ProxyGroupId: 代理组ID
8904
+ # @type ProxyGroupId: String
8905
+ # @param ConnectionPoolLimit: 连接池阈值
8906
+ # @type ConnectionPoolLimit: Integer
8907
+
8908
+ attr_accessor :InstanceId, :ProxyGroupId, :ConnectionPoolLimit
8909
+
8910
+ def initialize(instanceid=nil, proxygroupid=nil, connectionpoollimit=nil)
8911
+ @InstanceId = instanceid
8912
+ @ProxyGroupId = proxygroupid
8913
+ @ConnectionPoolLimit = connectionpoollimit
8914
+ end
8915
+
8916
+ def deserialize(params)
8917
+ @InstanceId = params['InstanceId']
8918
+ @ProxyGroupId = params['ProxyGroupId']
8919
+ @ConnectionPoolLimit = params['ConnectionPoolLimit']
8920
+ end
8921
+ end
8922
+
8923
+ # ModifyCdbProxyParam返回参数结构体
8924
+ class ModifyCdbProxyParamResponse < TencentCloud::Common::AbstractModel
8925
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8926
+ # @type RequestId: String
8927
+
8928
+ attr_accessor :RequestId
8929
+
8930
+ def initialize(requestid=nil)
8931
+ @RequestId = requestid
8932
+ end
8933
+
8934
+ def deserialize(params)
8935
+ @RequestId = params['RequestId']
8936
+ end
8937
+ end
8938
+
8316
8939
  # ModifyDBInstanceName请求参数结构体
8317
8940
  class ModifyDBInstanceNameRequest < TencentCloud::Common::AbstractModel
8318
8941
  # @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
@@ -9367,6 +9990,132 @@ module TencentCloud
9367
9990
  end
9368
9991
  end
9369
9992
 
9993
+ # 数据库代理地址信息
9994
+ class ProxyAddress < TencentCloud::Common::AbstractModel
9995
+ # @param ProxyAddressId: 代理组地址ID
9996
+ # @type ProxyAddressId: String
9997
+ # @param UniqVpcId: 私有网络ID
9998
+ # @type UniqVpcId: String
9999
+ # @param UniqSubnetId: 私有子网ID
10000
+ # @type UniqSubnetId: String
10001
+ # @param Vip: IP地址
10002
+ # @type Vip: String
10003
+ # @param VPort: 端口
10004
+ # @type VPort: Integer
10005
+ # @param WeightMode: 权重分配模式;
10006
+ # 系统自动分配:"system", 自定义:"custom"
10007
+ # 注意:此字段可能返回 null,表示取不到有效值。
10008
+ # @type WeightMode: String
10009
+ # @param IsKickOut: 是否开启延迟剔除,取值:"true" | "false"
10010
+ # 注意:此字段可能返回 null,表示取不到有效值。
10011
+ # @type IsKickOut: Boolean
10012
+ # @param MinCount: 最小保留数量,最小取值:0
10013
+ # 注意:此字段可能返回 null,表示取不到有效值。
10014
+ # @type MinCount: Integer
10015
+ # @param MaxDelay: 延迟剔除阈值,最小取值:0
10016
+ # 注意:此字段可能返回 null,表示取不到有效值。
10017
+ # @type MaxDelay: Integer
10018
+ # @param AutoAddRo: 是否自动添加RO,取值:"true" | "false"
10019
+ # 注意:此字段可能返回 null,表示取不到有效值。
10020
+ # @type AutoAddRo: Boolean
10021
+ # @param ReadOnly: 是否是只读,取值:"true" | "false"
10022
+ # 注意:此字段可能返回 null,表示取不到有效值。
10023
+ # @type ReadOnly: Boolean
10024
+ # @param TransSplit: 是否开启事务分离
10025
+ # 注意:此字段可能返回 null,表示取不到有效值。
10026
+ # @type TransSplit: Boolean
10027
+ # @param FailOver: 是否开启故障转移
10028
+ # 注意:此字段可能返回 null,表示取不到有效值。
10029
+ # @type FailOver: Boolean
10030
+ # @param ConnectionPool: 是否开启连接池
10031
+ # 注意:此字段可能返回 null,表示取不到有效值。
10032
+ # @type ConnectionPool: Boolean
10033
+ # @param Desc: 描述
10034
+ # 注意:此字段可能返回 null,表示取不到有效值。
10035
+ # @type Desc: String
10036
+ # @param ProxyAllocation: 实例读权重分配
10037
+ # 注意:此字段可能返回 null,表示取不到有效值。
10038
+ # @type ProxyAllocation: Array
10039
+
10040
+ attr_accessor :ProxyAddressId, :UniqVpcId, :UniqSubnetId, :Vip, :VPort, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :AutoAddRo, :ReadOnly, :TransSplit, :FailOver, :ConnectionPool, :Desc, :ProxyAllocation
10041
+
10042
+ 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)
10043
+ @ProxyAddressId = proxyaddressid
10044
+ @UniqVpcId = uniqvpcid
10045
+ @UniqSubnetId = uniqsubnetid
10046
+ @Vip = vip
10047
+ @VPort = vport
10048
+ @WeightMode = weightmode
10049
+ @IsKickOut = iskickout
10050
+ @MinCount = mincount
10051
+ @MaxDelay = maxdelay
10052
+ @AutoAddRo = autoaddro
10053
+ @ReadOnly = readonly
10054
+ @TransSplit = transsplit
10055
+ @FailOver = failover
10056
+ @ConnectionPool = connectionpool
10057
+ @Desc = desc
10058
+ @ProxyAllocation = proxyallocation
10059
+ end
10060
+
10061
+ def deserialize(params)
10062
+ @ProxyAddressId = params['ProxyAddressId']
10063
+ @UniqVpcId = params['UniqVpcId']
10064
+ @UniqSubnetId = params['UniqSubnetId']
10065
+ @Vip = params['Vip']
10066
+ @VPort = params['VPort']
10067
+ @WeightMode = params['WeightMode']
10068
+ @IsKickOut = params['IsKickOut']
10069
+ @MinCount = params['MinCount']
10070
+ @MaxDelay = params['MaxDelay']
10071
+ @AutoAddRo = params['AutoAddRo']
10072
+ @ReadOnly = params['ReadOnly']
10073
+ @TransSplit = params['TransSplit']
10074
+ @FailOver = params['FailOver']
10075
+ @ConnectionPool = params['ConnectionPool']
10076
+ @Desc = params['Desc']
10077
+ unless params['ProxyAllocation'].nil?
10078
+ @ProxyAllocation = []
10079
+ params['ProxyAllocation'].each do |i|
10080
+ proxyallocation_tmp = ProxyAllocation.new
10081
+ proxyallocation_tmp.deserialize(i)
10082
+ @ProxyAllocation << proxyallocation_tmp
10083
+ end
10084
+ end
10085
+ end
10086
+ end
10087
+
10088
+ # 代理节点权重分布
10089
+ class ProxyAllocation < TencentCloud::Common::AbstractModel
10090
+ # @param Region: 代理节点所属地域
10091
+ # @type Region: String
10092
+ # @param Zone: 代理节点所属可用区
10093
+ # @type Zone: String
10094
+ # @param ProxyInstance: 代理实例分布
10095
+ # @type ProxyInstance: Array
10096
+
10097
+ attr_accessor :Region, :Zone, :ProxyInstance
10098
+
10099
+ def initialize(region=nil, zone=nil, proxyinstance=nil)
10100
+ @Region = region
10101
+ @Zone = zone
10102
+ @ProxyInstance = proxyinstance
10103
+ end
10104
+
10105
+ def deserialize(params)
10106
+ @Region = params['Region']
10107
+ @Zone = params['Zone']
10108
+ unless params['ProxyInstance'].nil?
10109
+ @ProxyInstance = []
10110
+ params['ProxyInstance'].each do |i|
10111
+ proxyinst_tmp = ProxyInst.new
10112
+ proxyinst_tmp.deserialize(i)
10113
+ @ProxyInstance << proxyinst_tmp
10114
+ end
10115
+ end
10116
+ end
10117
+ end
10118
+
9370
10119
  # 数据代理组信息
9371
10120
  class ProxyGroup < TencentCloud::Common::AbstractModel
9372
10121
  # @param BaseGroup: 代理基本信息
@@ -9427,6 +10176,81 @@ module TencentCloud
9427
10176
  end
9428
10177
  end
9429
10178
 
10179
+ # 代理组详情
10180
+ class ProxyGroupInfo < TencentCloud::Common::AbstractModel
10181
+ # @param ProxyGroupId: 代理组ID
10182
+ # @type ProxyGroupId: String
10183
+ # @param ProxyVersion: 代理版本
10184
+ # 注意:此字段可能返回 null,表示取不到有效值。
10185
+ # @type ProxyVersion: String
10186
+ # @param SupportUpgradeProxyVersion: 代理支持升级版本
10187
+ # 注意:此字段可能返回 null,表示取不到有效值。
10188
+ # @type SupportUpgradeProxyVersion: String
10189
+ # @param Status: 代理状态
10190
+ # 注意:此字段可能返回 null,表示取不到有效值。
10191
+ # @type Status: String
10192
+ # @param TaskStatus: 代理任务状态
10193
+ # 注意:此字段可能返回 null,表示取不到有效值。
10194
+ # @type TaskStatus: String
10195
+ # @param ProxyNode: 代理组节点信息
10196
+ # 注意:此字段可能返回 null,表示取不到有效值。
10197
+ # @type ProxyNode: Array
10198
+ # @param ProxyAddress: 代理组地址信息
10199
+ # 注意:此字段可能返回 null,表示取不到有效值。
10200
+ # @type ProxyAddress: Array
10201
+ # @param ConnectionPoolLimit: 连接池阈值
10202
+ # 注意:此字段可能返回 null,表示取不到有效值。
10203
+ # @type ConnectionPoolLimit: Integer
10204
+ # @param SupportCreateProxyAddress: 支持创建地址
10205
+ # 注意:此字段可能返回 null,表示取不到有效值。
10206
+ # @type SupportCreateProxyAddress: Boolean
10207
+ # @param SupportUpgradeProxyMysqlVersion: 支持升级代理版本所需的cdb版本
10208
+ # 注意:此字段可能返回 null,表示取不到有效值。
10209
+ # @type SupportUpgradeProxyMysqlVersion: String
10210
+
10211
+ attr_accessor :ProxyGroupId, :ProxyVersion, :SupportUpgradeProxyVersion, :Status, :TaskStatus, :ProxyNode, :ProxyAddress, :ConnectionPoolLimit, :SupportCreateProxyAddress, :SupportUpgradeProxyMysqlVersion
10212
+
10213
+ def initialize(proxygroupid=nil, proxyversion=nil, supportupgradeproxyversion=nil, status=nil, taskstatus=nil, proxynode=nil, proxyaddress=nil, connectionpoollimit=nil, supportcreateproxyaddress=nil, supportupgradeproxymysqlversion=nil)
10214
+ @ProxyGroupId = proxygroupid
10215
+ @ProxyVersion = proxyversion
10216
+ @SupportUpgradeProxyVersion = supportupgradeproxyversion
10217
+ @Status = status
10218
+ @TaskStatus = taskstatus
10219
+ @ProxyNode = proxynode
10220
+ @ProxyAddress = proxyaddress
10221
+ @ConnectionPoolLimit = connectionpoollimit
10222
+ @SupportCreateProxyAddress = supportcreateproxyaddress
10223
+ @SupportUpgradeProxyMysqlVersion = supportupgradeproxymysqlversion
10224
+ end
10225
+
10226
+ def deserialize(params)
10227
+ @ProxyGroupId = params['ProxyGroupId']
10228
+ @ProxyVersion = params['ProxyVersion']
10229
+ @SupportUpgradeProxyVersion = params['SupportUpgradeProxyVersion']
10230
+ @Status = params['Status']
10231
+ @TaskStatus = params['TaskStatus']
10232
+ unless params['ProxyNode'].nil?
10233
+ @ProxyNode = []
10234
+ params['ProxyNode'].each do |i|
10235
+ proxynode_tmp = ProxyNode.new
10236
+ proxynode_tmp.deserialize(i)
10237
+ @ProxyNode << proxynode_tmp
10238
+ end
10239
+ end
10240
+ unless params['ProxyAddress'].nil?
10241
+ @ProxyAddress = []
10242
+ params['ProxyAddress'].each do |i|
10243
+ proxyaddress_tmp = ProxyAddress.new
10244
+ proxyaddress_tmp.deserialize(i)
10245
+ @ProxyAddress << proxyaddress_tmp
10246
+ end
10247
+ end
10248
+ @ConnectionPoolLimit = params['ConnectionPoolLimit']
10249
+ @SupportCreateProxyAddress = params['SupportCreateProxyAddress']
10250
+ @SupportUpgradeProxyMysqlVersion = params['SupportUpgradeProxyMysqlVersion']
10251
+ end
10252
+ end
10253
+
9430
10254
  # 数据代理组信息
9431
10255
  class ProxyGroups < TencentCloud::Common::AbstractModel
9432
10256
  # @param BaseGroup: 代理基本信息
@@ -9487,6 +10311,132 @@ module TencentCloud
9487
10311
  end
9488
10312
  end
9489
10313
 
10314
+ # 代理实例
10315
+ class ProxyInst < TencentCloud::Common::AbstractModel
10316
+ # @param InstanceId: 实例ID
10317
+ # 注意:此字段可能返回 null,表示取不到有效值。
10318
+ # @type InstanceId: String
10319
+ # @param InstanceName: 实例名称
10320
+ # 注意:此字段可能返回 null,表示取不到有效值。
10321
+ # @type InstanceName: String
10322
+ # @param InstanceType: 实例类型
10323
+ # 注意:此字段可能返回 null,表示取不到有效值。
10324
+ # @type InstanceType: String
10325
+ # @param Status: 实例状态,可能的返回值:0-创建中;1-运行中;4-隔离中;5-已隔离
10326
+ # 注意:此字段可能返回 null,表示取不到有效值。
10327
+ # @type Status: Integer
10328
+ # @param Weight: 只读权重,如果权重为系统自动分配,改值不生效,只代表是否启用该实例
10329
+ # 注意:此字段可能返回 null,表示取不到有效值。
10330
+ # @type Weight: Integer
10331
+ # @param Region: 实例所属地域
10332
+ # 注意:此字段可能返回 null,表示取不到有效值。
10333
+ # @type Region: String
10334
+ # @param Zone: 实例所属可用区
10335
+ # 注意:此字段可能返回 null,表示取不到有效值。
10336
+ # @type Zone: String
10337
+
10338
+ attr_accessor :InstanceId, :InstanceName, :InstanceType, :Status, :Weight, :Region, :Zone
10339
+
10340
+ def initialize(instanceid=nil, instancename=nil, instancetype=nil, status=nil, weight=nil, region=nil, zone=nil)
10341
+ @InstanceId = instanceid
10342
+ @InstanceName = instancename
10343
+ @InstanceType = instancetype
10344
+ @Status = status
10345
+ @Weight = weight
10346
+ @Region = region
10347
+ @Zone = zone
10348
+ end
10349
+
10350
+ def deserialize(params)
10351
+ @InstanceId = params['InstanceId']
10352
+ @InstanceName = params['InstanceName']
10353
+ @InstanceType = params['InstanceType']
10354
+ @Status = params['Status']
10355
+ @Weight = params['Weight']
10356
+ @Region = params['Region']
10357
+ @Zone = params['Zone']
10358
+ end
10359
+ end
10360
+
10361
+ # 代理节点
10362
+ class ProxyNode < TencentCloud::Common::AbstractModel
10363
+ # @param ProxyId: 代理节点ID
10364
+ # 注意:此字段可能返回 null,表示取不到有效值。
10365
+ # @type ProxyId: String
10366
+ # @param Cpu: CPU核数
10367
+ # 注意:此字段可能返回 null,表示取不到有效值。
10368
+ # @type Cpu: Integer
10369
+ # @param Mem: 内存大小
10370
+ # 注意:此字段可能返回 null,表示取不到有效值。
10371
+ # @type Mem: Integer
10372
+ # @param Status: 节点状态
10373
+ # 注意:此字段可能返回 null,表示取不到有效值。
10374
+ # @type Status: String
10375
+ # @param Zone: 代理节点可用区
10376
+ # 注意:此字段可能返回 null,表示取不到有效值。
10377
+ # @type Zone: String
10378
+ # @param Region: 代理节点地域
10379
+ # 注意:此字段可能返回 null,表示取不到有效值。
10380
+ # @type Region: String
10381
+ # @param Connection: 连接数
10382
+ # 注意:此字段可能返回 null,表示取不到有效值。
10383
+ # @type Connection: Integer
10384
+
10385
+ attr_accessor :ProxyId, :Cpu, :Mem, :Status, :Zone, :Region, :Connection
10386
+
10387
+ def initialize(proxyid=nil, cpu=nil, mem=nil, status=nil, zone=nil, region=nil, connection=nil)
10388
+ @ProxyId = proxyid
10389
+ @Cpu = cpu
10390
+ @Mem = mem
10391
+ @Status = status
10392
+ @Zone = zone
10393
+ @Region = region
10394
+ @Connection = connection
10395
+ end
10396
+
10397
+ def deserialize(params)
10398
+ @ProxyId = params['ProxyId']
10399
+ @Cpu = params['Cpu']
10400
+ @Mem = params['Mem']
10401
+ @Status = params['Status']
10402
+ @Zone = params['Zone']
10403
+ @Region = params['Region']
10404
+ @Connection = params['Connection']
10405
+ end
10406
+ end
10407
+
10408
+ # 节点规格配置
10409
+ class ProxyNodeCustom < TencentCloud::Common::AbstractModel
10410
+ # @param NodeCount: 节点个数
10411
+ # @type NodeCount: Integer
10412
+ # @param Cpu: CPU核数
10413
+ # @type Cpu: Integer
10414
+ # @param Mem: 内存大小
10415
+ # @type Mem: Integer
10416
+ # @param Region: 地域
10417
+ # @type Region: String
10418
+ # @param Zone: 可用区
10419
+ # @type Zone: String
10420
+
10421
+ attr_accessor :NodeCount, :Cpu, :Mem, :Region, :Zone
10422
+
10423
+ def initialize(nodecount=nil, cpu=nil, mem=nil, region=nil, zone=nil)
10424
+ @NodeCount = nodecount
10425
+ @Cpu = cpu
10426
+ @Mem = mem
10427
+ @Region = region
10428
+ @Zone = zone
10429
+ end
10430
+
10431
+ def deserialize(params)
10432
+ @NodeCount = params['NodeCount']
10433
+ @Cpu = params['Cpu']
10434
+ @Mem = params['Mem']
10435
+ @Region = params['Region']
10436
+ @Zone = params['Zone']
10437
+ end
10438
+ end
10439
+
9490
10440
  # 代理节点信息
9491
10441
  class ProxyNodeInfo < TencentCloud::Common::AbstractModel
9492
10442
  # @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: 3.0.558
4
+ version: 3.0.559
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-04-24 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common