tencentcloud-sdk-trocket 3.0.1040 → 3.0.1041
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/v20230308/client.rb +223 -0
- data/lib/v20230308/models.rb +550 -0
- 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: 7bebc88ef4e9795ebfb3cf6e525dde24dd9e2f01
|
4
|
+
data.tar.gz: 04a07fd7260a78da837608f20ff8e925f9a36668
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4722df600ee2ec0c9ea15fa17d682e477941ddd8e8d927393db8baa59773528ea5c1133a407a180e03e3e8faa8113c1b8944ea157038b0f2e2d950a751b17449
|
7
|
+
data.tar.gz: d1c9d31641a944e5abbebadc2d31d7ac826fc028f46cf17443bb7b8f1f0afc680480bc4d34fb0b656ca13927bc373e323ea17cd4c6fdee103b76d810acab56ab
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1041
|
data/lib/v20230308/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 修改迁移中的Topic状态进入下一步
|
33
|
+
|
34
|
+
# @param request: Request instance for ChangeMigratingTopicToNextStage.
|
35
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::ChangeMigratingTopicToNextStageRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::ChangeMigratingTopicToNextStageResponse`
|
37
|
+
def ChangeMigratingTopicToNextStage(request)
|
38
|
+
body = send_request('ChangeMigratingTopicToNextStage', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = ChangeMigratingTopicToNextStageResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 创建消费组
|
33
57
|
|
34
58
|
# @param request: Request instance for CreateConsumerGroup.
|
@@ -389,6 +413,30 @@ module TencentCloud
|
|
389
413
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
414
|
end
|
391
415
|
|
416
|
+
# 删除平滑迁移任务,只有被取消的任务才可删除
|
417
|
+
|
418
|
+
# @param request: Request instance for DeleteSmoothMigrationTask.
|
419
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DeleteSmoothMigrationTaskRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DeleteSmoothMigrationTaskResponse`
|
421
|
+
def DeleteSmoothMigrationTask(request)
|
422
|
+
body = send_request('DeleteSmoothMigrationTask', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = DeleteSmoothMigrationTaskResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
392
440
|
# 删除主题
|
393
441
|
|
394
442
|
# @param request: Request instance for DeleteTopic.
|
@@ -966,6 +1014,80 @@ module TencentCloud
|
|
966
1014
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
967
1015
|
end
|
968
1016
|
|
1017
|
+
# 查看迁移消费组的实时信息
|
1018
|
+
|
1019
|
+
# @param request: Request instance for DescribeMigratingGroupStats.
|
1020
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMigratingGroupStatsRequest`
|
1021
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeMigratingGroupStatsResponse`
|
1022
|
+
def DescribeMigratingGroupStats(request)
|
1023
|
+
body = send_request('DescribeMigratingGroupStats', request.serialize)
|
1024
|
+
response = JSON.parse(body)
|
1025
|
+
if response['Response'].key?('Error') == false
|
1026
|
+
model = DescribeMigratingGroupStatsResponse.new
|
1027
|
+
model.deserialize(response['Response'])
|
1028
|
+
model
|
1029
|
+
else
|
1030
|
+
code = response['Response']['Error']['Code']
|
1031
|
+
message = response['Response']['Error']['Message']
|
1032
|
+
reqid = response['Response']['RequestId']
|
1033
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1034
|
+
end
|
1035
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1036
|
+
raise e
|
1037
|
+
rescue StandardError => e
|
1038
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
# 查询Topic迁移状态列表
|
1042
|
+
|
1043
|
+
# 查询过滤器,支持TopicName、MigrationStatus查询
|
1044
|
+
|
1045
|
+
# @param request: Request instance for DescribeMigratingTopicList.
|
1046
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMigratingTopicListRequest`
|
1047
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeMigratingTopicListResponse`
|
1048
|
+
def DescribeMigratingTopicList(request)
|
1049
|
+
body = send_request('DescribeMigratingTopicList', request.serialize)
|
1050
|
+
response = JSON.parse(body)
|
1051
|
+
if response['Response'].key?('Error') == false
|
1052
|
+
model = DescribeMigratingTopicListResponse.new
|
1053
|
+
model.deserialize(response['Response'])
|
1054
|
+
model
|
1055
|
+
else
|
1056
|
+
code = response['Response']['Error']['Code']
|
1057
|
+
message = response['Response']['Error']['Message']
|
1058
|
+
reqid = response['Response']['RequestId']
|
1059
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1060
|
+
end
|
1061
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1062
|
+
raise e
|
1063
|
+
rescue StandardError => e
|
1064
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
# 用于查询迁移主题的实时数据
|
1068
|
+
|
1069
|
+
# @param request: Request instance for DescribeMigratingTopicStats.
|
1070
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMigratingTopicStatsRequest`
|
1071
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeMigratingTopicStatsResponse`
|
1072
|
+
def DescribeMigratingTopicStats(request)
|
1073
|
+
body = send_request('DescribeMigratingTopicStats', request.serialize)
|
1074
|
+
response = JSON.parse(body)
|
1075
|
+
if response['Response'].key?('Error') == false
|
1076
|
+
model = DescribeMigratingTopicStatsResponse.new
|
1077
|
+
model.deserialize(response['Response'])
|
1078
|
+
model
|
1079
|
+
else
|
1080
|
+
code = response['Response']['Error']['Code']
|
1081
|
+
message = response['Response']['Error']['Message']
|
1082
|
+
reqid = response['Response']['RequestId']
|
1083
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1084
|
+
end
|
1085
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1086
|
+
raise e
|
1087
|
+
rescue StandardError => e
|
1088
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1089
|
+
end
|
1090
|
+
|
969
1091
|
# 查询产品售卖规格,针对 RocketMQ 5.x 集群。
|
970
1092
|
|
971
1093
|
# @param request: Request instance for DescribeProductSKUs.
|
@@ -1017,6 +1139,35 @@ module TencentCloud
|
|
1017
1139
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1018
1140
|
end
|
1019
1141
|
|
1142
|
+
# 平滑迁移过程获取源集群group列表接口
|
1143
|
+
|
1144
|
+
# 查询过滤器,支持字段
|
1145
|
+
# GroupName,消费组名称模糊搜索
|
1146
|
+
# Imported,是否已导入
|
1147
|
+
# ImportStatus,导入状态
|
1148
|
+
|
1149
|
+
# @param request: Request instance for DescribeSourceClusterGroupList.
|
1150
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeSourceClusterGroupListRequest`
|
1151
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeSourceClusterGroupListResponse`
|
1152
|
+
def DescribeSourceClusterGroupList(request)
|
1153
|
+
body = send_request('DescribeSourceClusterGroupList', request.serialize)
|
1154
|
+
response = JSON.parse(body)
|
1155
|
+
if response['Response'].key?('Error') == false
|
1156
|
+
model = DescribeSourceClusterGroupListResponse.new
|
1157
|
+
model.deserialize(response['Response'])
|
1158
|
+
model
|
1159
|
+
else
|
1160
|
+
code = response['Response']['Error']['Code']
|
1161
|
+
message = response['Response']['Error']['Message']
|
1162
|
+
reqid = response['Response']['RequestId']
|
1163
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1164
|
+
end
|
1165
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1166
|
+
raise e
|
1167
|
+
rescue StandardError => e
|
1168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1169
|
+
end
|
1170
|
+
|
1020
1171
|
# 查询主题详情,Offset和Limit参数是指订阅该主题的消费组查询分页参数,Filter参数使用说明如下:
|
1021
1172
|
|
1022
1173
|
# ConsumerGroup,消费组名称过滤
|
@@ -1096,6 +1247,30 @@ module TencentCloud
|
|
1096
1247
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1097
1248
|
end
|
1098
1249
|
|
1250
|
+
# 检查迁移中的主题是否处于正常状态,只有处于正常状态的主题,才可以进入下一个迁移阶段
|
1251
|
+
|
1252
|
+
# @param request: Request instance for DoHealthCheckOnMigratingTopic.
|
1253
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DoHealthCheckOnMigratingTopicRequest`
|
1254
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DoHealthCheckOnMigratingTopicResponse`
|
1255
|
+
def DoHealthCheckOnMigratingTopic(request)
|
1256
|
+
body = send_request('DoHealthCheckOnMigratingTopic', request.serialize)
|
1257
|
+
response = JSON.parse(body)
|
1258
|
+
if response['Response'].key?('Error') == false
|
1259
|
+
model = DoHealthCheckOnMigratingTopicResponse.new
|
1260
|
+
model.deserialize(response['Response'])
|
1261
|
+
model
|
1262
|
+
else
|
1263
|
+
code = response['Response']['Error']['Code']
|
1264
|
+
message = response['Response']['Error']['Message']
|
1265
|
+
reqid = response['Response']['RequestId']
|
1266
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1267
|
+
end
|
1268
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1269
|
+
raise e
|
1270
|
+
rescue StandardError => e
|
1271
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1272
|
+
end
|
1273
|
+
|
1099
1274
|
# 导入消费者组列表
|
1100
1275
|
|
1101
1276
|
# @param request: Request instance for ImportSourceClusterConsumerGroups.
|
@@ -1385,6 +1560,30 @@ module TencentCloud
|
|
1385
1560
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1386
1561
|
end
|
1387
1562
|
|
1563
|
+
# 从迁移列表中移除主题,仅当主题处于初始状态时有效
|
1564
|
+
|
1565
|
+
# @param request: Request instance for RemoveMigratingTopic.
|
1566
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::RemoveMigratingTopicRequest`
|
1567
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::RemoveMigratingTopicResponse`
|
1568
|
+
def RemoveMigratingTopic(request)
|
1569
|
+
body = send_request('RemoveMigratingTopic', request.serialize)
|
1570
|
+
response = JSON.parse(body)
|
1571
|
+
if response['Response'].key?('Error') == false
|
1572
|
+
model = RemoveMigratingTopicResponse.new
|
1573
|
+
model.deserialize(response['Response'])
|
1574
|
+
model
|
1575
|
+
else
|
1576
|
+
code = response['Response']['Error']['Code']
|
1577
|
+
message = response['Response']['Error']['Message']
|
1578
|
+
reqid = response['Response']['RequestId']
|
1579
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1580
|
+
end
|
1581
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1582
|
+
raise e
|
1583
|
+
rescue StandardError => e
|
1584
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1585
|
+
end
|
1586
|
+
|
1388
1587
|
# 重新发送死信消息
|
1389
1588
|
|
1390
1589
|
# @param request: Request instance for ResendDeadLetterMessage.
|
@@ -1433,6 +1632,30 @@ module TencentCloud
|
|
1433
1632
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1434
1633
|
end
|
1435
1634
|
|
1635
|
+
# 回滚正在迁移的主题至前一个阶段
|
1636
|
+
|
1637
|
+
# @param request: Request instance for RollbackMigratingTopicStage.
|
1638
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::RollbackMigratingTopicStageRequest`
|
1639
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::RollbackMigratingTopicStageResponse`
|
1640
|
+
def RollbackMigratingTopicStage(request)
|
1641
|
+
body = send_request('RollbackMigratingTopicStage', request.serialize)
|
1642
|
+
response = JSON.parse(body)
|
1643
|
+
if response['Response'].key?('Error') == false
|
1644
|
+
model = RollbackMigratingTopicStageResponse.new
|
1645
|
+
model.deserialize(response['Response'])
|
1646
|
+
model
|
1647
|
+
else
|
1648
|
+
code = response['Response']['Error']['Code']
|
1649
|
+
message = response['Response']['Error']['Message']
|
1650
|
+
reqid = response['Response']['RequestId']
|
1651
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1652
|
+
end
|
1653
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1654
|
+
raise e
|
1655
|
+
rescue StandardError => e
|
1656
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1657
|
+
end
|
1658
|
+
|
1436
1659
|
|
1437
1660
|
end
|
1438
1661
|
end
|
data/lib/v20230308/models.rb
CHANGED
@@ -17,6 +17,57 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Trocket
|
19
19
|
module V20230308
|
20
|
+
# ChangeMigratingTopicToNextStage请求参数结构体
|
21
|
+
class ChangeMigratingTopicToNextStageRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param TaskId: 任务ID
|
23
|
+
# @type TaskId: String
|
24
|
+
# @param TopicNameList: 主题名称列表
|
25
|
+
# @type TopicNameList: Array
|
26
|
+
# @param NamespaceList: 命名空间列表,仅4.x集群有效,与TopicNameList一一对应
|
27
|
+
# @type NamespaceList: Array
|
28
|
+
|
29
|
+
attr_accessor :TaskId, :TopicNameList, :NamespaceList
|
30
|
+
|
31
|
+
def initialize(taskid=nil, topicnamelist=nil, namespacelist=nil)
|
32
|
+
@TaskId = taskid
|
33
|
+
@TopicNameList = topicnamelist
|
34
|
+
@NamespaceList = namespacelist
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@TaskId = params['TaskId']
|
39
|
+
@TopicNameList = params['TopicNameList']
|
40
|
+
@NamespaceList = params['NamespaceList']
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# ChangeMigratingTopicToNextStage返回参数结构体
|
45
|
+
class ChangeMigratingTopicToNextStageResponse < TencentCloud::Common::AbstractModel
|
46
|
+
# @param Results: 迁移主题状态修改的结果列表
|
47
|
+
# @type Results: Array
|
48
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
49
|
+
# @type RequestId: String
|
50
|
+
|
51
|
+
attr_accessor :Results, :RequestId
|
52
|
+
|
53
|
+
def initialize(results=nil, requestid=nil)
|
54
|
+
@Results = results
|
55
|
+
@RequestId = requestid
|
56
|
+
end
|
57
|
+
|
58
|
+
def deserialize(params)
|
59
|
+
unless params['Results'].nil?
|
60
|
+
@Results = []
|
61
|
+
params['Results'].each do |i|
|
62
|
+
topicstagechangeresult_tmp = TopicStageChangeResult.new
|
63
|
+
topicstagechangeresult_tmp.deserialize(i)
|
64
|
+
@Results << topicstagechangeresult_tmp
|
65
|
+
end
|
66
|
+
end
|
67
|
+
@RequestId = params['RequestId']
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
20
71
|
# 消费组信息
|
21
72
|
class ConsumeGroupItem < TencentCloud::Common::AbstractModel
|
22
73
|
# @param InstanceId: 实例ID
|
@@ -932,6 +983,38 @@ module TencentCloud
|
|
932
983
|
end
|
933
984
|
end
|
934
985
|
|
986
|
+
# DeleteSmoothMigrationTask请求参数结构体
|
987
|
+
class DeleteSmoothMigrationTaskRequest < TencentCloud::Common::AbstractModel
|
988
|
+
# @param TaskId: 任务ID
|
989
|
+
# @type TaskId: String
|
990
|
+
|
991
|
+
attr_accessor :TaskId
|
992
|
+
|
993
|
+
def initialize(taskid=nil)
|
994
|
+
@TaskId = taskid
|
995
|
+
end
|
996
|
+
|
997
|
+
def deserialize(params)
|
998
|
+
@TaskId = params['TaskId']
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
# DeleteSmoothMigrationTask返回参数结构体
|
1003
|
+
class DeleteSmoothMigrationTaskResponse < TencentCloud::Common::AbstractModel
|
1004
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1005
|
+
# @type RequestId: String
|
1006
|
+
|
1007
|
+
attr_accessor :RequestId
|
1008
|
+
|
1009
|
+
def initialize(requestid=nil)
|
1010
|
+
@RequestId = requestid
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
def deserialize(params)
|
1014
|
+
@RequestId = params['RequestId']
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
|
935
1018
|
# DeleteTopic请求参数结构体
|
936
1019
|
class DeleteTopicRequest < TencentCloud::Common::AbstractModel
|
937
1020
|
# @param InstanceId: 集群ID
|
@@ -2624,6 +2707,203 @@ module TencentCloud
|
|
2624
2707
|
end
|
2625
2708
|
end
|
2626
2709
|
|
2710
|
+
# DescribeMigratingGroupStats请求参数结构体
|
2711
|
+
class DescribeMigratingGroupStatsRequest < TencentCloud::Common::AbstractModel
|
2712
|
+
# @param TaskId: 迁移任务ID
|
2713
|
+
# @type TaskId: String
|
2714
|
+
# @param GroupName: 消费组名称
|
2715
|
+
# @type GroupName: String
|
2716
|
+
# @param Namespace: 命名空间
|
2717
|
+
# @type Namespace: String
|
2718
|
+
|
2719
|
+
attr_accessor :TaskId, :GroupName, :Namespace
|
2720
|
+
|
2721
|
+
def initialize(taskid=nil, groupname=nil, namespace=nil)
|
2722
|
+
@TaskId = taskid
|
2723
|
+
@GroupName = groupname
|
2724
|
+
@Namespace = namespace
|
2725
|
+
end
|
2726
|
+
|
2727
|
+
def deserialize(params)
|
2728
|
+
@TaskId = params['TaskId']
|
2729
|
+
@GroupName = params['GroupName']
|
2730
|
+
@Namespace = params['Namespace']
|
2731
|
+
end
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
# DescribeMigratingGroupStats返回参数结构体
|
2735
|
+
class DescribeMigratingGroupStatsResponse < TencentCloud::Common::AbstractModel
|
2736
|
+
# @param SourceConsumeLag: 源集群消费组堆积
|
2737
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2738
|
+
# @type SourceConsumeLag: Integer
|
2739
|
+
# @param TargetConsumeLag: 目标集群消费组堆积
|
2740
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2741
|
+
# @type TargetConsumeLag: Integer
|
2742
|
+
# @param SourceConsumerClients: 源集群连接客户端列表
|
2743
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2744
|
+
# @type SourceConsumerClients: Array
|
2745
|
+
# @param TargetConsumerClients: 目标集群连接客户端列表
|
2746
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2747
|
+
# @type TargetConsumerClients: Array
|
2748
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2749
|
+
# @type RequestId: String
|
2750
|
+
|
2751
|
+
attr_accessor :SourceConsumeLag, :TargetConsumeLag, :SourceConsumerClients, :TargetConsumerClients, :RequestId
|
2752
|
+
|
2753
|
+
def initialize(sourceconsumelag=nil, targetconsumelag=nil, sourceconsumerclients=nil, targetconsumerclients=nil, requestid=nil)
|
2754
|
+
@SourceConsumeLag = sourceconsumelag
|
2755
|
+
@TargetConsumeLag = targetconsumelag
|
2756
|
+
@SourceConsumerClients = sourceconsumerclients
|
2757
|
+
@TargetConsumerClients = targetconsumerclients
|
2758
|
+
@RequestId = requestid
|
2759
|
+
end
|
2760
|
+
|
2761
|
+
def deserialize(params)
|
2762
|
+
@SourceConsumeLag = params['SourceConsumeLag']
|
2763
|
+
@TargetConsumeLag = params['TargetConsumeLag']
|
2764
|
+
unless params['SourceConsumerClients'].nil?
|
2765
|
+
@SourceConsumerClients = []
|
2766
|
+
params['SourceConsumerClients'].each do |i|
|
2767
|
+
consumerclient_tmp = ConsumerClient.new
|
2768
|
+
consumerclient_tmp.deserialize(i)
|
2769
|
+
@SourceConsumerClients << consumerclient_tmp
|
2770
|
+
end
|
2771
|
+
end
|
2772
|
+
unless params['TargetConsumerClients'].nil?
|
2773
|
+
@TargetConsumerClients = []
|
2774
|
+
params['TargetConsumerClients'].each do |i|
|
2775
|
+
consumerclient_tmp = ConsumerClient.new
|
2776
|
+
consumerclient_tmp.deserialize(i)
|
2777
|
+
@TargetConsumerClients << consumerclient_tmp
|
2778
|
+
end
|
2779
|
+
end
|
2780
|
+
@RequestId = params['RequestId']
|
2781
|
+
end
|
2782
|
+
end
|
2783
|
+
|
2784
|
+
# DescribeMigratingTopicList请求参数结构体
|
2785
|
+
class DescribeMigratingTopicListRequest < TencentCloud::Common::AbstractModel
|
2786
|
+
# @param Offset: 查询起始位置
|
2787
|
+
# @type Offset: Integer
|
2788
|
+
# @param Limit: 查询结果限制数量
|
2789
|
+
# @type Limit: Integer
|
2790
|
+
# @param TaskId: 任务ID
|
2791
|
+
# @type TaskId: String
|
2792
|
+
# @param Filters: 查询条件列表
|
2793
|
+
# @type Filters: Array
|
2794
|
+
|
2795
|
+
attr_accessor :Offset, :Limit, :TaskId, :Filters
|
2796
|
+
|
2797
|
+
def initialize(offset=nil, limit=nil, taskid=nil, filters=nil)
|
2798
|
+
@Offset = offset
|
2799
|
+
@Limit = limit
|
2800
|
+
@TaskId = taskid
|
2801
|
+
@Filters = filters
|
2802
|
+
end
|
2803
|
+
|
2804
|
+
def deserialize(params)
|
2805
|
+
@Offset = params['Offset']
|
2806
|
+
@Limit = params['Limit']
|
2807
|
+
@TaskId = params['TaskId']
|
2808
|
+
unless params['Filters'].nil?
|
2809
|
+
@Filters = []
|
2810
|
+
params['Filters'].each do |i|
|
2811
|
+
filter_tmp = Filter.new
|
2812
|
+
filter_tmp.deserialize(i)
|
2813
|
+
@Filters << filter_tmp
|
2814
|
+
end
|
2815
|
+
end
|
2816
|
+
end
|
2817
|
+
end
|
2818
|
+
|
2819
|
+
# DescribeMigratingTopicList返回参数结构体
|
2820
|
+
class DescribeMigratingTopicListResponse < TencentCloud::Common::AbstractModel
|
2821
|
+
# @param TotalCount: 查询总数
|
2822
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2823
|
+
# @type TotalCount: Integer
|
2824
|
+
# @param MigrateTopics: 主题列表
|
2825
|
+
# @type MigrateTopics: Array
|
2826
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2827
|
+
# @type RequestId: String
|
2828
|
+
|
2829
|
+
attr_accessor :TotalCount, :MigrateTopics, :RequestId
|
2830
|
+
|
2831
|
+
def initialize(totalcount=nil, migratetopics=nil, requestid=nil)
|
2832
|
+
@TotalCount = totalcount
|
2833
|
+
@MigrateTopics = migratetopics
|
2834
|
+
@RequestId = requestid
|
2835
|
+
end
|
2836
|
+
|
2837
|
+
def deserialize(params)
|
2838
|
+
@TotalCount = params['TotalCount']
|
2839
|
+
unless params['MigrateTopics'].nil?
|
2840
|
+
@MigrateTopics = []
|
2841
|
+
params['MigrateTopics'].each do |i|
|
2842
|
+
migratingtopic_tmp = MigratingTopic.new
|
2843
|
+
migratingtopic_tmp.deserialize(i)
|
2844
|
+
@MigrateTopics << migratingtopic_tmp
|
2845
|
+
end
|
2846
|
+
end
|
2847
|
+
@RequestId = params['RequestId']
|
2848
|
+
end
|
2849
|
+
end
|
2850
|
+
|
2851
|
+
# DescribeMigratingTopicStats请求参数结构体
|
2852
|
+
class DescribeMigratingTopicStatsRequest < TencentCloud::Common::AbstractModel
|
2853
|
+
# @param TaskId: 任务ID
|
2854
|
+
# @type TaskId: String
|
2855
|
+
# @param TopicName: 主题名称
|
2856
|
+
# @type TopicName: String
|
2857
|
+
# @param Namespace: 命名空间,仅4.x集群有效
|
2858
|
+
# @type Namespace: String
|
2859
|
+
|
2860
|
+
attr_accessor :TaskId, :TopicName, :Namespace
|
2861
|
+
|
2862
|
+
def initialize(taskid=nil, topicname=nil, namespace=nil)
|
2863
|
+
@TaskId = taskid
|
2864
|
+
@TopicName = topicname
|
2865
|
+
@Namespace = namespace
|
2866
|
+
end
|
2867
|
+
|
2868
|
+
def deserialize(params)
|
2869
|
+
@TaskId = params['TaskId']
|
2870
|
+
@TopicName = params['TopicName']
|
2871
|
+
@Namespace = params['Namespace']
|
2872
|
+
end
|
2873
|
+
end
|
2874
|
+
|
2875
|
+
# DescribeMigratingTopicStats返回参数结构体
|
2876
|
+
class DescribeMigratingTopicStatsResponse < TencentCloud::Common::AbstractModel
|
2877
|
+
# @param SourceClusterConsumerCount: 源集群的消费者数量
|
2878
|
+
# @type SourceClusterConsumerCount: Integer
|
2879
|
+
# @param TargetClusterConsumerCount: 目标集群的消费者数量
|
2880
|
+
# @type TargetClusterConsumerCount: Integer
|
2881
|
+
# @param SourceClusterConsumerGroups: 源集群消费组列表
|
2882
|
+
# @type SourceClusterConsumerGroups: Array
|
2883
|
+
# @param TargetClusterConsumerGroups: 目标集群消费组列表
|
2884
|
+
# @type TargetClusterConsumerGroups: Array
|
2885
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2886
|
+
# @type RequestId: String
|
2887
|
+
|
2888
|
+
attr_accessor :SourceClusterConsumerCount, :TargetClusterConsumerCount, :SourceClusterConsumerGroups, :TargetClusterConsumerGroups, :RequestId
|
2889
|
+
|
2890
|
+
def initialize(sourceclusterconsumercount=nil, targetclusterconsumercount=nil, sourceclusterconsumergroups=nil, targetclusterconsumergroups=nil, requestid=nil)
|
2891
|
+
@SourceClusterConsumerCount = sourceclusterconsumercount
|
2892
|
+
@TargetClusterConsumerCount = targetclusterconsumercount
|
2893
|
+
@SourceClusterConsumerGroups = sourceclusterconsumergroups
|
2894
|
+
@TargetClusterConsumerGroups = targetclusterconsumergroups
|
2895
|
+
@RequestId = requestid
|
2896
|
+
end
|
2897
|
+
|
2898
|
+
def deserialize(params)
|
2899
|
+
@SourceClusterConsumerCount = params['SourceClusterConsumerCount']
|
2900
|
+
@TargetClusterConsumerCount = params['TargetClusterConsumerCount']
|
2901
|
+
@SourceClusterConsumerGroups = params['SourceClusterConsumerGroups']
|
2902
|
+
@TargetClusterConsumerGroups = params['TargetClusterConsumerGroups']
|
2903
|
+
@RequestId = params['RequestId']
|
2904
|
+
end
|
2905
|
+
end
|
2906
|
+
|
2627
2907
|
# DescribeProductSKUs请求参数结构体
|
2628
2908
|
class DescribeProductSKUsRequest < TencentCloud::Common::AbstractModel
|
2629
2909
|
|
@@ -2730,6 +3010,73 @@ module TencentCloud
|
|
2730
3010
|
end
|
2731
3011
|
end
|
2732
3012
|
|
3013
|
+
# DescribeSourceClusterGroupList请求参数结构体
|
3014
|
+
class DescribeSourceClusterGroupListRequest < TencentCloud::Common::AbstractModel
|
3015
|
+
# @param Offset: 查询起始位置
|
3016
|
+
# @type Offset: Integer
|
3017
|
+
# @param Limit: 查询结果限制数量
|
3018
|
+
# @type Limit: Integer
|
3019
|
+
# @param TaskId: 任务ID
|
3020
|
+
# @type TaskId: String
|
3021
|
+
# @param Filters: 查询条件列表
|
3022
|
+
# @type Filters: Array
|
3023
|
+
|
3024
|
+
attr_accessor :Offset, :Limit, :TaskId, :Filters
|
3025
|
+
|
3026
|
+
def initialize(offset=nil, limit=nil, taskid=nil, filters=nil)
|
3027
|
+
@Offset = offset
|
3028
|
+
@Limit = limit
|
3029
|
+
@TaskId = taskid
|
3030
|
+
@Filters = filters
|
3031
|
+
end
|
3032
|
+
|
3033
|
+
def deserialize(params)
|
3034
|
+
@Offset = params['Offset']
|
3035
|
+
@Limit = params['Limit']
|
3036
|
+
@TaskId = params['TaskId']
|
3037
|
+
unless params['Filters'].nil?
|
3038
|
+
@Filters = []
|
3039
|
+
params['Filters'].each do |i|
|
3040
|
+
filter_tmp = Filter.new
|
3041
|
+
filter_tmp.deserialize(i)
|
3042
|
+
@Filters << filter_tmp
|
3043
|
+
end
|
3044
|
+
end
|
3045
|
+
end
|
3046
|
+
end
|
3047
|
+
|
3048
|
+
# DescribeSourceClusterGroupList返回参数结构体
|
3049
|
+
class DescribeSourceClusterGroupListResponse < TencentCloud::Common::AbstractModel
|
3050
|
+
# @param TotalCount: 查询总数
|
3051
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3052
|
+
# @type TotalCount: Integer
|
3053
|
+
# @param Groups: 消费组配置列表
|
3054
|
+
# @type Groups: Array
|
3055
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3056
|
+
# @type RequestId: String
|
3057
|
+
|
3058
|
+
attr_accessor :TotalCount, :Groups, :RequestId
|
3059
|
+
|
3060
|
+
def initialize(totalcount=nil, groups=nil, requestid=nil)
|
3061
|
+
@TotalCount = totalcount
|
3062
|
+
@Groups = groups
|
3063
|
+
@RequestId = requestid
|
3064
|
+
end
|
3065
|
+
|
3066
|
+
def deserialize(params)
|
3067
|
+
@TotalCount = params['TotalCount']
|
3068
|
+
unless params['Groups'].nil?
|
3069
|
+
@Groups = []
|
3070
|
+
params['Groups'].each do |i|
|
3071
|
+
sourceclustergroupconfig_tmp = SourceClusterGroupConfig.new
|
3072
|
+
sourceclustergroupconfig_tmp.deserialize(i)
|
3073
|
+
@Groups << sourceclustergroupconfig_tmp
|
3074
|
+
end
|
3075
|
+
end
|
3076
|
+
@RequestId = params['RequestId']
|
3077
|
+
end
|
3078
|
+
end
|
3079
|
+
|
2733
3080
|
# DescribeTopicListByGroup请求参数结构体
|
2734
3081
|
class DescribeTopicListByGroupRequest < TencentCloud::Common::AbstractModel
|
2735
3082
|
# @param InstanceId: 集群ID
|
@@ -3002,6 +3349,65 @@ module TencentCloud
|
|
3002
3349
|
end
|
3003
3350
|
end
|
3004
3351
|
|
3352
|
+
# DoHealthCheckOnMigratingTopic请求参数结构体
|
3353
|
+
class DoHealthCheckOnMigratingTopicRequest < TencentCloud::Common::AbstractModel
|
3354
|
+
# @param TaskId: 任务ID
|
3355
|
+
# @type TaskId: String
|
3356
|
+
# @param TopicName: 主题名称
|
3357
|
+
# @type TopicName: String
|
3358
|
+
# @param IgnoreCheck: 是否忽略当前检查
|
3359
|
+
# @type IgnoreCheck: Boolean
|
3360
|
+
# @param Namespace: 命名空间,仅4.x集群有效
|
3361
|
+
# @type Namespace: String
|
3362
|
+
|
3363
|
+
attr_accessor :TaskId, :TopicName, :IgnoreCheck, :Namespace
|
3364
|
+
|
3365
|
+
def initialize(taskid=nil, topicname=nil, ignorecheck=nil, namespace=nil)
|
3366
|
+
@TaskId = taskid
|
3367
|
+
@TopicName = topicname
|
3368
|
+
@IgnoreCheck = ignorecheck
|
3369
|
+
@Namespace = namespace
|
3370
|
+
end
|
3371
|
+
|
3372
|
+
def deserialize(params)
|
3373
|
+
@TaskId = params['TaskId']
|
3374
|
+
@TopicName = params['TopicName']
|
3375
|
+
@IgnoreCheck = params['IgnoreCheck']
|
3376
|
+
@Namespace = params['Namespace']
|
3377
|
+
end
|
3378
|
+
end
|
3379
|
+
|
3380
|
+
# DoHealthCheckOnMigratingTopic返回参数结构体
|
3381
|
+
class DoHealthCheckOnMigratingTopicResponse < TencentCloud::Common::AbstractModel
|
3382
|
+
# @param Passed: 是否通过
|
3383
|
+
# @type Passed: Boolean
|
3384
|
+
# @param Reason: 健康检查返回的错误信息
|
3385
|
+
# NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
|
3386
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3387
|
+
# @type Reason: String
|
3388
|
+
# @param ReasonList: 健康检查返回的错误信息列表
|
3389
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3390
|
+
# @type ReasonList: Array
|
3391
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3392
|
+
# @type RequestId: String
|
3393
|
+
|
3394
|
+
attr_accessor :Passed, :Reason, :ReasonList, :RequestId
|
3395
|
+
|
3396
|
+
def initialize(passed=nil, reason=nil, reasonlist=nil, requestid=nil)
|
3397
|
+
@Passed = passed
|
3398
|
+
@Reason = reason
|
3399
|
+
@ReasonList = reasonlist
|
3400
|
+
@RequestId = requestid
|
3401
|
+
end
|
3402
|
+
|
3403
|
+
def deserialize(params)
|
3404
|
+
@Passed = params['Passed']
|
3405
|
+
@Reason = params['Reason']
|
3406
|
+
@ReasonList = params['ReasonList']
|
3407
|
+
@RequestId = params['RequestId']
|
3408
|
+
end
|
3409
|
+
end
|
3410
|
+
|
3005
3411
|
# 接入点信息
|
3006
3412
|
class Endpoint < TencentCloud::Common::AbstractModel
|
3007
3413
|
# @param Type: 接入点类型,枚举值如下
|
@@ -3941,6 +4347,43 @@ module TencentCloud
|
|
3941
4347
|
end
|
3942
4348
|
end
|
3943
4349
|
|
4350
|
+
# 迁移中的主题
|
4351
|
+
class MigratingTopic < TencentCloud::Common::AbstractModel
|
4352
|
+
# @param TopicName: 主题名称
|
4353
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4354
|
+
# @type TopicName: String
|
4355
|
+
# @param MigrationStatus: 迁移状态 S_RW_D_NA 源集群读写 S_RW_D_R 源集群读写目标集群读 S_RW_D_RW 源集群读写目标集群读写 S_R_D_RW 源集群读目标集群读写 S_NA_D_RW 目标集群读写
|
4356
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4357
|
+
# @type MigrationStatus: String
|
4358
|
+
# @param HealthCheckPassed: 是否完成健康检查
|
4359
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4360
|
+
# @type HealthCheckPassed: Boolean
|
4361
|
+
# @param HealthCheckError: 上次健康检查返回的错误信息,仅在HealthCheckPassed为false时有效。 NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
|
4362
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4363
|
+
# @type HealthCheckError: String
|
4364
|
+
# @param Namespace: 命名空间,仅4.x集群有效
|
4365
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4366
|
+
# @type Namespace: String
|
4367
|
+
|
4368
|
+
attr_accessor :TopicName, :MigrationStatus, :HealthCheckPassed, :HealthCheckError, :Namespace
|
4369
|
+
|
4370
|
+
def initialize(topicname=nil, migrationstatus=nil, healthcheckpassed=nil, healthcheckerror=nil, namespace=nil)
|
4371
|
+
@TopicName = topicname
|
4372
|
+
@MigrationStatus = migrationstatus
|
4373
|
+
@HealthCheckPassed = healthcheckpassed
|
4374
|
+
@HealthCheckError = healthcheckerror
|
4375
|
+
@Namespace = namespace
|
4376
|
+
end
|
4377
|
+
|
4378
|
+
def deserialize(params)
|
4379
|
+
@TopicName = params['TopicName']
|
4380
|
+
@MigrationStatus = params['MigrationStatus']
|
4381
|
+
@HealthCheckPassed = params['HealthCheckPassed']
|
4382
|
+
@HealthCheckError = params['HealthCheckError']
|
4383
|
+
@Namespace = params['Namespace']
|
4384
|
+
end
|
4385
|
+
end
|
4386
|
+
|
3944
4387
|
# ModifyConsumerGroup请求参数结构体
|
3945
4388
|
class ModifyConsumerGroupRequest < TencentCloud::Common::AbstractModel
|
3946
4389
|
# @param InstanceId: 集群ID
|
@@ -4603,6 +5046,46 @@ module TencentCloud
|
|
4603
5046
|
end
|
4604
5047
|
end
|
4605
5048
|
|
5049
|
+
# RemoveMigratingTopic请求参数结构体
|
5050
|
+
class RemoveMigratingTopicRequest < TencentCloud::Common::AbstractModel
|
5051
|
+
# @param TaskId: 任务ID
|
5052
|
+
# @type TaskId: String
|
5053
|
+
# @param TopicName: 主题名称
|
5054
|
+
# @type TopicName: String
|
5055
|
+
# @param Namespace: 命名空间,仅迁移至4.x集群有效
|
5056
|
+
# @type Namespace: String
|
5057
|
+
|
5058
|
+
attr_accessor :TaskId, :TopicName, :Namespace
|
5059
|
+
|
5060
|
+
def initialize(taskid=nil, topicname=nil, namespace=nil)
|
5061
|
+
@TaskId = taskid
|
5062
|
+
@TopicName = topicname
|
5063
|
+
@Namespace = namespace
|
5064
|
+
end
|
5065
|
+
|
5066
|
+
def deserialize(params)
|
5067
|
+
@TaskId = params['TaskId']
|
5068
|
+
@TopicName = params['TopicName']
|
5069
|
+
@Namespace = params['Namespace']
|
5070
|
+
end
|
5071
|
+
end
|
5072
|
+
|
5073
|
+
# RemoveMigratingTopic返回参数结构体
|
5074
|
+
class RemoveMigratingTopicResponse < TencentCloud::Common::AbstractModel
|
5075
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5076
|
+
# @type RequestId: String
|
5077
|
+
|
5078
|
+
attr_accessor :RequestId
|
5079
|
+
|
5080
|
+
def initialize(requestid=nil)
|
5081
|
+
@RequestId = requestid
|
5082
|
+
end
|
5083
|
+
|
5084
|
+
def deserialize(params)
|
5085
|
+
@RequestId = params['RequestId']
|
5086
|
+
end
|
5087
|
+
end
|
5088
|
+
|
4606
5089
|
# ResendDeadLetterMessage请求参数结构体
|
4607
5090
|
class ResendDeadLetterMessageRequest < TencentCloud::Common::AbstractModel
|
4608
5091
|
# @param InstanceId: 集群ID
|
@@ -4752,6 +5235,46 @@ module TencentCloud
|
|
4752
5235
|
end
|
4753
5236
|
end
|
4754
5237
|
|
5238
|
+
# RollbackMigratingTopicStage请求参数结构体
|
5239
|
+
class RollbackMigratingTopicStageRequest < TencentCloud::Common::AbstractModel
|
5240
|
+
# @param TaskId: 任务ID
|
5241
|
+
# @type TaskId: String
|
5242
|
+
# @param TopicName: 主题名称
|
5243
|
+
# @type TopicName: String
|
5244
|
+
# @param Namespace: 命名空间,仅4.x集群有效
|
5245
|
+
# @type Namespace: String
|
5246
|
+
|
5247
|
+
attr_accessor :TaskId, :TopicName, :Namespace
|
5248
|
+
|
5249
|
+
def initialize(taskid=nil, topicname=nil, namespace=nil)
|
5250
|
+
@TaskId = taskid
|
5251
|
+
@TopicName = topicname
|
5252
|
+
@Namespace = namespace
|
5253
|
+
end
|
5254
|
+
|
5255
|
+
def deserialize(params)
|
5256
|
+
@TaskId = params['TaskId']
|
5257
|
+
@TopicName = params['TopicName']
|
5258
|
+
@Namespace = params['Namespace']
|
5259
|
+
end
|
5260
|
+
end
|
5261
|
+
|
5262
|
+
# RollbackMigratingTopicStage返回参数结构体
|
5263
|
+
class RollbackMigratingTopicStageResponse < TencentCloud::Common::AbstractModel
|
5264
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5265
|
+
# @type RequestId: String
|
5266
|
+
|
5267
|
+
attr_accessor :RequestId
|
5268
|
+
|
5269
|
+
def initialize(requestid=nil)
|
5270
|
+
@RequestId = requestid
|
5271
|
+
end
|
5272
|
+
|
5273
|
+
def deserialize(params)
|
5274
|
+
@RequestId = params['RequestId']
|
5275
|
+
end
|
5276
|
+
end
|
5277
|
+
|
4755
5278
|
# 消费组配置信息
|
4756
5279
|
class SourceClusterGroupConfig < TencentCloud::Common::AbstractModel
|
4757
5280
|
# @param GroupName: 消费组名称
|
@@ -5138,6 +5661,33 @@ module TencentCloud
|
|
5138
5661
|
end
|
5139
5662
|
end
|
5140
5663
|
|
5664
|
+
# 迁移主题修改状态后的结果
|
5665
|
+
class TopicStageChangeResult < TencentCloud::Common::AbstractModel
|
5666
|
+
# @param TopicName: 主题名称
|
5667
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5668
|
+
# @type TopicName: String
|
5669
|
+
# @param Success: 是否成功
|
5670
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5671
|
+
# @type Success: Boolean
|
5672
|
+
# @param Namespace: 命名空间,仅4.x有效
|
5673
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5674
|
+
# @type Namespace: String
|
5675
|
+
|
5676
|
+
attr_accessor :TopicName, :Success, :Namespace
|
5677
|
+
|
5678
|
+
def initialize(topicname=nil, success=nil, namespace=nil)
|
5679
|
+
@TopicName = topicname
|
5680
|
+
@Success = success
|
5681
|
+
@Namespace = namespace
|
5682
|
+
end
|
5683
|
+
|
5684
|
+
def deserialize(params)
|
5685
|
+
@TopicName = params['TopicName']
|
5686
|
+
@Success = params['Success']
|
5687
|
+
@Namespace = params['Namespace']
|
5688
|
+
end
|
5689
|
+
end
|
5690
|
+
|
5141
5691
|
# VPC信息
|
5142
5692
|
class VpcInfo < TencentCloud::Common::AbstractModel
|
5143
5693
|
# @param VpcId: VPC ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1041
|
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-04-
|
11
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|