tencentcloud-sdk-tdmq 3.0.678 → 3.0.680

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cb6044cbb98e0452dc6554675f7875cec53e7a6
4
- data.tar.gz: 7dba34217f83963c5217fb18341f21b6a7c24e35
3
+ metadata.gz: 4f72aaf60b3649f797604e1b8c097d1071eafef2
4
+ data.tar.gz: 8e943db5e8cd2f973c68aedaa49af8c38daffd53
5
5
  SHA512:
6
- metadata.gz: 7a7ddb465cbc3ad51fe50f78e59145816a344312fcc85a51d4830d22f8111772d7d0c8ab1980df21165682e432fd168fbd9f30397df3be8f620bf1d24c29b0db
7
- data.tar.gz: 12e747f2dfe306a9505f13464e7d024cce36ba9cf494a3b19a87ffeacab5fbab65ab787c58591109047b0847149dd677c58afa09136789cd6b50d447fbaf21a0
6
+ metadata.gz: 8299ebd1c703ccd1ef4ce4d76803f41752f9d6f6c913a5a59e72ef36aa4494df50cfdd7c029ad0b9e1fd69b67c59c463e453fedbffedf0b5ee65d64a4c5f436d
7
+ data.tar.gz: fba6df90c291c0f7fd9d4a039b7a8e46c80d03a405b6ed93f33160e5ad99b0e4df4cbacf861470037deabfd3e5894fb3c625ef0331ed306d293c19eb6f40b77c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.678
1
+ 3.0.680
@@ -1613,6 +1613,30 @@ module TencentCloud
1613
1613
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1614
1614
  end
1615
1615
 
1616
+ # 获取指定消费组下当前客户端的连接情况
1617
+
1618
+ # @param request: Request instance for DescribeRocketMQConsumerConnections.
1619
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionsRequest`
1620
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionsResponse`
1621
+ def DescribeRocketMQConsumerConnections(request)
1622
+ body = send_request('DescribeRocketMQConsumerConnections', request.serialize)
1623
+ response = JSON.parse(body)
1624
+ if response['Response'].key?('Error') == false
1625
+ model = DescribeRocketMQConsumerConnectionsResponse.new
1626
+ model.deserialize(response['Response'])
1627
+ model
1628
+ else
1629
+ code = response['Response']['Error']['Code']
1630
+ message = response['Response']['Error']['Message']
1631
+ reqid = response['Response']['RequestId']
1632
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1633
+ end
1634
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1635
+ raise e
1636
+ rescue StandardError => e
1637
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1638
+ end
1639
+
1616
1640
  # 获取RocketMQ消费组列表
1617
1641
 
1618
1642
  # @param request: Request instance for DescribeRocketMQGroups.
@@ -1637,6 +1661,30 @@ module TencentCloud
1637
1661
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1638
1662
  end
1639
1663
 
1664
+ # 查询Topic迁移状态列表,源集群和目标集群客户端数量信息需要配合DescribeRocketMQSmoothMigrationTaskTopicInsNum接口查询
1665
+
1666
+ # @param request: Request instance for DescribeRocketMQMigratingTopicList.
1667
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQMigratingTopicListRequest`
1668
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQMigratingTopicListResponse`
1669
+ def DescribeRocketMQMigratingTopicList(request)
1670
+ body = send_request('DescribeRocketMQMigratingTopicList', request.serialize)
1671
+ response = JSON.parse(body)
1672
+ if response['Response'].key?('Error') == false
1673
+ model = DescribeRocketMQMigratingTopicListResponse.new
1674
+ model.deserialize(response['Response'])
1675
+ model
1676
+ else
1677
+ code = response['Response']['Error']['Code']
1678
+ message = response['Response']['Error']['Message']
1679
+ reqid = response['Response']['RequestId']
1680
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1681
+ end
1682
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1683
+ raise e
1684
+ rescue StandardError => e
1685
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1686
+ end
1687
+
1640
1688
  # rocketmq消息详情
1641
1689
 
1642
1690
  # @param request: Request instance for DescribeRocketMQMsg.
@@ -1733,6 +1781,102 @@ module TencentCloud
1733
1781
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1734
1782
  end
1735
1783
 
1784
+ # 用于获取RocketMQ平滑迁移任务详情
1785
+
1786
+ # @param request: Request instance for DescribeRocketMQSmoothMigrationTask.
1787
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskRequest`
1788
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskResponse`
1789
+ def DescribeRocketMQSmoothMigrationTask(request)
1790
+ body = send_request('DescribeRocketMQSmoothMigrationTask', request.serialize)
1791
+ response = JSON.parse(body)
1792
+ if response['Response'].key?('Error') == false
1793
+ model = DescribeRocketMQSmoothMigrationTaskResponse.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
+ # 用于查询RocketMQ平滑迁移任务列表
1809
+
1810
+ # @param request: Request instance for DescribeRocketMQSmoothMigrationTaskList.
1811
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListRequest`
1812
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListResponse`
1813
+ def DescribeRocketMQSmoothMigrationTaskList(request)
1814
+ body = send_request('DescribeRocketMQSmoothMigrationTaskList', request.serialize)
1815
+ response = JSON.parse(body)
1816
+ if response['Response'].key?('Error') == false
1817
+ model = DescribeRocketMQSmoothMigrationTaskListResponse.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
+ # 平滑迁移过程获取源集群group列表接口
1833
+
1834
+ # @param request: Request instance for DescribeRocketMQSourceClusterGroupList.
1835
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterGroupListRequest`
1836
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterGroupListResponse`
1837
+ def DescribeRocketMQSourceClusterGroupList(request)
1838
+ body = send_request('DescribeRocketMQSourceClusterGroupList', request.serialize)
1839
+ response = JSON.parse(body)
1840
+ if response['Response'].key?('Error') == false
1841
+ model = DescribeRocketMQSourceClusterGroupListResponse.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
+
1856
+ # 平滑迁移过程获取源集群topic列表接口
1857
+
1858
+ # @param request: Request instance for DescribeRocketMQSourceClusterTopicList.
1859
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterTopicListRequest`
1860
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterTopicListResponse`
1861
+ def DescribeRocketMQSourceClusterTopicList(request)
1862
+ body = send_request('DescribeRocketMQSourceClusterTopicList', request.serialize)
1863
+ response = JSON.parse(body)
1864
+ if response['Response'].key?('Error') == false
1865
+ model = DescribeRocketMQSourceClusterTopicListResponse.new
1866
+ model.deserialize(response['Response'])
1867
+ model
1868
+ else
1869
+ code = response['Response']['Error']['Code']
1870
+ message = response['Response']['Error']['Message']
1871
+ reqid = response['Response']['RequestId']
1872
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1873
+ end
1874
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1875
+ raise e
1876
+ rescue StandardError => e
1877
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1878
+ end
1879
+
1736
1880
  # rocketmq 消息查询
1737
1881
 
1738
1882
  # @param request: Request instance for DescribeRocketMQTopicMsgs.
@@ -1901,6 +2045,54 @@ module TencentCloud
1901
2045
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1902
2046
  end
1903
2047
 
2048
+ # 输入迁移任务id和要导入的Group,导入后台
2049
+
2050
+ # @param request: Request instance for ImportRocketMQConsumerGroups.
2051
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::ImportRocketMQConsumerGroupsRequest`
2052
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::ImportRocketMQConsumerGroupsResponse`
2053
+ def ImportRocketMQConsumerGroups(request)
2054
+ body = send_request('ImportRocketMQConsumerGroups', request.serialize)
2055
+ response = JSON.parse(body)
2056
+ if response['Response'].key?('Error') == false
2057
+ model = ImportRocketMQConsumerGroupsResponse.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
+
2072
+ # 导入topic列表
2073
+
2074
+ # @param request: Request instance for ImportRocketMQTopics.
2075
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::ImportRocketMQTopicsRequest`
2076
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::ImportRocketMQTopicsResponse`
2077
+ def ImportRocketMQTopics(request)
2078
+ body = send_request('ImportRocketMQTopics', request.serialize)
2079
+ response = JSON.parse(body)
2080
+ if response['Response'].key?('Error') == false
2081
+ model = ImportRocketMQTopicsResponse.new
2082
+ model.deserialize(response['Response'])
2083
+ model
2084
+ else
2085
+ code = response['Response']['Error']['Code']
2086
+ message = response['Response']['Error']['Message']
2087
+ reqid = response['Response']['RequestId']
2088
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2089
+ end
2090
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2091
+ raise e
2092
+ rescue StandardError => e
2093
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2094
+ end
2095
+
1904
2096
  # 更新Amqp集群信息
1905
2097
 
1906
2098
  # @param request: Request instance for ModifyAMQPCluster.
@@ -4595,6 +4595,85 @@ module TencentCloud
4595
4595
  end
4596
4596
  end
4597
4597
 
4598
+ # DescribeRocketMQConsumerConnections请求参数结构体
4599
+ class DescribeRocketMQConsumerConnectionsRequest < TencentCloud::Common::AbstractModel
4600
+ # @param ClusterId: 集群ID
4601
+ # @type ClusterId: String
4602
+ # @param NamespaceId: 命名空间名称
4603
+ # @type NamespaceId: String
4604
+ # @param GroupId: 消费组ID
4605
+ # @type GroupId: String
4606
+ # @param Offset: 偏移量
4607
+ # @type Offset: Integer
4608
+ # @param Limit: 限制数目
4609
+ # @type Limit: Integer
4610
+ # @param SortedBy: 对查询结果排序,此为排序字段,目前支持Accumulative(消息堆积量)
4611
+ # @type SortedBy: String
4612
+ # @param SortOrder: 查询结果排序规则,ASC为升序,DESC为降序
4613
+ # @type SortOrder: String
4614
+
4615
+ attr_accessor :ClusterId, :NamespaceId, :GroupId, :Offset, :Limit, :SortedBy, :SortOrder
4616
+
4617
+ def initialize(clusterid=nil, namespaceid=nil, groupid=nil, offset=nil, limit=nil, sortedby=nil, sortorder=nil)
4618
+ @ClusterId = clusterid
4619
+ @NamespaceId = namespaceid
4620
+ @GroupId = groupid
4621
+ @Offset = offset
4622
+ @Limit = limit
4623
+ @SortedBy = sortedby
4624
+ @SortOrder = sortorder
4625
+ end
4626
+
4627
+ def deserialize(params)
4628
+ @ClusterId = params['ClusterId']
4629
+ @NamespaceId = params['NamespaceId']
4630
+ @GroupId = params['GroupId']
4631
+ @Offset = params['Offset']
4632
+ @Limit = params['Limit']
4633
+ @SortedBy = params['SortedBy']
4634
+ @SortOrder = params['SortOrder']
4635
+ end
4636
+ end
4637
+
4638
+ # DescribeRocketMQConsumerConnections返回参数结构体
4639
+ class DescribeRocketMQConsumerConnectionsResponse < TencentCloud::Common::AbstractModel
4640
+ # @param TotalCount: 总数目
4641
+ # @type TotalCount: Integer
4642
+ # @param Connections: 在线消费者信息
4643
+ # @type Connections: Array
4644
+ # @param GroupDetail: 订阅组信息
4645
+ # 注意:此字段可能返回 null,表示取不到有效值。
4646
+ # @type GroupDetail: :class:`Tencentcloud::Tdmq.v20200217.models.RocketMQGroup`
4647
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4648
+ # @type RequestId: String
4649
+
4650
+ attr_accessor :TotalCount, :Connections, :GroupDetail, :RequestId
4651
+
4652
+ def initialize(totalcount=nil, connections=nil, groupdetail=nil, requestid=nil)
4653
+ @TotalCount = totalcount
4654
+ @Connections = connections
4655
+ @GroupDetail = groupdetail
4656
+ @RequestId = requestid
4657
+ end
4658
+
4659
+ def deserialize(params)
4660
+ @TotalCount = params['TotalCount']
4661
+ unless params['Connections'].nil?
4662
+ @Connections = []
4663
+ params['Connections'].each do |i|
4664
+ rocketmqconsumerconnection_tmp = RocketMQConsumerConnection.new
4665
+ rocketmqconsumerconnection_tmp.deserialize(i)
4666
+ @Connections << rocketmqconsumerconnection_tmp
4667
+ end
4668
+ end
4669
+ unless params['GroupDetail'].nil?
4670
+ @GroupDetail = RocketMQGroup.new
4671
+ @GroupDetail.deserialize(params['GroupDetail'])
4672
+ end
4673
+ @RequestId = params['RequestId']
4674
+ end
4675
+ end
4676
+
4598
4677
  # DescribeRocketMQGroups请求参数结构体
4599
4678
  class DescribeRocketMQGroupsRequest < TencentCloud::Common::AbstractModel
4600
4679
  # @param ClusterId: 集群ID
@@ -4678,6 +4757,72 @@ module TencentCloud
4678
4757
  end
4679
4758
  end
4680
4759
 
4760
+ # DescribeRocketMQMigratingTopicList请求参数结构体
4761
+ class DescribeRocketMQMigratingTopicListRequest < TencentCloud::Common::AbstractModel
4762
+ # @param TaskId: 迁移任务名称
4763
+ # @type TaskId: String
4764
+ # @param Limit: 分页大小
4765
+ # @type Limit: Integer
4766
+ # @param Offset: 偏移量
4767
+ # @type Offset: Integer
4768
+ # @param Filters: 查询过滤器,支持topicname、MigrationStatus查询
4769
+ # @type Filters: Array
4770
+
4771
+ attr_accessor :TaskId, :Limit, :Offset, :Filters
4772
+
4773
+ def initialize(taskid=nil, limit=nil, offset=nil, filters=nil)
4774
+ @TaskId = taskid
4775
+ @Limit = limit
4776
+ @Offset = offset
4777
+ @Filters = filters
4778
+ end
4779
+
4780
+ def deserialize(params)
4781
+ @TaskId = params['TaskId']
4782
+ @Limit = params['Limit']
4783
+ @Offset = params['Offset']
4784
+ unless params['Filters'].nil?
4785
+ @Filters = []
4786
+ params['Filters'].each do |i|
4787
+ filter_tmp = Filter.new
4788
+ filter_tmp.deserialize(i)
4789
+ @Filters << filter_tmp
4790
+ end
4791
+ end
4792
+ end
4793
+ end
4794
+
4795
+ # DescribeRocketMQMigratingTopicList返回参数结构体
4796
+ class DescribeRocketMQMigratingTopicListResponse < TencentCloud::Common::AbstractModel
4797
+ # @param TotalCount: 总条数
4798
+ # @type TotalCount: Integer
4799
+ # @param MigrateTopics: 迁移topic列表
4800
+ # @type MigrateTopics: Array
4801
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4802
+ # @type RequestId: String
4803
+
4804
+ attr_accessor :TotalCount, :MigrateTopics, :RequestId
4805
+
4806
+ def initialize(totalcount=nil, migratetopics=nil, requestid=nil)
4807
+ @TotalCount = totalcount
4808
+ @MigrateTopics = migratetopics
4809
+ @RequestId = requestid
4810
+ end
4811
+
4812
+ def deserialize(params)
4813
+ @TotalCount = params['TotalCount']
4814
+ unless params['MigrateTopics'].nil?
4815
+ @MigrateTopics = []
4816
+ params['MigrateTopics'].each do |i|
4817
+ migratetopic_tmp = MigrateTopic.new
4818
+ migratetopic_tmp.deserialize(i)
4819
+ @MigrateTopics << migratetopic_tmp
4820
+ end
4821
+ end
4822
+ @RequestId = params['RequestId']
4823
+ end
4824
+ end
4825
+
4681
4826
  # DescribeRocketMQMsg请求参数结构体
4682
4827
  class DescribeRocketMQMsgRequest < TencentCloud::Common::AbstractModel
4683
4828
  # @param ClusterId: 集群id
@@ -5009,6 +5154,339 @@ module TencentCloud
5009
5154
  end
5010
5155
  end
5011
5156
 
5157
+ # DescribeRocketMQSmoothMigrationTaskList请求参数结构体
5158
+ class DescribeRocketMQSmoothMigrationTaskListRequest < TencentCloud::Common::AbstractModel
5159
+ # @param Offset: 查询起始偏移量
5160
+ # @type Offset: Integer
5161
+ # @param Limit: 查询最大数量
5162
+ # @type Limit: Integer
5163
+ # @param Filters: 查询过滤器,
5164
+ # 支持的字段如下
5165
+ # TaskStatus, 支持多选
5166
+ # ConnectionType,支持多选
5167
+ # ClusterId,精确搜索
5168
+ # TaskName,支持模糊搜索
5169
+ # @type Filters: Array
5170
+
5171
+ attr_accessor :Offset, :Limit, :Filters
5172
+
5173
+ def initialize(offset=nil, limit=nil, filters=nil)
5174
+ @Offset = offset
5175
+ @Limit = limit
5176
+ @Filters = filters
5177
+ end
5178
+
5179
+ def deserialize(params)
5180
+ @Offset = params['Offset']
5181
+ @Limit = params['Limit']
5182
+ unless params['Filters'].nil?
5183
+ @Filters = []
5184
+ params['Filters'].each do |i|
5185
+ filter_tmp = Filter.new
5186
+ filter_tmp.deserialize(i)
5187
+ @Filters << filter_tmp
5188
+ end
5189
+ end
5190
+ end
5191
+ end
5192
+
5193
+ # DescribeRocketMQSmoothMigrationTaskList返回参数结构体
5194
+ class DescribeRocketMQSmoothMigrationTaskListResponse < TencentCloud::Common::AbstractModel
5195
+ # @param TotalCount: 任务总数
5196
+ # @type TotalCount: Integer
5197
+ # @param Data: 任务列表
5198
+ # @type Data: Array
5199
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5200
+ # @type RequestId: String
5201
+
5202
+ attr_accessor :TotalCount, :Data, :RequestId
5203
+
5204
+ def initialize(totalcount=nil, data=nil, requestid=nil)
5205
+ @TotalCount = totalcount
5206
+ @Data = data
5207
+ @RequestId = requestid
5208
+ end
5209
+
5210
+ def deserialize(params)
5211
+ @TotalCount = params['TotalCount']
5212
+ unless params['Data'].nil?
5213
+ @Data = []
5214
+ params['Data'].each do |i|
5215
+ rocketmqsmoothmigrationtaskitem_tmp = RocketMQSmoothMigrationTaskItem.new
5216
+ rocketmqsmoothmigrationtaskitem_tmp.deserialize(i)
5217
+ @Data << rocketmqsmoothmigrationtaskitem_tmp
5218
+ end
5219
+ end
5220
+ @RequestId = params['RequestId']
5221
+ end
5222
+ end
5223
+
5224
+ # DescribeRocketMQSmoothMigrationTask请求参数结构体
5225
+ class DescribeRocketMQSmoothMigrationTaskRequest < TencentCloud::Common::AbstractModel
5226
+ # @param TaskId: 任务ID
5227
+ # @type TaskId: String
5228
+
5229
+ attr_accessor :TaskId
5230
+
5231
+ def initialize(taskid=nil)
5232
+ @TaskId = taskid
5233
+ end
5234
+
5235
+ def deserialize(params)
5236
+ @TaskId = params['TaskId']
5237
+ end
5238
+ end
5239
+
5240
+ # DescribeRocketMQSmoothMigrationTask返回参数结构体
5241
+ class DescribeRocketMQSmoothMigrationTaskResponse < TencentCloud::Common::AbstractModel
5242
+ # @param TaskName: 任务名称
5243
+ # @type TaskName: String
5244
+ # @param ClusterId: 目标集群ID
5245
+ # @type ClusterId: String
5246
+ # @param SourceClusterName: 源集群名称
5247
+ # @type SourceClusterName: String
5248
+ # @param ConnectionType: 网络连接类型,
5249
+ # PUBLIC 公网
5250
+ # VPC 私有网络
5251
+ # OTHER 其它
5252
+ # @type ConnectionType: String
5253
+ # @param SourceClusterNameServer: 源集群NameServer地址
5254
+ # 注意:此字段可能返回 null,表示取不到有效值。
5255
+ # @type SourceClusterNameServer: String
5256
+ # @param VpcId: 源集群所在私有网络ID
5257
+ # 注意:此字段可能返回 null,表示取不到有效值。
5258
+ # @type VpcId: String
5259
+ # @param SubnetId: 源集群所在子网ID
5260
+ # 注意:此字段可能返回 null,表示取不到有效值。
5261
+ # @type SubnetId: String
5262
+ # @param EnableACL: 是否开启ACL
5263
+ # @type EnableACL: Boolean
5264
+ # @param AccessKey: 源集群AccessKey
5265
+ # 注意:此字段可能返回 null,表示取不到有效值。
5266
+ # @type AccessKey: String
5267
+ # @param SecretKey: 元集群SecretKey
5268
+ # 注意:此字段可能返回 null,表示取不到有效值。
5269
+ # @type SecretKey: String
5270
+ # @param TaskError: 配置源集群时发生的错误
5271
+ # TIMEOUT 连接超时,
5272
+ # SERVER_ERROR 服务错误,
5273
+ # INTERNAL_ERROR 内部错误,
5274
+ # CONNECT_NAMESERVER_ERROR 连接nameserver错误
5275
+ # CONNECT_BROKER_ERROR 连接broker错误
5276
+ # ACL_WRONG ACL信息不正确
5277
+
5278
+ # 注意:此字段可能返回 null,表示取不到有效值。
5279
+ # @type TaskError: String
5280
+ # @param TaskStatus: 任务状态
5281
+ # Configuration 迁移配置
5282
+ # SourceConnecting 连接源集群中
5283
+ # SourceConnectionFailure 连接源集群失败
5284
+ # MetaDataImport 元数据导入
5285
+ # EndpointSetup 切换接入点
5286
+ # ServiceMigration 切流中
5287
+ # Completed 已完成
5288
+ # Cancelled 已取消
5289
+ # @type TaskStatus: String
5290
+ # @param TaskId: 任务ID
5291
+ # @type TaskId: String
5292
+ # @param TopicTypeDistribution: 主题类型分布情况
5293
+ # 注意:此字段可能返回 null,表示取不到有效值。
5294
+ # @type TopicTypeDistribution: Array
5295
+ # @param TopicStageDistribution: 主题迁移进度分布情况
5296
+ # 注意:此字段可能返回 null,表示取不到有效值。
5297
+ # @type TopicStageDistribution: Array
5298
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5299
+ # @type RequestId: String
5300
+
5301
+ attr_accessor :TaskName, :ClusterId, :SourceClusterName, :ConnectionType, :SourceClusterNameServer, :VpcId, :SubnetId, :EnableACL, :AccessKey, :SecretKey, :TaskError, :TaskStatus, :TaskId, :TopicTypeDistribution, :TopicStageDistribution, :RequestId
5302
+
5303
+ 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)
5304
+ @TaskName = taskname
5305
+ @ClusterId = clusterid
5306
+ @SourceClusterName = sourceclustername
5307
+ @ConnectionType = connectiontype
5308
+ @SourceClusterNameServer = sourceclusternameserver
5309
+ @VpcId = vpcid
5310
+ @SubnetId = subnetid
5311
+ @EnableACL = enableacl
5312
+ @AccessKey = accesskey
5313
+ @SecretKey = secretkey
5314
+ @TaskError = taskerror
5315
+ @TaskStatus = taskstatus
5316
+ @TaskId = taskid
5317
+ @TopicTypeDistribution = topictypedistribution
5318
+ @TopicStageDistribution = topicstagedistribution
5319
+ @RequestId = requestid
5320
+ end
5321
+
5322
+ def deserialize(params)
5323
+ @TaskName = params['TaskName']
5324
+ @ClusterId = params['ClusterId']
5325
+ @SourceClusterName = params['SourceClusterName']
5326
+ @ConnectionType = params['ConnectionType']
5327
+ @SourceClusterNameServer = params['SourceClusterNameServer']
5328
+ @VpcId = params['VpcId']
5329
+ @SubnetId = params['SubnetId']
5330
+ @EnableACL = params['EnableACL']
5331
+ @AccessKey = params['AccessKey']
5332
+ @SecretKey = params['SecretKey']
5333
+ @TaskError = params['TaskError']
5334
+ @TaskStatus = params['TaskStatus']
5335
+ @TaskId = params['TaskId']
5336
+ unless params['TopicTypeDistribution'].nil?
5337
+ @TopicTypeDistribution = []
5338
+ params['TopicTypeDistribution'].each do |i|
5339
+ rocketmqtopicdistribution_tmp = RocketMQTopicDistribution.new
5340
+ rocketmqtopicdistribution_tmp.deserialize(i)
5341
+ @TopicTypeDistribution << rocketmqtopicdistribution_tmp
5342
+ end
5343
+ end
5344
+ unless params['TopicStageDistribution'].nil?
5345
+ @TopicStageDistribution = []
5346
+ params['TopicStageDistribution'].each do |i|
5347
+ rocketmqmigrationtopicdistribution_tmp = RocketMQMigrationTopicDistribution.new
5348
+ rocketmqmigrationtopicdistribution_tmp.deserialize(i)
5349
+ @TopicStageDistribution << rocketmqmigrationtopicdistribution_tmp
5350
+ end
5351
+ end
5352
+ @RequestId = params['RequestId']
5353
+ end
5354
+ end
5355
+
5356
+ # DescribeRocketMQSourceClusterGroupList请求参数结构体
5357
+ class DescribeRocketMQSourceClusterGroupListRequest < TencentCloud::Common::AbstractModel
5358
+ # @param Limit: 页大小
5359
+ # @type Limit: Integer
5360
+ # @param Offset: 偏移量
5361
+ # @type Offset: Integer
5362
+ # @param TaskId: 迁移任务名称
5363
+ # @type TaskId: String
5364
+ # @param Filters: 查询过滤器,支持字段groupName,imported
5365
+ # @type Filters: Array
5366
+
5367
+ attr_accessor :Limit, :Offset, :TaskId, :Filters
5368
+
5369
+ def initialize(limit=nil, offset=nil, taskid=nil, filters=nil)
5370
+ @Limit = limit
5371
+ @Offset = offset
5372
+ @TaskId = taskid
5373
+ @Filters = filters
5374
+ end
5375
+
5376
+ def deserialize(params)
5377
+ @Limit = params['Limit']
5378
+ @Offset = params['Offset']
5379
+ @TaskId = params['TaskId']
5380
+ unless params['Filters'].nil?
5381
+ @Filters = []
5382
+ params['Filters'].each do |i|
5383
+ filter_tmp = Filter.new
5384
+ filter_tmp.deserialize(i)
5385
+ @Filters << filter_tmp
5386
+ end
5387
+ end
5388
+ end
5389
+ end
5390
+
5391
+ # DescribeRocketMQSourceClusterGroupList返回参数结构体
5392
+ class DescribeRocketMQSourceClusterGroupListResponse < TencentCloud::Common::AbstractModel
5393
+ # @param Groups: group列表
5394
+ # @type Groups: Array
5395
+ # @param TotalCount: 总条数
5396
+ # @type TotalCount: Integer
5397
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5398
+ # @type RequestId: String
5399
+
5400
+ attr_accessor :Groups, :TotalCount, :RequestId
5401
+
5402
+ def initialize(groups=nil, totalcount=nil, requestid=nil)
5403
+ @Groups = groups
5404
+ @TotalCount = totalcount
5405
+ @RequestId = requestid
5406
+ end
5407
+
5408
+ def deserialize(params)
5409
+ unless params['Groups'].nil?
5410
+ @Groups = []
5411
+ params['Groups'].each do |i|
5412
+ rocketmqgroupconfigoutput_tmp = RocketMQGroupConfigOutput.new
5413
+ rocketmqgroupconfigoutput_tmp.deserialize(i)
5414
+ @Groups << rocketmqgroupconfigoutput_tmp
5415
+ end
5416
+ end
5417
+ @TotalCount = params['TotalCount']
5418
+ @RequestId = params['RequestId']
5419
+ end
5420
+ end
5421
+
5422
+ # DescribeRocketMQSourceClusterTopicList请求参数结构体
5423
+ class DescribeRocketMQSourceClusterTopicListRequest < TencentCloud::Common::AbstractModel
5424
+ # @param Limit: 分页大小
5425
+ # @type Limit: Integer
5426
+ # @param Offset: 偏移量
5427
+ # @type Offset: Integer
5428
+ # @param TaskId: 迁移任务名
5429
+ # @type TaskId: String
5430
+ # @param Filters: 查询过滤器,支持字段如下
5431
+ # TopicName,
5432
+ # Type,Imported
5433
+ # @type Filters: Array
5434
+
5435
+ attr_accessor :Limit, :Offset, :TaskId, :Filters
5436
+
5437
+ def initialize(limit=nil, offset=nil, taskid=nil, filters=nil)
5438
+ @Limit = limit
5439
+ @Offset = offset
5440
+ @TaskId = taskid
5441
+ @Filters = filters
5442
+ end
5443
+
5444
+ def deserialize(params)
5445
+ @Limit = params['Limit']
5446
+ @Offset = params['Offset']
5447
+ @TaskId = params['TaskId']
5448
+ unless params['Filters'].nil?
5449
+ @Filters = []
5450
+ params['Filters'].each do |i|
5451
+ filter_tmp = Filter.new
5452
+ filter_tmp.deserialize(i)
5453
+ @Filters << filter_tmp
5454
+ end
5455
+ end
5456
+ end
5457
+ end
5458
+
5459
+ # DescribeRocketMQSourceClusterTopicList返回参数结构体
5460
+ class DescribeRocketMQSourceClusterTopicListResponse < TencentCloud::Common::AbstractModel
5461
+ # @param Topics: topic层列表
5462
+ # @type Topics: Array
5463
+ # @param TotalCount: 总条数
5464
+ # @type TotalCount: Integer
5465
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5466
+ # @type RequestId: String
5467
+
5468
+ attr_accessor :Topics, :TotalCount, :RequestId
5469
+
5470
+ def initialize(topics=nil, totalcount=nil, requestid=nil)
5471
+ @Topics = topics
5472
+ @TotalCount = totalcount
5473
+ @RequestId = requestid
5474
+ end
5475
+
5476
+ def deserialize(params)
5477
+ unless params['Topics'].nil?
5478
+ @Topics = []
5479
+ params['Topics'].each do |i|
5480
+ rocketmqtopicconfigoutput_tmp = RocketMQTopicConfigOutput.new
5481
+ rocketmqtopicconfigoutput_tmp.deserialize(i)
5482
+ @Topics << rocketmqtopicconfigoutput_tmp
5483
+ end
5484
+ end
5485
+ @TotalCount = params['TotalCount']
5486
+ @RequestId = params['RequestId']
5487
+ end
5488
+ end
5489
+
5012
5490
  # DescribeRocketMQTopicMsgs请求参数结构体
5013
5491
  class DescribeRocketMQTopicMsgsRequest < TencentCloud::Common::AbstractModel
5014
5492
  # @param ClusterId: 集群 ID
@@ -5721,6 +6199,92 @@ module TencentCloud
5721
6199
  end
5722
6200
  end
5723
6201
 
6202
+ # ImportRocketMQConsumerGroups请求参数结构体
6203
+ class ImportRocketMQConsumerGroupsRequest < TencentCloud::Common::AbstractModel
6204
+ # @param Groups: 导入topic
6205
+ # @type Groups: Array
6206
+ # @param TaskId: 任务id
6207
+ # @type TaskId: String
6208
+
6209
+ attr_accessor :Groups, :TaskId
6210
+
6211
+ def initialize(groups=nil, taskid=nil)
6212
+ @Groups = groups
6213
+ @TaskId = taskid
6214
+ end
6215
+
6216
+ def deserialize(params)
6217
+ unless params['Groups'].nil?
6218
+ @Groups = []
6219
+ params['Groups'].each do |i|
6220
+ rocketmqgroupconfig_tmp = RocketMQGroupConfig.new
6221
+ rocketmqgroupconfig_tmp.deserialize(i)
6222
+ @Groups << rocketmqgroupconfig_tmp
6223
+ end
6224
+ end
6225
+ @TaskId = params['TaskId']
6226
+ end
6227
+ end
6228
+
6229
+ # ImportRocketMQConsumerGroups返回参数结构体
6230
+ class ImportRocketMQConsumerGroupsResponse < TencentCloud::Common::AbstractModel
6231
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6232
+ # @type RequestId: String
6233
+
6234
+ attr_accessor :RequestId
6235
+
6236
+ def initialize(requestid=nil)
6237
+ @RequestId = requestid
6238
+ end
6239
+
6240
+ def deserialize(params)
6241
+ @RequestId = params['RequestId']
6242
+ end
6243
+ end
6244
+
6245
+ # ImportRocketMQTopics请求参数结构体
6246
+ class ImportRocketMQTopicsRequest < TencentCloud::Common::AbstractModel
6247
+ # @param Topics: 导入topic
6248
+ # @type Topics: Array
6249
+ # @param TaskId: 任务ID
6250
+ # @type TaskId: String
6251
+
6252
+ attr_accessor :Topics, :TaskId
6253
+
6254
+ def initialize(topics=nil, taskid=nil)
6255
+ @Topics = topics
6256
+ @TaskId = taskid
6257
+ end
6258
+
6259
+ def deserialize(params)
6260
+ unless params['Topics'].nil?
6261
+ @Topics = []
6262
+ params['Topics'].each do |i|
6263
+ rocketmqtopicconfig_tmp = RocketMQTopicConfig.new
6264
+ rocketmqtopicconfig_tmp.deserialize(i)
6265
+ @Topics << rocketmqtopicconfig_tmp
6266
+ end
6267
+ end
6268
+ @TaskId = params['TaskId']
6269
+ end
6270
+ end
6271
+
6272
+ # ImportRocketMQTopics返回参数结构体
6273
+ class ImportRocketMQTopicsResponse < TencentCloud::Common::AbstractModel
6274
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6275
+ # @type RequestId: String
6276
+
6277
+ attr_accessor :RequestId
6278
+
6279
+ def initialize(requestid=nil)
6280
+ @RequestId = requestid
6281
+ end
6282
+
6283
+ def deserialize(params)
6284
+ @RequestId = params['RequestId']
6285
+ end
6286
+ end
6287
+
5724
6288
  # 实例节点分布信息
5725
6289
  class InstanceNodeDistribution < TencentCloud::Common::AbstractModel
5726
6290
  # @param ZoneName: 可用区
@@ -5849,6 +6413,60 @@ module TencentCloud
5849
6413
  end
5850
6414
  end
5851
6415
 
6416
+ # 迁移topic列表数据
6417
+ class MigrateTopic < TencentCloud::Common::AbstractModel
6418
+ # @param Namespace: 命名空间
6419
+ # 注意:此字段可能返回 null,表示取不到有效值。
6420
+ # @type Namespace: String
6421
+ # @param TopicName: topic名称
6422
+ # 注意:此字段可能返回 null,表示取不到有效值。
6423
+ # @type TopicName: String
6424
+ # @param MigrationStatus: 迁移状态
6425
+ # S_RW_D_NA 源集群读写
6426
+ # S_RW_D_R 源集群读写目标集群读
6427
+ # S_RW_D_RW 源集群读写目标集群读写
6428
+ # S_R_D_RW 源集群读目标集群读写
6429
+ # S_NA_D_RW 目标集群读写
6430
+ # 注意:此字段可能返回 null,表示取不到有效值。
6431
+ # @type MigrationStatus: String
6432
+ # @param HealthCheckPassed: 是否完成健康检查
6433
+ # 注意:此字段可能返回 null,表示取不到有效值。
6434
+ # @type HealthCheckPassed: Boolean
6435
+ # @param HealthCheckError: 上次健康检查返回的错误信息,仅在HealthCheckPassed为false时有效。
6436
+ # NotChecked 未执行检查,
6437
+ # Unknown 未知错误,
6438
+ # TopicNotImported 主题未导入,
6439
+ # TopicNotExistsInSourceCluster 主题在源集群中不存在,
6440
+ # TopicNotExistsInTargetCluster 主题在目标集群中不存在,
6441
+ # ConsumerConnectedOnTarget 目标集群上存在消费者连接,
6442
+ # SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入,
6443
+ # TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入,
6444
+ # SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入,
6445
+ # TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入,
6446
+ # ConsumerGroupCountNotMatch 订阅组数量不一致,
6447
+ # SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
6448
+ # 注意:此字段可能返回 null,表示取不到有效值。
6449
+ # @type HealthCheckError: String
6450
+
6451
+ attr_accessor :Namespace, :TopicName, :MigrationStatus, :HealthCheckPassed, :HealthCheckError
6452
+
6453
+ def initialize(namespace=nil, topicname=nil, migrationstatus=nil, healthcheckpassed=nil, healthcheckerror=nil)
6454
+ @Namespace = namespace
6455
+ @TopicName = topicname
6456
+ @MigrationStatus = migrationstatus
6457
+ @HealthCheckPassed = healthcheckpassed
6458
+ @HealthCheckError = healthcheckerror
6459
+ end
6460
+
6461
+ def deserialize(params)
6462
+ @Namespace = params['Namespace']
6463
+ @TopicName = params['TopicName']
6464
+ @MigrationStatus = params['MigrationStatus']
6465
+ @HealthCheckPassed = params['HealthCheckPassed']
6466
+ @HealthCheckError = params['HealthCheckError']
6467
+ end
6468
+ end
6469
+
5852
6470
  # ModifyAMQPCluster请求参数结构体
5853
6471
  class ModifyAMQPClusterRequest < TencentCloud::Common::AbstractModel
5854
6472
  # @param ClusterId: 集群ID
@@ -8280,6 +8898,38 @@ module TencentCloud
8280
8898
  end
8281
8899
  end
8282
8900
 
8901
+ # 在线消费者情况
8902
+ class RocketMQConsumerConnection < TencentCloud::Common::AbstractModel
8903
+ # @param ClientId: 消费者实例ID
8904
+ # @type ClientId: String
8905
+ # @param ClientAddr: 消费者实例的地址和端口
8906
+ # @type ClientAddr: String
8907
+ # @param Language: 消费者应用的语言版本
8908
+ # @type Language: String
8909
+ # @param Accumulative: 消息堆积量
8910
+ # @type Accumulative: Integer
8911
+ # @param Version: 消费端版本
8912
+ # @type Version: String
8913
+
8914
+ attr_accessor :ClientId, :ClientAddr, :Language, :Accumulative, :Version
8915
+
8916
+ def initialize(clientid=nil, clientaddr=nil, language=nil, accumulative=nil, version=nil)
8917
+ @ClientId = clientid
8918
+ @ClientAddr = clientaddr
8919
+ @Language = language
8920
+ @Accumulative = accumulative
8921
+ @Version = version
8922
+ end
8923
+
8924
+ def deserialize(params)
8925
+ @ClientId = params['ClientId']
8926
+ @ClientAddr = params['ClientAddr']
8927
+ @Language = params['Language']
8928
+ @Accumulative = params['Accumulative']
8929
+ @Version = params['Version']
8930
+ end
8931
+ end
8932
+
8283
8933
  # RocketMQ消费组信息
8284
8934
  class RocketMQGroup < TencentCloud::Common::AbstractModel
8285
8935
  # @param Name: 消费组名称
@@ -8357,6 +9007,76 @@ module TencentCloud
8357
9007
  end
8358
9008
  end
8359
9009
 
9010
+ # RocketMQ消费组配置信息
9011
+ class RocketMQGroupConfig < TencentCloud::Common::AbstractModel
9012
+ # @param Namespace: 命名空间
9013
+ # @type Namespace: String
9014
+ # @param GroupName: 消费组名称
9015
+ # @type GroupName: String
9016
+ # @param ConsumeBroadcastEnable: 是否开启广播消费
9017
+ # @type ConsumeBroadcastEnable: Boolean
9018
+ # @param ConsumeEnable: 是否开启消费
9019
+ # @type ConsumeEnable: Boolean
9020
+ # @param Remark: 备注信息
9021
+ # @type Remark: String
9022
+ # @param ConsumerGroupType: 协议类型,支持以下枚举值
9023
+ # TCP;
9024
+ # HTTP;
9025
+ # @type ConsumerGroupType: String
9026
+
9027
+ attr_accessor :Namespace, :GroupName, :ConsumeBroadcastEnable, :ConsumeEnable, :Remark, :ConsumerGroupType
9028
+
9029
+ def initialize(namespace=nil, groupname=nil, consumebroadcastenable=nil, consumeenable=nil, remark=nil, consumergrouptype=nil)
9030
+ @Namespace = namespace
9031
+ @GroupName = groupname
9032
+ @ConsumeBroadcastEnable = consumebroadcastenable
9033
+ @ConsumeEnable = consumeenable
9034
+ @Remark = remark
9035
+ @ConsumerGroupType = consumergrouptype
9036
+ end
9037
+
9038
+ def deserialize(params)
9039
+ @Namespace = params['Namespace']
9040
+ @GroupName = params['GroupName']
9041
+ @ConsumeBroadcastEnable = params['ConsumeBroadcastEnable']
9042
+ @ConsumeEnable = params['ConsumeEnable']
9043
+ @Remark = params['Remark']
9044
+ @ConsumerGroupType = params['ConsumerGroupType']
9045
+ end
9046
+ end
9047
+
9048
+ # RocketMQ消费组配置信息
9049
+ class RocketMQGroupConfigOutput < TencentCloud::Common::AbstractModel
9050
+ # @param Namespace: 命名空间
9051
+ # 注意:此字段可能返回 null,表示取不到有效值。
9052
+ # @type Namespace: String
9053
+ # @param GroupName: 消费组名称
9054
+ # 注意:此字段可能返回 null,表示取不到有效值。
9055
+ # @type GroupName: String
9056
+ # @param Imported: 导入状态
9057
+ # 注意:此字段可能返回 null,表示取不到有效值。
9058
+ # @type Imported: Boolean
9059
+ # @param Remark: remark
9060
+ # 注意:此字段可能返回 null,表示取不到有效值。
9061
+ # @type Remark: String
9062
+
9063
+ attr_accessor :Namespace, :GroupName, :Imported, :Remark
9064
+
9065
+ def initialize(namespace=nil, groupname=nil, imported=nil, remark=nil)
9066
+ @Namespace = namespace
9067
+ @GroupName = groupname
9068
+ @Imported = imported
9069
+ @Remark = remark
9070
+ end
9071
+
9072
+ def deserialize(params)
9073
+ @Namespace = params['Namespace']
9074
+ @GroupName = params['GroupName']
9075
+ @Imported = params['Imported']
9076
+ @Remark = params['Remark']
9077
+ end
9078
+ end
9079
+
8360
9080
  # RocketMQ专享集群实例配置
8361
9081
  class RocketMQInstanceConfig < TencentCloud::Common::AbstractModel
8362
9082
  # @param MaxTpsPerNamespace: 单命名空间TPS上线
@@ -8461,6 +9181,28 @@ module TencentCloud
8461
9181
  end
8462
9182
  end
8463
9183
 
9184
+ # 迁移主题的阶段分布
9185
+ class RocketMQMigrationTopicDistribution < TencentCloud::Common::AbstractModel
9186
+ # @param Stage: 迁移主题阶段
9187
+ # 注意:此字段可能返回 null,表示取不到有效值。
9188
+ # @type Stage: String
9189
+ # @param Count: 数量
9190
+ # 注意:此字段可能返回 null,表示取不到有效值。
9191
+ # @type Count: Integer
9192
+
9193
+ attr_accessor :Stage, :Count
9194
+
9195
+ def initialize(stage=nil, count=nil)
9196
+ @Stage = stage
9197
+ @Count = count
9198
+ end
9199
+
9200
+ def deserialize(params)
9201
+ @Stage = params['Stage']
9202
+ @Count = params['Count']
9203
+ end
9204
+ end
9205
+
8464
9206
  # rocketmq消息日志
8465
9207
  class RocketMQMsgLog < TencentCloud::Common::AbstractModel
8466
9208
  # @param MsgId: 消息id
@@ -8553,6 +9295,63 @@ module TencentCloud
8553
9295
  end
8554
9296
  end
8555
9297
 
9298
+ # RocketMQ平滑迁移任务
9299
+ class RocketMQSmoothMigrationTaskItem < TencentCloud::Common::AbstractModel
9300
+ # @param TaskId: 任务ID
9301
+ # 注意:此字段可能返回 null,表示取不到有效值。
9302
+ # @type TaskId: String
9303
+ # @param TaskName: 任务名称
9304
+ # 注意:此字段可能返回 null,表示取不到有效值。
9305
+ # @type TaskName: String
9306
+ # @param SourceClusterName: 源集群名称
9307
+ # 注意:此字段可能返回 null,表示取不到有效值。
9308
+ # @type SourceClusterName: String
9309
+ # @param ClusterId: 目标集群ID
9310
+ # 注意:此字段可能返回 null,表示取不到有效值。
9311
+ # @type ClusterId: String
9312
+ # @param ConnectionType: 网络连接类型,
9313
+ # PUBLIC 公网
9314
+ # VPC 私有网络
9315
+ # OTHER 其他
9316
+ # 注意:此字段可能返回 null,表示取不到有效值。
9317
+ # @type ConnectionType: String
9318
+ # @param SourceNameServer: 源集群NameServer地址
9319
+ # 注意:此字段可能返回 null,表示取不到有效值。
9320
+ # @type SourceNameServer: String
9321
+ # @param TaskStatus: 任务状态
9322
+ # Configuration 迁移配置
9323
+ # SourceConnecting 连接源集群中
9324
+ # MetaDataImport 元数据导入
9325
+ # EndpointSetup 切换接入点
9326
+ # ServiceMigration 切流中
9327
+ # Completed 已完成
9328
+ # Cancelled 已取消
9329
+ # 注意:此字段可能返回 null,表示取不到有效值。
9330
+ # @type TaskStatus: String
9331
+
9332
+ attr_accessor :TaskId, :TaskName, :SourceClusterName, :ClusterId, :ConnectionType, :SourceNameServer, :TaskStatus
9333
+
9334
+ def initialize(taskid=nil, taskname=nil, sourceclustername=nil, clusterid=nil, connectiontype=nil, sourcenameserver=nil, taskstatus=nil)
9335
+ @TaskId = taskid
9336
+ @TaskName = taskname
9337
+ @SourceClusterName = sourceclustername
9338
+ @ClusterId = clusterid
9339
+ @ConnectionType = connectiontype
9340
+ @SourceNameServer = sourcenameserver
9341
+ @TaskStatus = taskstatus
9342
+ end
9343
+
9344
+ def deserialize(params)
9345
+ @TaskId = params['TaskId']
9346
+ @TaskName = params['TaskName']
9347
+ @SourceClusterName = params['SourceClusterName']
9348
+ @ClusterId = params['ClusterId']
9349
+ @ConnectionType = params['ConnectionType']
9350
+ @SourceNameServer = params['SourceNameServer']
9351
+ @TaskStatus = params['TaskStatus']
9352
+ end
9353
+ end
9354
+
8556
9355
  # RocketMQ消费组订阅信息
8557
9356
  class RocketMQSubscription < TencentCloud::Common::AbstractModel
8558
9357
  # @param Topic: 主题名称
@@ -8707,6 +9506,89 @@ module TencentCloud
8707
9506
  end
8708
9507
  end
8709
9508
 
9509
+ # RocketMQ主题配置信息
9510
+ class RocketMQTopicConfig < TencentCloud::Common::AbstractModel
9511
+ # @param Namespace: 命名空间
9512
+ # @type Namespace: String
9513
+ # @param TopicName: 主题名称
9514
+ # @type TopicName: String
9515
+ # @param Type: 主题类型:
9516
+ # Normal,普通
9517
+ # PartitionedOrder, 分区顺序
9518
+ # Transaction,事务消息
9519
+ # DelayScheduled,延迟/定时消息
9520
+ # @type Type: String
9521
+ # @param Partitions: 分区个数
9522
+ # @type Partitions: Integer
9523
+ # @param Remark: 备注信息
9524
+ # @type Remark: String
9525
+
9526
+ attr_accessor :Namespace, :TopicName, :Type, :Partitions, :Remark
9527
+
9528
+ def initialize(namespace=nil, topicname=nil, type=nil, partitions=nil, remark=nil)
9529
+ @Namespace = namespace
9530
+ @TopicName = topicname
9531
+ @Type = type
9532
+ @Partitions = partitions
9533
+ @Remark = remark
9534
+ end
9535
+
9536
+ def deserialize(params)
9537
+ @Namespace = params['Namespace']
9538
+ @TopicName = params['TopicName']
9539
+ @Type = params['Type']
9540
+ @Partitions = params['Partitions']
9541
+ @Remark = params['Remark']
9542
+ end
9543
+ end
9544
+
9545
+ # RocketMQ主题配置信息
9546
+ class RocketMQTopicConfigOutput < TencentCloud::Common::AbstractModel
9547
+ # @param Namespace: 命名空间
9548
+ # 注意:此字段可能返回 null,表示取不到有效值。
9549
+ # @type Namespace: String
9550
+ # @param TopicName: 主题名称
9551
+ # 注意:此字段可能返回 null,表示取不到有效值。
9552
+ # @type TopicName: String
9553
+ # @param Type: 主题类型:
9554
+ # Normal,普通
9555
+ # GlobalOrder, 全局顺序
9556
+ # PartitionedOrder, 分区顺序
9557
+ # Transaction,事务消息
9558
+ # DelayScheduled,延迟/定时消息
9559
+ # 注意:此字段可能返回 null,表示取不到有效值。
9560
+ # @type Type: String
9561
+ # @param Partitions: 分区个数
9562
+ # 注意:此字段可能返回 null,表示取不到有效值。
9563
+ # @type Partitions: Integer
9564
+ # @param Remark: 备注信息
9565
+ # 注意:此字段可能返回 null,表示取不到有效值。
9566
+ # @type Remark: String
9567
+ # @param Imported: 是否导入
9568
+ # 注意:此字段可能返回 null,表示取不到有效值。
9569
+ # @type Imported: Boolean
9570
+
9571
+ attr_accessor :Namespace, :TopicName, :Type, :Partitions, :Remark, :Imported
9572
+
9573
+ def initialize(namespace=nil, topicname=nil, type=nil, partitions=nil, remark=nil, imported=nil)
9574
+ @Namespace = namespace
9575
+ @TopicName = topicname
9576
+ @Type = type
9577
+ @Partitions = partitions
9578
+ @Remark = remark
9579
+ @Imported = imported
9580
+ end
9581
+
9582
+ def deserialize(params)
9583
+ @Namespace = params['Namespace']
9584
+ @TopicName = params['TopicName']
9585
+ @Type = params['Type']
9586
+ @Partitions = params['Partitions']
9587
+ @Remark = params['Remark']
9588
+ @Imported = params['Imported']
9589
+ end
9590
+ end
9591
+
8710
9592
  # RocketMQtopic分布情况
8711
9593
  class RocketMQTopicDistribution < TencentCloud::Common::AbstractModel
8712
9594
  # @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.678
4
+ version: 3.0.680
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-17 00:00:00.000000000 Z
11
+ date: 2023-10-19 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/v20200217/models.rb
37
- - lib/v20200217/client.rb
38
36
  - lib/tencentcloud-sdk-tdmq.rb
37
+ - lib/v20200217/client.rb
38
+ - lib/v20200217/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: