tencentcloud-sdk-trocket 3.0.1040 → 3.0.1042
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 +224 -0
- data/lib/v20230308/models.rb +561 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cabcdc7071f193377531301f1b1a75c8734c6b21
|
4
|
+
data.tar.gz: 4ece00aceabe6498bdbcee8c777de8e06cd52ad9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c81e08617d3b9256143e030ac7506670e911c005045ce8c99192a9c635113f55f54fb64d10711b9291b04816f02c681884626188aebbf8c288e16eec9bc2675
|
7
|
+
data.tar.gz: 03e3b2bf0d222de41c6e3a69762b69aebfbd45fffa1e2f40b27b096d7e1c25e00dc61c23d9bea02674a5d17cdcf620423898d6d396f6d2925d4578601fced55c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1042
|
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、Namespace查询
|
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,36 @@ 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
|
+
# Namespace,命名空间
|
1149
|
+
|
1150
|
+
# @param request: Request instance for DescribeSourceClusterGroupList.
|
1151
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeSourceClusterGroupListRequest`
|
1152
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeSourceClusterGroupListResponse`
|
1153
|
+
def DescribeSourceClusterGroupList(request)
|
1154
|
+
body = send_request('DescribeSourceClusterGroupList', request.serialize)
|
1155
|
+
response = JSON.parse(body)
|
1156
|
+
if response['Response'].key?('Error') == false
|
1157
|
+
model = DescribeSourceClusterGroupListResponse.new
|
1158
|
+
model.deserialize(response['Response'])
|
1159
|
+
model
|
1160
|
+
else
|
1161
|
+
code = response['Response']['Error']['Code']
|
1162
|
+
message = response['Response']['Error']['Message']
|
1163
|
+
reqid = response['Response']['RequestId']
|
1164
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1165
|
+
end
|
1166
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1167
|
+
raise e
|
1168
|
+
rescue StandardError => e
|
1169
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1170
|
+
end
|
1171
|
+
|
1020
1172
|
# 查询主题详情,Offset和Limit参数是指订阅该主题的消费组查询分页参数,Filter参数使用说明如下:
|
1021
1173
|
|
1022
1174
|
# ConsumerGroup,消费组名称过滤
|
@@ -1096,6 +1248,30 @@ module TencentCloud
|
|
1096
1248
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1097
1249
|
end
|
1098
1250
|
|
1251
|
+
# 检查迁移中的主题是否处于正常状态,只有处于正常状态的主题,才可以进入下一个迁移阶段
|
1252
|
+
|
1253
|
+
# @param request: Request instance for DoHealthCheckOnMigratingTopic.
|
1254
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DoHealthCheckOnMigratingTopicRequest`
|
1255
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DoHealthCheckOnMigratingTopicResponse`
|
1256
|
+
def DoHealthCheckOnMigratingTopic(request)
|
1257
|
+
body = send_request('DoHealthCheckOnMigratingTopic', request.serialize)
|
1258
|
+
response = JSON.parse(body)
|
1259
|
+
if response['Response'].key?('Error') == false
|
1260
|
+
model = DoHealthCheckOnMigratingTopicResponse.new
|
1261
|
+
model.deserialize(response['Response'])
|
1262
|
+
model
|
1263
|
+
else
|
1264
|
+
code = response['Response']['Error']['Code']
|
1265
|
+
message = response['Response']['Error']['Message']
|
1266
|
+
reqid = response['Response']['RequestId']
|
1267
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1268
|
+
end
|
1269
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1270
|
+
raise e
|
1271
|
+
rescue StandardError => e
|
1272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1273
|
+
end
|
1274
|
+
|
1099
1275
|
# 导入消费者组列表
|
1100
1276
|
|
1101
1277
|
# @param request: Request instance for ImportSourceClusterConsumerGroups.
|
@@ -1385,6 +1561,30 @@ module TencentCloud
|
|
1385
1561
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1386
1562
|
end
|
1387
1563
|
|
1564
|
+
# 从迁移列表中移除主题,仅当主题处于初始状态时有效
|
1565
|
+
|
1566
|
+
# @param request: Request instance for RemoveMigratingTopic.
|
1567
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::RemoveMigratingTopicRequest`
|
1568
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::RemoveMigratingTopicResponse`
|
1569
|
+
def RemoveMigratingTopic(request)
|
1570
|
+
body = send_request('RemoveMigratingTopic', request.serialize)
|
1571
|
+
response = JSON.parse(body)
|
1572
|
+
if response['Response'].key?('Error') == false
|
1573
|
+
model = RemoveMigratingTopicResponse.new
|
1574
|
+
model.deserialize(response['Response'])
|
1575
|
+
model
|
1576
|
+
else
|
1577
|
+
code = response['Response']['Error']['Code']
|
1578
|
+
message = response['Response']['Error']['Message']
|
1579
|
+
reqid = response['Response']['RequestId']
|
1580
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1581
|
+
end
|
1582
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1583
|
+
raise e
|
1584
|
+
rescue StandardError => e
|
1585
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1586
|
+
end
|
1587
|
+
|
1388
1588
|
# 重新发送死信消息
|
1389
1589
|
|
1390
1590
|
# @param request: Request instance for ResendDeadLetterMessage.
|
@@ -1433,6 +1633,30 @@ module TencentCloud
|
|
1433
1633
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1434
1634
|
end
|
1435
1635
|
|
1636
|
+
# 回滚正在迁移的主题至前一个阶段
|
1637
|
+
|
1638
|
+
# @param request: Request instance for RollbackMigratingTopicStage.
|
1639
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::RollbackMigratingTopicStageRequest`
|
1640
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::RollbackMigratingTopicStageResponse`
|
1641
|
+
def RollbackMigratingTopicStage(request)
|
1642
|
+
body = send_request('RollbackMigratingTopicStage', request.serialize)
|
1643
|
+
response = JSON.parse(body)
|
1644
|
+
if response['Response'].key?('Error') == false
|
1645
|
+
model = RollbackMigratingTopicStageResponse.new
|
1646
|
+
model.deserialize(response['Response'])
|
1647
|
+
model
|
1648
|
+
else
|
1649
|
+
code = response['Response']['Error']['Code']
|
1650
|
+
message = response['Response']['Error']['Message']
|
1651
|
+
reqid = response['Response']['RequestId']
|
1652
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1653
|
+
end
|
1654
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1655
|
+
raise e
|
1656
|
+
rescue StandardError => e
|
1657
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1658
|
+
end
|
1659
|
+
|
1436
1660
|
|
1437
1661
|
end
|
1438
1662
|
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
|
@@ -87,15 +138,18 @@ module TencentCloud
|
|
87
138
|
# @param ConsumerLag: 客户端消费堆积
|
88
139
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
89
140
|
# @type ConsumerLag: Integer
|
141
|
+
# @param ChannelProtocol: 消费者客户端类型(grpc;remoting;http)
|
142
|
+
# @type ChannelProtocol: String
|
90
143
|
|
91
|
-
attr_accessor :ClientId, :ClientAddr, :Language, :Version, :ConsumerLag
|
144
|
+
attr_accessor :ClientId, :ClientAddr, :Language, :Version, :ConsumerLag, :ChannelProtocol
|
92
145
|
|
93
|
-
def initialize(clientid=nil, clientaddr=nil, language=nil, version=nil, consumerlag=nil)
|
146
|
+
def initialize(clientid=nil, clientaddr=nil, language=nil, version=nil, consumerlag=nil, channelprotocol=nil)
|
94
147
|
@ClientId = clientid
|
95
148
|
@ClientAddr = clientaddr
|
96
149
|
@Language = language
|
97
150
|
@Version = version
|
98
151
|
@ConsumerLag = consumerlag
|
152
|
+
@ChannelProtocol = channelprotocol
|
99
153
|
end
|
100
154
|
|
101
155
|
def deserialize(params)
|
@@ -104,6 +158,7 @@ module TencentCloud
|
|
104
158
|
@Language = params['Language']
|
105
159
|
@Version = params['Version']
|
106
160
|
@ConsumerLag = params['ConsumerLag']
|
161
|
+
@ChannelProtocol = params['ChannelProtocol']
|
107
162
|
end
|
108
163
|
end
|
109
164
|
|
@@ -932,6 +987,38 @@ module TencentCloud
|
|
932
987
|
end
|
933
988
|
end
|
934
989
|
|
990
|
+
# DeleteSmoothMigrationTask请求参数结构体
|
991
|
+
class DeleteSmoothMigrationTaskRequest < TencentCloud::Common::AbstractModel
|
992
|
+
# @param TaskId: 任务ID
|
993
|
+
# @type TaskId: String
|
994
|
+
|
995
|
+
attr_accessor :TaskId
|
996
|
+
|
997
|
+
def initialize(taskid=nil)
|
998
|
+
@TaskId = taskid
|
999
|
+
end
|
1000
|
+
|
1001
|
+
def deserialize(params)
|
1002
|
+
@TaskId = params['TaskId']
|
1003
|
+
end
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
# DeleteSmoothMigrationTask返回参数结构体
|
1007
|
+
class DeleteSmoothMigrationTaskResponse < TencentCloud::Common::AbstractModel
|
1008
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1009
|
+
# @type RequestId: String
|
1010
|
+
|
1011
|
+
attr_accessor :RequestId
|
1012
|
+
|
1013
|
+
def initialize(requestid=nil)
|
1014
|
+
@RequestId = requestid
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
def deserialize(params)
|
1018
|
+
@RequestId = params['RequestId']
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
|
935
1022
|
# DeleteTopic请求参数结构体
|
936
1023
|
class DeleteTopicRequest < TencentCloud::Common::AbstractModel
|
937
1024
|
# @param InstanceId: 集群ID
|
@@ -2624,6 +2711,198 @@ module TencentCloud
|
|
2624
2711
|
end
|
2625
2712
|
end
|
2626
2713
|
|
2714
|
+
# DescribeMigratingGroupStats请求参数结构体
|
2715
|
+
class DescribeMigratingGroupStatsRequest < TencentCloud::Common::AbstractModel
|
2716
|
+
# @param TaskId: 迁移任务ID
|
2717
|
+
# @type TaskId: String
|
2718
|
+
# @param GroupName: 消费组名称
|
2719
|
+
# @type GroupName: String
|
2720
|
+
# @param Namespace: 命名空间
|
2721
|
+
# @type Namespace: String
|
2722
|
+
|
2723
|
+
attr_accessor :TaskId, :GroupName, :Namespace
|
2724
|
+
|
2725
|
+
def initialize(taskid=nil, groupname=nil, namespace=nil)
|
2726
|
+
@TaskId = taskid
|
2727
|
+
@GroupName = groupname
|
2728
|
+
@Namespace = namespace
|
2729
|
+
end
|
2730
|
+
|
2731
|
+
def deserialize(params)
|
2732
|
+
@TaskId = params['TaskId']
|
2733
|
+
@GroupName = params['GroupName']
|
2734
|
+
@Namespace = params['Namespace']
|
2735
|
+
end
|
2736
|
+
end
|
2737
|
+
|
2738
|
+
# DescribeMigratingGroupStats返回参数结构体
|
2739
|
+
class DescribeMigratingGroupStatsResponse < TencentCloud::Common::AbstractModel
|
2740
|
+
# @param SourceConsumeLag: 源集群消费组堆积
|
2741
|
+
# @type SourceConsumeLag: Integer
|
2742
|
+
# @param TargetConsumeLag: 目标集群消费组堆积
|
2743
|
+
# @type TargetConsumeLag: Integer
|
2744
|
+
# @param SourceConsumerClients: 源集群连接客户端列表
|
2745
|
+
# @type SourceConsumerClients: Array
|
2746
|
+
# @param TargetConsumerClients: 目标集群连接客户端列表
|
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 TaskId: 任务ID
|
2787
|
+
# @type TaskId: String
|
2788
|
+
# @param Filters: 查询条件列表
|
2789
|
+
# @type Filters: Array
|
2790
|
+
# @param Offset: 查询起始位置
|
2791
|
+
# @type Offset: Integer
|
2792
|
+
# @param Limit: 查询结果限制数量
|
2793
|
+
# @type Limit: Integer
|
2794
|
+
|
2795
|
+
attr_accessor :TaskId, :Filters, :Offset, :Limit
|
2796
|
+
|
2797
|
+
def initialize(taskid=nil, filters=nil, offset=nil, limit=nil)
|
2798
|
+
@TaskId = taskid
|
2799
|
+
@Filters = filters
|
2800
|
+
@Offset = offset
|
2801
|
+
@Limit = limit
|
2802
|
+
end
|
2803
|
+
|
2804
|
+
def deserialize(params)
|
2805
|
+
@TaskId = params['TaskId']
|
2806
|
+
unless params['Filters'].nil?
|
2807
|
+
@Filters = []
|
2808
|
+
params['Filters'].each do |i|
|
2809
|
+
filter_tmp = Filter.new
|
2810
|
+
filter_tmp.deserialize(i)
|
2811
|
+
@Filters << filter_tmp
|
2812
|
+
end
|
2813
|
+
end
|
2814
|
+
@Offset = params['Offset']
|
2815
|
+
@Limit = params['Limit']
|
2816
|
+
end
|
2817
|
+
end
|
2818
|
+
|
2819
|
+
# DescribeMigratingTopicList返回参数结构体
|
2820
|
+
class DescribeMigratingTopicListResponse < TencentCloud::Common::AbstractModel
|
2821
|
+
# @param TotalCount: 查询总数
|
2822
|
+
# @type TotalCount: Integer
|
2823
|
+
# @param MigrateTopics: 主题列表
|
2824
|
+
# @type MigrateTopics: Array
|
2825
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2826
|
+
# @type RequestId: String
|
2827
|
+
|
2828
|
+
attr_accessor :TotalCount, :MigrateTopics, :RequestId
|
2829
|
+
|
2830
|
+
def initialize(totalcount=nil, migratetopics=nil, requestid=nil)
|
2831
|
+
@TotalCount = totalcount
|
2832
|
+
@MigrateTopics = migratetopics
|
2833
|
+
@RequestId = requestid
|
2834
|
+
end
|
2835
|
+
|
2836
|
+
def deserialize(params)
|
2837
|
+
@TotalCount = params['TotalCount']
|
2838
|
+
unless params['MigrateTopics'].nil?
|
2839
|
+
@MigrateTopics = []
|
2840
|
+
params['MigrateTopics'].each do |i|
|
2841
|
+
migratingtopic_tmp = MigratingTopic.new
|
2842
|
+
migratingtopic_tmp.deserialize(i)
|
2843
|
+
@MigrateTopics << migratingtopic_tmp
|
2844
|
+
end
|
2845
|
+
end
|
2846
|
+
@RequestId = params['RequestId']
|
2847
|
+
end
|
2848
|
+
end
|
2849
|
+
|
2850
|
+
# DescribeMigratingTopicStats请求参数结构体
|
2851
|
+
class DescribeMigratingTopicStatsRequest < TencentCloud::Common::AbstractModel
|
2852
|
+
# @param TaskId: 任务ID
|
2853
|
+
# @type TaskId: String
|
2854
|
+
# @param TopicName: 主题名称
|
2855
|
+
# @type TopicName: String
|
2856
|
+
# @param Namespace: 命名空间,仅4.x集群有效
|
2857
|
+
# @type Namespace: String
|
2858
|
+
|
2859
|
+
attr_accessor :TaskId, :TopicName, :Namespace
|
2860
|
+
|
2861
|
+
def initialize(taskid=nil, topicname=nil, namespace=nil)
|
2862
|
+
@TaskId = taskid
|
2863
|
+
@TopicName = topicname
|
2864
|
+
@Namespace = namespace
|
2865
|
+
end
|
2866
|
+
|
2867
|
+
def deserialize(params)
|
2868
|
+
@TaskId = params['TaskId']
|
2869
|
+
@TopicName = params['TopicName']
|
2870
|
+
@Namespace = params['Namespace']
|
2871
|
+
end
|
2872
|
+
end
|
2873
|
+
|
2874
|
+
# DescribeMigratingTopicStats返回参数结构体
|
2875
|
+
class DescribeMigratingTopicStatsResponse < TencentCloud::Common::AbstractModel
|
2876
|
+
# @param SourceClusterConsumerCount: 源集群的消费者数量
|
2877
|
+
# @type SourceClusterConsumerCount: Integer
|
2878
|
+
# @param TargetClusterConsumerCount: 目标集群的消费者数量
|
2879
|
+
# @type TargetClusterConsumerCount: Integer
|
2880
|
+
# @param SourceClusterConsumerGroups: 源集群消费组列表
|
2881
|
+
# @type SourceClusterConsumerGroups: Array
|
2882
|
+
# @param TargetClusterConsumerGroups: 目标集群消费组列表
|
2883
|
+
# @type TargetClusterConsumerGroups: Array
|
2884
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2885
|
+
# @type RequestId: String
|
2886
|
+
|
2887
|
+
attr_accessor :SourceClusterConsumerCount, :TargetClusterConsumerCount, :SourceClusterConsumerGroups, :TargetClusterConsumerGroups, :RequestId
|
2888
|
+
|
2889
|
+
def initialize(sourceclusterconsumercount=nil, targetclusterconsumercount=nil, sourceclusterconsumergroups=nil, targetclusterconsumergroups=nil, requestid=nil)
|
2890
|
+
@SourceClusterConsumerCount = sourceclusterconsumercount
|
2891
|
+
@TargetClusterConsumerCount = targetclusterconsumercount
|
2892
|
+
@SourceClusterConsumerGroups = sourceclusterconsumergroups
|
2893
|
+
@TargetClusterConsumerGroups = targetclusterconsumergroups
|
2894
|
+
@RequestId = requestid
|
2895
|
+
end
|
2896
|
+
|
2897
|
+
def deserialize(params)
|
2898
|
+
@SourceClusterConsumerCount = params['SourceClusterConsumerCount']
|
2899
|
+
@TargetClusterConsumerCount = params['TargetClusterConsumerCount']
|
2900
|
+
@SourceClusterConsumerGroups = params['SourceClusterConsumerGroups']
|
2901
|
+
@TargetClusterConsumerGroups = params['TargetClusterConsumerGroups']
|
2902
|
+
@RequestId = params['RequestId']
|
2903
|
+
end
|
2904
|
+
end
|
2905
|
+
|
2627
2906
|
# DescribeProductSKUs请求参数结构体
|
2628
2907
|
class DescribeProductSKUsRequest < TencentCloud::Common::AbstractModel
|
2629
2908
|
|
@@ -2730,6 +3009,72 @@ module TencentCloud
|
|
2730
3009
|
end
|
2731
3010
|
end
|
2732
3011
|
|
3012
|
+
# DescribeSourceClusterGroupList请求参数结构体
|
3013
|
+
class DescribeSourceClusterGroupListRequest < TencentCloud::Common::AbstractModel
|
3014
|
+
# @param TaskId: 任务ID
|
3015
|
+
# @type TaskId: String
|
3016
|
+
# @param Filters: 查询条件列表
|
3017
|
+
# @type Filters: Array
|
3018
|
+
# @param Offset: 查询起始位置
|
3019
|
+
# @type Offset: Integer
|
3020
|
+
# @param Limit: 查询结果限制数量
|
3021
|
+
# @type Limit: Integer
|
3022
|
+
|
3023
|
+
attr_accessor :TaskId, :Filters, :Offset, :Limit
|
3024
|
+
|
3025
|
+
def initialize(taskid=nil, filters=nil, offset=nil, limit=nil)
|
3026
|
+
@TaskId = taskid
|
3027
|
+
@Filters = filters
|
3028
|
+
@Offset = offset
|
3029
|
+
@Limit = limit
|
3030
|
+
end
|
3031
|
+
|
3032
|
+
def deserialize(params)
|
3033
|
+
@TaskId = params['TaskId']
|
3034
|
+
unless params['Filters'].nil?
|
3035
|
+
@Filters = []
|
3036
|
+
params['Filters'].each do |i|
|
3037
|
+
filter_tmp = Filter.new
|
3038
|
+
filter_tmp.deserialize(i)
|
3039
|
+
@Filters << filter_tmp
|
3040
|
+
end
|
3041
|
+
end
|
3042
|
+
@Offset = params['Offset']
|
3043
|
+
@Limit = params['Limit']
|
3044
|
+
end
|
3045
|
+
end
|
3046
|
+
|
3047
|
+
# DescribeSourceClusterGroupList返回参数结构体
|
3048
|
+
class DescribeSourceClusterGroupListResponse < TencentCloud::Common::AbstractModel
|
3049
|
+
# @param TotalCount: 查询总数
|
3050
|
+
# @type TotalCount: Integer
|
3051
|
+
# @param Groups: 消费组配置列表
|
3052
|
+
# @type Groups: Array
|
3053
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3054
|
+
# @type RequestId: String
|
3055
|
+
|
3056
|
+
attr_accessor :TotalCount, :Groups, :RequestId
|
3057
|
+
|
3058
|
+
def initialize(totalcount=nil, groups=nil, requestid=nil)
|
3059
|
+
@TotalCount = totalcount
|
3060
|
+
@Groups = groups
|
3061
|
+
@RequestId = requestid
|
3062
|
+
end
|
3063
|
+
|
3064
|
+
def deserialize(params)
|
3065
|
+
@TotalCount = params['TotalCount']
|
3066
|
+
unless params['Groups'].nil?
|
3067
|
+
@Groups = []
|
3068
|
+
params['Groups'].each do |i|
|
3069
|
+
sourceclustergroupconfig_tmp = SourceClusterGroupConfig.new
|
3070
|
+
sourceclustergroupconfig_tmp.deserialize(i)
|
3071
|
+
@Groups << sourceclustergroupconfig_tmp
|
3072
|
+
end
|
3073
|
+
end
|
3074
|
+
@RequestId = params['RequestId']
|
3075
|
+
end
|
3076
|
+
end
|
3077
|
+
|
2733
3078
|
# DescribeTopicListByGroup请求参数结构体
|
2734
3079
|
class DescribeTopicListByGroupRequest < TencentCloud::Common::AbstractModel
|
2735
3080
|
# @param InstanceId: 集群ID
|
@@ -3002,6 +3347,65 @@ module TencentCloud
|
|
3002
3347
|
end
|
3003
3348
|
end
|
3004
3349
|
|
3350
|
+
# DoHealthCheckOnMigratingTopic请求参数结构体
|
3351
|
+
class DoHealthCheckOnMigratingTopicRequest < TencentCloud::Common::AbstractModel
|
3352
|
+
# @param TaskId: 任务ID
|
3353
|
+
# @type TaskId: String
|
3354
|
+
# @param TopicName: 主题名称
|
3355
|
+
# @type TopicName: String
|
3356
|
+
# @param IgnoreCheck: 是否忽略当前检查
|
3357
|
+
# @type IgnoreCheck: Boolean
|
3358
|
+
# @param Namespace: 命名空间,仅4.x集群有效
|
3359
|
+
# @type Namespace: String
|
3360
|
+
|
3361
|
+
attr_accessor :TaskId, :TopicName, :IgnoreCheck, :Namespace
|
3362
|
+
|
3363
|
+
def initialize(taskid=nil, topicname=nil, ignorecheck=nil, namespace=nil)
|
3364
|
+
@TaskId = taskid
|
3365
|
+
@TopicName = topicname
|
3366
|
+
@IgnoreCheck = ignorecheck
|
3367
|
+
@Namespace = namespace
|
3368
|
+
end
|
3369
|
+
|
3370
|
+
def deserialize(params)
|
3371
|
+
@TaskId = params['TaskId']
|
3372
|
+
@TopicName = params['TopicName']
|
3373
|
+
@IgnoreCheck = params['IgnoreCheck']
|
3374
|
+
@Namespace = params['Namespace']
|
3375
|
+
end
|
3376
|
+
end
|
3377
|
+
|
3378
|
+
# DoHealthCheckOnMigratingTopic返回参数结构体
|
3379
|
+
class DoHealthCheckOnMigratingTopicResponse < TencentCloud::Common::AbstractModel
|
3380
|
+
# @param Passed: 是否通过
|
3381
|
+
# @type Passed: Boolean
|
3382
|
+
# @param Reason: 健康检查返回的错误信息
|
3383
|
+
# NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
|
3384
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3385
|
+
# @type Reason: String
|
3386
|
+
# @param ReasonList: 健康检查返回的错误信息列表
|
3387
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3388
|
+
# @type ReasonList: Array
|
3389
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3390
|
+
# @type RequestId: String
|
3391
|
+
|
3392
|
+
attr_accessor :Passed, :Reason, :ReasonList, :RequestId
|
3393
|
+
|
3394
|
+
def initialize(passed=nil, reason=nil, reasonlist=nil, requestid=nil)
|
3395
|
+
@Passed = passed
|
3396
|
+
@Reason = reason
|
3397
|
+
@ReasonList = reasonlist
|
3398
|
+
@RequestId = requestid
|
3399
|
+
end
|
3400
|
+
|
3401
|
+
def deserialize(params)
|
3402
|
+
@Passed = params['Passed']
|
3403
|
+
@Reason = params['Reason']
|
3404
|
+
@ReasonList = params['ReasonList']
|
3405
|
+
@RequestId = params['RequestId']
|
3406
|
+
end
|
3407
|
+
end
|
3408
|
+
|
3005
3409
|
# 接入点信息
|
3006
3410
|
class Endpoint < TencentCloud::Common::AbstractModel
|
3007
3411
|
# @param Type: 接入点类型,枚举值如下
|
@@ -3941,6 +4345,57 @@ module TencentCloud
|
|
3941
4345
|
end
|
3942
4346
|
end
|
3943
4347
|
|
4348
|
+
# 迁移中的主题
|
4349
|
+
class MigratingTopic < TencentCloud::Common::AbstractModel
|
4350
|
+
# @param TopicName: 主题名称
|
4351
|
+
# @type TopicName: String
|
4352
|
+
# @param MigrationStatus: 迁移状态 S_RW_D_NA 源集群读写 S_RW_D_R 源集群读写目标集群读 S_RW_D_RW 源集群读写目标集群读写 S_R_D_RW 源集群读目标集群读写 S_NA_D_RW 目标集群读写
|
4353
|
+
# @type MigrationStatus: String
|
4354
|
+
# @param HealthCheckPassed: 是否完成健康检查
|
4355
|
+
# @type HealthCheckPassed: Boolean
|
4356
|
+
# @param HealthCheckError: 上次健康检查返回的错误信息,仅在HealthCheckPassed为false时有效。 NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
|
4357
|
+
# @type HealthCheckError: String
|
4358
|
+
# @param Namespace: 命名空间,仅4.x集群有效
|
4359
|
+
# @type Namespace: String
|
4360
|
+
# @param NamespaceV4: 4.x的命名空间
|
4361
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4362
|
+
# @type NamespaceV4: String
|
4363
|
+
# @param TopicNameV4: 4.x的主题名称
|
4364
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4365
|
+
# @type TopicNameV4: String
|
4366
|
+
# @param FullNamespaceV4: 4.x的完整命名空间
|
4367
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4368
|
+
# @type FullNamespaceV4: String
|
4369
|
+
# @param HealthCheckErrorList: 上次健康检查返回的错误列表
|
4370
|
+
# @type HealthCheckErrorList: Array
|
4371
|
+
|
4372
|
+
attr_accessor :TopicName, :MigrationStatus, :HealthCheckPassed, :HealthCheckError, :Namespace, :NamespaceV4, :TopicNameV4, :FullNamespaceV4, :HealthCheckErrorList
|
4373
|
+
|
4374
|
+
def initialize(topicname=nil, migrationstatus=nil, healthcheckpassed=nil, healthcheckerror=nil, namespace=nil, namespacev4=nil, topicnamev4=nil, fullnamespacev4=nil, healthcheckerrorlist=nil)
|
4375
|
+
@TopicName = topicname
|
4376
|
+
@MigrationStatus = migrationstatus
|
4377
|
+
@HealthCheckPassed = healthcheckpassed
|
4378
|
+
@HealthCheckError = healthcheckerror
|
4379
|
+
@Namespace = namespace
|
4380
|
+
@NamespaceV4 = namespacev4
|
4381
|
+
@TopicNameV4 = topicnamev4
|
4382
|
+
@FullNamespaceV4 = fullnamespacev4
|
4383
|
+
@HealthCheckErrorList = healthcheckerrorlist
|
4384
|
+
end
|
4385
|
+
|
4386
|
+
def deserialize(params)
|
4387
|
+
@TopicName = params['TopicName']
|
4388
|
+
@MigrationStatus = params['MigrationStatus']
|
4389
|
+
@HealthCheckPassed = params['HealthCheckPassed']
|
4390
|
+
@HealthCheckError = params['HealthCheckError']
|
4391
|
+
@Namespace = params['Namespace']
|
4392
|
+
@NamespaceV4 = params['NamespaceV4']
|
4393
|
+
@TopicNameV4 = params['TopicNameV4']
|
4394
|
+
@FullNamespaceV4 = params['FullNamespaceV4']
|
4395
|
+
@HealthCheckErrorList = params['HealthCheckErrorList']
|
4396
|
+
end
|
4397
|
+
end
|
4398
|
+
|
3944
4399
|
# ModifyConsumerGroup请求参数结构体
|
3945
4400
|
class ModifyConsumerGroupRequest < TencentCloud::Common::AbstractModel
|
3946
4401
|
# @param InstanceId: 集群ID
|
@@ -4603,6 +5058,46 @@ module TencentCloud
|
|
4603
5058
|
end
|
4604
5059
|
end
|
4605
5060
|
|
5061
|
+
# RemoveMigratingTopic请求参数结构体
|
5062
|
+
class RemoveMigratingTopicRequest < TencentCloud::Common::AbstractModel
|
5063
|
+
# @param TaskId: 任务ID
|
5064
|
+
# @type TaskId: String
|
5065
|
+
# @param TopicName: 主题名称
|
5066
|
+
# @type TopicName: String
|
5067
|
+
# @param Namespace: 命名空间,仅迁移至4.x集群有效
|
5068
|
+
# @type Namespace: String
|
5069
|
+
|
5070
|
+
attr_accessor :TaskId, :TopicName, :Namespace
|
5071
|
+
|
5072
|
+
def initialize(taskid=nil, topicname=nil, namespace=nil)
|
5073
|
+
@TaskId = taskid
|
5074
|
+
@TopicName = topicname
|
5075
|
+
@Namespace = namespace
|
5076
|
+
end
|
5077
|
+
|
5078
|
+
def deserialize(params)
|
5079
|
+
@TaskId = params['TaskId']
|
5080
|
+
@TopicName = params['TopicName']
|
5081
|
+
@Namespace = params['Namespace']
|
5082
|
+
end
|
5083
|
+
end
|
5084
|
+
|
5085
|
+
# RemoveMigratingTopic返回参数结构体
|
5086
|
+
class RemoveMigratingTopicResponse < TencentCloud::Common::AbstractModel
|
5087
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5088
|
+
# @type RequestId: String
|
5089
|
+
|
5090
|
+
attr_accessor :RequestId
|
5091
|
+
|
5092
|
+
def initialize(requestid=nil)
|
5093
|
+
@RequestId = requestid
|
5094
|
+
end
|
5095
|
+
|
5096
|
+
def deserialize(params)
|
5097
|
+
@RequestId = params['RequestId']
|
5098
|
+
end
|
5099
|
+
end
|
5100
|
+
|
4606
5101
|
# ResendDeadLetterMessage请求参数结构体
|
4607
5102
|
class ResendDeadLetterMessageRequest < TencentCloud::Common::AbstractModel
|
4608
5103
|
# @param InstanceId: 集群ID
|
@@ -4752,6 +5247,46 @@ module TencentCloud
|
|
4752
5247
|
end
|
4753
5248
|
end
|
4754
5249
|
|
5250
|
+
# RollbackMigratingTopicStage请求参数结构体
|
5251
|
+
class RollbackMigratingTopicStageRequest < TencentCloud::Common::AbstractModel
|
5252
|
+
# @param TaskId: 任务ID
|
5253
|
+
# @type TaskId: String
|
5254
|
+
# @param TopicName: 主题名称
|
5255
|
+
# @type TopicName: String
|
5256
|
+
# @param Namespace: 命名空间,仅4.x集群有效
|
5257
|
+
# @type Namespace: String
|
5258
|
+
|
5259
|
+
attr_accessor :TaskId, :TopicName, :Namespace
|
5260
|
+
|
5261
|
+
def initialize(taskid=nil, topicname=nil, namespace=nil)
|
5262
|
+
@TaskId = taskid
|
5263
|
+
@TopicName = topicname
|
5264
|
+
@Namespace = namespace
|
5265
|
+
end
|
5266
|
+
|
5267
|
+
def deserialize(params)
|
5268
|
+
@TaskId = params['TaskId']
|
5269
|
+
@TopicName = params['TopicName']
|
5270
|
+
@Namespace = params['Namespace']
|
5271
|
+
end
|
5272
|
+
end
|
5273
|
+
|
5274
|
+
# RollbackMigratingTopicStage返回参数结构体
|
5275
|
+
class RollbackMigratingTopicStageResponse < TencentCloud::Common::AbstractModel
|
5276
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5277
|
+
# @type RequestId: String
|
5278
|
+
|
5279
|
+
attr_accessor :RequestId
|
5280
|
+
|
5281
|
+
def initialize(requestid=nil)
|
5282
|
+
@RequestId = requestid
|
5283
|
+
end
|
5284
|
+
|
5285
|
+
def deserialize(params)
|
5286
|
+
@RequestId = params['RequestId']
|
5287
|
+
end
|
5288
|
+
end
|
5289
|
+
|
4755
5290
|
# 消费组配置信息
|
4756
5291
|
class SourceClusterGroupConfig < TencentCloud::Common::AbstractModel
|
4757
5292
|
# @param GroupName: 消费组名称
|
@@ -5138,6 +5673,30 @@ module TencentCloud
|
|
5138
5673
|
end
|
5139
5674
|
end
|
5140
5675
|
|
5676
|
+
# 迁移主题修改状态后的结果
|
5677
|
+
class TopicStageChangeResult < TencentCloud::Common::AbstractModel
|
5678
|
+
# @param TopicName: 主题名称
|
5679
|
+
# @type TopicName: String
|
5680
|
+
# @param Success: 是否成功
|
5681
|
+
# @type Success: Boolean
|
5682
|
+
# @param Namespace: 命名空间,仅4.x有效
|
5683
|
+
# @type Namespace: String
|
5684
|
+
|
5685
|
+
attr_accessor :TopicName, :Success, :Namespace
|
5686
|
+
|
5687
|
+
def initialize(topicname=nil, success=nil, namespace=nil)
|
5688
|
+
@TopicName = topicname
|
5689
|
+
@Success = success
|
5690
|
+
@Namespace = namespace
|
5691
|
+
end
|
5692
|
+
|
5693
|
+
def deserialize(params)
|
5694
|
+
@TopicName = params['TopicName']
|
5695
|
+
@Success = params['Success']
|
5696
|
+
@Namespace = params['Namespace']
|
5697
|
+
end
|
5698
|
+
end
|
5699
|
+
|
5141
5700
|
# VPC信息
|
5142
5701
|
class VpcInfo < TencentCloud::Common::AbstractModel
|
5143
5702
|
# @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.1042
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
+
- lib/tencentcloud-sdk-trocket.rb
|
36
37
|
- lib/v20230308/client.rb
|
37
38
|
- lib/v20230308/models.rb
|
38
|
-
- lib/tencentcloud-sdk-trocket.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|