tencentcloud-sdk-cynosdb 3.0.1174 → 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: b722eb7a623c21fe87cee3a03445a8b28b027652
4
- data.tar.gz: 6553d64983b4d80f1ae8832d36bc4df434bcf19f
3
+ metadata.gz: 0558992e6a831b15f902f127acf910dddbcd48be
4
+ data.tar.gz: e333ec657dcf401090c8a14c6183a046ca52e184
5
5
  SHA512:
6
- metadata.gz: b212135b9ec3c1495b0796fa9558462af8a87aff287fb9b3f72a6a487969429f0af9c4b1431ea5044a0fe521d32849a4c17a33d6ec1ebd7cf4ab198620d41f47
7
- data.tar.gz: 9ed816317815d589532f17bd5791c6dff562e2e0ec8fde173f804951659f52f22ce1c50873410eb87ce39023c9c93bf233aad37efb1932bfaacec895c940ce7a
6
+ metadata.gz: 4cef5184f3f98c9265c12c52f5ac5ec946b514f827fc1ce5787a05b21a3afb917d672a4bc1478b0dfef16a22e81091429d3a25f7ce0d51df1cb5c5c3a4c5734a
7
+ data.tar.gz: a8ad1fd6da21fc78ebe86bffdc4e7c8f17548ff2a54f1c9117947c5a839f1c3ca146df4b1b56780cde3182cb45ba581103e6775d39ddcc17501d044524a7bec5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1174
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
@@ -5138,8 +5138,8 @@ module TencentCloud
5138
5138
 
5139
5139
  attr_accessor :InstanceId, :StartTime, :EndTime, :Order, :OrderBy, :Filter, :Limit, :Offset, :LogFilter
5140
5140
  extend Gem::Deprecate
5141
- deprecate :Filter, :none, 2025, 11
5142
- deprecate :Filter=, :none, 2025, 11
5141
+ deprecate :Filter, :none, 2025, 12
5142
+ deprecate :Filter=, :none, 2025, 12
5143
5143
 
5144
5144
  def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil, limit=nil, offset=nil, logfilter=nil)
5145
5145
  @InstanceId = instanceid
@@ -6176,8 +6176,8 @@ module TencentCloud
6176
6176
 
6177
6177
  attr_accessor :TotalCount, :InstanceGrpInfoList, :InstanceGroupInfoList, :RequestId
6178
6178
  extend Gem::Deprecate
6179
- deprecate :InstanceGrpInfoList, :none, 2025, 11
6180
- deprecate :InstanceGrpInfoList=, :none, 2025, 11
6179
+ deprecate :InstanceGrpInfoList, :none, 2025, 12
6180
+ deprecate :InstanceGrpInfoList=, :none, 2025, 12
6181
6181
 
6182
6182
  def initialize(totalcount=nil, instancegrpinfolist=nil, instancegroupinfolist=nil, requestid=nil)
6183
6183
  @TotalCount = totalcount
@@ -6582,8 +6582,8 @@ module TencentCloud
6582
6582
 
6583
6583
  attr_accessor :InstanceId, :InstanceGroupId
6584
6584
  extend Gem::Deprecate
6585
- deprecate :InstanceId, :none, 2025, 11
6586
- deprecate :InstanceId=, :none, 2025, 11
6585
+ deprecate :InstanceId, :none, 2025, 12
6586
+ deprecate :InstanceId=, :none, 2025, 12
6587
6587
 
6588
6588
  def initialize(instanceid=nil, instancegroupid=nil)
6589
6589
  @InstanceId = instanceid
@@ -10694,6 +10694,46 @@ module TencentCloud
10694
10694
  end
10695
10695
  end
10696
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
+
10697
10737
  # ModifyClusterName请求参数结构体
10698
10738
  class ModifyClusterNameRequest < TencentCloud::Common::AbstractModel
10699
10739
  # @param ClusterId: 集群ID
@@ -11795,8 +11835,8 @@ module TencentCloud
11795
11835
 
11796
11836
  attr_accessor :ClusterId, :InstanceGrpId, :InstanceGroupId, :Vip, :Vport, :DbType, :OldIpReserveHours
11797
11837
  extend Gem::Deprecate
11798
- deprecate :InstanceGrpId, :none, 2025, 11
11799
- deprecate :InstanceGrpId=, :none, 2025, 11
11838
+ deprecate :InstanceGrpId, :none, 2025, 12
11839
+ deprecate :InstanceGrpId=, :none, 2025, 12
11800
11840
 
11801
11841
  def initialize(clusterid=nil, instancegrpid=nil, instancegroupid=nil, vip=nil, vport=nil, dbtype=nil, oldipreservehours=nil)
11802
11842
  @ClusterId = clusterid
@@ -12096,8 +12136,8 @@ module TencentCloud
12096
12136
 
12097
12137
  attr_accessor :InstanceId, :LogExpireDay, :HighLogExpireDay, :AuditRuleFilters, :RuleTemplateIds, :AuditAll
12098
12138
  extend Gem::Deprecate
12099
- deprecate :AuditRuleFilters, :none, 2025, 11
12100
- deprecate :AuditRuleFilters=, :none, 2025, 11
12139
+ deprecate :AuditRuleFilters, :none, 2025, 12
12140
+ deprecate :AuditRuleFilters=, :none, 2025, 12
12101
12141
 
12102
12142
  def initialize(instanceid=nil, logexpireday=nil, highlogexpireday=nil, auditrulefilters=nil, ruletemplateids=nil, auditall=nil)
12103
12143
  @InstanceId = instanceid
@@ -12408,8 +12448,8 @@ module TencentCloud
12408
12448
 
12409
12449
  attr_accessor :InstanceGrpId, :InstanceId, :InstanceGroupId
12410
12450
  extend Gem::Deprecate
12411
- deprecate :InstanceGrpId, :none, 2025, 11
12412
- deprecate :InstanceGrpId=, :none, 2025, 11
12451
+ deprecate :InstanceGrpId, :none, 2025, 12
12452
+ deprecate :InstanceGrpId=, :none, 2025, 12
12413
12453
 
12414
12454
  def initialize(instancegrpid=nil, instanceid=nil, instancegroupid=nil)
12415
12455
  @InstanceGrpId = instancegrpid
@@ -13495,8 +13535,8 @@ module TencentCloud
13495
13535
 
13496
13536
  attr_accessor :Values, :Names, :ExactMatch, :Name, :Operator
13497
13537
  extend Gem::Deprecate
13498
- deprecate :Operator, :none, 2025, 11
13499
- deprecate :Operator=, :none, 2025, 11
13538
+ deprecate :Operator, :none, 2025, 12
13539
+ deprecate :Operator=, :none, 2025, 12
13500
13540
 
13501
13541
  def initialize(values=nil, names=nil, exactmatch=nil, name=nil, operator=nil)
13502
13542
  @Values = values
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.1174
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-28 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
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-cynosdb.rb
37
- - lib/v20190107/models.rb
38
37
  - lib/v20190107/client.rb
38
+ - lib/v20190107/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: