tencentcloud-sdk-tdmq 3.0.677 → 3.0.679
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/v20200217/client.rb +168 -0
- data/lib/v20200217/models.rb +771 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c903e468d36d26b9716267a58f0f4ca88e59a2fc
|
4
|
+
data.tar.gz: f0bc326c3eb9b732865ba43ec4c300245c12cfce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6089fd87944c2086103ad0c243b160af604270f5cd00232d7f3a107eb99a9245fe995e8443bd27e6495763401d6933795f9fd6fb968e3da4ea295c3b19e46d62
|
7
|
+
data.tar.gz: e8e85450d002f2ab8f5e1b42a61ee84aa203a3ee4c551aafa6b1ce82c7711ce84f3cdc1d2d7d62308e111ebb4a52dae3020293f3852539c1e01e534585f63d93
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.679
|
data/lib/v20200217/client.rb
CHANGED
@@ -1637,6 +1637,30 @@ module TencentCloud
|
|
1637
1637
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1638
1638
|
end
|
1639
1639
|
|
1640
|
+
# 查询Topic迁移状态列表,源集群和目标集群客户端数量信息需要配合DescribeRocketMQSmoothMigrationTaskTopicInsNum接口查询
|
1641
|
+
|
1642
|
+
# @param request: Request instance for DescribeRocketMQMigratingTopicList.
|
1643
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQMigratingTopicListRequest`
|
1644
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQMigratingTopicListResponse`
|
1645
|
+
def DescribeRocketMQMigratingTopicList(request)
|
1646
|
+
body = send_request('DescribeRocketMQMigratingTopicList', request.serialize)
|
1647
|
+
response = JSON.parse(body)
|
1648
|
+
if response['Response'].key?('Error') == false
|
1649
|
+
model = DescribeRocketMQMigratingTopicListResponse.new
|
1650
|
+
model.deserialize(response['Response'])
|
1651
|
+
model
|
1652
|
+
else
|
1653
|
+
code = response['Response']['Error']['Code']
|
1654
|
+
message = response['Response']['Error']['Message']
|
1655
|
+
reqid = response['Response']['RequestId']
|
1656
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1657
|
+
end
|
1658
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1659
|
+
raise e
|
1660
|
+
rescue StandardError => e
|
1661
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1662
|
+
end
|
1663
|
+
|
1640
1664
|
# rocketmq消息详情
|
1641
1665
|
|
1642
1666
|
# @param request: Request instance for DescribeRocketMQMsg.
|
@@ -1733,6 +1757,102 @@ module TencentCloud
|
|
1733
1757
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1734
1758
|
end
|
1735
1759
|
|
1760
|
+
# 用于获取RocketMQ平滑迁移任务详情
|
1761
|
+
|
1762
|
+
# @param request: Request instance for DescribeRocketMQSmoothMigrationTask.
|
1763
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskRequest`
|
1764
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskResponse`
|
1765
|
+
def DescribeRocketMQSmoothMigrationTask(request)
|
1766
|
+
body = send_request('DescribeRocketMQSmoothMigrationTask', request.serialize)
|
1767
|
+
response = JSON.parse(body)
|
1768
|
+
if response['Response'].key?('Error') == false
|
1769
|
+
model = DescribeRocketMQSmoothMigrationTaskResponse.new
|
1770
|
+
model.deserialize(response['Response'])
|
1771
|
+
model
|
1772
|
+
else
|
1773
|
+
code = response['Response']['Error']['Code']
|
1774
|
+
message = response['Response']['Error']['Message']
|
1775
|
+
reqid = response['Response']['RequestId']
|
1776
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1777
|
+
end
|
1778
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1779
|
+
raise e
|
1780
|
+
rescue StandardError => e
|
1781
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1782
|
+
end
|
1783
|
+
|
1784
|
+
# 用于查询RocketMQ平滑迁移任务列表
|
1785
|
+
|
1786
|
+
# @param request: Request instance for DescribeRocketMQSmoothMigrationTaskList.
|
1787
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListRequest`
|
1788
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListResponse`
|
1789
|
+
def DescribeRocketMQSmoothMigrationTaskList(request)
|
1790
|
+
body = send_request('DescribeRocketMQSmoothMigrationTaskList', request.serialize)
|
1791
|
+
response = JSON.parse(body)
|
1792
|
+
if response['Response'].key?('Error') == false
|
1793
|
+
model = DescribeRocketMQSmoothMigrationTaskListResponse.new
|
1794
|
+
model.deserialize(response['Response'])
|
1795
|
+
model
|
1796
|
+
else
|
1797
|
+
code = response['Response']['Error']['Code']
|
1798
|
+
message = response['Response']['Error']['Message']
|
1799
|
+
reqid = response['Response']['RequestId']
|
1800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1801
|
+
end
|
1802
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1803
|
+
raise e
|
1804
|
+
rescue StandardError => e
|
1805
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
# 平滑迁移过程获取源集群group列表接口
|
1809
|
+
|
1810
|
+
# @param request: Request instance for DescribeRocketMQSourceClusterGroupList.
|
1811
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterGroupListRequest`
|
1812
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterGroupListResponse`
|
1813
|
+
def DescribeRocketMQSourceClusterGroupList(request)
|
1814
|
+
body = send_request('DescribeRocketMQSourceClusterGroupList', request.serialize)
|
1815
|
+
response = JSON.parse(body)
|
1816
|
+
if response['Response'].key?('Error') == false
|
1817
|
+
model = DescribeRocketMQSourceClusterGroupListResponse.new
|
1818
|
+
model.deserialize(response['Response'])
|
1819
|
+
model
|
1820
|
+
else
|
1821
|
+
code = response['Response']['Error']['Code']
|
1822
|
+
message = response['Response']['Error']['Message']
|
1823
|
+
reqid = response['Response']['RequestId']
|
1824
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1825
|
+
end
|
1826
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1827
|
+
raise e
|
1828
|
+
rescue StandardError => e
|
1829
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
# 平滑迁移过程获取源集群topic列表接口
|
1833
|
+
|
1834
|
+
# @param request: Request instance for DescribeRocketMQSourceClusterTopicList.
|
1835
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterTopicListRequest`
|
1836
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterTopicListResponse`
|
1837
|
+
def DescribeRocketMQSourceClusterTopicList(request)
|
1838
|
+
body = send_request('DescribeRocketMQSourceClusterTopicList', request.serialize)
|
1839
|
+
response = JSON.parse(body)
|
1840
|
+
if response['Response'].key?('Error') == false
|
1841
|
+
model = DescribeRocketMQSourceClusterTopicListResponse.new
|
1842
|
+
model.deserialize(response['Response'])
|
1843
|
+
model
|
1844
|
+
else
|
1845
|
+
code = response['Response']['Error']['Code']
|
1846
|
+
message = response['Response']['Error']['Message']
|
1847
|
+
reqid = response['Response']['RequestId']
|
1848
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1849
|
+
end
|
1850
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1851
|
+
raise e
|
1852
|
+
rescue StandardError => e
|
1853
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1854
|
+
end
|
1855
|
+
|
1736
1856
|
# rocketmq 消息查询
|
1737
1857
|
|
1738
1858
|
# @param request: Request instance for DescribeRocketMQTopicMsgs.
|
@@ -1901,6 +2021,54 @@ module TencentCloud
|
|
1901
2021
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1902
2022
|
end
|
1903
2023
|
|
2024
|
+
# 输入迁移任务id和要导入的Group,导入后台
|
2025
|
+
|
2026
|
+
# @param request: Request instance for ImportRocketMQConsumerGroups.
|
2027
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::ImportRocketMQConsumerGroupsRequest`
|
2028
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ImportRocketMQConsumerGroupsResponse`
|
2029
|
+
def ImportRocketMQConsumerGroups(request)
|
2030
|
+
body = send_request('ImportRocketMQConsumerGroups', request.serialize)
|
2031
|
+
response = JSON.parse(body)
|
2032
|
+
if response['Response'].key?('Error') == false
|
2033
|
+
model = ImportRocketMQConsumerGroupsResponse.new
|
2034
|
+
model.deserialize(response['Response'])
|
2035
|
+
model
|
2036
|
+
else
|
2037
|
+
code = response['Response']['Error']['Code']
|
2038
|
+
message = response['Response']['Error']['Message']
|
2039
|
+
reqid = response['Response']['RequestId']
|
2040
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2041
|
+
end
|
2042
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2043
|
+
raise e
|
2044
|
+
rescue StandardError => e
|
2045
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2046
|
+
end
|
2047
|
+
|
2048
|
+
# 导入topic列表
|
2049
|
+
|
2050
|
+
# @param request: Request instance for ImportRocketMQTopics.
|
2051
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::ImportRocketMQTopicsRequest`
|
2052
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ImportRocketMQTopicsResponse`
|
2053
|
+
def ImportRocketMQTopics(request)
|
2054
|
+
body = send_request('ImportRocketMQTopics', request.serialize)
|
2055
|
+
response = JSON.parse(body)
|
2056
|
+
if response['Response'].key?('Error') == false
|
2057
|
+
model = ImportRocketMQTopicsResponse.new
|
2058
|
+
model.deserialize(response['Response'])
|
2059
|
+
model
|
2060
|
+
else
|
2061
|
+
code = response['Response']['Error']['Code']
|
2062
|
+
message = response['Response']['Error']['Message']
|
2063
|
+
reqid = response['Response']['RequestId']
|
2064
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2065
|
+
end
|
2066
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2067
|
+
raise e
|
2068
|
+
rescue StandardError => e
|
2069
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2070
|
+
end
|
2071
|
+
|
1904
2072
|
# 更新Amqp集群信息
|
1905
2073
|
|
1906
2074
|
# @param request: Request instance for ModifyAMQPCluster.
|
data/lib/v20200217/models.rb
CHANGED
@@ -4678,6 +4678,72 @@ module TencentCloud
|
|
4678
4678
|
end
|
4679
4679
|
end
|
4680
4680
|
|
4681
|
+
# DescribeRocketMQMigratingTopicList请求参数结构体
|
4682
|
+
class DescribeRocketMQMigratingTopicListRequest < TencentCloud::Common::AbstractModel
|
4683
|
+
# @param TaskId: 迁移任务名称
|
4684
|
+
# @type TaskId: String
|
4685
|
+
# @param Limit: 分页大小
|
4686
|
+
# @type Limit: Integer
|
4687
|
+
# @param Offset: 偏移量
|
4688
|
+
# @type Offset: Integer
|
4689
|
+
# @param Filters: 查询过滤器,支持topicname、MigrationStatus查询
|
4690
|
+
# @type Filters: Array
|
4691
|
+
|
4692
|
+
attr_accessor :TaskId, :Limit, :Offset, :Filters
|
4693
|
+
|
4694
|
+
def initialize(taskid=nil, limit=nil, offset=nil, filters=nil)
|
4695
|
+
@TaskId = taskid
|
4696
|
+
@Limit = limit
|
4697
|
+
@Offset = offset
|
4698
|
+
@Filters = filters
|
4699
|
+
end
|
4700
|
+
|
4701
|
+
def deserialize(params)
|
4702
|
+
@TaskId = params['TaskId']
|
4703
|
+
@Limit = params['Limit']
|
4704
|
+
@Offset = params['Offset']
|
4705
|
+
unless params['Filters'].nil?
|
4706
|
+
@Filters = []
|
4707
|
+
params['Filters'].each do |i|
|
4708
|
+
filter_tmp = Filter.new
|
4709
|
+
filter_tmp.deserialize(i)
|
4710
|
+
@Filters << filter_tmp
|
4711
|
+
end
|
4712
|
+
end
|
4713
|
+
end
|
4714
|
+
end
|
4715
|
+
|
4716
|
+
# DescribeRocketMQMigratingTopicList返回参数结构体
|
4717
|
+
class DescribeRocketMQMigratingTopicListResponse < TencentCloud::Common::AbstractModel
|
4718
|
+
# @param TotalCount: 总条数
|
4719
|
+
# @type TotalCount: Integer
|
4720
|
+
# @param MigrateTopics: 迁移topic列表
|
4721
|
+
# @type MigrateTopics: Array
|
4722
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4723
|
+
# @type RequestId: String
|
4724
|
+
|
4725
|
+
attr_accessor :TotalCount, :MigrateTopics, :RequestId
|
4726
|
+
|
4727
|
+
def initialize(totalcount=nil, migratetopics=nil, requestid=nil)
|
4728
|
+
@TotalCount = totalcount
|
4729
|
+
@MigrateTopics = migratetopics
|
4730
|
+
@RequestId = requestid
|
4731
|
+
end
|
4732
|
+
|
4733
|
+
def deserialize(params)
|
4734
|
+
@TotalCount = params['TotalCount']
|
4735
|
+
unless params['MigrateTopics'].nil?
|
4736
|
+
@MigrateTopics = []
|
4737
|
+
params['MigrateTopics'].each do |i|
|
4738
|
+
migratetopic_tmp = MigrateTopic.new
|
4739
|
+
migratetopic_tmp.deserialize(i)
|
4740
|
+
@MigrateTopics << migratetopic_tmp
|
4741
|
+
end
|
4742
|
+
end
|
4743
|
+
@RequestId = params['RequestId']
|
4744
|
+
end
|
4745
|
+
end
|
4746
|
+
|
4681
4747
|
# DescribeRocketMQMsg请求参数结构体
|
4682
4748
|
class DescribeRocketMQMsgRequest < TencentCloud::Common::AbstractModel
|
4683
4749
|
# @param ClusterId: 集群id
|
@@ -5009,6 +5075,339 @@ module TencentCloud
|
|
5009
5075
|
end
|
5010
5076
|
end
|
5011
5077
|
|
5078
|
+
# DescribeRocketMQSmoothMigrationTaskList请求参数结构体
|
5079
|
+
class DescribeRocketMQSmoothMigrationTaskListRequest < TencentCloud::Common::AbstractModel
|
5080
|
+
# @param Offset: 查询起始偏移量
|
5081
|
+
# @type Offset: Integer
|
5082
|
+
# @param Limit: 查询最大数量
|
5083
|
+
# @type Limit: Integer
|
5084
|
+
# @param Filters: 查询过滤器,
|
5085
|
+
# 支持的字段如下
|
5086
|
+
# TaskStatus, 支持多选
|
5087
|
+
# ConnectionType,支持多选
|
5088
|
+
# ClusterId,精确搜索
|
5089
|
+
# TaskName,支持模糊搜索
|
5090
|
+
# @type Filters: Array
|
5091
|
+
|
5092
|
+
attr_accessor :Offset, :Limit, :Filters
|
5093
|
+
|
5094
|
+
def initialize(offset=nil, limit=nil, filters=nil)
|
5095
|
+
@Offset = offset
|
5096
|
+
@Limit = limit
|
5097
|
+
@Filters = filters
|
5098
|
+
end
|
5099
|
+
|
5100
|
+
def deserialize(params)
|
5101
|
+
@Offset = params['Offset']
|
5102
|
+
@Limit = params['Limit']
|
5103
|
+
unless params['Filters'].nil?
|
5104
|
+
@Filters = []
|
5105
|
+
params['Filters'].each do |i|
|
5106
|
+
filter_tmp = Filter.new
|
5107
|
+
filter_tmp.deserialize(i)
|
5108
|
+
@Filters << filter_tmp
|
5109
|
+
end
|
5110
|
+
end
|
5111
|
+
end
|
5112
|
+
end
|
5113
|
+
|
5114
|
+
# DescribeRocketMQSmoothMigrationTaskList返回参数结构体
|
5115
|
+
class DescribeRocketMQSmoothMigrationTaskListResponse < TencentCloud::Common::AbstractModel
|
5116
|
+
# @param TotalCount: 任务总数
|
5117
|
+
# @type TotalCount: Integer
|
5118
|
+
# @param Data: 任务列表
|
5119
|
+
# @type Data: Array
|
5120
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5121
|
+
# @type RequestId: String
|
5122
|
+
|
5123
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
5124
|
+
|
5125
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
5126
|
+
@TotalCount = totalcount
|
5127
|
+
@Data = data
|
5128
|
+
@RequestId = requestid
|
5129
|
+
end
|
5130
|
+
|
5131
|
+
def deserialize(params)
|
5132
|
+
@TotalCount = params['TotalCount']
|
5133
|
+
unless params['Data'].nil?
|
5134
|
+
@Data = []
|
5135
|
+
params['Data'].each do |i|
|
5136
|
+
rocketmqsmoothmigrationtaskitem_tmp = RocketMQSmoothMigrationTaskItem.new
|
5137
|
+
rocketmqsmoothmigrationtaskitem_tmp.deserialize(i)
|
5138
|
+
@Data << rocketmqsmoothmigrationtaskitem_tmp
|
5139
|
+
end
|
5140
|
+
end
|
5141
|
+
@RequestId = params['RequestId']
|
5142
|
+
end
|
5143
|
+
end
|
5144
|
+
|
5145
|
+
# DescribeRocketMQSmoothMigrationTask请求参数结构体
|
5146
|
+
class DescribeRocketMQSmoothMigrationTaskRequest < TencentCloud::Common::AbstractModel
|
5147
|
+
# @param TaskId: 任务ID
|
5148
|
+
# @type TaskId: String
|
5149
|
+
|
5150
|
+
attr_accessor :TaskId
|
5151
|
+
|
5152
|
+
def initialize(taskid=nil)
|
5153
|
+
@TaskId = taskid
|
5154
|
+
end
|
5155
|
+
|
5156
|
+
def deserialize(params)
|
5157
|
+
@TaskId = params['TaskId']
|
5158
|
+
end
|
5159
|
+
end
|
5160
|
+
|
5161
|
+
# DescribeRocketMQSmoothMigrationTask返回参数结构体
|
5162
|
+
class DescribeRocketMQSmoothMigrationTaskResponse < TencentCloud::Common::AbstractModel
|
5163
|
+
# @param TaskName: 任务名称
|
5164
|
+
# @type TaskName: String
|
5165
|
+
# @param ClusterId: 目标集群ID
|
5166
|
+
# @type ClusterId: String
|
5167
|
+
# @param SourceClusterName: 源集群名称
|
5168
|
+
# @type SourceClusterName: String
|
5169
|
+
# @param ConnectionType: 网络连接类型,
|
5170
|
+
# PUBLIC 公网
|
5171
|
+
# VPC 私有网络
|
5172
|
+
# OTHER 其它
|
5173
|
+
# @type ConnectionType: String
|
5174
|
+
# @param SourceClusterNameServer: 源集群NameServer地址
|
5175
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5176
|
+
# @type SourceClusterNameServer: String
|
5177
|
+
# @param VpcId: 源集群所在私有网络ID
|
5178
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5179
|
+
# @type VpcId: String
|
5180
|
+
# @param SubnetId: 源集群所在子网ID
|
5181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5182
|
+
# @type SubnetId: String
|
5183
|
+
# @param EnableACL: 是否开启ACL
|
5184
|
+
# @type EnableACL: Boolean
|
5185
|
+
# @param AccessKey: 源集群AccessKey
|
5186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5187
|
+
# @type AccessKey: String
|
5188
|
+
# @param SecretKey: 元集群SecretKey
|
5189
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5190
|
+
# @type SecretKey: String
|
5191
|
+
# @param TaskError: 配置源集群时发生的错误
|
5192
|
+
# TIMEOUT 连接超时,
|
5193
|
+
# SERVER_ERROR 服务错误,
|
5194
|
+
# INTERNAL_ERROR 内部错误,
|
5195
|
+
# CONNECT_NAMESERVER_ERROR 连接nameserver错误
|
5196
|
+
# CONNECT_BROKER_ERROR 连接broker错误
|
5197
|
+
# ACL_WRONG ACL信息不正确
|
5198
|
+
|
5199
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5200
|
+
# @type TaskError: String
|
5201
|
+
# @param TaskStatus: 任务状态
|
5202
|
+
# Configuration 迁移配置
|
5203
|
+
# SourceConnecting 连接源集群中
|
5204
|
+
# SourceConnectionFailure 连接源集群失败
|
5205
|
+
# MetaDataImport 元数据导入
|
5206
|
+
# EndpointSetup 切换接入点
|
5207
|
+
# ServiceMigration 切流中
|
5208
|
+
# Completed 已完成
|
5209
|
+
# Cancelled 已取消
|
5210
|
+
# @type TaskStatus: String
|
5211
|
+
# @param TaskId: 任务ID
|
5212
|
+
# @type TaskId: String
|
5213
|
+
# @param TopicTypeDistribution: 主题类型分布情况
|
5214
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5215
|
+
# @type TopicTypeDistribution: Array
|
5216
|
+
# @param TopicStageDistribution: 主题迁移进度分布情况
|
5217
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5218
|
+
# @type TopicStageDistribution: Array
|
5219
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5220
|
+
# @type RequestId: String
|
5221
|
+
|
5222
|
+
attr_accessor :TaskName, :ClusterId, :SourceClusterName, :ConnectionType, :SourceClusterNameServer, :VpcId, :SubnetId, :EnableACL, :AccessKey, :SecretKey, :TaskError, :TaskStatus, :TaskId, :TopicTypeDistribution, :TopicStageDistribution, :RequestId
|
5223
|
+
|
5224
|
+
def initialize(taskname=nil, clusterid=nil, sourceclustername=nil, connectiontype=nil, sourceclusternameserver=nil, vpcid=nil, subnetid=nil, enableacl=nil, accesskey=nil, secretkey=nil, taskerror=nil, taskstatus=nil, taskid=nil, topictypedistribution=nil, topicstagedistribution=nil, requestid=nil)
|
5225
|
+
@TaskName = taskname
|
5226
|
+
@ClusterId = clusterid
|
5227
|
+
@SourceClusterName = sourceclustername
|
5228
|
+
@ConnectionType = connectiontype
|
5229
|
+
@SourceClusterNameServer = sourceclusternameserver
|
5230
|
+
@VpcId = vpcid
|
5231
|
+
@SubnetId = subnetid
|
5232
|
+
@EnableACL = enableacl
|
5233
|
+
@AccessKey = accesskey
|
5234
|
+
@SecretKey = secretkey
|
5235
|
+
@TaskError = taskerror
|
5236
|
+
@TaskStatus = taskstatus
|
5237
|
+
@TaskId = taskid
|
5238
|
+
@TopicTypeDistribution = topictypedistribution
|
5239
|
+
@TopicStageDistribution = topicstagedistribution
|
5240
|
+
@RequestId = requestid
|
5241
|
+
end
|
5242
|
+
|
5243
|
+
def deserialize(params)
|
5244
|
+
@TaskName = params['TaskName']
|
5245
|
+
@ClusterId = params['ClusterId']
|
5246
|
+
@SourceClusterName = params['SourceClusterName']
|
5247
|
+
@ConnectionType = params['ConnectionType']
|
5248
|
+
@SourceClusterNameServer = params['SourceClusterNameServer']
|
5249
|
+
@VpcId = params['VpcId']
|
5250
|
+
@SubnetId = params['SubnetId']
|
5251
|
+
@EnableACL = params['EnableACL']
|
5252
|
+
@AccessKey = params['AccessKey']
|
5253
|
+
@SecretKey = params['SecretKey']
|
5254
|
+
@TaskError = params['TaskError']
|
5255
|
+
@TaskStatus = params['TaskStatus']
|
5256
|
+
@TaskId = params['TaskId']
|
5257
|
+
unless params['TopicTypeDistribution'].nil?
|
5258
|
+
@TopicTypeDistribution = []
|
5259
|
+
params['TopicTypeDistribution'].each do |i|
|
5260
|
+
rocketmqtopicdistribution_tmp = RocketMQTopicDistribution.new
|
5261
|
+
rocketmqtopicdistribution_tmp.deserialize(i)
|
5262
|
+
@TopicTypeDistribution << rocketmqtopicdistribution_tmp
|
5263
|
+
end
|
5264
|
+
end
|
5265
|
+
unless params['TopicStageDistribution'].nil?
|
5266
|
+
@TopicStageDistribution = []
|
5267
|
+
params['TopicStageDistribution'].each do |i|
|
5268
|
+
rocketmqmigrationtopicdistribution_tmp = RocketMQMigrationTopicDistribution.new
|
5269
|
+
rocketmqmigrationtopicdistribution_tmp.deserialize(i)
|
5270
|
+
@TopicStageDistribution << rocketmqmigrationtopicdistribution_tmp
|
5271
|
+
end
|
5272
|
+
end
|
5273
|
+
@RequestId = params['RequestId']
|
5274
|
+
end
|
5275
|
+
end
|
5276
|
+
|
5277
|
+
# DescribeRocketMQSourceClusterGroupList请求参数结构体
|
5278
|
+
class DescribeRocketMQSourceClusterGroupListRequest < TencentCloud::Common::AbstractModel
|
5279
|
+
# @param Limit: 页大小
|
5280
|
+
# @type Limit: Integer
|
5281
|
+
# @param Offset: 偏移量
|
5282
|
+
# @type Offset: Integer
|
5283
|
+
# @param TaskId: 迁移任务名称
|
5284
|
+
# @type TaskId: String
|
5285
|
+
# @param Filters: 查询过滤器,支持字段groupName,imported
|
5286
|
+
# @type Filters: Array
|
5287
|
+
|
5288
|
+
attr_accessor :Limit, :Offset, :TaskId, :Filters
|
5289
|
+
|
5290
|
+
def initialize(limit=nil, offset=nil, taskid=nil, filters=nil)
|
5291
|
+
@Limit = limit
|
5292
|
+
@Offset = offset
|
5293
|
+
@TaskId = taskid
|
5294
|
+
@Filters = filters
|
5295
|
+
end
|
5296
|
+
|
5297
|
+
def deserialize(params)
|
5298
|
+
@Limit = params['Limit']
|
5299
|
+
@Offset = params['Offset']
|
5300
|
+
@TaskId = params['TaskId']
|
5301
|
+
unless params['Filters'].nil?
|
5302
|
+
@Filters = []
|
5303
|
+
params['Filters'].each do |i|
|
5304
|
+
filter_tmp = Filter.new
|
5305
|
+
filter_tmp.deserialize(i)
|
5306
|
+
@Filters << filter_tmp
|
5307
|
+
end
|
5308
|
+
end
|
5309
|
+
end
|
5310
|
+
end
|
5311
|
+
|
5312
|
+
# DescribeRocketMQSourceClusterGroupList返回参数结构体
|
5313
|
+
class DescribeRocketMQSourceClusterGroupListResponse < TencentCloud::Common::AbstractModel
|
5314
|
+
# @param Groups: group列表
|
5315
|
+
# @type Groups: Array
|
5316
|
+
# @param TotalCount: 总条数
|
5317
|
+
# @type TotalCount: Integer
|
5318
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5319
|
+
# @type RequestId: String
|
5320
|
+
|
5321
|
+
attr_accessor :Groups, :TotalCount, :RequestId
|
5322
|
+
|
5323
|
+
def initialize(groups=nil, totalcount=nil, requestid=nil)
|
5324
|
+
@Groups = groups
|
5325
|
+
@TotalCount = totalcount
|
5326
|
+
@RequestId = requestid
|
5327
|
+
end
|
5328
|
+
|
5329
|
+
def deserialize(params)
|
5330
|
+
unless params['Groups'].nil?
|
5331
|
+
@Groups = []
|
5332
|
+
params['Groups'].each do |i|
|
5333
|
+
rocketmqgroupconfigoutput_tmp = RocketMQGroupConfigOutput.new
|
5334
|
+
rocketmqgroupconfigoutput_tmp.deserialize(i)
|
5335
|
+
@Groups << rocketmqgroupconfigoutput_tmp
|
5336
|
+
end
|
5337
|
+
end
|
5338
|
+
@TotalCount = params['TotalCount']
|
5339
|
+
@RequestId = params['RequestId']
|
5340
|
+
end
|
5341
|
+
end
|
5342
|
+
|
5343
|
+
# DescribeRocketMQSourceClusterTopicList请求参数结构体
|
5344
|
+
class DescribeRocketMQSourceClusterTopicListRequest < TencentCloud::Common::AbstractModel
|
5345
|
+
# @param Limit: 分页大小
|
5346
|
+
# @type Limit: Integer
|
5347
|
+
# @param Offset: 偏移量
|
5348
|
+
# @type Offset: Integer
|
5349
|
+
# @param TaskId: 迁移任务名
|
5350
|
+
# @type TaskId: String
|
5351
|
+
# @param Filters: 查询过滤器,支持字段如下
|
5352
|
+
# TopicName,
|
5353
|
+
# Type,Imported
|
5354
|
+
# @type Filters: Array
|
5355
|
+
|
5356
|
+
attr_accessor :Limit, :Offset, :TaskId, :Filters
|
5357
|
+
|
5358
|
+
def initialize(limit=nil, offset=nil, taskid=nil, filters=nil)
|
5359
|
+
@Limit = limit
|
5360
|
+
@Offset = offset
|
5361
|
+
@TaskId = taskid
|
5362
|
+
@Filters = filters
|
5363
|
+
end
|
5364
|
+
|
5365
|
+
def deserialize(params)
|
5366
|
+
@Limit = params['Limit']
|
5367
|
+
@Offset = params['Offset']
|
5368
|
+
@TaskId = params['TaskId']
|
5369
|
+
unless params['Filters'].nil?
|
5370
|
+
@Filters = []
|
5371
|
+
params['Filters'].each do |i|
|
5372
|
+
filter_tmp = Filter.new
|
5373
|
+
filter_tmp.deserialize(i)
|
5374
|
+
@Filters << filter_tmp
|
5375
|
+
end
|
5376
|
+
end
|
5377
|
+
end
|
5378
|
+
end
|
5379
|
+
|
5380
|
+
# DescribeRocketMQSourceClusterTopicList返回参数结构体
|
5381
|
+
class DescribeRocketMQSourceClusterTopicListResponse < TencentCloud::Common::AbstractModel
|
5382
|
+
# @param Topics: topic层列表
|
5383
|
+
# @type Topics: Array
|
5384
|
+
# @param TotalCount: 总条数
|
5385
|
+
# @type TotalCount: Integer
|
5386
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5387
|
+
# @type RequestId: String
|
5388
|
+
|
5389
|
+
attr_accessor :Topics, :TotalCount, :RequestId
|
5390
|
+
|
5391
|
+
def initialize(topics=nil, totalcount=nil, requestid=nil)
|
5392
|
+
@Topics = topics
|
5393
|
+
@TotalCount = totalcount
|
5394
|
+
@RequestId = requestid
|
5395
|
+
end
|
5396
|
+
|
5397
|
+
def deserialize(params)
|
5398
|
+
unless params['Topics'].nil?
|
5399
|
+
@Topics = []
|
5400
|
+
params['Topics'].each do |i|
|
5401
|
+
rocketmqtopicconfigoutput_tmp = RocketMQTopicConfigOutput.new
|
5402
|
+
rocketmqtopicconfigoutput_tmp.deserialize(i)
|
5403
|
+
@Topics << rocketmqtopicconfigoutput_tmp
|
5404
|
+
end
|
5405
|
+
end
|
5406
|
+
@TotalCount = params['TotalCount']
|
5407
|
+
@RequestId = params['RequestId']
|
5408
|
+
end
|
5409
|
+
end
|
5410
|
+
|
5012
5411
|
# DescribeRocketMQTopicMsgs请求参数结构体
|
5013
5412
|
class DescribeRocketMQTopicMsgsRequest < TencentCloud::Common::AbstractModel
|
5014
5413
|
# @param ClusterId: 集群 ID
|
@@ -5721,6 +6120,92 @@ module TencentCloud
|
|
5721
6120
|
end
|
5722
6121
|
end
|
5723
6122
|
|
6123
|
+
# ImportRocketMQConsumerGroups请求参数结构体
|
6124
|
+
class ImportRocketMQConsumerGroupsRequest < TencentCloud::Common::AbstractModel
|
6125
|
+
# @param Groups: 导入topic
|
6126
|
+
# @type Groups: Array
|
6127
|
+
# @param TaskId: 任务id
|
6128
|
+
# @type TaskId: String
|
6129
|
+
|
6130
|
+
attr_accessor :Groups, :TaskId
|
6131
|
+
|
6132
|
+
def initialize(groups=nil, taskid=nil)
|
6133
|
+
@Groups = groups
|
6134
|
+
@TaskId = taskid
|
6135
|
+
end
|
6136
|
+
|
6137
|
+
def deserialize(params)
|
6138
|
+
unless params['Groups'].nil?
|
6139
|
+
@Groups = []
|
6140
|
+
params['Groups'].each do |i|
|
6141
|
+
rocketmqgroupconfig_tmp = RocketMQGroupConfig.new
|
6142
|
+
rocketmqgroupconfig_tmp.deserialize(i)
|
6143
|
+
@Groups << rocketmqgroupconfig_tmp
|
6144
|
+
end
|
6145
|
+
end
|
6146
|
+
@TaskId = params['TaskId']
|
6147
|
+
end
|
6148
|
+
end
|
6149
|
+
|
6150
|
+
# ImportRocketMQConsumerGroups返回参数结构体
|
6151
|
+
class ImportRocketMQConsumerGroupsResponse < TencentCloud::Common::AbstractModel
|
6152
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6153
|
+
# @type RequestId: String
|
6154
|
+
|
6155
|
+
attr_accessor :RequestId
|
6156
|
+
|
6157
|
+
def initialize(requestid=nil)
|
6158
|
+
@RequestId = requestid
|
6159
|
+
end
|
6160
|
+
|
6161
|
+
def deserialize(params)
|
6162
|
+
@RequestId = params['RequestId']
|
6163
|
+
end
|
6164
|
+
end
|
6165
|
+
|
6166
|
+
# ImportRocketMQTopics请求参数结构体
|
6167
|
+
class ImportRocketMQTopicsRequest < TencentCloud::Common::AbstractModel
|
6168
|
+
# @param Topics: 导入topic
|
6169
|
+
# @type Topics: Array
|
6170
|
+
# @param TaskId: 任务ID
|
6171
|
+
# @type TaskId: String
|
6172
|
+
|
6173
|
+
attr_accessor :Topics, :TaskId
|
6174
|
+
|
6175
|
+
def initialize(topics=nil, taskid=nil)
|
6176
|
+
@Topics = topics
|
6177
|
+
@TaskId = taskid
|
6178
|
+
end
|
6179
|
+
|
6180
|
+
def deserialize(params)
|
6181
|
+
unless params['Topics'].nil?
|
6182
|
+
@Topics = []
|
6183
|
+
params['Topics'].each do |i|
|
6184
|
+
rocketmqtopicconfig_tmp = RocketMQTopicConfig.new
|
6185
|
+
rocketmqtopicconfig_tmp.deserialize(i)
|
6186
|
+
@Topics << rocketmqtopicconfig_tmp
|
6187
|
+
end
|
6188
|
+
end
|
6189
|
+
@TaskId = params['TaskId']
|
6190
|
+
end
|
6191
|
+
end
|
6192
|
+
|
6193
|
+
# ImportRocketMQTopics返回参数结构体
|
6194
|
+
class ImportRocketMQTopicsResponse < TencentCloud::Common::AbstractModel
|
6195
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6196
|
+
# @type RequestId: String
|
6197
|
+
|
6198
|
+
attr_accessor :RequestId
|
6199
|
+
|
6200
|
+
def initialize(requestid=nil)
|
6201
|
+
@RequestId = requestid
|
6202
|
+
end
|
6203
|
+
|
6204
|
+
def deserialize(params)
|
6205
|
+
@RequestId = params['RequestId']
|
6206
|
+
end
|
6207
|
+
end
|
6208
|
+
|
5724
6209
|
# 实例节点分布信息
|
5725
6210
|
class InstanceNodeDistribution < TencentCloud::Common::AbstractModel
|
5726
6211
|
# @param ZoneName: 可用区
|
@@ -5849,6 +6334,60 @@ module TencentCloud
|
|
5849
6334
|
end
|
5850
6335
|
end
|
5851
6336
|
|
6337
|
+
# 迁移topic列表数据
|
6338
|
+
class MigrateTopic < TencentCloud::Common::AbstractModel
|
6339
|
+
# @param Namespace: 命名空间
|
6340
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6341
|
+
# @type Namespace: String
|
6342
|
+
# @param TopicName: topic名称
|
6343
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6344
|
+
# @type TopicName: String
|
6345
|
+
# @param MigrationStatus: 迁移状态
|
6346
|
+
# S_RW_D_NA 源集群读写
|
6347
|
+
# S_RW_D_R 源集群读写目标集群读
|
6348
|
+
# S_RW_D_RW 源集群读写目标集群读写
|
6349
|
+
# S_R_D_RW 源集群读目标集群读写
|
6350
|
+
# S_NA_D_RW 目标集群读写
|
6351
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6352
|
+
# @type MigrationStatus: String
|
6353
|
+
# @param HealthCheckPassed: 是否完成健康检查
|
6354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6355
|
+
# @type HealthCheckPassed: Boolean
|
6356
|
+
# @param HealthCheckError: 上次健康检查返回的错误信息,仅在HealthCheckPassed为false时有效。
|
6357
|
+
# NotChecked 未执行检查,
|
6358
|
+
# Unknown 未知错误,
|
6359
|
+
# TopicNotImported 主题未导入,
|
6360
|
+
# TopicNotExistsInSourceCluster 主题在源集群中不存在,
|
6361
|
+
# TopicNotExistsInTargetCluster 主题在目标集群中不存在,
|
6362
|
+
# ConsumerConnectedOnTarget 目标集群上存在消费者连接,
|
6363
|
+
# SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入,
|
6364
|
+
# TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入,
|
6365
|
+
# SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入,
|
6366
|
+
# TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入,
|
6367
|
+
# ConsumerGroupCountNotMatch 订阅组数量不一致,
|
6368
|
+
# SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
|
6369
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6370
|
+
# @type HealthCheckError: String
|
6371
|
+
|
6372
|
+
attr_accessor :Namespace, :TopicName, :MigrationStatus, :HealthCheckPassed, :HealthCheckError
|
6373
|
+
|
6374
|
+
def initialize(namespace=nil, topicname=nil, migrationstatus=nil, healthcheckpassed=nil, healthcheckerror=nil)
|
6375
|
+
@Namespace = namespace
|
6376
|
+
@TopicName = topicname
|
6377
|
+
@MigrationStatus = migrationstatus
|
6378
|
+
@HealthCheckPassed = healthcheckpassed
|
6379
|
+
@HealthCheckError = healthcheckerror
|
6380
|
+
end
|
6381
|
+
|
6382
|
+
def deserialize(params)
|
6383
|
+
@Namespace = params['Namespace']
|
6384
|
+
@TopicName = params['TopicName']
|
6385
|
+
@MigrationStatus = params['MigrationStatus']
|
6386
|
+
@HealthCheckPassed = params['HealthCheckPassed']
|
6387
|
+
@HealthCheckError = params['HealthCheckError']
|
6388
|
+
end
|
6389
|
+
end
|
6390
|
+
|
5852
6391
|
# ModifyAMQPCluster请求参数结构体
|
5853
6392
|
class ModifyAMQPClusterRequest < TencentCloud::Common::AbstractModel
|
5854
6393
|
# @param ClusterId: 集群ID
|
@@ -8357,6 +8896,76 @@ module TencentCloud
|
|
8357
8896
|
end
|
8358
8897
|
end
|
8359
8898
|
|
8899
|
+
# RocketMQ消费组配置信息
|
8900
|
+
class RocketMQGroupConfig < TencentCloud::Common::AbstractModel
|
8901
|
+
# @param Namespace: 命名空间
|
8902
|
+
# @type Namespace: String
|
8903
|
+
# @param GroupName: 消费组名称
|
8904
|
+
# @type GroupName: String
|
8905
|
+
# @param ConsumeBroadcastEnable: 是否开启广播消费
|
8906
|
+
# @type ConsumeBroadcastEnable: Boolean
|
8907
|
+
# @param ConsumeEnable: 是否开启消费
|
8908
|
+
# @type ConsumeEnable: Boolean
|
8909
|
+
# @param Remark: 备注信息
|
8910
|
+
# @type Remark: String
|
8911
|
+
# @param ConsumerGroupType: 协议类型,支持以下枚举值
|
8912
|
+
# TCP;
|
8913
|
+
# HTTP;
|
8914
|
+
# @type ConsumerGroupType: String
|
8915
|
+
|
8916
|
+
attr_accessor :Namespace, :GroupName, :ConsumeBroadcastEnable, :ConsumeEnable, :Remark, :ConsumerGroupType
|
8917
|
+
|
8918
|
+
def initialize(namespace=nil, groupname=nil, consumebroadcastenable=nil, consumeenable=nil, remark=nil, consumergrouptype=nil)
|
8919
|
+
@Namespace = namespace
|
8920
|
+
@GroupName = groupname
|
8921
|
+
@ConsumeBroadcastEnable = consumebroadcastenable
|
8922
|
+
@ConsumeEnable = consumeenable
|
8923
|
+
@Remark = remark
|
8924
|
+
@ConsumerGroupType = consumergrouptype
|
8925
|
+
end
|
8926
|
+
|
8927
|
+
def deserialize(params)
|
8928
|
+
@Namespace = params['Namespace']
|
8929
|
+
@GroupName = params['GroupName']
|
8930
|
+
@ConsumeBroadcastEnable = params['ConsumeBroadcastEnable']
|
8931
|
+
@ConsumeEnable = params['ConsumeEnable']
|
8932
|
+
@Remark = params['Remark']
|
8933
|
+
@ConsumerGroupType = params['ConsumerGroupType']
|
8934
|
+
end
|
8935
|
+
end
|
8936
|
+
|
8937
|
+
# RocketMQ消费组配置信息
|
8938
|
+
class RocketMQGroupConfigOutput < TencentCloud::Common::AbstractModel
|
8939
|
+
# @param Namespace: 命名空间
|
8940
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8941
|
+
# @type Namespace: String
|
8942
|
+
# @param GroupName: 消费组名称
|
8943
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8944
|
+
# @type GroupName: String
|
8945
|
+
# @param Imported: 导入状态
|
8946
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8947
|
+
# @type Imported: Boolean
|
8948
|
+
# @param Remark: remark
|
8949
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8950
|
+
# @type Remark: String
|
8951
|
+
|
8952
|
+
attr_accessor :Namespace, :GroupName, :Imported, :Remark
|
8953
|
+
|
8954
|
+
def initialize(namespace=nil, groupname=nil, imported=nil, remark=nil)
|
8955
|
+
@Namespace = namespace
|
8956
|
+
@GroupName = groupname
|
8957
|
+
@Imported = imported
|
8958
|
+
@Remark = remark
|
8959
|
+
end
|
8960
|
+
|
8961
|
+
def deserialize(params)
|
8962
|
+
@Namespace = params['Namespace']
|
8963
|
+
@GroupName = params['GroupName']
|
8964
|
+
@Imported = params['Imported']
|
8965
|
+
@Remark = params['Remark']
|
8966
|
+
end
|
8967
|
+
end
|
8968
|
+
|
8360
8969
|
# RocketMQ专享集群实例配置
|
8361
8970
|
class RocketMQInstanceConfig < TencentCloud::Common::AbstractModel
|
8362
8971
|
# @param MaxTpsPerNamespace: 单命名空间TPS上线
|
@@ -8461,6 +9070,28 @@ module TencentCloud
|
|
8461
9070
|
end
|
8462
9071
|
end
|
8463
9072
|
|
9073
|
+
# 迁移主题的阶段分布
|
9074
|
+
class RocketMQMigrationTopicDistribution < TencentCloud::Common::AbstractModel
|
9075
|
+
# @param Stage: 迁移主题阶段
|
9076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9077
|
+
# @type Stage: String
|
9078
|
+
# @param Count: 数量
|
9079
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9080
|
+
# @type Count: Integer
|
9081
|
+
|
9082
|
+
attr_accessor :Stage, :Count
|
9083
|
+
|
9084
|
+
def initialize(stage=nil, count=nil)
|
9085
|
+
@Stage = stage
|
9086
|
+
@Count = count
|
9087
|
+
end
|
9088
|
+
|
9089
|
+
def deserialize(params)
|
9090
|
+
@Stage = params['Stage']
|
9091
|
+
@Count = params['Count']
|
9092
|
+
end
|
9093
|
+
end
|
9094
|
+
|
8464
9095
|
# rocketmq消息日志
|
8465
9096
|
class RocketMQMsgLog < TencentCloud::Common::AbstractModel
|
8466
9097
|
# @param MsgId: 消息id
|
@@ -8553,6 +9184,63 @@ module TencentCloud
|
|
8553
9184
|
end
|
8554
9185
|
end
|
8555
9186
|
|
9187
|
+
# RocketMQ平滑迁移任务
|
9188
|
+
class RocketMQSmoothMigrationTaskItem < TencentCloud::Common::AbstractModel
|
9189
|
+
# @param TaskId: 任务ID
|
9190
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9191
|
+
# @type TaskId: String
|
9192
|
+
# @param TaskName: 任务名称
|
9193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9194
|
+
# @type TaskName: String
|
9195
|
+
# @param SourceClusterName: 源集群名称
|
9196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9197
|
+
# @type SourceClusterName: String
|
9198
|
+
# @param ClusterId: 目标集群ID
|
9199
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9200
|
+
# @type ClusterId: String
|
9201
|
+
# @param ConnectionType: 网络连接类型,
|
9202
|
+
# PUBLIC 公网
|
9203
|
+
# VPC 私有网络
|
9204
|
+
# OTHER 其他
|
9205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9206
|
+
# @type ConnectionType: String
|
9207
|
+
# @param SourceNameServer: 源集群NameServer地址
|
9208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9209
|
+
# @type SourceNameServer: String
|
9210
|
+
# @param TaskStatus: 任务状态
|
9211
|
+
# Configuration 迁移配置
|
9212
|
+
# SourceConnecting 连接源集群中
|
9213
|
+
# MetaDataImport 元数据导入
|
9214
|
+
# EndpointSetup 切换接入点
|
9215
|
+
# ServiceMigration 切流中
|
9216
|
+
# Completed 已完成
|
9217
|
+
# Cancelled 已取消
|
9218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9219
|
+
# @type TaskStatus: String
|
9220
|
+
|
9221
|
+
attr_accessor :TaskId, :TaskName, :SourceClusterName, :ClusterId, :ConnectionType, :SourceNameServer, :TaskStatus
|
9222
|
+
|
9223
|
+
def initialize(taskid=nil, taskname=nil, sourceclustername=nil, clusterid=nil, connectiontype=nil, sourcenameserver=nil, taskstatus=nil)
|
9224
|
+
@TaskId = taskid
|
9225
|
+
@TaskName = taskname
|
9226
|
+
@SourceClusterName = sourceclustername
|
9227
|
+
@ClusterId = clusterid
|
9228
|
+
@ConnectionType = connectiontype
|
9229
|
+
@SourceNameServer = sourcenameserver
|
9230
|
+
@TaskStatus = taskstatus
|
9231
|
+
end
|
9232
|
+
|
9233
|
+
def deserialize(params)
|
9234
|
+
@TaskId = params['TaskId']
|
9235
|
+
@TaskName = params['TaskName']
|
9236
|
+
@SourceClusterName = params['SourceClusterName']
|
9237
|
+
@ClusterId = params['ClusterId']
|
9238
|
+
@ConnectionType = params['ConnectionType']
|
9239
|
+
@SourceNameServer = params['SourceNameServer']
|
9240
|
+
@TaskStatus = params['TaskStatus']
|
9241
|
+
end
|
9242
|
+
end
|
9243
|
+
|
8556
9244
|
# RocketMQ消费组订阅信息
|
8557
9245
|
class RocketMQSubscription < TencentCloud::Common::AbstractModel
|
8558
9246
|
# @param Topic: 主题名称
|
@@ -8707,6 +9395,89 @@ module TencentCloud
|
|
8707
9395
|
end
|
8708
9396
|
end
|
8709
9397
|
|
9398
|
+
# RocketMQ主题配置信息
|
9399
|
+
class RocketMQTopicConfig < TencentCloud::Common::AbstractModel
|
9400
|
+
# @param Namespace: 命名空间
|
9401
|
+
# @type Namespace: String
|
9402
|
+
# @param TopicName: 主题名称
|
9403
|
+
# @type TopicName: String
|
9404
|
+
# @param Type: 主题类型:
|
9405
|
+
# Normal,普通
|
9406
|
+
# PartitionedOrder, 分区顺序
|
9407
|
+
# Transaction,事务消息
|
9408
|
+
# DelayScheduled,延迟/定时消息
|
9409
|
+
# @type Type: String
|
9410
|
+
# @param Partitions: 分区个数
|
9411
|
+
# @type Partitions: Integer
|
9412
|
+
# @param Remark: 备注信息
|
9413
|
+
# @type Remark: String
|
9414
|
+
|
9415
|
+
attr_accessor :Namespace, :TopicName, :Type, :Partitions, :Remark
|
9416
|
+
|
9417
|
+
def initialize(namespace=nil, topicname=nil, type=nil, partitions=nil, remark=nil)
|
9418
|
+
@Namespace = namespace
|
9419
|
+
@TopicName = topicname
|
9420
|
+
@Type = type
|
9421
|
+
@Partitions = partitions
|
9422
|
+
@Remark = remark
|
9423
|
+
end
|
9424
|
+
|
9425
|
+
def deserialize(params)
|
9426
|
+
@Namespace = params['Namespace']
|
9427
|
+
@TopicName = params['TopicName']
|
9428
|
+
@Type = params['Type']
|
9429
|
+
@Partitions = params['Partitions']
|
9430
|
+
@Remark = params['Remark']
|
9431
|
+
end
|
9432
|
+
end
|
9433
|
+
|
9434
|
+
# RocketMQ主题配置信息
|
9435
|
+
class RocketMQTopicConfigOutput < TencentCloud::Common::AbstractModel
|
9436
|
+
# @param Namespace: 命名空间
|
9437
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9438
|
+
# @type Namespace: String
|
9439
|
+
# @param TopicName: 主题名称
|
9440
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9441
|
+
# @type TopicName: String
|
9442
|
+
# @param Type: 主题类型:
|
9443
|
+
# Normal,普通
|
9444
|
+
# GlobalOrder, 全局顺序
|
9445
|
+
# PartitionedOrder, 分区顺序
|
9446
|
+
# Transaction,事务消息
|
9447
|
+
# DelayScheduled,延迟/定时消息
|
9448
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9449
|
+
# @type Type: String
|
9450
|
+
# @param Partitions: 分区个数
|
9451
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9452
|
+
# @type Partitions: Integer
|
9453
|
+
# @param Remark: 备注信息
|
9454
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9455
|
+
# @type Remark: String
|
9456
|
+
# @param Imported: 是否导入
|
9457
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9458
|
+
# @type Imported: Boolean
|
9459
|
+
|
9460
|
+
attr_accessor :Namespace, :TopicName, :Type, :Partitions, :Remark, :Imported
|
9461
|
+
|
9462
|
+
def initialize(namespace=nil, topicname=nil, type=nil, partitions=nil, remark=nil, imported=nil)
|
9463
|
+
@Namespace = namespace
|
9464
|
+
@TopicName = topicname
|
9465
|
+
@Type = type
|
9466
|
+
@Partitions = partitions
|
9467
|
+
@Remark = remark
|
9468
|
+
@Imported = imported
|
9469
|
+
end
|
9470
|
+
|
9471
|
+
def deserialize(params)
|
9472
|
+
@Namespace = params['Namespace']
|
9473
|
+
@TopicName = params['TopicName']
|
9474
|
+
@Type = params['Type']
|
9475
|
+
@Partitions = params['Partitions']
|
9476
|
+
@Remark = params['Remark']
|
9477
|
+
@Imported = params['Imported']
|
9478
|
+
end
|
9479
|
+
end
|
9480
|
+
|
8710
9481
|
# RocketMQtopic分布情况
|
8711
9482
|
class RocketMQTopicDistribution < TencentCloud::Common::AbstractModel
|
8712
9483
|
# @param TopicType: topic类型
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tdmq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.679
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-18 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-tdmq.rb
|
37
|
-
- lib/v20200217/client.rb
|
38
36
|
- lib/v20200217/models.rb
|
37
|
+
- lib/v20200217/client.rb
|
38
|
+
- lib/tencentcloud-sdk-tdmq.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|