tencentcloud-sdk-cdb 3.0.1126 → 3.0.1140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46088c50c11db1c6fd913f67f2c46c38f85c1b7a
4
- data.tar.gz: e2aab9c59b9a32f857e763be63e696babd3e7dde
3
+ metadata.gz: d0504ecd06d57abc13ce0d71d14f8539ad55d1c8
4
+ data.tar.gz: 5ad8955301946bab7312b520544af0d3d0a380b3
5
5
  SHA512:
6
- metadata.gz: 3fb0fc3d230df496a2b42c55df6fdd0e047901ef9d72e6be17d5eef56173c4d3403619dfdeb4c13dce6e286ba17e0b446185ba8293e5705c355f95e80f67ef04
7
- data.tar.gz: b3cf237178eced65ad134c1cfa289adb2c80991132ba64a9679bebfc570b3bc6a56dd43a8dd69a7239118e6d53ed8cf04e58d184617d9463543c5ad5eb767e88
6
+ metadata.gz: b52aba38794eda8535b7723461adf9eec3433b72505a86bb6425684489c3a364e443b8c1c5237caadd8e4ebc45f8ecdb3979016eb0554a20e7a96da4ffcccd4a
7
+ data.tar.gz: 0ee8888636ffccfeaaf278b1333a20706da3caa26106a30e1de09f14bdd2a8e9e585166933f691143d1f4d4fde9ef3c2c8d3a7c783f4a1a80dea85a6e9b4fc64
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1126
1
+ 3.0.1140
@@ -4025,7 +4025,7 @@ module TencentCloud
4025
4025
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4026
4026
  end
4027
4027
 
4028
- # 本接口(StopRollback) 用于撤销实例正在进行的回档任务,该接口返回一个异步任务id。 撤销结果可以通过 DescribeAsyncRequestInfo 查询任务的执行情况。
4028
+ # 本接口(StopRollback)用于撤销实例正在进行的回档任务,该接口返回一个异步任务 ID。撤销结果可以通过 [DescribeAsyncRequestInfo](https://cloud.tencent.com/document/api/236/20410) 查询任务的执行情况。
4029
4029
 
4030
4030
  # @param request: Request instance for StopRollback.
4031
4031
  # @type request: :class:`Tencentcloud::cdb::V20170320::StopRollbackRequest`
@@ -61,8 +61,8 @@ module TencentCloud
61
61
 
62
62
  attr_accessor :Notes, :Host, :User, :ModifyTime, :ModifyPasswordTime, :CreateTime, :MaxUserConnections, :OpenCam
63
63
  extend Gem::Deprecate
64
- deprecate :CreateTime, :none, 2025, 8
65
- deprecate :CreateTime=, :none, 2025, 8
64
+ deprecate :CreateTime, :none, 2025, 9
65
+ deprecate :CreateTime=, :none, 2025, 9
66
66
 
67
67
  def initialize(notes=nil, host=nil, user=nil, modifytime=nil, modifypasswordtime=nil, createtime=nil, maxuserconnections=nil, opencam=nil)
68
68
  @Notes = notes
@@ -224,10 +224,14 @@ module TencentCloud
224
224
  # @type AutoLoadBalance: Boolean
225
225
  # @param AccessMode: 访问模式:nearby - 就近访问,balance - 均衡分配,默认就近访问。
226
226
  # @type AccessMode: String
227
+ # @param ApNodeAsRoNode: 是否将libra节点当作普通RO节点
228
+ # @type ApNodeAsRoNode: String
229
+ # @param ApQueryToOtherNode: libra节点故障,是否转发给其他节点
230
+ # @type ApQueryToOtherNode: String
227
231
 
228
- attr_accessor :ProxyGroupId, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :FailOver, :AutoAddRo, :ReadOnly, :ProxyAddressId, :TransSplit, :ConnectionPool, :ProxyAllocation, :AutoLoadBalance, :AccessMode
232
+ attr_accessor :ProxyGroupId, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :FailOver, :AutoAddRo, :ReadOnly, :ProxyAddressId, :TransSplit, :ConnectionPool, :ProxyAllocation, :AutoLoadBalance, :AccessMode, :ApNodeAsRoNode, :ApQueryToOtherNode
229
233
 
230
- 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)
234
+ 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, apnodeasronode=nil, apquerytoothernode=nil)
231
235
  @ProxyGroupId = proxygroupid
232
236
  @WeightMode = weightmode
233
237
  @IsKickOut = iskickout
@@ -242,6 +246,8 @@ module TencentCloud
242
246
  @ProxyAllocation = proxyallocation
243
247
  @AutoLoadBalance = autoloadbalance
244
248
  @AccessMode = accessmode
249
+ @ApNodeAsRoNode = apnodeasronode
250
+ @ApQueryToOtherNode = apquerytoothernode
245
251
  end
246
252
 
247
253
  def deserialize(params)
@@ -266,6 +272,8 @@ module TencentCloud
266
272
  end
267
273
  @AutoLoadBalance = params['AutoLoadBalance']
268
274
  @AccessMode = params['AccessMode']
275
+ @ApNodeAsRoNode = params['ApNodeAsRoNode']
276
+ @ApQueryToOtherNode = params['ApQueryToOtherNode']
269
277
  end
270
278
  end
271
279
 
@@ -440,8 +448,8 @@ module TencentCloud
440
448
 
441
449
  attr_accessor :InstanceId, :StartTime, :EndTime, :AggregationConditions, :AuditLogFilter, :LogFilter
442
450
  extend Gem::Deprecate
443
- deprecate :AuditLogFilter, :none, 2025, 8
444
- deprecate :AuditLogFilter=, :none, 2025, 8
451
+ deprecate :AuditLogFilter, :none, 2025, 9
452
+ deprecate :AuditLogFilter=, :none, 2025, 9
445
453
 
446
454
  def initialize(instanceid=nil, starttime=nil, endtime=nil, aggregationconditions=nil, auditlogfilter=nil, logfilter=nil)
447
455
  @InstanceId = instanceid
@@ -1100,10 +1108,10 @@ module TencentCloud
1100
1108
 
1101
1109
  attr_accessor :ExpandThreshold, :ShrinkThreshold, :ExpandPeriod, :ShrinkPeriod, :ExpandSecondPeriod, :ShrinkSecondPeriod
1102
1110
  extend Gem::Deprecate
1103
- deprecate :ExpandPeriod, :none, 2025, 8
1104
- deprecate :ExpandPeriod=, :none, 2025, 8
1105
- deprecate :ShrinkPeriod, :none, 2025, 8
1106
- deprecate :ShrinkPeriod=, :none, 2025, 8
1111
+ deprecate :ExpandPeriod, :none, 2025, 9
1112
+ deprecate :ExpandPeriod=, :none, 2025, 9
1113
+ deprecate :ShrinkPeriod, :none, 2025, 9
1114
+ deprecate :ShrinkPeriod=, :none, 2025, 9
1107
1115
 
1108
1116
  def initialize(expandthreshold=nil, shrinkthreshold=nil, expandperiod=nil, shrinkperiod=nil, expandsecondperiod=nil, shrinksecondperiod=nil)
1109
1117
  @ExpandThreshold = expandthreshold
@@ -1416,8 +1424,8 @@ module TencentCloud
1416
1424
 
1417
1425
  attr_accessor :Name, :Size, :Date, :IntranetUrl, :InternetUrl, :Type, :BinlogStartTime, :BinlogFinishTime, :Region, :Status, :RemoteInfo, :CosStorageType, :InstanceId
1418
1426
  extend Gem::Deprecate
1419
- deprecate :InstanceId, :none, 2025, 8
1420
- deprecate :InstanceId=, :none, 2025, 8
1427
+ deprecate :InstanceId, :none, 2025, 9
1428
+ deprecate :InstanceId=, :none, 2025, 9
1421
1429
 
1422
1430
  def initialize(name=nil, size=nil, date=nil, intraneturl=nil, interneturl=nil, type=nil, binlogstarttime=nil, binlogfinishtime=nil, region=nil, status=nil, remoteinfo=nil, cosstoragetype=nil, instanceid=nil)
1423
1431
  @Name = name
@@ -2361,8 +2369,8 @@ module TencentCloud
2361
2369
 
2362
2370
  attr_accessor :InstanceId, :StartTime, :EndTime, :Order, :OrderBy, :Filter, :LogFilter, :ColumnFilter
2363
2371
  extend Gem::Deprecate
2364
- deprecate :Filter, :none, 2025, 8
2365
- deprecate :Filter=, :none, 2025, 8
2372
+ deprecate :Filter, :none, 2025, 9
2373
+ deprecate :Filter=, :none, 2025, 9
2366
2374
 
2367
2375
  def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil, logfilter=nil, columnfilter=nil)
2368
2376
  @InstanceId = instanceid
@@ -5084,10 +5092,10 @@ module TencentCloud
5084
5092
 
5085
5093
  attr_accessor :StartTimeMin, :StartTimeMax, :BackupExpireDays, :BackupMethod, :BinlogExpireDays, :BackupTimeWindow, :EnableBackupPeriodSave, :BackupPeriodSaveDays, :BackupPeriodSaveInterval, :BackupPeriodSaveCount, :StartBackupPeriodSaveDate, :EnableBackupArchive, :BackupArchiveDays, :EnableBinlogArchive, :BinlogArchiveDays, :EnableBackupStandby, :BackupStandbyDays, :EnableBinlogStandby, :BinlogStandbyDays, :RequestId
5086
5094
  extend Gem::Deprecate
5087
- deprecate :StartTimeMin, :none, 2025, 8
5088
- deprecate :StartTimeMin=, :none, 2025, 8
5089
- deprecate :StartTimeMax, :none, 2025, 8
5090
- deprecate :StartTimeMax=, :none, 2025, 8
5095
+ deprecate :StartTimeMin, :none, 2025, 9
5096
+ deprecate :StartTimeMin=, :none, 2025, 9
5097
+ deprecate :StartTimeMax, :none, 2025, 9
5098
+ deprecate :StartTimeMax=, :none, 2025, 9
5091
5099
 
5092
5100
  def initialize(starttimemin=nil, starttimemax=nil, backupexpiredays=nil, backupmethod=nil, binlogexpiredays=nil, backuptimewindow=nil, enablebackupperiodsave=nil, backupperiodsavedays=nil, backupperiodsaveinterval=nil, backupperiodsavecount=nil, startbackupperiodsavedate=nil, enablebackuparchive=nil, backuparchivedays=nil, enablebinlogarchive=nil, binlogarchivedays=nil, enablebackupstandby=nil, backupstandbydays=nil, enablebinlogstandby=nil, binlogstandbydays=nil, requestid=nil)
5093
5101
  @StartTimeMin = starttimemin
@@ -7725,15 +7733,21 @@ module TencentCloud
7725
7733
  # @type CustomConf: :class:`Tencentcloud::Cdb.v20170320.models.CustomConfig`
7726
7734
  # @param WeightRule: 权重限制
7727
7735
  # @type WeightRule: :class:`Tencentcloud::Cdb.v20170320.models.Rule`
7736
+ # @param CustomConfInfo: 代理配置
7737
+ # @type CustomConfInfo: Array
7728
7738
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7729
7739
  # @type RequestId: String
7730
7740
 
7731
- attr_accessor :Count, :CustomConf, :WeightRule, :RequestId
7741
+ attr_accessor :Count, :CustomConf, :WeightRule, :CustomConfInfo, :RequestId
7742
+ extend Gem::Deprecate
7743
+ deprecate :CustomConf, :none, 2025, 9
7744
+ deprecate :CustomConf=, :none, 2025, 9
7732
7745
 
7733
- def initialize(count=nil, customconf=nil, weightrule=nil, requestid=nil)
7746
+ def initialize(count=nil, customconf=nil, weightrule=nil, customconfinfo=nil, requestid=nil)
7734
7747
  @Count = count
7735
7748
  @CustomConf = customconf
7736
7749
  @WeightRule = weightrule
7750
+ @CustomConfInfo = customconfinfo
7737
7751
  @RequestId = requestid
7738
7752
  end
7739
7753
 
@@ -7747,6 +7761,14 @@ module TencentCloud
7747
7761
  @WeightRule = Rule.new
7748
7762
  @WeightRule.deserialize(params['WeightRule'])
7749
7763
  end
7764
+ unless params['CustomConfInfo'].nil?
7765
+ @CustomConfInfo = []
7766
+ params['CustomConfInfo'].each do |i|
7767
+ customconfig_tmp = CustomConfig.new
7768
+ customconfig_tmp.deserialize(i)
7769
+ @CustomConfInfo << customconfig_tmp
7770
+ end
7771
+ end
7750
7772
  @RequestId = params['RequestId']
7751
7773
  end
7752
7774
  end
@@ -9686,8 +9708,8 @@ module TencentCloud
9686
9708
 
9687
9709
  attr_accessor :AsyncRequestId, :RequestId
9688
9710
  extend Gem::Deprecate
9689
- deprecate :AsyncRequestId, :none, 2025, 8
9690
- deprecate :AsyncRequestId=, :none, 2025, 8
9711
+ deprecate :AsyncRequestId, :none, 2025, 9
9712
+ deprecate :AsyncRequestId=, :none, 2025, 9
9691
9713
 
9692
9714
  def initialize(asyncrequestid=nil, requestid=nil)
9693
9715
  @AsyncRequestId = asyncrequestid
@@ -10427,8 +10449,8 @@ module TencentCloud
10427
10449
 
10428
10450
  attr_accessor :InstanceId, :LogExpireDay, :HighLogExpireDay, :AuditAll, :AuditRuleFilters, :RuleTemplateIds
10429
10451
  extend Gem::Deprecate
10430
- deprecate :AuditRuleFilters, :none, 2025, 8
10431
- deprecate :AuditRuleFilters=, :none, 2025, 8
10452
+ deprecate :AuditRuleFilters, :none, 2025, 9
10453
+ deprecate :AuditRuleFilters=, :none, 2025, 9
10432
10454
 
10433
10455
  def initialize(instanceid=nil, logexpireday=nil, highlogexpireday=nil, auditall=nil, auditrulefilters=nil, ruletemplateids=nil)
10434
10456
  @InstanceId = instanceid
@@ -11134,8 +11156,8 @@ module TencentCloud
11134
11156
 
11135
11157
  attr_accessor :AsyncRequestId, :RequestId
11136
11158
  extend Gem::Deprecate
11137
- deprecate :AsyncRequestId, :none, 2025, 8
11138
- deprecate :AsyncRequestId=, :none, 2025, 8
11159
+ deprecate :AsyncRequestId, :none, 2025, 9
11160
+ deprecate :AsyncRequestId=, :none, 2025, 9
11139
11161
 
11140
11162
  def initialize(asyncrequestid=nil, requestid=nil)
11141
11163
  @AsyncRequestId = asyncrequestid
@@ -11560,8 +11582,8 @@ module TencentCloud
11560
11582
 
11561
11583
  attr_accessor :RoGroupId, :RoGroupInfo, :RoWeightValues, :IsBalanceRoLoad, :ReplicationDelayTime
11562
11584
  extend Gem::Deprecate
11563
- deprecate :ReplicationDelayTime, :none, 2025, 8
11564
- deprecate :ReplicationDelayTime=, :none, 2025, 8
11585
+ deprecate :ReplicationDelayTime, :none, 2025, 9
11586
+ deprecate :ReplicationDelayTime=, :none, 2025, 9
11565
11587
 
11566
11588
  def initialize(rogroupid=nil, rogroupinfo=nil, roweightvalues=nil, isbalanceroload=nil, replicationdelaytime=nil)
11567
11589
  @RoGroupId = rogroupid
@@ -11792,8 +11814,8 @@ module TencentCloud
11792
11814
 
11793
11815
  attr_accessor :InstanceId, :LogExpireDay, :HighLogExpireDay, :AuditRuleFilters, :RuleTemplateIds, :AuditAll
11794
11816
  extend Gem::Deprecate
11795
- deprecate :AuditRuleFilters, :none, 2025, 8
11796
- deprecate :AuditRuleFilters=, :none, 2025, 8
11817
+ deprecate :AuditRuleFilters, :none, 2025, 9
11818
+ deprecate :AuditRuleFilters=, :none, 2025, 9
11797
11819
 
11798
11820
  def initialize(instanceid=nil, logexpireday=nil, highlogexpireday=nil, auditrulefilters=nil, ruletemplateids=nil, auditall=nil)
11799
11821
  @InstanceId = instanceid
@@ -12072,8 +12094,8 @@ module TencentCloud
12072
12094
 
12073
12095
  attr_accessor :InstanceId, :ParamName, :OldValue, :NewValue, :IsSucess, :ModifyTime, :IsSuccess
12074
12096
  extend Gem::Deprecate
12075
- deprecate :IsSucess, :none, 2025, 8
12076
- deprecate :IsSucess=, :none, 2025, 8
12097
+ deprecate :IsSucess, :none, 2025, 9
12098
+ deprecate :IsSucess=, :none, 2025, 9
12077
12099
 
12078
12100
  def initialize(instanceid=nil, paramname=nil, oldvalue=nil, newvalue=nil, issucess=nil, modifytime=nil, issuccess=nil)
12079
12101
  @InstanceId = instanceid
@@ -12277,10 +12299,14 @@ module TencentCloud
12277
12299
  # @type AccessMode: String
12278
12300
  # @param AutoLoadBalance: 是否开启自动负载均衡
12279
12301
  # @type AutoLoadBalance: Boolean
12302
+ # @param ApNodeAsRoNode: 是否把libra当作ro节点
12303
+ # @type ApNodeAsRoNode: Boolean
12304
+ # @param ApQueryToOtherNode: libra节点故障,是否转发给其他节点
12305
+ # @type ApQueryToOtherNode: Boolean
12280
12306
 
12281
- attr_accessor :ProxyAddressId, :UniqVpcId, :UniqSubnetId, :Vip, :VPort, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :AutoAddRo, :ReadOnly, :TransSplit, :FailOver, :ConnectionPool, :Desc, :ProxyAllocation, :AccessMode, :AutoLoadBalance
12307
+ attr_accessor :ProxyAddressId, :UniqVpcId, :UniqSubnetId, :Vip, :VPort, :WeightMode, :IsKickOut, :MinCount, :MaxDelay, :AutoAddRo, :ReadOnly, :TransSplit, :FailOver, :ConnectionPool, :Desc, :ProxyAllocation, :AccessMode, :AutoLoadBalance, :ApNodeAsRoNode, :ApQueryToOtherNode
12282
12308
 
12283
- 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)
12309
+ 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, apnodeasronode=nil, apquerytoothernode=nil)
12284
12310
  @ProxyAddressId = proxyaddressid
12285
12311
  @UniqVpcId = uniqvpcid
12286
12312
  @UniqSubnetId = uniqsubnetid
@@ -12299,6 +12325,8 @@ module TencentCloud
12299
12325
  @ProxyAllocation = proxyallocation
12300
12326
  @AccessMode = accessmode
12301
12327
  @AutoLoadBalance = autoloadbalance
12328
+ @ApNodeAsRoNode = apnodeasronode
12329
+ @ApQueryToOtherNode = apquerytoothernode
12302
12330
  end
12303
12331
 
12304
12332
  def deserialize(params)
@@ -12327,6 +12355,8 @@ module TencentCloud
12327
12355
  end
12328
12356
  @AccessMode = params['AccessMode']
12329
12357
  @AutoLoadBalance = params['AutoLoadBalance']
12358
+ @ApNodeAsRoNode = params['ApNodeAsRoNode']
12359
+ @ApQueryToOtherNode = params['ApQueryToOtherNode']
12330
12360
  end
12331
12361
  end
12332
12362
 
@@ -13991,7 +14021,7 @@ module TencentCloud
13991
14021
 
13992
14022
  # StopRollback请求参数结构体
13993
14023
  class StopRollbackRequest < TencentCloud::Common::AbstractModel
13994
- # @param InstanceId: 撤销回档任务对应的实例Id。
14024
+ # @param InstanceId: 撤销回档任务对应的实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/api/236/15872) 接口获取。
13995
14025
  # @type InstanceId: String
13996
14026
 
13997
14027
  attr_accessor :InstanceId
@@ -14007,7 +14037,7 @@ module TencentCloud
14007
14037
 
14008
14038
  # StopRollback返回参数结构体
14009
14039
  class StopRollbackResponse < TencentCloud::Common::AbstractModel
14010
- # @param AsyncRequestId: 执行请求的异步任务ID
14040
+ # @param AsyncRequestId: 执行请求的异步任务 ID
14011
14041
  # @type AsyncRequestId: String
14012
14042
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14013
14043
  # @type RequestId: String
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.1126
4
+ version: 3.0.1140
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-19 00:00:00.000000000 Z
11
+ date: 2025-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common