tencentcloud-sdk-cynosdb 3.0.390 → 3.0.393
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190107/client.rb +120 -0
- data/lib/v20190107/models.rb +311 -4
- 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: 31cad31aa6e6c1111ed7f0d8764854e087f11914
|
4
|
+
data.tar.gz: a4f52cf6f8d4bc17212f4023d8ddb97c2cb74827
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e84e503f66d66ce48b4fef72ceb7e1930e8d20584752f35ab49e831637915c32c294831082a030e31b80a7afa312f68b0de93dfc4bc3e2f0ba9b877184826885
|
7
|
+
data.tar.gz: 4df3b8c329951bcb1442a8a90c1fd12e112504c55a386bf60d1359ba32ade577aabb1b08638ca0d43a421391268fc5b3e020243ed8e063749bfd1c45878378ff
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.393
|
data/lib/v20190107/client.rb
CHANGED
@@ -53,6 +53,30 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
+
# 增加从可用区
|
57
|
+
|
58
|
+
# @param request: Request instance for AddClusterSlaveZone.
|
59
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::AddClusterSlaveZoneRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::AddClusterSlaveZoneResponse`
|
61
|
+
def AddClusterSlaveZone(request)
|
62
|
+
body = send_request('AddClusterSlaveZone', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = AddClusterSlaveZoneResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
56
80
|
# 本接口(AddInstances)用于集群添加实例
|
57
81
|
|
58
82
|
# @param request: Request instance for AddInstances.
|
@@ -413,6 +437,30 @@ module TencentCloud
|
|
413
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
438
|
end
|
415
439
|
|
440
|
+
# 本接口(DescribeClusterParams)用于查询集群参数
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribeClusterParams.
|
443
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterParamsRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterParamsResponse`
|
445
|
+
def DescribeClusterParams(request)
|
446
|
+
body = send_request('DescribeClusterParams', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribeClusterParamsResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
416
464
|
# 查询集群列表
|
417
465
|
|
418
466
|
# @param request: Request instance for DescribeClusters.
|
@@ -989,6 +1037,30 @@ module TencentCloud
|
|
989
1037
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
1038
|
end
|
991
1039
|
|
1040
|
+
# 修改从可用区
|
1041
|
+
|
1042
|
+
# @param request: Request instance for ModifyClusterSlaveZone.
|
1043
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifyClusterSlaveZoneRequest`
|
1044
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifyClusterSlaveZoneResponse`
|
1045
|
+
def ModifyClusterSlaveZone(request)
|
1046
|
+
body = send_request('ModifyClusterSlaveZone', request.serialize)
|
1047
|
+
response = JSON.parse(body)
|
1048
|
+
if response['Response'].key?('Error') == false
|
1049
|
+
model = ModifyClusterSlaveZoneResponse.new
|
1050
|
+
model.deserialize(response['Response'])
|
1051
|
+
model
|
1052
|
+
else
|
1053
|
+
code = response['Response']['Error']['Code']
|
1054
|
+
message = response['Response']['Error']['Message']
|
1055
|
+
reqid = response['Response']['RequestId']
|
1056
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1057
|
+
end
|
1058
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1059
|
+
raise e
|
1060
|
+
rescue StandardError => e
|
1061
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1062
|
+
end
|
1063
|
+
|
992
1064
|
# 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。
|
993
1065
|
|
994
1066
|
# @param request: Request instance for ModifyDBInstanceSecurityGroups.
|
@@ -1133,6 +1205,30 @@ module TencentCloud
|
|
1133
1205
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
1206
|
end
|
1135
1207
|
|
1208
|
+
# 删除从可用区
|
1209
|
+
|
1210
|
+
# @param request: Request instance for RemoveClusterSlaveZone.
|
1211
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::RemoveClusterSlaveZoneRequest`
|
1212
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::RemoveClusterSlaveZoneResponse`
|
1213
|
+
def RemoveClusterSlaveZone(request)
|
1214
|
+
body = send_request('RemoveClusterSlaveZone', request.serialize)
|
1215
|
+
response = JSON.parse(body)
|
1216
|
+
if response['Response'].key?('Error') == false
|
1217
|
+
model = RemoveClusterSlaveZoneResponse.new
|
1218
|
+
model.deserialize(response['Response'])
|
1219
|
+
model
|
1220
|
+
else
|
1221
|
+
code = response['Response']['Error']['Code']
|
1222
|
+
message = response['Response']['Error']['Message']
|
1223
|
+
reqid = response['Response']['RequestId']
|
1224
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1225
|
+
end
|
1226
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1227
|
+
raise e
|
1228
|
+
rescue StandardError => e
|
1229
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
|
+
end
|
1231
|
+
|
1136
1232
|
# 恢复serverless集群
|
1137
1233
|
|
1138
1234
|
# @param request: Request instance for ResumeServerless.
|
@@ -1229,6 +1325,30 @@ module TencentCloud
|
|
1229
1325
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
1326
|
end
|
1231
1327
|
|
1328
|
+
# 切换到从可用区
|
1329
|
+
|
1330
|
+
# @param request: Request instance for SwitchClusterZone.
|
1331
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::SwitchClusterZoneRequest`
|
1332
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::SwitchClusterZoneResponse`
|
1333
|
+
def SwitchClusterZone(request)
|
1334
|
+
body = send_request('SwitchClusterZone', request.serialize)
|
1335
|
+
response = JSON.parse(body)
|
1336
|
+
if response['Response'].key?('Error') == false
|
1337
|
+
model = SwitchClusterZoneResponse.new
|
1338
|
+
model.deserialize(response['Response'])
|
1339
|
+
model
|
1340
|
+
else
|
1341
|
+
code = response['Response']['Error']['Code']
|
1342
|
+
message = response['Response']['Error']['Message']
|
1343
|
+
reqid = response['Response']['RequestId']
|
1344
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1345
|
+
end
|
1346
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1347
|
+
raise e
|
1348
|
+
rescue StandardError => e
|
1349
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1350
|
+
end
|
1351
|
+
|
1232
1352
|
# 升级实例
|
1233
1353
|
|
1234
1354
|
# @param request: Request instance for UpgradeInstance.
|
data/lib/v20190107/models.rb
CHANGED
@@ -109,6 +109,46 @@ module TencentCloud
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
+
# AddClusterSlaveZone请求参数结构体
|
113
|
+
class AddClusterSlaveZoneRequest < TencentCloud::Common::AbstractModel
|
114
|
+
# @param ClusterId: 集群ID
|
115
|
+
# @type ClusterId: String
|
116
|
+
# @param SlaveZone: 从可用区
|
117
|
+
# @type SlaveZone: String
|
118
|
+
|
119
|
+
attr_accessor :ClusterId, :SlaveZone
|
120
|
+
|
121
|
+
def initialize(clusterid=nil, slavezone=nil)
|
122
|
+
@ClusterId = clusterid
|
123
|
+
@SlaveZone = slavezone
|
124
|
+
end
|
125
|
+
|
126
|
+
def deserialize(params)
|
127
|
+
@ClusterId = params['ClusterId']
|
128
|
+
@SlaveZone = params['SlaveZone']
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# AddClusterSlaveZone返回参数结构体
|
133
|
+
class AddClusterSlaveZoneResponse < TencentCloud::Common::AbstractModel
|
134
|
+
# @param FlowId: 异步FlowId
|
135
|
+
# @type FlowId: Integer
|
136
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
137
|
+
# @type RequestId: String
|
138
|
+
|
139
|
+
attr_accessor :FlowId, :RequestId
|
140
|
+
|
141
|
+
def initialize(flowid=nil, requestid=nil)
|
142
|
+
@FlowId = flowid
|
143
|
+
@RequestId = requestid
|
144
|
+
end
|
145
|
+
|
146
|
+
def deserialize(params)
|
147
|
+
@FlowId = params['FlowId']
|
148
|
+
@RequestId = params['RequestId']
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
112
152
|
# AddInstances请求参数结构体
|
113
153
|
class AddInstancesRequest < TencentCloud::Common::AbstractModel
|
114
154
|
# @param ClusterId: 集群ID
|
@@ -2071,6 +2111,53 @@ module TencentCloud
|
|
2071
2111
|
end
|
2072
2112
|
end
|
2073
2113
|
|
2114
|
+
# DescribeClusterParams请求参数结构体
|
2115
|
+
class DescribeClusterParamsRequest < TencentCloud::Common::AbstractModel
|
2116
|
+
# @param ClusterId: 集群ID
|
2117
|
+
# @type ClusterId: String
|
2118
|
+
|
2119
|
+
attr_accessor :ClusterId
|
2120
|
+
|
2121
|
+
def initialize(clusterid=nil)
|
2122
|
+
@ClusterId = clusterid
|
2123
|
+
end
|
2124
|
+
|
2125
|
+
def deserialize(params)
|
2126
|
+
@ClusterId = params['ClusterId']
|
2127
|
+
end
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
# DescribeClusterParams返回参数结构体
|
2131
|
+
class DescribeClusterParamsResponse < TencentCloud::Common::AbstractModel
|
2132
|
+
# @param TotalCount: 参数个数
|
2133
|
+
# @type TotalCount: Integer
|
2134
|
+
# @param Items: 实例参数列表
|
2135
|
+
# @type Items: Array
|
2136
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2137
|
+
# @type RequestId: String
|
2138
|
+
|
2139
|
+
attr_accessor :TotalCount, :Items, :RequestId
|
2140
|
+
|
2141
|
+
def initialize(totalcount=nil, items=nil, requestid=nil)
|
2142
|
+
@TotalCount = totalcount
|
2143
|
+
@Items = items
|
2144
|
+
@RequestId = requestid
|
2145
|
+
end
|
2146
|
+
|
2147
|
+
def deserialize(params)
|
2148
|
+
@TotalCount = params['TotalCount']
|
2149
|
+
unless params['Items'].nil?
|
2150
|
+
@Items = []
|
2151
|
+
params['Items'].each do |i|
|
2152
|
+
paraminfo_tmp = ParamInfo.new
|
2153
|
+
paraminfo_tmp.deserialize(i)
|
2154
|
+
@Items << paraminfo_tmp
|
2155
|
+
end
|
2156
|
+
end
|
2157
|
+
@RequestId = params['RequestId']
|
2158
|
+
end
|
2159
|
+
end
|
2160
|
+
|
2074
2161
|
# DescribeClusters请求参数结构体
|
2075
2162
|
class DescribeClustersRequest < TencentCloud::Common::AbstractModel
|
2076
2163
|
# @param DbType: 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
|
@@ -2645,24 +2732,35 @@ module TencentCloud
|
|
2645
2732
|
|
2646
2733
|
# DescribeRollbackTimeRange返回参数结构体
|
2647
2734
|
class DescribeRollbackTimeRangeResponse < TencentCloud::Common::AbstractModel
|
2648
|
-
# @param TimeRangeStart:
|
2735
|
+
# @param TimeRangeStart: 有效回归时间范围开始时间点(已废弃)
|
2649
2736
|
# @type TimeRangeStart: String
|
2650
|
-
# @param TimeRangeEnd:
|
2737
|
+
# @param TimeRangeEnd: 有效回归时间范围结束时间点(已废弃)
|
2651
2738
|
# @type TimeRangeEnd: String
|
2739
|
+
# @param RollbackTimeRanges: 可回档时间范围
|
2740
|
+
# @type RollbackTimeRanges: Array
|
2652
2741
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2653
2742
|
# @type RequestId: String
|
2654
2743
|
|
2655
|
-
attr_accessor :TimeRangeStart, :TimeRangeEnd, :RequestId
|
2744
|
+
attr_accessor :TimeRangeStart, :TimeRangeEnd, :RollbackTimeRanges, :RequestId
|
2656
2745
|
|
2657
|
-
def initialize(timerangestart=nil, timerangeend=nil, requestid=nil)
|
2746
|
+
def initialize(timerangestart=nil, timerangeend=nil, rollbacktimeranges=nil, requestid=nil)
|
2658
2747
|
@TimeRangeStart = timerangestart
|
2659
2748
|
@TimeRangeEnd = timerangeend
|
2749
|
+
@RollbackTimeRanges = rollbacktimeranges
|
2660
2750
|
@RequestId = requestid
|
2661
2751
|
end
|
2662
2752
|
|
2663
2753
|
def deserialize(params)
|
2664
2754
|
@TimeRangeStart = params['TimeRangeStart']
|
2665
2755
|
@TimeRangeEnd = params['TimeRangeEnd']
|
2756
|
+
unless params['RollbackTimeRanges'].nil?
|
2757
|
+
@RollbackTimeRanges = []
|
2758
|
+
params['RollbackTimeRanges'].each do |i|
|
2759
|
+
rollbacktimerange_tmp = RollbackTimeRange.new
|
2760
|
+
rollbacktimerange_tmp.deserialize(i)
|
2761
|
+
@RollbackTimeRanges << rollbacktimerange_tmp
|
2762
|
+
end
|
2763
|
+
end
|
2666
2764
|
@RequestId = params['RequestId']
|
2667
2765
|
end
|
2668
2766
|
end
|
@@ -3406,6 +3504,50 @@ module TencentCloud
|
|
3406
3504
|
end
|
3407
3505
|
end
|
3408
3506
|
|
3507
|
+
# ModifyClusterSlaveZone请求参数结构体
|
3508
|
+
class ModifyClusterSlaveZoneRequest < TencentCloud::Common::AbstractModel
|
3509
|
+
# @param ClusterId: 集群Id
|
3510
|
+
# @type ClusterId: String
|
3511
|
+
# @param OldSlaveZone: 旧从可用区
|
3512
|
+
# @type OldSlaveZone: String
|
3513
|
+
# @param NewSlaveZone: 新从可用区
|
3514
|
+
# @type NewSlaveZone: String
|
3515
|
+
|
3516
|
+
attr_accessor :ClusterId, :OldSlaveZone, :NewSlaveZone
|
3517
|
+
|
3518
|
+
def initialize(clusterid=nil, oldslavezone=nil, newslavezone=nil)
|
3519
|
+
@ClusterId = clusterid
|
3520
|
+
@OldSlaveZone = oldslavezone
|
3521
|
+
@NewSlaveZone = newslavezone
|
3522
|
+
end
|
3523
|
+
|
3524
|
+
def deserialize(params)
|
3525
|
+
@ClusterId = params['ClusterId']
|
3526
|
+
@OldSlaveZone = params['OldSlaveZone']
|
3527
|
+
@NewSlaveZone = params['NewSlaveZone']
|
3528
|
+
end
|
3529
|
+
end
|
3530
|
+
|
3531
|
+
# ModifyClusterSlaveZone返回参数结构体
|
3532
|
+
class ModifyClusterSlaveZoneResponse < TencentCloud::Common::AbstractModel
|
3533
|
+
# @param FlowId: 异步FlowId
|
3534
|
+
# @type FlowId: Integer
|
3535
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3536
|
+
# @type RequestId: String
|
3537
|
+
|
3538
|
+
attr_accessor :FlowId, :RequestId
|
3539
|
+
|
3540
|
+
def initialize(flowid=nil, requestid=nil)
|
3541
|
+
@FlowId = flowid
|
3542
|
+
@RequestId = requestid
|
3543
|
+
end
|
3544
|
+
|
3545
|
+
def deserialize(params)
|
3546
|
+
@FlowId = params['FlowId']
|
3547
|
+
@RequestId = params['RequestId']
|
3548
|
+
end
|
3549
|
+
end
|
3550
|
+
|
3409
3551
|
# ModifyDBInstanceSecurityGroups请求参数结构体
|
3410
3552
|
class ModifyDBInstanceSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
3411
3553
|
# @param InstanceId: 实例组ID
|
@@ -3719,6 +3861,63 @@ module TencentCloud
|
|
3719
3861
|
end
|
3720
3862
|
end
|
3721
3863
|
|
3864
|
+
# 参数信息
|
3865
|
+
class ParamInfo < TencentCloud::Common::AbstractModel
|
3866
|
+
# @param CurrentValue: 当前值
|
3867
|
+
# @type CurrentValue: String
|
3868
|
+
# @param Default: 默认值
|
3869
|
+
# @type Default: String
|
3870
|
+
# @param EnumValue: 参数为enum/string/bool时,可选值列表
|
3871
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3872
|
+
# @type EnumValue: Array
|
3873
|
+
# @param Max: 参数类型为float/integer时的最大值
|
3874
|
+
# @type Max: String
|
3875
|
+
# @param Min: 参数类型为float/integer时的最小值
|
3876
|
+
# @type Min: String
|
3877
|
+
# @param ParamName: 参数名称
|
3878
|
+
# @type ParamName: String
|
3879
|
+
# @param NeedReboot: 是否需要重启生效
|
3880
|
+
# @type NeedReboot: Integer
|
3881
|
+
# @param ParamType: 参数类型:integer/float/string/enum/bool
|
3882
|
+
# @type ParamType: String
|
3883
|
+
# @param MatchType: 匹配类型,multiVal, regex在参数类型是string时使用
|
3884
|
+
# @type MatchType: String
|
3885
|
+
# @param MatchValue: 匹配目标值,当multiVal时,各个key用;分割
|
3886
|
+
# @type MatchValue: String
|
3887
|
+
# @param Description: 参数描述
|
3888
|
+
# @type Description: String
|
3889
|
+
|
3890
|
+
attr_accessor :CurrentValue, :Default, :EnumValue, :Max, :Min, :ParamName, :NeedReboot, :ParamType, :MatchType, :MatchValue, :Description
|
3891
|
+
|
3892
|
+
def initialize(currentvalue=nil, default=nil, enumvalue=nil, max=nil, min=nil, paramname=nil, needreboot=nil, paramtype=nil, matchtype=nil, matchvalue=nil, description=nil)
|
3893
|
+
@CurrentValue = currentvalue
|
3894
|
+
@Default = default
|
3895
|
+
@EnumValue = enumvalue
|
3896
|
+
@Max = max
|
3897
|
+
@Min = min
|
3898
|
+
@ParamName = paramname
|
3899
|
+
@NeedReboot = needreboot
|
3900
|
+
@ParamType = paramtype
|
3901
|
+
@MatchType = matchtype
|
3902
|
+
@MatchValue = matchvalue
|
3903
|
+
@Description = description
|
3904
|
+
end
|
3905
|
+
|
3906
|
+
def deserialize(params)
|
3907
|
+
@CurrentValue = params['CurrentValue']
|
3908
|
+
@Default = params['Default']
|
3909
|
+
@EnumValue = params['EnumValue']
|
3910
|
+
@Max = params['Max']
|
3911
|
+
@Min = params['Min']
|
3912
|
+
@ParamName = params['ParamName']
|
3913
|
+
@NeedReboot = params['NeedReboot']
|
3914
|
+
@ParamType = params['ParamType']
|
3915
|
+
@MatchType = params['MatchType']
|
3916
|
+
@MatchValue = params['MatchValue']
|
3917
|
+
@Description = params['Description']
|
3918
|
+
end
|
3919
|
+
end
|
3920
|
+
|
3722
3921
|
# 修改参数时,传入参数描述
|
3723
3922
|
class ParamItem < TencentCloud::Common::AbstractModel
|
3724
3923
|
# @param ParamName: 参数名称
|
@@ -3883,6 +4082,46 @@ module TencentCloud
|
|
3883
4082
|
end
|
3884
4083
|
end
|
3885
4084
|
|
4085
|
+
# RemoveClusterSlaveZone请求参数结构体
|
4086
|
+
class RemoveClusterSlaveZoneRequest < TencentCloud::Common::AbstractModel
|
4087
|
+
# @param ClusterId: 集群ID
|
4088
|
+
# @type ClusterId: String
|
4089
|
+
# @param SlaveZone: 从可用区
|
4090
|
+
# @type SlaveZone: String
|
4091
|
+
|
4092
|
+
attr_accessor :ClusterId, :SlaveZone
|
4093
|
+
|
4094
|
+
def initialize(clusterid=nil, slavezone=nil)
|
4095
|
+
@ClusterId = clusterid
|
4096
|
+
@SlaveZone = slavezone
|
4097
|
+
end
|
4098
|
+
|
4099
|
+
def deserialize(params)
|
4100
|
+
@ClusterId = params['ClusterId']
|
4101
|
+
@SlaveZone = params['SlaveZone']
|
4102
|
+
end
|
4103
|
+
end
|
4104
|
+
|
4105
|
+
# RemoveClusterSlaveZone返回参数结构体
|
4106
|
+
class RemoveClusterSlaveZoneResponse < TencentCloud::Common::AbstractModel
|
4107
|
+
# @param FlowId: 异步FlowId
|
4108
|
+
# @type FlowId: Integer
|
4109
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4110
|
+
# @type RequestId: String
|
4111
|
+
|
4112
|
+
attr_accessor :FlowId, :RequestId
|
4113
|
+
|
4114
|
+
def initialize(flowid=nil, requestid=nil)
|
4115
|
+
@FlowId = flowid
|
4116
|
+
@RequestId = requestid
|
4117
|
+
end
|
4118
|
+
|
4119
|
+
def deserialize(params)
|
4120
|
+
@FlowId = params['FlowId']
|
4121
|
+
@RequestId = params['RequestId']
|
4122
|
+
end
|
4123
|
+
end
|
4124
|
+
|
3886
4125
|
# ResumeServerless请求参数结构体
|
3887
4126
|
class ResumeServerlessRequest < TencentCloud::Common::AbstractModel
|
3888
4127
|
# @param ClusterId: 集群ID
|
@@ -4114,6 +4353,26 @@ module TencentCloud
|
|
4114
4353
|
end
|
4115
4354
|
end
|
4116
4355
|
|
4356
|
+
# 可回档的时间范围
|
4357
|
+
class RollbackTimeRange < TencentCloud::Common::AbstractModel
|
4358
|
+
# @param TimeRangeStart: 开始时间
|
4359
|
+
# @type TimeRangeStart: String
|
4360
|
+
# @param TimeRangeEnd: 结束时间
|
4361
|
+
# @type TimeRangeEnd: String
|
4362
|
+
|
4363
|
+
attr_accessor :TimeRangeStart, :TimeRangeEnd
|
4364
|
+
|
4365
|
+
def initialize(timerangestart=nil, timerangeend=nil)
|
4366
|
+
@TimeRangeStart = timerangestart
|
4367
|
+
@TimeRangeEnd = timerangeend
|
4368
|
+
end
|
4369
|
+
|
4370
|
+
def deserialize(params)
|
4371
|
+
@TimeRangeStart = params['TimeRangeStart']
|
4372
|
+
@TimeRangeEnd = params['TimeRangeEnd']
|
4373
|
+
end
|
4374
|
+
end
|
4375
|
+
|
4117
4376
|
# 安全组详情
|
4118
4377
|
class SecurityGroup < TencentCloud::Common::AbstractModel
|
4119
4378
|
# @param ProjectId: 项目ID
|
@@ -4264,6 +4523,54 @@ module TencentCloud
|
|
4264
4523
|
end
|
4265
4524
|
end
|
4266
4525
|
|
4526
|
+
# SwitchClusterZone请求参数结构体
|
4527
|
+
class SwitchClusterZoneRequest < TencentCloud::Common::AbstractModel
|
4528
|
+
# @param ClusterId: 集群Id
|
4529
|
+
# @type ClusterId: String
|
4530
|
+
# @param OldZone: 当前可用区
|
4531
|
+
# @type OldZone: String
|
4532
|
+
# @param NewZone: 要切换到的可用区
|
4533
|
+
# @type NewZone: String
|
4534
|
+
# @param IsInMaintainPeriod: 维护期间执行-yes,立即执行-no
|
4535
|
+
# @type IsInMaintainPeriod: String
|
4536
|
+
|
4537
|
+
attr_accessor :ClusterId, :OldZone, :NewZone, :IsInMaintainPeriod
|
4538
|
+
|
4539
|
+
def initialize(clusterid=nil, oldzone=nil, newzone=nil, isinmaintainperiod=nil)
|
4540
|
+
@ClusterId = clusterid
|
4541
|
+
@OldZone = oldzone
|
4542
|
+
@NewZone = newzone
|
4543
|
+
@IsInMaintainPeriod = isinmaintainperiod
|
4544
|
+
end
|
4545
|
+
|
4546
|
+
def deserialize(params)
|
4547
|
+
@ClusterId = params['ClusterId']
|
4548
|
+
@OldZone = params['OldZone']
|
4549
|
+
@NewZone = params['NewZone']
|
4550
|
+
@IsInMaintainPeriod = params['IsInMaintainPeriod']
|
4551
|
+
end
|
4552
|
+
end
|
4553
|
+
|
4554
|
+
# SwitchClusterZone返回参数结构体
|
4555
|
+
class SwitchClusterZoneResponse < TencentCloud::Common::AbstractModel
|
4556
|
+
# @param FlowId: 异步FlowId
|
4557
|
+
# @type FlowId: Integer
|
4558
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4559
|
+
# @type RequestId: String
|
4560
|
+
|
4561
|
+
attr_accessor :FlowId, :RequestId
|
4562
|
+
|
4563
|
+
def initialize(flowid=nil, requestid=nil)
|
4564
|
+
@FlowId = flowid
|
4565
|
+
@RequestId = requestid
|
4566
|
+
end
|
4567
|
+
|
4568
|
+
def deserialize(params)
|
4569
|
+
@FlowId = params['FlowId']
|
4570
|
+
@RequestId = params['RequestId']
|
4571
|
+
end
|
4572
|
+
end
|
4573
|
+
|
4267
4574
|
# mysql表权限
|
4268
4575
|
class TablePrivileges < TencentCloud::Common::AbstractModel
|
4269
4576
|
# @param Db: 数据库名
|
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.393
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|