tencentcloud-sdk-cynosdb 3.0.1053 → 3.0.1055
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 +68 -22
- 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: 22e9c4772f79ee0b019b72c217ce5d6f8576ead8
|
4
|
+
data.tar.gz: 7c53d74101dc177f7f375b1f2dbc1f34b473458b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec932dda61891b5855479003d7815b22cfcf969b0410d114618d451e8a3f3e439beb8e71c55ab67bba8149f551d317bbf4d6bd3bd85ed9256b96e584ae7b7c10
|
7
|
+
data.tar.gz: 7c35db7d6c75ef53a5809bd189309cb3dbd42111e2a3285ba7c849b27f0f52227fb36df629db37436d1225d9326ddbb507bfb3baca101aa21260b131808e9a0c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1055
|
data/lib/v20190107/client.rb
CHANGED
@@ -245,6 +245,30 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
+
# 关闭SSL加密
|
249
|
+
|
250
|
+
# @param request: Request instance for CloseSSL.
|
251
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::CloseSSLRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::CloseSSLResponse`
|
253
|
+
def CloseSSL(request)
|
254
|
+
body = send_request('CloseSSL', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = CloseSSLResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
248
272
|
# 本接口(CloseWan)用于关闭外网。
|
249
273
|
|
250
274
|
# @param request: Request instance for CloseWan.
|
data/lib/v20190107/models.rb
CHANGED
@@ -243,8 +243,8 @@ module TencentCloud
|
|
243
243
|
|
244
244
|
attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :DeviceType, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode, :ParamTemplateId, :InstanceParams, :SecurityGroupIds, :UpgradeProxy
|
245
245
|
extend Gem::Deprecate
|
246
|
-
deprecate :InstanceGrpId, :none, 2025,
|
247
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
246
|
+
deprecate :InstanceGrpId, :none, 2025, 5
|
247
|
+
deprecate :InstanceGrpId=, :none, 2025, 5
|
248
248
|
|
249
249
|
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)
|
250
250
|
@ClusterId = clusterid
|
@@ -1023,10 +1023,10 @@ module TencentCloud
|
|
1023
1023
|
|
1024
1024
|
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
|
1025
1025
|
extend Gem::Deprecate
|
1026
|
-
deprecate :InstanceGrpId, :none, 2025,
|
1027
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
1028
|
-
deprecate :ModifyParamsData, :none, 2025,
|
1029
|
-
deprecate :ModifyParamsData=, :none, 2025,
|
1026
|
+
deprecate :InstanceGrpId, :none, 2025, 5
|
1027
|
+
deprecate :InstanceGrpId=, :none, 2025, 5
|
1028
|
+
deprecate :ModifyParamsData, :none, 2025, 5
|
1029
|
+
deprecate :ModifyParamsData=, :none, 2025, 5
|
1030
1030
|
|
1031
1031
|
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)
|
1032
1032
|
@ID = id
|
@@ -1424,6 +1424,52 @@ module TencentCloud
|
|
1424
1424
|
end
|
1425
1425
|
end
|
1426
1426
|
|
1427
|
+
# CloseSSL请求参数结构体
|
1428
|
+
class CloseSSLRequest < TencentCloud::Common::AbstractModel
|
1429
|
+
# @param ClusterId: 集群ID
|
1430
|
+
# @type ClusterId: String
|
1431
|
+
# @param InstanceId: 实例ID
|
1432
|
+
# @type InstanceId: String
|
1433
|
+
|
1434
|
+
attr_accessor :ClusterId, :InstanceId
|
1435
|
+
|
1436
|
+
def initialize(clusterid=nil, instanceid=nil)
|
1437
|
+
@ClusterId = clusterid
|
1438
|
+
@InstanceId = instanceid
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
def deserialize(params)
|
1442
|
+
@ClusterId = params['ClusterId']
|
1443
|
+
@InstanceId = params['InstanceId']
|
1444
|
+
end
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
# CloseSSL返回参数结构体
|
1448
|
+
class CloseSSLResponse < TencentCloud::Common::AbstractModel
|
1449
|
+
# @param FlowId: 流程ID
|
1450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1451
|
+
# @type FlowId: Integer
|
1452
|
+
# @param TaskId: 任务id
|
1453
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1454
|
+
# @type TaskId: Integer
|
1455
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1456
|
+
# @type RequestId: String
|
1457
|
+
|
1458
|
+
attr_accessor :FlowId, :TaskId, :RequestId
|
1459
|
+
|
1460
|
+
def initialize(flowid=nil, taskid=nil, requestid=nil)
|
1461
|
+
@FlowId = flowid
|
1462
|
+
@TaskId = taskid
|
1463
|
+
@RequestId = requestid
|
1464
|
+
end
|
1465
|
+
|
1466
|
+
def deserialize(params)
|
1467
|
+
@FlowId = params['FlowId']
|
1468
|
+
@TaskId = params['TaskId']
|
1469
|
+
@RequestId = params['RequestId']
|
1470
|
+
end
|
1471
|
+
end
|
1472
|
+
|
1427
1473
|
# CloseWan请求参数结构体
|
1428
1474
|
class CloseWanRequest < TencentCloud::Common::AbstractModel
|
1429
1475
|
# @param InstanceGrpId: 实例组id
|
@@ -1435,8 +1481,8 @@ module TencentCloud
|
|
1435
1481
|
|
1436
1482
|
attr_accessor :InstanceGrpId, :InstanceGroupId, :InstanceId
|
1437
1483
|
extend Gem::Deprecate
|
1438
|
-
deprecate :InstanceGrpId, :none, 2025,
|
1439
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
1484
|
+
deprecate :InstanceGrpId, :none, 2025, 5
|
1485
|
+
deprecate :InstanceGrpId=, :none, 2025, 5
|
1440
1486
|
|
1441
1487
|
def initialize(instancegrpid=nil, instancegroupid=nil, instanceid=nil)
|
1442
1488
|
@InstanceGrpId = instancegrpid
|
@@ -2096,6 +2142,8 @@ module TencentCloud
|
|
2096
2142
|
# @param Memory: 当DbMode为NORMAL或不填时必选
|
2097
2143
|
# 普通实例内存,单位GB
|
2098
2144
|
# @type Memory: Integer
|
2145
|
+
# @param InstanceCount: 实例数量,数量范围为(0,16],默认值为2(即一个rw实例+一个ro实例),传递的n表示1个rw实例+n-1个ro实例(规格相同),如需要更精确的集群组成搭配,请使用InstanceInitInfos
|
2146
|
+
# @type InstanceCount: Integer
|
2099
2147
|
# @param Storage: 该参数无实际意义,已废弃。
|
2100
2148
|
# 存储大小,单位GB。
|
2101
2149
|
# @type Storage: Integer
|
@@ -2126,8 +2174,6 @@ module TencentCloud
|
|
2126
2174
|
# @param StorageLimit: 普通实例存储上限,单位GB
|
2127
2175
|
# 当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限
|
2128
2176
|
# @type StorageLimit: Integer
|
2129
|
-
# @param InstanceCount: 实例数量,数量范围为(0,16]
|
2130
|
-
# @type InstanceCount: Integer
|
2131
2177
|
# @param TimeSpan: 包年包月购买时长
|
2132
2178
|
# @type TimeSpan: Integer
|
2133
2179
|
# @param TimeUnit: 包年包月购买时长单位,['s','d','m','y']
|
@@ -2181,9 +2227,9 @@ module TencentCloud
|
|
2181
2227
|
# @param InstanceInitInfos: 实例初始化配置信息,主要用于购买集群时选不同规格实例
|
2182
2228
|
# @type InstanceInitInfos: Array
|
2183
2229
|
|
2184
|
-
attr_accessor :Zone, :VpcId, :SubnetId, :DbType, :DbVersion, :ProjectId, :Cpu, :Memory, :Storage, :ClusterName, :AdminPassword, :Port, :PayMode, :Count, :RollbackStrategy, :RollbackId, :OriginalClusterId, :ExpectTime, :ExpectTimeThresh, :StorageLimit, :
|
2230
|
+
attr_accessor :Zone, :VpcId, :SubnetId, :DbType, :DbVersion, :ProjectId, :Cpu, :Memory, :InstanceCount, :Storage, :ClusterName, :AdminPassword, :Port, :PayMode, :Count, :RollbackStrategy, :RollbackId, :OriginalClusterId, :ExpectTime, :ExpectTimeThresh, :StorageLimit, :TimeSpan, :TimeUnit, :AutoRenewFlag, :AutoVoucher, :HaCount, :OrderSource, :ResourceTags, :DbMode, :MinCpu, :MaxCpu, :AutoPause, :AutoPauseDelay, :StoragePayMode, :SecurityGroupIds, :AlarmPolicyIds, :ClusterParams, :DealMode, :ParamTemplateId, :SlaveZone, :InstanceInitInfos
|
2185
2231
|
|
2186
|
-
def initialize(zone=nil, vpcid=nil, subnetid=nil, dbtype=nil, dbversion=nil, projectid=nil, cpu=nil, memory=nil, storage=nil, clustername=nil, adminpassword=nil, port=nil, paymode=nil, count=nil, rollbackstrategy=nil, rollbackid=nil, originalclusterid=nil, expecttime=nil, expecttimethresh=nil, storagelimit=nil,
|
2232
|
+
def initialize(zone=nil, vpcid=nil, subnetid=nil, dbtype=nil, dbversion=nil, projectid=nil, cpu=nil, memory=nil, instancecount=nil, storage=nil, clustername=nil, adminpassword=nil, port=nil, paymode=nil, count=nil, rollbackstrategy=nil, rollbackid=nil, originalclusterid=nil, expecttime=nil, expecttimethresh=nil, storagelimit=nil, timespan=nil, timeunit=nil, autorenewflag=nil, autovoucher=nil, hacount=nil, ordersource=nil, resourcetags=nil, dbmode=nil, mincpu=nil, maxcpu=nil, autopause=nil, autopausedelay=nil, storagepaymode=nil, securitygroupids=nil, alarmpolicyids=nil, clusterparams=nil, dealmode=nil, paramtemplateid=nil, slavezone=nil, instanceinitinfos=nil)
|
2187
2233
|
@Zone = zone
|
2188
2234
|
@VpcId = vpcid
|
2189
2235
|
@SubnetId = subnetid
|
@@ -2192,6 +2238,7 @@ module TencentCloud
|
|
2192
2238
|
@ProjectId = projectid
|
2193
2239
|
@Cpu = cpu
|
2194
2240
|
@Memory = memory
|
2241
|
+
@InstanceCount = instancecount
|
2195
2242
|
@Storage = storage
|
2196
2243
|
@ClusterName = clustername
|
2197
2244
|
@AdminPassword = adminpassword
|
@@ -2204,7 +2251,6 @@ module TencentCloud
|
|
2204
2251
|
@ExpectTime = expecttime
|
2205
2252
|
@ExpectTimeThresh = expecttimethresh
|
2206
2253
|
@StorageLimit = storagelimit
|
2207
|
-
@InstanceCount = instancecount
|
2208
2254
|
@TimeSpan = timespan
|
2209
2255
|
@TimeUnit = timeunit
|
2210
2256
|
@AutoRenewFlag = autorenewflag
|
@@ -2236,6 +2282,7 @@ module TencentCloud
|
|
2236
2282
|
@ProjectId = params['ProjectId']
|
2237
2283
|
@Cpu = params['Cpu']
|
2238
2284
|
@Memory = params['Memory']
|
2285
|
+
@InstanceCount = params['InstanceCount']
|
2239
2286
|
@Storage = params['Storage']
|
2240
2287
|
@ClusterName = params['ClusterName']
|
2241
2288
|
@AdminPassword = params['AdminPassword']
|
@@ -2248,7 +2295,6 @@ module TencentCloud
|
|
2248
2295
|
@ExpectTime = params['ExpectTime']
|
2249
2296
|
@ExpectTimeThresh = params['ExpectTimeThresh']
|
2250
2297
|
@StorageLimit = params['StorageLimit']
|
2251
|
-
@InstanceCount = params['InstanceCount']
|
2252
2298
|
@TimeSpan = params['TimeSpan']
|
2253
2299
|
@TimeUnit = params['TimeUnit']
|
2254
2300
|
@AutoRenewFlag = params['AutoRenewFlag']
|
@@ -5583,8 +5629,8 @@ module TencentCloud
|
|
5583
5629
|
|
5584
5630
|
attr_accessor :TotalCount, :InstanceGrpInfoList, :InstanceGroupInfoList, :RequestId
|
5585
5631
|
extend Gem::Deprecate
|
5586
|
-
deprecate :InstanceGrpInfoList, :none, 2025,
|
5587
|
-
deprecate :InstanceGrpInfoList=, :none, 2025,
|
5632
|
+
deprecate :InstanceGrpInfoList, :none, 2025, 5
|
5633
|
+
deprecate :InstanceGrpInfoList=, :none, 2025, 5
|
5588
5634
|
|
5589
5635
|
def initialize(totalcount=nil, instancegrpinfolist=nil, instancegroupinfolist=nil, requestid=nil)
|
5590
5636
|
@TotalCount = totalcount
|
@@ -5938,8 +5984,8 @@ module TencentCloud
|
|
5938
5984
|
|
5939
5985
|
attr_accessor :InstanceId, :InstanceGroupId
|
5940
5986
|
extend Gem::Deprecate
|
5941
|
-
deprecate :InstanceId, :none, 2025,
|
5942
|
-
deprecate :InstanceId=, :none, 2025,
|
5987
|
+
deprecate :InstanceId, :none, 2025, 5
|
5988
|
+
deprecate :InstanceId=, :none, 2025, 5
|
5943
5989
|
|
5944
5990
|
def initialize(instanceid=nil, instancegroupid=nil)
|
5945
5991
|
@InstanceId = instanceid
|
@@ -10627,8 +10673,8 @@ module TencentCloud
|
|
10627
10673
|
|
10628
10674
|
attr_accessor :ClusterId, :InstanceGrpId, :InstanceGroupId, :Vip, :Vport, :DbType, :OldIpReserveHours
|
10629
10675
|
extend Gem::Deprecate
|
10630
|
-
deprecate :InstanceGrpId, :none, 2025,
|
10631
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
10676
|
+
deprecate :InstanceGrpId, :none, 2025, 5
|
10677
|
+
deprecate :InstanceGrpId=, :none, 2025, 5
|
10632
10678
|
|
10633
10679
|
def initialize(clusterid=nil, instancegrpid=nil, instancegroupid=nil, vip=nil, vport=nil, dbtype=nil, oldipreservehours=nil)
|
10634
10680
|
@ClusterId = clusterid
|
@@ -11233,8 +11279,8 @@ module TencentCloud
|
|
11233
11279
|
|
11234
11280
|
attr_accessor :InstanceGrpId, :InstanceId, :InstanceGroupId
|
11235
11281
|
extend Gem::Deprecate
|
11236
|
-
deprecate :InstanceGrpId, :none, 2025,
|
11237
|
-
deprecate :InstanceGrpId=, :none, 2025,
|
11282
|
+
deprecate :InstanceGrpId, :none, 2025, 5
|
11283
|
+
deprecate :InstanceGrpId=, :none, 2025, 5
|
11238
11284
|
|
11239
11285
|
def initialize(instancegrpid=nil, instanceid=nil, instancegroupid=nil)
|
11240
11286
|
@InstanceGrpId = instancegrpid
|
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.1055
|
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-05-
|
11
|
+
date: 2025-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|