tencentcloud-sdk-cynosdb 3.0.1174 → 3.0.1178
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190107/client.rb +24 -0
- data/lib/v20190107/models.rb +64 -25
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 19d36a4458fe5a3f608b66e266c3d2f1b3390cc2
|
|
4
|
+
data.tar.gz: 51626c7638424ee29283588978134c3867eb8894
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb11ef3722422f7ac7f13bbae5d59a3a7181500902cc9f70b1c8d0966d16c8fcb14dbfd8ca36c9a573925214f386590048a942e4338e9e9c64168347620c6383
|
|
7
|
+
data.tar.gz: 933dcff34c8f255cc1fca9e3a8f44b06da7ef4fec8c283f7d9398d65a40bacae0a4f11b9efd68fee67c12be6d9323b0b5d8a9ea1d6c2fa6317fdaad936a0117e
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1178
|
data/lib/v20190107/client.rb
CHANGED
|
@@ -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.
|
data/lib/v20190107/models.rb
CHANGED
|
@@ -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,
|
|
267
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
|
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,
|
|
1137
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
|
1138
|
-
deprecate :ModifyParamsData, :none, 2025,
|
|
1139
|
-
deprecate :ModifyParamsData=, :none, 2025,
|
|
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,
|
|
1598
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
|
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,
|
|
1968
|
-
deprecate :Filter=, :none, 2025,
|
|
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,
|
|
5142
|
-
deprecate :Filter=, :none, 2025,
|
|
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,
|
|
6180
|
-
deprecate :InstanceGrpInfoList=, :none, 2025,
|
|
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,
|
|
6586
|
-
deprecate :InstanceId=, :none, 2025,
|
|
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
|
|
@@ -11464,7 +11504,6 @@ module TencentCloud
|
|
|
11464
11504
|
# @param WeightMode: 读写权重分配模式;系统自动分配:"system", 自定义:"custom"
|
|
11465
11505
|
# @type WeightMode: String
|
|
11466
11506
|
# @param InstanceWeights: 实例只读权重。
|
|
11467
|
-
# 该参数必填。
|
|
11468
11507
|
# @type InstanceWeights: Array
|
|
11469
11508
|
# @param FailOver: 是否开启故障转移,代理出现故障后,连接地址将路由到主实例,取值:"yes" , "no"
|
|
11470
11509
|
# @type FailOver: String
|
|
@@ -11795,8 +11834,8 @@ module TencentCloud
|
|
|
11795
11834
|
|
|
11796
11835
|
attr_accessor :ClusterId, :InstanceGrpId, :InstanceGroupId, :Vip, :Vport, :DbType, :OldIpReserveHours
|
|
11797
11836
|
extend Gem::Deprecate
|
|
11798
|
-
deprecate :InstanceGrpId, :none, 2025,
|
|
11799
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
|
11837
|
+
deprecate :InstanceGrpId, :none, 2025, 12
|
|
11838
|
+
deprecate :InstanceGrpId=, :none, 2025, 12
|
|
11800
11839
|
|
|
11801
11840
|
def initialize(clusterid=nil, instancegrpid=nil, instancegroupid=nil, vip=nil, vport=nil, dbtype=nil, oldipreservehours=nil)
|
|
11802
11841
|
@ClusterId = clusterid
|
|
@@ -12096,8 +12135,8 @@ module TencentCloud
|
|
|
12096
12135
|
|
|
12097
12136
|
attr_accessor :InstanceId, :LogExpireDay, :HighLogExpireDay, :AuditRuleFilters, :RuleTemplateIds, :AuditAll
|
|
12098
12137
|
extend Gem::Deprecate
|
|
12099
|
-
deprecate :AuditRuleFilters, :none, 2025,
|
|
12100
|
-
deprecate :AuditRuleFilters=, :none, 2025,
|
|
12138
|
+
deprecate :AuditRuleFilters, :none, 2025, 12
|
|
12139
|
+
deprecate :AuditRuleFilters=, :none, 2025, 12
|
|
12101
12140
|
|
|
12102
12141
|
def initialize(instanceid=nil, logexpireday=nil, highlogexpireday=nil, auditrulefilters=nil, ruletemplateids=nil, auditall=nil)
|
|
12103
12142
|
@InstanceId = instanceid
|
|
@@ -12408,8 +12447,8 @@ module TencentCloud
|
|
|
12408
12447
|
|
|
12409
12448
|
attr_accessor :InstanceGrpId, :InstanceId, :InstanceGroupId
|
|
12410
12449
|
extend Gem::Deprecate
|
|
12411
|
-
deprecate :InstanceGrpId, :none, 2025,
|
|
12412
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
|
12450
|
+
deprecate :InstanceGrpId, :none, 2025, 12
|
|
12451
|
+
deprecate :InstanceGrpId=, :none, 2025, 12
|
|
12413
12452
|
|
|
12414
12453
|
def initialize(instancegrpid=nil, instanceid=nil, instancegroupid=nil)
|
|
12415
12454
|
@InstanceGrpId = instancegrpid
|
|
@@ -13495,8 +13534,8 @@ module TencentCloud
|
|
|
13495
13534
|
|
|
13496
13535
|
attr_accessor :Values, :Names, :ExactMatch, :Name, :Operator
|
|
13497
13536
|
extend Gem::Deprecate
|
|
13498
|
-
deprecate :Operator, :none, 2025,
|
|
13499
|
-
deprecate :Operator=, :none, 2025,
|
|
13537
|
+
deprecate :Operator, :none, 2025, 12
|
|
13538
|
+
deprecate :Operator=, :none, 2025, 12
|
|
13500
13539
|
|
|
13501
13540
|
def initialize(values=nil, names=nil, exactmatch=nil, name=nil, operator=nil)
|
|
13502
13541
|
@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.
|
|
4
|
+
version: 3.0.1178
|
|
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
|
+
date: 2025-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|