tencentcloud-sdk-cynosdb 3.0.1164 → 3.0.1177

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: 860dd922f97ef8375ea989705eddd7c5c020d876
4
- data.tar.gz: 9b8b0b7f219d98c095c9676e02612ef751bfdaa4
3
+ metadata.gz: 0558992e6a831b15f902f127acf910dddbcd48be
4
+ data.tar.gz: e333ec657dcf401090c8a14c6183a046ca52e184
5
5
  SHA512:
6
- metadata.gz: b6e9ca0e249344186d79972179d805f34e749fc9bbd72de2d7c30b3073573f43446ac8cca9ba0d88af3920f55150e155c9c70918dd747f4b1df6554fe9149400
7
- data.tar.gz: 2b4b84be05abce6827f4a25f775983f7e74585505a5eac6eee397cb58245659924ece9572d7a59816146c406c9563b5c785d6f0ed458bcabca8d5cc2f5fac30a
6
+ metadata.gz: 4cef5184f3f98c9265c12c52f5ac5ec946b514f827fc1ce5787a05b21a3afb917d672a4bc1478b0dfef16a22e81091429d3a25f7ce0d51df1cb5c5c3a4c5734a
7
+ data.tar.gz: a8ad1fd6da21fc78ebe86bffdc4e7c8f17548ff2a54f1c9117947c5a839f1c3ca146df4b1b56780cde3182cb45ba581103e6775d39ddcc17501d044524a7bec5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1164
1
+ 3.0.1177
@@ -2813,6 +2813,30 @@ module TencentCloud
2813
2813
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2814
2814
  end
2815
2815
 
2816
+ # 开关全局加密
2817
+
2818
+ # @param request: Request instance for ModifyClusterGlobalEncryption.
2819
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifyClusterGlobalEncryptionRequest`
2820
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifyClusterGlobalEncryptionResponse`
2821
+ def ModifyClusterGlobalEncryption(request)
2822
+ body = send_request('ModifyClusterGlobalEncryption', request.serialize)
2823
+ response = JSON.parse(body)
2824
+ if response['Response'].key?('Error') == false
2825
+ model = ModifyClusterGlobalEncryptionResponse.new
2826
+ model.deserialize(response['Response'])
2827
+ model
2828
+ else
2829
+ code = response['Response']['Error']['Code']
2830
+ message = response['Response']['Error']['Message']
2831
+ reqid = response['Response']['RequestId']
2832
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2833
+ end
2834
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2835
+ raise e
2836
+ rescue StandardError => e
2837
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2838
+ end
2839
+
2816
2840
  # 本接口(ModifyClusterName)用于修改集群名称。
2817
2841
 
2818
2842
  # @param request: Request instance for ModifyClusterName.
@@ -263,8 +263,8 @@ module TencentCloud
263
263
 
264
264
  attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :DeviceType, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode, :ParamTemplateId, :InstanceParams, :SecurityGroupIds, :UpgradeProxy
265
265
  extend Gem::Deprecate
266
- deprecate :InstanceGrpId, :none, 2025, 11
267
- deprecate :InstanceGrpId=, :none, 2025, 11
266
+ deprecate :InstanceGrpId, :none, 2025, 12
267
+ deprecate :InstanceGrpId=, :none, 2025, 12
268
268
 
269
269
  def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, devicetype=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil, paramtemplateid=nil, instanceparams=nil, securitygroupids=nil, upgradeproxy=nil)
270
270
  @ClusterId = clusterid
@@ -1133,10 +1133,10 @@ module TencentCloud
1133
1133
 
1134
1134
  attr_accessor :ID, :AppId, :ClusterId, :Region, :CreateTime, :DelayTime, :ErrMsg, :FlowId, :Input, :InstanceGrpId, :InstanceGroupId, :InstanceId, :ObjectId, :ObjectType, :Operator, :Output, :Status, :TaskType, :TriggerTaskId, :UpdateTime, :StartTime, :EndTime, :ClusterName, :InstanceName, :Process, :ModifyParamsData, :CreateClustersData, :RollbackData, :ModifyInstanceData, :ManualBackupData, :ModifyDbVersionData, :ClusterSlaveData, :SwitchClusterLogBin, :ModifyInstanceParamsData, :TaskMaintainInfo, :InstanceCLSDeliveryInfos, :TaskProgressInfo, :GdnTaskInfo
1135
1135
  extend Gem::Deprecate
1136
- deprecate :InstanceGrpId, :none, 2025, 11
1137
- deprecate :InstanceGrpId=, :none, 2025, 11
1138
- deprecate :ModifyParamsData, :none, 2025, 11
1139
- deprecate :ModifyParamsData=, :none, 2025, 11
1136
+ deprecate :InstanceGrpId, :none, 2025, 12
1137
+ deprecate :InstanceGrpId=, :none, 2025, 12
1138
+ deprecate :ModifyParamsData, :none, 2025, 12
1139
+ deprecate :ModifyParamsData=, :none, 2025, 12
1140
1140
 
1141
1141
  def initialize(id=nil, appid=nil, clusterid=nil, region=nil, createtime=nil, delaytime=nil, errmsg=nil, flowid=nil, input=nil, instancegrpid=nil, instancegroupid=nil, instanceid=nil, objectid=nil, objecttype=nil, operator=nil, output=nil, status=nil, tasktype=nil, triggertaskid=nil, updatetime=nil, starttime=nil, endtime=nil, clustername=nil, instancename=nil, process=nil, modifyparamsdata=nil, createclustersdata=nil, rollbackdata=nil, modifyinstancedata=nil, manualbackupdata=nil, modifydbversiondata=nil, clusterslavedata=nil, switchclusterlogbin=nil, modifyinstanceparamsdata=nil, taskmaintaininfo=nil, instanceclsdeliveryinfos=nil, taskprogressinfo=nil, gdntaskinfo=nil)
1142
1142
  @ID = id
@@ -1594,8 +1594,8 @@ module TencentCloud
1594
1594
 
1595
1595
  attr_accessor :InstanceGrpId, :InstanceGroupId, :InstanceId
1596
1596
  extend Gem::Deprecate
1597
- deprecate :InstanceGrpId, :none, 2025, 11
1598
- deprecate :InstanceGrpId=, :none, 2025, 11
1597
+ deprecate :InstanceGrpId, :none, 2025, 12
1598
+ deprecate :InstanceGrpId=, :none, 2025, 12
1599
1599
 
1600
1600
  def initialize(instancegrpid=nil, instancegroupid=nil, instanceid=nil)
1601
1601
  @InstanceGrpId = instancegrpid
@@ -1964,8 +1964,8 @@ module TencentCloud
1964
1964
 
1965
1965
  attr_accessor :InstanceId, :StartTime, :EndTime, :Order, :OrderBy, :Filter, :LogFilter, :ColumnFilter
1966
1966
  extend Gem::Deprecate
1967
- deprecate :Filter, :none, 2025, 11
1968
- deprecate :Filter=, :none, 2025, 11
1967
+ deprecate :Filter, :none, 2025, 12
1968
+ deprecate :Filter=, :none, 2025, 12
1969
1969
 
1970
1970
  def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil, logfilter=nil, columnfilter=nil)
1971
1971
  @InstanceId = instanceid
@@ -3990,6 +3990,15 @@ module TencentCloud
3990
3990
  # @param Zone: 可用区
3991
3991
  # @type Zone: String
3992
3992
  # @param Status: 实例状态
3993
+ # creating:创建中
3994
+ # running:运行中
3995
+ # isolating:隔离中
3996
+ # isolated:已隔离
3997
+ # activating:解隔离中
3998
+ # offlining:下线中
3999
+ # offlined:已下线
4000
+ # deleting:删除中
4001
+ # deleted:已删除
3993
4002
  # @type Status: String
3994
4003
  # @param StatusDesc: 实例状态中文描述
3995
4004
  # @type StatusDesc: String
@@ -5129,8 +5138,8 @@ module TencentCloud
5129
5138
 
5130
5139
  attr_accessor :InstanceId, :StartTime, :EndTime, :Order, :OrderBy, :Filter, :Limit, :Offset, :LogFilter
5131
5140
  extend Gem::Deprecate
5132
- deprecate :Filter, :none, 2025, 11
5133
- deprecate :Filter=, :none, 2025, 11
5141
+ deprecate :Filter, :none, 2025, 12
5142
+ deprecate :Filter=, :none, 2025, 12
5134
5143
 
5135
5144
  def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil, limit=nil, offset=nil, logfilter=nil)
5136
5145
  @InstanceId = instanceid
@@ -6167,8 +6176,8 @@ module TencentCloud
6167
6176
 
6168
6177
  attr_accessor :TotalCount, :InstanceGrpInfoList, :InstanceGroupInfoList, :RequestId
6169
6178
  extend Gem::Deprecate
6170
- deprecate :InstanceGrpInfoList, :none, 2025, 11
6171
- deprecate :InstanceGrpInfoList=, :none, 2025, 11
6179
+ deprecate :InstanceGrpInfoList, :none, 2025, 12
6180
+ deprecate :InstanceGrpInfoList=, :none, 2025, 12
6172
6181
 
6173
6182
  def initialize(totalcount=nil, instancegrpinfolist=nil, instancegroupinfolist=nil, requestid=nil)
6174
6183
  @TotalCount = totalcount
@@ -6573,8 +6582,8 @@ module TencentCloud
6573
6582
 
6574
6583
  attr_accessor :InstanceId, :InstanceGroupId
6575
6584
  extend Gem::Deprecate
6576
- deprecate :InstanceId, :none, 2025, 11
6577
- deprecate :InstanceId=, :none, 2025, 11
6585
+ deprecate :InstanceId, :none, 2025, 12
6586
+ deprecate :InstanceId=, :none, 2025, 12
6578
6587
 
6579
6588
  def initialize(instanceid=nil, instancegroupid=nil)
6580
6589
  @InstanceId = instanceid
@@ -8790,7 +8799,7 @@ module TencentCloud
8790
8799
  # @type StandbyClusterRegion: String
8791
8800
  # @param StandbyClusterId: 从集群ID
8792
8801
  # @type StandbyClusterId: String
8793
- # @param StandbyClusterName: 从集群别名
8802
+ # @param StandbyClusterName: 从集群名称
8794
8803
  # @type StandbyClusterName: String
8795
8804
 
8796
8805
  attr_accessor :GdnId, :GdnName, :PrimaryClusterId, :PrimaryClusterRegion, :StandbyClusterRegion, :StandbyClusterId, :StandbyClusterName
@@ -10685,6 +10694,46 @@ module TencentCloud
10685
10694
  end
10686
10695
  end
10687
10696
 
10697
+ # ModifyClusterGlobalEncryption请求参数结构体
10698
+ class ModifyClusterGlobalEncryptionRequest < TencentCloud::Common::AbstractModel
10699
+ # @param ClusterId: 集群id
10700
+ # @type ClusterId: String
10701
+ # @param IsOpenGlobalEncryption: 开启或关闭全局加密
10702
+ # @type IsOpenGlobalEncryption: Boolean
10703
+
10704
+ attr_accessor :ClusterId, :IsOpenGlobalEncryption
10705
+
10706
+ def initialize(clusterid=nil, isopenglobalencryption=nil)
10707
+ @ClusterId = clusterid
10708
+ @IsOpenGlobalEncryption = isopenglobalencryption
10709
+ end
10710
+
10711
+ def deserialize(params)
10712
+ @ClusterId = params['ClusterId']
10713
+ @IsOpenGlobalEncryption = params['IsOpenGlobalEncryption']
10714
+ end
10715
+ end
10716
+
10717
+ # ModifyClusterGlobalEncryption返回参数结构体
10718
+ class ModifyClusterGlobalEncryptionResponse < TencentCloud::Common::AbstractModel
10719
+ # @param TaskId: 异步任务id
10720
+ # @type TaskId: Integer
10721
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10722
+ # @type RequestId: String
10723
+
10724
+ attr_accessor :TaskId, :RequestId
10725
+
10726
+ def initialize(taskid=nil, requestid=nil)
10727
+ @TaskId = taskid
10728
+ @RequestId = requestid
10729
+ end
10730
+
10731
+ def deserialize(params)
10732
+ @TaskId = params['TaskId']
10733
+ @RequestId = params['RequestId']
10734
+ end
10735
+ end
10736
+
10688
10737
  # ModifyClusterName请求参数结构体
10689
10738
  class ModifyClusterNameRequest < TencentCloud::Common::AbstractModel
10690
10739
  # @param ClusterId: 集群ID
@@ -11786,8 +11835,8 @@ module TencentCloud
11786
11835
 
11787
11836
  attr_accessor :ClusterId, :InstanceGrpId, :InstanceGroupId, :Vip, :Vport, :DbType, :OldIpReserveHours
11788
11837
  extend Gem::Deprecate
11789
- deprecate :InstanceGrpId, :none, 2025, 11
11790
- deprecate :InstanceGrpId=, :none, 2025, 11
11838
+ deprecate :InstanceGrpId, :none, 2025, 12
11839
+ deprecate :InstanceGrpId=, :none, 2025, 12
11791
11840
 
11792
11841
  def initialize(clusterid=nil, instancegrpid=nil, instancegroupid=nil, vip=nil, vport=nil, dbtype=nil, oldipreservehours=nil)
11793
11842
  @ClusterId = clusterid
@@ -12087,8 +12136,8 @@ module TencentCloud
12087
12136
 
12088
12137
  attr_accessor :InstanceId, :LogExpireDay, :HighLogExpireDay, :AuditRuleFilters, :RuleTemplateIds, :AuditAll
12089
12138
  extend Gem::Deprecate
12090
- deprecate :AuditRuleFilters, :none, 2025, 11
12091
- deprecate :AuditRuleFilters=, :none, 2025, 11
12139
+ deprecate :AuditRuleFilters, :none, 2025, 12
12140
+ deprecate :AuditRuleFilters=, :none, 2025, 12
12092
12141
 
12093
12142
  def initialize(instanceid=nil, logexpireday=nil, highlogexpireday=nil, auditrulefilters=nil, ruletemplateids=nil, auditall=nil)
12094
12143
  @InstanceId = instanceid
@@ -12399,8 +12448,8 @@ module TencentCloud
12399
12448
 
12400
12449
  attr_accessor :InstanceGrpId, :InstanceId, :InstanceGroupId
12401
12450
  extend Gem::Deprecate
12402
- deprecate :InstanceGrpId, :none, 2025, 11
12403
- deprecate :InstanceGrpId=, :none, 2025, 11
12451
+ deprecate :InstanceGrpId, :none, 2025, 12
12452
+ deprecate :InstanceGrpId=, :none, 2025, 12
12404
12453
 
12405
12454
  def initialize(instancegrpid=nil, instanceid=nil, instancegroupid=nil)
12406
12455
  @InstanceGrpId = instancegrpid
@@ -13485,6 +13534,9 @@ module TencentCloud
13485
13534
  # @type Operator: String
13486
13535
 
13487
13536
  attr_accessor :Values, :Names, :ExactMatch, :Name, :Operator
13537
+ extend Gem::Deprecate
13538
+ deprecate :Operator, :none, 2025, 12
13539
+ deprecate :Operator=, :none, 2025, 12
13488
13540
 
13489
13541
  def initialize(values=nil, names=nil, exactmatch=nil, name=nil, operator=nil)
13490
13542
  @Values = values
@@ -15621,16 +15673,25 @@ module TencentCloud
15621
15673
  # @type UnitPriceDiscount: Integer
15622
15674
  # @param ChargeUnit: 计费价格单位
15623
15675
  # @type ChargeUnit: String
15676
+ # @param UnitPriceHighPrecision: 高精度下不包含优惠价格
15677
+ # @type UnitPriceHighPrecision: String
15678
+ # @param UnitPriceDiscountHighPrecision: 高精度下优惠后价格
15679
+ # @type UnitPriceDiscountHighPrecision: String
15680
+ # @param AmountUnit: 货币单位
15681
+ # @type AmountUnit: String
15624
15682
 
15625
- attr_accessor :TotalPrice, :Discount, :TotalPriceDiscount, :UnitPrice, :UnitPriceDiscount, :ChargeUnit
15683
+ attr_accessor :TotalPrice, :Discount, :TotalPriceDiscount, :UnitPrice, :UnitPriceDiscount, :ChargeUnit, :UnitPriceHighPrecision, :UnitPriceDiscountHighPrecision, :AmountUnit
15626
15684
 
15627
- def initialize(totalprice=nil, discount=nil, totalpricediscount=nil, unitprice=nil, unitpricediscount=nil, chargeunit=nil)
15685
+ def initialize(totalprice=nil, discount=nil, totalpricediscount=nil, unitprice=nil, unitpricediscount=nil, chargeunit=nil, unitpricehighprecision=nil, unitpricediscounthighprecision=nil, amountunit=nil)
15628
15686
  @TotalPrice = totalprice
15629
15687
  @Discount = discount
15630
15688
  @TotalPriceDiscount = totalpricediscount
15631
15689
  @UnitPrice = unitprice
15632
15690
  @UnitPriceDiscount = unitpricediscount
15633
15691
  @ChargeUnit = chargeunit
15692
+ @UnitPriceHighPrecision = unitpricehighprecision
15693
+ @UnitPriceDiscountHighPrecision = unitpricediscounthighprecision
15694
+ @AmountUnit = amountunit
15634
15695
  end
15635
15696
 
15636
15697
  def deserialize(params)
@@ -15640,6 +15701,9 @@ module TencentCloud
15640
15701
  @UnitPrice = params['UnitPrice']
15641
15702
  @UnitPriceDiscount = params['UnitPriceDiscount']
15642
15703
  @ChargeUnit = params['ChargeUnit']
15704
+ @UnitPriceHighPrecision = params['UnitPriceHighPrecision']
15705
+ @UnitPriceDiscountHighPrecision = params['UnitPriceDiscountHighPrecision']
15706
+ @AmountUnit = params['AmountUnit']
15643
15707
  end
15644
15708
  end
15645
15709
 
@@ -15863,10 +15927,14 @@ module TencentCloud
15863
15927
  # @type IsInMaintainPeriod: String
15864
15928
  # @param ProxyZones: 数据库代理节点信息
15865
15929
  # @type ProxyZones: Array
15930
+ # @param IsRollUpgrade: 是否滚动升级
15931
+ # @type IsRollUpgrade: String
15932
+ # @param RollUpgradeWaitingTime: 滚动升级等待时间,单位:秒
15933
+ # @type RollUpgradeWaitingTime: Integer
15866
15934
 
15867
- attr_accessor :ClusterId, :Cpu, :Mem, :ProxyCount, :ProxyGroupId, :ReloadBalance, :IsInMaintainPeriod, :ProxyZones
15935
+ attr_accessor :ClusterId, :Cpu, :Mem, :ProxyCount, :ProxyGroupId, :ReloadBalance, :IsInMaintainPeriod, :ProxyZones, :IsRollUpgrade, :RollUpgradeWaitingTime
15868
15936
 
15869
- def initialize(clusterid=nil, cpu=nil, mem=nil, proxycount=nil, proxygroupid=nil, reloadbalance=nil, isinmaintainperiod=nil, proxyzones=nil)
15937
+ def initialize(clusterid=nil, cpu=nil, mem=nil, proxycount=nil, proxygroupid=nil, reloadbalance=nil, isinmaintainperiod=nil, proxyzones=nil, isrollupgrade=nil, rollupgradewaitingtime=nil)
15870
15938
  @ClusterId = clusterid
15871
15939
  @Cpu = cpu
15872
15940
  @Mem = mem
@@ -15875,6 +15943,8 @@ module TencentCloud
15875
15943
  @ReloadBalance = reloadbalance
15876
15944
  @IsInMaintainPeriod = isinmaintainperiod
15877
15945
  @ProxyZones = proxyzones
15946
+ @IsRollUpgrade = isrollupgrade
15947
+ @RollUpgradeWaitingTime = rollupgradewaitingtime
15878
15948
  end
15879
15949
 
15880
15950
  def deserialize(params)
@@ -15893,6 +15963,8 @@ module TencentCloud
15893
15963
  @ProxyZones << proxyzone_tmp
15894
15964
  end
15895
15965
  end
15966
+ @IsRollUpgrade = params['IsRollUpgrade']
15967
+ @RollUpgradeWaitingTime = params['RollUpgradeWaitingTime']
15896
15968
  end
15897
15969
  end
15898
15970
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1164
4
+ version: 3.0.1177
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-11-09 00:00:00.000000000 Z
11
+ date: 2025-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-cynosdb.rb
36
37
  - lib/v20190107/client.rb
37
38
  - lib/v20190107/models.rb
38
- - lib/tencentcloud-sdk-cynosdb.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: