tencentcloud-sdk-tdmq 3.0.1128 → 3.0.1176

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: 3643f4c28b404ade07ef8f85550a130506684e8a
4
- data.tar.gz: 0f31535e7d1fcd8827f888a29dcabd88cba54385
3
+ metadata.gz: d2e679ad957cc3620fa132db4c9f25d969ef8b94
4
+ data.tar.gz: b18e6fe8ddc6131112bea43b7fa6d735f92e6d04
5
5
  SHA512:
6
- metadata.gz: ff3745af06119bbeb1b036c88d20b7e93494be79cebcb015b263ed4e8f6783234402c181a7ad061d655a8969b18e4cd9a7a8f215728b7e3583d53ad926e1c70c
7
- data.tar.gz: fe34103ef96596a5303aeac549235533f37190c950ce365c347fbdf48a7e66faacc534f7a312b76004497304be6279b7bbe60fb3daded5cea2101de7042c3e6e
6
+ metadata.gz: 6bff480e1830ef6338d3f693f85fba16d11c8b1b375b9cfdb50607810638f5a9a93623e9dc86c5d2216ab44332cdcadb7069efdc337b82201550811320cda537
7
+ data.tar.gz: 1bb7b6afc62f6097a2fb7f5f63511440d53d44f5c88e315a75b17de4ee6c75ce6221f4a18aab21f5550cce1710450da8dede421aa2418a05d94a3794408a8493
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1128
1
+ 3.0.1176
@@ -509,6 +509,30 @@ module TencentCloud
509
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
510
  end
511
511
 
512
+ # 创建RocketMQ主题
513
+
514
+ # @param request: Request instance for CreateRocketMQTopicV2.
515
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::CreateRocketMQTopicV2Request`
516
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::CreateRocketMQTopicV2Response`
517
+ def CreateRocketMQTopicV2(request)
518
+ body = send_request('CreateRocketMQTopicV2', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = CreateRocketMQTopicV2Response.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
512
536
  # 创建RocketMQ专享实例
513
537
 
514
538
  # @param request: Request instance for CreateRocketMQVipInstance.
@@ -2311,70 +2335,16 @@ module TencentCloud
2311
2335
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2312
2336
  end
2313
2337
 
2314
- # 平滑迁移相关接口已迁移至trocket产品下,该接口已废弃
2315
-
2316
- # 用于查询RocketMQ平滑迁移任务列表
2317
-
2318
- # @param request: Request instance for DescribeRocketMQSmoothMigrationTaskList.
2319
- # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListRequest`
2320
- # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListResponse`
2321
- def DescribeRocketMQSmoothMigrationTaskList(request)
2322
- body = send_request('DescribeRocketMQSmoothMigrationTaskList', request.serialize)
2323
- response = JSON.parse(body)
2324
- if response['Response'].key?('Error') == false
2325
- model = DescribeRocketMQSmoothMigrationTaskListResponse.new
2326
- model.deserialize(response['Response'])
2327
- model
2328
- else
2329
- code = response['Response']['Error']['Code']
2330
- message = response['Response']['Error']['Message']
2331
- reqid = response['Response']['RequestId']
2332
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2333
- end
2334
- rescue TencentCloud::Common::TencentCloudSDKException => e
2335
- raise e
2336
- rescue StandardError => e
2337
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2338
- end
2339
-
2340
- # 平滑迁移相关接口已迁移至trocket产品下,该接口已废弃
2341
-
2342
- # 平滑迁移过程获取源集群group列表接口
2343
-
2344
- # @param request: Request instance for DescribeRocketMQSourceClusterGroupList.
2345
- # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterGroupListRequest`
2346
- # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterGroupListResponse`
2347
- def DescribeRocketMQSourceClusterGroupList(request)
2348
- body = send_request('DescribeRocketMQSourceClusterGroupList', request.serialize)
2349
- response = JSON.parse(body)
2350
- if response['Response'].key?('Error') == false
2351
- model = DescribeRocketMQSourceClusterGroupListResponse.new
2352
- model.deserialize(response['Response'])
2353
- model
2354
- else
2355
- code = response['Response']['Error']['Code']
2356
- message = response['Response']['Error']['Message']
2357
- reqid = response['Response']['RequestId']
2358
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2359
- end
2360
- rescue TencentCloud::Common::TencentCloudSDKException => e
2361
- raise e
2362
- rescue StandardError => e
2363
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2364
- end
2365
-
2366
- # 平滑迁移相关接口已迁移至trocket产品下,该接口已废弃
2367
-
2368
- # 平滑迁移过程获取源集群topic列表接口
2338
+ # 用于获取RocketMQ消费组订阅关系数据
2369
2339
 
2370
- # @param request: Request instance for DescribeRocketMQSourceClusterTopicList.
2371
- # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterTopicListRequest`
2372
- # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterTopicListResponse`
2373
- def DescribeRocketMQSourceClusterTopicList(request)
2374
- body = send_request('DescribeRocketMQSourceClusterTopicList', request.serialize)
2340
+ # @param request: Request instance for DescribeRocketMQSubscriptions.
2341
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSubscriptionsRequest`
2342
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSubscriptionsResponse`
2343
+ def DescribeRocketMQSubscriptions(request)
2344
+ body = send_request('DescribeRocketMQSubscriptions', request.serialize)
2375
2345
  response = JSON.parse(body)
2376
2346
  if response['Response'].key?('Error') == false
2377
- model = DescribeRocketMQSourceClusterTopicListResponse.new
2347
+ model = DescribeRocketMQSubscriptionsResponse.new
2378
2348
  model.deserialize(response['Response'])
2379
2349
  model
2380
2350
  else
@@ -2389,16 +2359,16 @@ module TencentCloud
2389
2359
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2390
2360
  end
2391
2361
 
2392
- # 用于获取RocketMQ消费组订阅关系数据
2362
+ # 用于获取RocketMQ指标排序列表,比如集群实例下占用存储空间最多的主题排序。
2393
2363
 
2394
- # @param request: Request instance for DescribeRocketMQSubscriptions.
2395
- # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSubscriptionsRequest`
2396
- # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSubscriptionsResponse`
2397
- def DescribeRocketMQSubscriptions(request)
2398
- body = send_request('DescribeRocketMQSubscriptions', request.serialize)
2364
+ # @param request: Request instance for DescribeRocketMQTopUsages.
2365
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopUsagesRequest`
2366
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopUsagesResponse`
2367
+ def DescribeRocketMQTopUsages(request)
2368
+ body = send_request('DescribeRocketMQTopUsages', request.serialize)
2399
2369
  response = JSON.parse(body)
2400
2370
  if response['Response'].key?('Error') == false
2401
- model = DescribeRocketMQSubscriptionsResponse.new
2371
+ model = DescribeRocketMQTopUsagesResponse.new
2402
2372
  model.deserialize(response['Response'])
2403
2373
  model
2404
2374
  else
@@ -2413,16 +2383,16 @@ module TencentCloud
2413
2383
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2414
2384
  end
2415
2385
 
2416
- # 用于获取RocketMQ指标排序列表,比如集群实例下占用存储空间最多的主题排序。
2386
+ # 获取RocketMQ主题详情
2417
2387
 
2418
- # @param request: Request instance for DescribeRocketMQTopUsages.
2419
- # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopUsagesRequest`
2420
- # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopUsagesResponse`
2421
- def DescribeRocketMQTopUsages(request)
2422
- body = send_request('DescribeRocketMQTopUsages', request.serialize)
2388
+ # @param request: Request instance for DescribeRocketMQTopic.
2389
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicRequest`
2390
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicResponse`
2391
+ def DescribeRocketMQTopic(request)
2392
+ body = send_request('DescribeRocketMQTopic', request.serialize)
2423
2393
  response = JSON.parse(body)
2424
2394
  if response['Response'].key?('Error') == false
2425
- model = DescribeRocketMQTopUsagesResponse.new
2395
+ model = DescribeRocketMQTopicResponse.new
2426
2396
  model.deserialize(response['Response'])
2427
2397
  model
2428
2398
  else
@@ -1751,11 +1751,11 @@ module TencentCloud
1751
1751
  # @param ClusterName: 集群名称
1752
1752
  # @type ClusterName: String
1753
1753
  # @param NodeSpec: 集群的节点规格,需要输入对应的规格标识:
1754
- # 2C8G:rabbit-vip-basic-2c8g
1755
- # 4C16G:rabbit-vip-basic-4c16g
1756
- # 8C32G:rabbit-vip-basic-8c32g
1754
+ # 2C8G:rabbit-vip-profession-2c8g
1755
+ # 4C16G:rabbit-vip-profession-4c16g
1756
+ # 8C32G:rabbit-vip-profession-8c32g
1757
1757
  # 16C32G:rabbit-vip-basic-4
1758
- # 16C64G:rabbit-vip-basic-16c64g
1758
+ # 16C64G:rabbit-vip-profession-16c64g
1759
1759
  # 2C4G:rabbit-vip-basic-5
1760
1760
  # 4C8G:rabbit-vip-basic-1
1761
1761
  # 8C16G(已售罄):rabbit-vip-basic-2
@@ -1773,7 +1773,7 @@ module TencentCloud
1773
1773
  # @type TimeSpan: Integer
1774
1774
  # @param PayMode: 付费方式,0 为后付费,即按量计费;1 为预付费,即包年包月。默认包年包月
1775
1775
  # @type PayMode: Integer
1776
- # @param ClusterVersion: 集群版本,不传默认为 3.8.30,可选值为 3.8.303.11.8
1776
+ # @param ClusterVersion: 集群版本,不传默认为 3.8.30,可选值为 3.8.303.11.8和3.13.7
1777
1777
  # @type ClusterVersion: String
1778
1778
  # @param IsIntl: 是否国际站请求,默认 false
1779
1779
  # @type IsIntl: Boolean
@@ -2235,6 +2235,69 @@ module TencentCloud
2235
2235
  end
2236
2236
  end
2237
2237
 
2238
+ # CreateRocketMQTopicV2请求参数结构体
2239
+ class CreateRocketMQTopicV2Request < TencentCloud::Common::AbstractModel
2240
+ # @param Topic: 主题名称
2241
+ # @type Topic: String
2242
+ # @param Type: 主题类型,可选值为Normal, GlobalOrder, PartitionedOrder, Transaction, DelayScheduled。Transaction仅在专享版支持。
2243
+ # @type Type: String
2244
+ # @param ClusterId: 集群ID
2245
+ # @type ClusterId: String
2246
+ # @param Namespace: 命名空间
2247
+ # @type Namespace: String
2248
+ # @param Remark: 备注
2249
+ # @type Remark: String
2250
+ # @param PartitionNum: 分区数,全局顺序无效
2251
+ # @type PartitionNum: Integer
2252
+ # @param TagList: 标签列表
2253
+ # @type TagList: Array
2254
+
2255
+ attr_accessor :Topic, :Type, :ClusterId, :Namespace, :Remark, :PartitionNum, :TagList
2256
+
2257
+ def initialize(topic=nil, type=nil, clusterid=nil, namespace=nil, remark=nil, partitionnum=nil, taglist=nil)
2258
+ @Topic = topic
2259
+ @Type = type
2260
+ @ClusterId = clusterid
2261
+ @Namespace = namespace
2262
+ @Remark = remark
2263
+ @PartitionNum = partitionnum
2264
+ @TagList = taglist
2265
+ end
2266
+
2267
+ def deserialize(params)
2268
+ @Topic = params['Topic']
2269
+ @Type = params['Type']
2270
+ @ClusterId = params['ClusterId']
2271
+ @Namespace = params['Namespace']
2272
+ @Remark = params['Remark']
2273
+ @PartitionNum = params['PartitionNum']
2274
+ unless params['TagList'].nil?
2275
+ @TagList = []
2276
+ params['TagList'].each do |i|
2277
+ tag_tmp = Tag.new
2278
+ tag_tmp.deserialize(i)
2279
+ @TagList << tag_tmp
2280
+ end
2281
+ end
2282
+ end
2283
+ end
2284
+
2285
+ # CreateRocketMQTopicV2返回参数结构体
2286
+ class CreateRocketMQTopicV2Response < TencentCloud::Common::AbstractModel
2287
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2288
+ # @type RequestId: String
2289
+
2290
+ attr_accessor :RequestId
2291
+
2292
+ def initialize(requestid=nil)
2293
+ @RequestId = requestid
2294
+ end
2295
+
2296
+ def deserialize(params)
2297
+ @RequestId = params['RequestId']
2298
+ end
2299
+ end
2300
+
2238
2301
  # CreateRocketMQVipInstance请求参数结构体
2239
2302
  class CreateRocketMQVipInstanceRequest < TencentCloud::Common::AbstractModel
2240
2303
  # @param Name: 实例名称
@@ -4443,18 +4506,26 @@ module TencentCloud
4443
4506
  # @type MsgId: String
4444
4507
  # @param ProducerName: 生产者名称。
4445
4508
  # @type ProducerName: String
4509
+ # @param Key: 消息 key
4510
+ # 注意:此字段可能返回 null,表示取不到有效值。
4511
+ # @type Key: String
4512
+ # @param Metadata: 消息的元数据信息
4513
+ # 注意:此字段可能返回 null,表示取不到有效值。
4514
+ # @type Metadata: String
4446
4515
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4447
4516
  # @type RequestId: String
4448
4517
 
4449
- attr_accessor :Properties, :Body, :BatchId, :ProduceTime, :MsgId, :ProducerName, :RequestId
4518
+ attr_accessor :Properties, :Body, :BatchId, :ProduceTime, :MsgId, :ProducerName, :Key, :Metadata, :RequestId
4450
4519
 
4451
- def initialize(properties=nil, body=nil, batchid=nil, producetime=nil, msgid=nil, producername=nil, requestid=nil)
4520
+ def initialize(properties=nil, body=nil, batchid=nil, producetime=nil, msgid=nil, producername=nil, key=nil, metadata=nil, requestid=nil)
4452
4521
  @Properties = properties
4453
4522
  @Body = body
4454
4523
  @BatchId = batchid
4455
4524
  @ProduceTime = producetime
4456
4525
  @MsgId = msgid
4457
4526
  @ProducerName = producername
4527
+ @Key = key
4528
+ @Metadata = metadata
4458
4529
  @RequestId = requestid
4459
4530
  end
4460
4531
 
@@ -4465,6 +4536,8 @@ module TencentCloud
4465
4536
  @ProduceTime = params['ProduceTime']
4466
4537
  @MsgId = params['MsgId']
4467
4538
  @ProducerName = params['ProducerName']
4539
+ @Key = params['Key']
4540
+ @Metadata = params['Metadata']
4468
4541
  @RequestId = params['RequestId']
4469
4542
  end
4470
4543
  end
@@ -6228,10 +6301,12 @@ module TencentCloud
6228
6301
  # @type FilterOneGroup: String
6229
6302
  # @param Types: group类型
6230
6303
  # @type Types: Array
6304
+ # @param TagFilters: 标签过滤器
6305
+ # @type TagFilters: Array
6231
6306
 
6232
- attr_accessor :ClusterId, :NamespaceId, :Offset, :Limit, :FilterTopic, :FilterGroup, :SortedBy, :SortOrder, :FilterOneGroup, :Types
6307
+ attr_accessor :ClusterId, :NamespaceId, :Offset, :Limit, :FilterTopic, :FilterGroup, :SortedBy, :SortOrder, :FilterOneGroup, :Types, :TagFilters
6233
6308
 
6234
- def initialize(clusterid=nil, namespaceid=nil, offset=nil, limit=nil, filtertopic=nil, filtergroup=nil, sortedby=nil, sortorder=nil, filteronegroup=nil, types=nil)
6309
+ def initialize(clusterid=nil, namespaceid=nil, offset=nil, limit=nil, filtertopic=nil, filtergroup=nil, sortedby=nil, sortorder=nil, filteronegroup=nil, types=nil, tagfilters=nil)
6235
6310
  @ClusterId = clusterid
6236
6311
  @NamespaceId = namespaceid
6237
6312
  @Offset = offset
@@ -6242,6 +6317,7 @@ module TencentCloud
6242
6317
  @SortOrder = sortorder
6243
6318
  @FilterOneGroup = filteronegroup
6244
6319
  @Types = types
6320
+ @TagFilters = tagfilters
6245
6321
  end
6246
6322
 
6247
6323
  def deserialize(params)
@@ -6255,6 +6331,14 @@ module TencentCloud
6255
6331
  @SortOrder = params['SortOrder']
6256
6332
  @FilterOneGroup = params['FilterOneGroup']
6257
6333
  @Types = params['Types']
6334
+ unless params['TagFilters'].nil?
6335
+ @TagFilters = []
6336
+ params['TagFilters'].each do |i|
6337
+ tagfilter_tmp = TagFilter.new
6338
+ tagfilter_tmp.deserialize(i)
6339
+ @TagFilters << tagfilter_tmp
6340
+ end
6341
+ end
6258
6342
  end
6259
6343
  end
6260
6344
 
@@ -6380,8 +6464,8 @@ module TencentCloud
6380
6464
 
6381
6465
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
6382
6466
  extend Gem::Deprecate
6383
- deprecate :QueryDlqMsg, :none, 2025, 8
6384
- deprecate :QueryDlqMsg=, :none, 2025, 8
6467
+ deprecate :QueryDlqMsg, :none, 2025, 12
6468
+ deprecate :QueryDlqMsg=, :none, 2025, 12
6385
6469
 
6386
6470
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
6387
6471
  @ClusterId = clusterid
@@ -6486,8 +6570,8 @@ module TencentCloud
6486
6570
 
6487
6571
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
6488
6572
  extend Gem::Deprecate
6489
- deprecate :QueryDLQMsg, :none, 2025, 8
6490
- deprecate :QueryDLQMsg=, :none, 2025, 8
6573
+ deprecate :QueryDLQMsg, :none, 2025, 12
6574
+ deprecate :QueryDLQMsg=, :none, 2025, 12
6491
6575
 
6492
6576
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
6493
6577
  @ClusterId = clusterid
@@ -6912,73 +6996,6 @@ module TencentCloud
6912
6996
  end
6913
6997
  end
6914
6998
 
6915
- # DescribeRocketMQSmoothMigrationTaskList请求参数结构体
6916
- class DescribeRocketMQSmoothMigrationTaskListRequest < TencentCloud::Common::AbstractModel
6917
- # @param Offset: 查询起始偏移量
6918
- # @type Offset: Integer
6919
- # @param Limit: 查询最大数量
6920
- # @type Limit: Integer
6921
- # @param Filters: 查询过滤器,
6922
- # 支持的字段如下
6923
- # TaskStatus, 支持多选
6924
- # ConnectionType,支持多选
6925
- # ClusterId,精确搜索
6926
- # TaskName,支持模糊搜索
6927
- # @type Filters: Array
6928
-
6929
- attr_accessor :Offset, :Limit, :Filters
6930
-
6931
- def initialize(offset=nil, limit=nil, filters=nil)
6932
- @Offset = offset
6933
- @Limit = limit
6934
- @Filters = filters
6935
- end
6936
-
6937
- def deserialize(params)
6938
- @Offset = params['Offset']
6939
- @Limit = params['Limit']
6940
- unless params['Filters'].nil?
6941
- @Filters = []
6942
- params['Filters'].each do |i|
6943
- filter_tmp = Filter.new
6944
- filter_tmp.deserialize(i)
6945
- @Filters << filter_tmp
6946
- end
6947
- end
6948
- end
6949
- end
6950
-
6951
- # DescribeRocketMQSmoothMigrationTaskList返回参数结构体
6952
- class DescribeRocketMQSmoothMigrationTaskListResponse < TencentCloud::Common::AbstractModel
6953
- # @param TotalCount: 任务总数
6954
- # @type TotalCount: Integer
6955
- # @param Data: 任务列表
6956
- # @type Data: Array
6957
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6958
- # @type RequestId: String
6959
-
6960
- attr_accessor :TotalCount, :Data, :RequestId
6961
-
6962
- def initialize(totalcount=nil, data=nil, requestid=nil)
6963
- @TotalCount = totalcount
6964
- @Data = data
6965
- @RequestId = requestid
6966
- end
6967
-
6968
- def deserialize(params)
6969
- @TotalCount = params['TotalCount']
6970
- unless params['Data'].nil?
6971
- @Data = []
6972
- params['Data'].each do |i|
6973
- rocketmqsmoothmigrationtaskitem_tmp = RocketMQSmoothMigrationTaskItem.new
6974
- rocketmqsmoothmigrationtaskitem_tmp.deserialize(i)
6975
- @Data << rocketmqsmoothmigrationtaskitem_tmp
6976
- end
6977
- end
6978
- @RequestId = params['RequestId']
6979
- end
6980
- end
6981
-
6982
6999
  # DescribeRocketMQSmoothMigrationTask请求参数结构体
6983
7000
  class DescribeRocketMQSmoothMigrationTaskRequest < TencentCloud::Common::AbstractModel
6984
7001
  # @param TaskId: 任务ID
@@ -7111,140 +7128,6 @@ module TencentCloud
7111
7128
  end
7112
7129
  end
7113
7130
 
7114
- # DescribeRocketMQSourceClusterGroupList请求参数结构体
7115
- class DescribeRocketMQSourceClusterGroupListRequest < TencentCloud::Common::AbstractModel
7116
- # @param Limit: 页大小
7117
- # @type Limit: Integer
7118
- # @param Offset: 偏移量
7119
- # @type Offset: Integer
7120
- # @param TaskId: 迁移任务名称
7121
- # @type TaskId: String
7122
- # @param Filters: 查询过滤器,支持字段groupName,imported
7123
- # @type Filters: Array
7124
-
7125
- attr_accessor :Limit, :Offset, :TaskId, :Filters
7126
-
7127
- def initialize(limit=nil, offset=nil, taskid=nil, filters=nil)
7128
- @Limit = limit
7129
- @Offset = offset
7130
- @TaskId = taskid
7131
- @Filters = filters
7132
- end
7133
-
7134
- def deserialize(params)
7135
- @Limit = params['Limit']
7136
- @Offset = params['Offset']
7137
- @TaskId = params['TaskId']
7138
- unless params['Filters'].nil?
7139
- @Filters = []
7140
- params['Filters'].each do |i|
7141
- filter_tmp = Filter.new
7142
- filter_tmp.deserialize(i)
7143
- @Filters << filter_tmp
7144
- end
7145
- end
7146
- end
7147
- end
7148
-
7149
- # DescribeRocketMQSourceClusterGroupList返回参数结构体
7150
- class DescribeRocketMQSourceClusterGroupListResponse < TencentCloud::Common::AbstractModel
7151
- # @param Groups: group列表
7152
- # @type Groups: Array
7153
- # @param TotalCount: 总条数
7154
- # @type TotalCount: Integer
7155
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7156
- # @type RequestId: String
7157
-
7158
- attr_accessor :Groups, :TotalCount, :RequestId
7159
-
7160
- def initialize(groups=nil, totalcount=nil, requestid=nil)
7161
- @Groups = groups
7162
- @TotalCount = totalcount
7163
- @RequestId = requestid
7164
- end
7165
-
7166
- def deserialize(params)
7167
- unless params['Groups'].nil?
7168
- @Groups = []
7169
- params['Groups'].each do |i|
7170
- rocketmqgroupconfigoutput_tmp = RocketMQGroupConfigOutput.new
7171
- rocketmqgroupconfigoutput_tmp.deserialize(i)
7172
- @Groups << rocketmqgroupconfigoutput_tmp
7173
- end
7174
- end
7175
- @TotalCount = params['TotalCount']
7176
- @RequestId = params['RequestId']
7177
- end
7178
- end
7179
-
7180
- # DescribeRocketMQSourceClusterTopicList请求参数结构体
7181
- class DescribeRocketMQSourceClusterTopicListRequest < TencentCloud::Common::AbstractModel
7182
- # @param Limit: 分页大小
7183
- # @type Limit: Integer
7184
- # @param Offset: 偏移量
7185
- # @type Offset: Integer
7186
- # @param TaskId: 迁移任务名
7187
- # @type TaskId: String
7188
- # @param Filters: 查询过滤器,支持字段如下
7189
- # TopicName,
7190
- # Type,Imported
7191
- # @type Filters: Array
7192
-
7193
- attr_accessor :Limit, :Offset, :TaskId, :Filters
7194
-
7195
- def initialize(limit=nil, offset=nil, taskid=nil, filters=nil)
7196
- @Limit = limit
7197
- @Offset = offset
7198
- @TaskId = taskid
7199
- @Filters = filters
7200
- end
7201
-
7202
- def deserialize(params)
7203
- @Limit = params['Limit']
7204
- @Offset = params['Offset']
7205
- @TaskId = params['TaskId']
7206
- unless params['Filters'].nil?
7207
- @Filters = []
7208
- params['Filters'].each do |i|
7209
- filter_tmp = Filter.new
7210
- filter_tmp.deserialize(i)
7211
- @Filters << filter_tmp
7212
- end
7213
- end
7214
- end
7215
- end
7216
-
7217
- # DescribeRocketMQSourceClusterTopicList返回参数结构体
7218
- class DescribeRocketMQSourceClusterTopicListResponse < TencentCloud::Common::AbstractModel
7219
- # @param Topics: topic层列表
7220
- # @type Topics: Array
7221
- # @param TotalCount: 总条数
7222
- # @type TotalCount: Integer
7223
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7224
- # @type RequestId: String
7225
-
7226
- attr_accessor :Topics, :TotalCount, :RequestId
7227
-
7228
- def initialize(topics=nil, totalcount=nil, requestid=nil)
7229
- @Topics = topics
7230
- @TotalCount = totalcount
7231
- @RequestId = requestid
7232
- end
7233
-
7234
- def deserialize(params)
7235
- unless params['Topics'].nil?
7236
- @Topics = []
7237
- params['Topics'].each do |i|
7238
- rocketmqtopicconfigoutput_tmp = RocketMQTopicConfigOutput.new
7239
- rocketmqtopicconfigoutput_tmp.deserialize(i)
7240
- @Topics << rocketmqtopicconfigoutput_tmp
7241
- end
7242
- end
7243
- @TotalCount = params['TotalCount']
7244
- @RequestId = params['RequestId']
7245
- end
7246
- end
7247
-
7248
7131
  # DescribeRocketMQSubscriptions请求参数结构体
7249
7132
  class DescribeRocketMQSubscriptionsRequest < TencentCloud::Common::AbstractModel
7250
7133
  # @param ClusterId: 集群ID
@@ -7404,8 +7287,8 @@ module TencentCloud
7404
7287
 
7405
7288
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
7406
7289
  extend Gem::Deprecate
7407
- deprecate :QueryDlqMsg, :none, 2025, 8
7408
- deprecate :QueryDlqMsg=, :none, 2025, 8
7290
+ deprecate :QueryDlqMsg, :none, 2025, 12
7291
+ deprecate :QueryDlqMsg=, :none, 2025, 12
7409
7292
 
7410
7293
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, starttime=nil, endtime=nil, msgid=nil, msgkey=nil, offset=nil, limit=nil, taskrequestid=nil, querydlqmsg=nil, numoflatestmsg=nil, tag=nil, querydeadlettermessage=nil)
7411
7294
  @ClusterId = clusterid
@@ -7478,6 +7361,65 @@ module TencentCloud
7478
7361
  end
7479
7362
  end
7480
7363
 
7364
+ # DescribeRocketMQTopic请求参数结构体
7365
+ class DescribeRocketMQTopicRequest < TencentCloud::Common::AbstractModel
7366
+ # @param ClusterId: 集群ID
7367
+ # @type ClusterId: String
7368
+ # @param NamespaceId: 命名空间
7369
+ # @type NamespaceId: String
7370
+ # @param TopicName: 主题名称
7371
+ # @type TopicName: String
7372
+ # @param ConsumerGroup: 消费组名称
7373
+ # @type ConsumerGroup: String
7374
+ # @param Offset: 订阅列表分页参数Offset
7375
+ # @type Offset: Integer
7376
+ # @param Limit: 订阅列表分页参数Limit
7377
+ # @type Limit: Integer
7378
+
7379
+ attr_accessor :ClusterId, :NamespaceId, :TopicName, :ConsumerGroup, :Offset, :Limit
7380
+
7381
+ def initialize(clusterid=nil, namespaceid=nil, topicname=nil, consumergroup=nil, offset=nil, limit=nil)
7382
+ @ClusterId = clusterid
7383
+ @NamespaceId = namespaceid
7384
+ @TopicName = topicname
7385
+ @ConsumerGroup = consumergroup
7386
+ @Offset = offset
7387
+ @Limit = limit
7388
+ end
7389
+
7390
+ def deserialize(params)
7391
+ @ClusterId = params['ClusterId']
7392
+ @NamespaceId = params['NamespaceId']
7393
+ @TopicName = params['TopicName']
7394
+ @ConsumerGroup = params['ConsumerGroup']
7395
+ @Offset = params['Offset']
7396
+ @Limit = params['Limit']
7397
+ end
7398
+ end
7399
+
7400
+ # DescribeRocketMQTopic返回参数结构体
7401
+ class DescribeRocketMQTopicResponse < TencentCloud::Common::AbstractModel
7402
+ # @param Topic: Topic详情
7403
+ # @type Topic: :class:`Tencentcloud::Tdmq.v20200217.models.RocketMQTopic`
7404
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7405
+ # @type RequestId: String
7406
+
7407
+ attr_accessor :Topic, :RequestId
7408
+
7409
+ def initialize(topic=nil, requestid=nil)
7410
+ @Topic = topic
7411
+ @RequestId = requestid
7412
+ end
7413
+
7414
+ def deserialize(params)
7415
+ unless params['Topic'].nil?
7416
+ @Topic = RocketMQTopic.new
7417
+ @Topic.deserialize(params['Topic'])
7418
+ end
7419
+ @RequestId = params['RequestId']
7420
+ end
7421
+ end
7422
+
7481
7423
  # DescribeRocketMQTopicStats请求参数结构体
7482
7424
  class DescribeRocketMQTopicStatsRequest < TencentCloud::Common::AbstractModel
7483
7425
  # @param ClusterId: 实例ID
@@ -7601,10 +7543,12 @@ module TencentCloud
7601
7543
  # @type FilterName: String
7602
7544
  # @param FilterGroup: 按订阅消费组名称过滤
7603
7545
  # @type FilterGroup: String
7546
+ # @param TagFilters: 标签过滤器
7547
+ # @type TagFilters: Array
7604
7548
 
7605
- attr_accessor :Offset, :Limit, :ClusterId, :NamespaceId, :FilterType, :FilterName, :FilterGroup
7549
+ attr_accessor :Offset, :Limit, :ClusterId, :NamespaceId, :FilterType, :FilterName, :FilterGroup, :TagFilters
7606
7550
 
7607
- def initialize(offset=nil, limit=nil, clusterid=nil, namespaceid=nil, filtertype=nil, filtername=nil, filtergroup=nil)
7551
+ def initialize(offset=nil, limit=nil, clusterid=nil, namespaceid=nil, filtertype=nil, filtername=nil, filtergroup=nil, tagfilters=nil)
7608
7552
  @Offset = offset
7609
7553
  @Limit = limit
7610
7554
  @ClusterId = clusterid
@@ -7612,6 +7556,7 @@ module TencentCloud
7612
7556
  @FilterType = filtertype
7613
7557
  @FilterName = filtername
7614
7558
  @FilterGroup = filtergroup
7559
+ @TagFilters = tagfilters
7615
7560
  end
7616
7561
 
7617
7562
  def deserialize(params)
@@ -7622,6 +7567,14 @@ module TencentCloud
7622
7567
  @FilterType = params['FilterType']
7623
7568
  @FilterName = params['FilterName']
7624
7569
  @FilterGroup = params['FilterGroup']
7570
+ unless params['TagFilters'].nil?
7571
+ @TagFilters = []
7572
+ params['TagFilters'].each do |i|
7573
+ tagfilter_tmp = TagFilter.new
7574
+ tagfilter_tmp.deserialize(i)
7575
+ @TagFilters << tagfilter_tmp
7576
+ end
7577
+ end
7625
7578
  end
7626
7579
  end
7627
7580
 
@@ -9342,14 +9295,20 @@ module TencentCloud
9342
9295
  # @type Remark: String
9343
9296
  # @param EnableDeletionProtection: 是否开启删除保护,不填则不修改
9344
9297
  # @type EnableDeletionProtection: Boolean
9298
+ # @param RemoveAllTags: 是否删除所有标签,默认为false
9299
+ # @type RemoveAllTags: Boolean
9300
+ # @param Tags: 修改实例的标签信息,全量标签信息,非增量
9301
+ # @type Tags: Array
9345
9302
 
9346
- attr_accessor :InstanceId, :ClusterName, :Remark, :EnableDeletionProtection
9303
+ attr_accessor :InstanceId, :ClusterName, :Remark, :EnableDeletionProtection, :RemoveAllTags, :Tags
9347
9304
 
9348
- def initialize(instanceid=nil, clustername=nil, remark=nil, enabledeletionprotection=nil)
9305
+ def initialize(instanceid=nil, clustername=nil, remark=nil, enabledeletionprotection=nil, removealltags=nil, tags=nil)
9349
9306
  @InstanceId = instanceid
9350
9307
  @ClusterName = clustername
9351
9308
  @Remark = remark
9352
9309
  @EnableDeletionProtection = enabledeletionprotection
9310
+ @RemoveAllTags = removealltags
9311
+ @Tags = tags
9353
9312
  end
9354
9313
 
9355
9314
  def deserialize(params)
@@ -9357,6 +9316,15 @@ module TencentCloud
9357
9316
  @ClusterName = params['ClusterName']
9358
9317
  @Remark = params['Remark']
9359
9318
  @EnableDeletionProtection = params['EnableDeletionProtection']
9319
+ @RemoveAllTags = params['RemoveAllTags']
9320
+ unless params['Tags'].nil?
9321
+ @Tags = []
9322
+ params['Tags'].each do |i|
9323
+ tag_tmp = Tag.new
9324
+ tag_tmp.deserialize(i)
9325
+ @Tags << tag_tmp
9326
+ end
9327
+ end
9360
9328
  end
9361
9329
  end
9362
9330
 
@@ -9591,15 +9559,18 @@ module TencentCloud
9591
9559
  # @type MessageRetention: Integer
9592
9560
  # @param EnableDeletionProtection: 是否开启删除保护
9593
9561
  # @type EnableDeletionProtection: Boolean
9562
+ # @param SendReceiveRatio: 控制生产和消费消息的 TPS 占比,取值范围0~1,默认值为0.5
9563
+ # @type SendReceiveRatio: Float
9594
9564
 
9595
- attr_accessor :InstanceId, :Name, :Remark, :MessageRetention, :EnableDeletionProtection
9565
+ attr_accessor :InstanceId, :Name, :Remark, :MessageRetention, :EnableDeletionProtection, :SendReceiveRatio
9596
9566
 
9597
- def initialize(instanceid=nil, name=nil, remark=nil, messageretention=nil, enabledeletionprotection=nil)
9567
+ def initialize(instanceid=nil, name=nil, remark=nil, messageretention=nil, enabledeletionprotection=nil, sendreceiveratio=nil)
9598
9568
  @InstanceId = instanceid
9599
9569
  @Name = name
9600
9570
  @Remark = remark
9601
9571
  @MessageRetention = messageretention
9602
9572
  @EnableDeletionProtection = enabledeletionprotection
9573
+ @SendReceiveRatio = sendreceiveratio
9603
9574
  end
9604
9575
 
9605
9576
  def deserialize(params)
@@ -9608,6 +9579,7 @@ module TencentCloud
9608
9579
  @Remark = params['Remark']
9609
9580
  @MessageRetention = params['MessageRetention']
9610
9581
  @EnableDeletionProtection = params['EnableDeletionProtection']
9582
+ @SendReceiveRatio = params['SendReceiveRatio']
9611
9583
  end
9612
9584
  end
9613
9585
 
@@ -10767,10 +10739,12 @@ module TencentCloud
10767
10739
  # @type ControlPlaneEndpointInfo: :class:`Tencentcloud::Tdmq.v20200217.models.VpcEndpointInfo`
10768
10740
  # @param PublicTlsAccessEndpoint: TLS加密的数据流公网接入点
10769
10741
  # @type PublicTlsAccessEndpoint: String
10742
+ # @param PublicIpReused: 公网IP是否复用
10743
+ # @type PublicIpReused: Boolean
10770
10744
 
10771
- attr_accessor :PublicAccessEndpoint, :WebConsoleEndpoint, :WebConsoleUsername, :WebConsolePassword, :PublicAccessEndpointStatus, :PublicControlConsoleSwitchStatus, :VpcControlConsoleSwitchStatus, :VpcWebConsoleEndpoint, :PublicWebConsoleSwitchStatus, :VpcWebConsoleSwitchStatus, :PublicDataStreamStatus, :PrometheusEndpointInfo, :WebConsoleDomainEndpoint, :ControlPlaneEndpointInfo, :PublicTlsAccessEndpoint
10745
+ attr_accessor :PublicAccessEndpoint, :WebConsoleEndpoint, :WebConsoleUsername, :WebConsolePassword, :PublicAccessEndpointStatus, :PublicControlConsoleSwitchStatus, :VpcControlConsoleSwitchStatus, :VpcWebConsoleEndpoint, :PublicWebConsoleSwitchStatus, :VpcWebConsoleSwitchStatus, :PublicDataStreamStatus, :PrometheusEndpointInfo, :WebConsoleDomainEndpoint, :ControlPlaneEndpointInfo, :PublicTlsAccessEndpoint, :PublicIpReused
10772
10746
 
10773
- def initialize(publicaccessendpoint=nil, webconsoleendpoint=nil, webconsoleusername=nil, webconsolepassword=nil, publicaccessendpointstatus=nil, publiccontrolconsoleswitchstatus=nil, vpccontrolconsoleswitchstatus=nil, vpcwebconsoleendpoint=nil, publicwebconsoleswitchstatus=nil, vpcwebconsoleswitchstatus=nil, publicdatastreamstatus=nil, prometheusendpointinfo=nil, webconsoledomainendpoint=nil, controlplaneendpointinfo=nil, publictlsaccessendpoint=nil)
10747
+ def initialize(publicaccessendpoint=nil, webconsoleendpoint=nil, webconsoleusername=nil, webconsolepassword=nil, publicaccessendpointstatus=nil, publiccontrolconsoleswitchstatus=nil, vpccontrolconsoleswitchstatus=nil, vpcwebconsoleendpoint=nil, publicwebconsoleswitchstatus=nil, vpcwebconsoleswitchstatus=nil, publicdatastreamstatus=nil, prometheusendpointinfo=nil, webconsoledomainendpoint=nil, controlplaneendpointinfo=nil, publictlsaccessendpoint=nil, publicipreused=nil)
10774
10748
  @PublicAccessEndpoint = publicaccessendpoint
10775
10749
  @WebConsoleEndpoint = webconsoleendpoint
10776
10750
  @WebConsoleUsername = webconsoleusername
@@ -10786,6 +10760,7 @@ module TencentCloud
10786
10760
  @WebConsoleDomainEndpoint = webconsoledomainendpoint
10787
10761
  @ControlPlaneEndpointInfo = controlplaneendpointinfo
10788
10762
  @PublicTlsAccessEndpoint = publictlsaccessendpoint
10763
+ @PublicIpReused = publicipreused
10789
10764
  end
10790
10765
 
10791
10766
  def deserialize(params)
@@ -10810,6 +10785,7 @@ module TencentCloud
10810
10785
  @ControlPlaneEndpointInfo.deserialize(params['ControlPlaneEndpointInfo'])
10811
10786
  end
10812
10787
  @PublicTlsAccessEndpoint = params['PublicTlsAccessEndpoint']
10788
+ @PublicIpReused = params['PublicIpReused']
10813
10789
  end
10814
10790
  end
10815
10791
 
@@ -11428,16 +11404,16 @@ module TencentCloud
11428
11404
  # @type PayMode: Integer
11429
11405
  # @param Remark: 备注信息
11430
11406
  # @type Remark: String
11431
- # @param SpecName: 集群的节点规格,需要输入对应的规格标识:
11432
- # 2C8G:rabbit-vip-basic-2c8g
11433
- # 4C16G:rabbit-vip-basic-4c16g
11434
- # 8C32G:rabbit-vip-basic-8c32g
11407
+ # @param SpecName: 集群的节点规格,对应的规格标识:
11408
+ # 2C8G:rabbit-vip-profession-2c8g
11409
+ # 4C16G:rabbit-vip-profession-4c16g
11410
+ # 8C32G:rabbit-vip-profession-8c32g
11435
11411
  # 16C32G:rabbit-vip-basic-4
11436
- # 16C64G:rabbit-vip-basic-16c64g
11412
+ # 16C64G:rabbit-vip-profession-16c64g
11437
11413
  # 2C4G:rabbit-vip-basic-5
11438
11414
  # 4C8G:rabbit-vip-basic-1
11439
11415
  # 8C16G(已售罄):rabbit-vip-basic-2
11440
- # 不传默认为4C8G:rabbit-vip-basic-1
11416
+ # 不传默认为 4C8G:rabbit-vip-basic-1
11441
11417
  # @type SpecName: String
11442
11418
  # @param ExceptionInformation: 集群异常信息
11443
11419
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -11963,8 +11939,8 @@ module TencentCloud
11963
11939
 
11964
11940
  attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime, :MaxQueuesPerTopic, :TopicDistribution, :MaxRoleNum, :MaxTpsLimit
11965
11941
  extend Gem::Deprecate
11966
- deprecate :MaxTpsPerNamespace, :none, 2025, 8
11967
- deprecate :MaxTpsPerNamespace=, :none, 2025, 8
11942
+ deprecate :MaxTpsPerNamespace, :none, 2025, 12
11943
+ deprecate :MaxTpsPerNamespace=, :none, 2025, 12
11968
11944
 
11969
11945
  def initialize(maxtpspernamespace=nil, maxnamespacenum=nil, usednamespacenum=nil, maxtopicnum=nil, usedtopicnum=nil, maxgroupnum=nil, usedgroupnum=nil, maxretentiontime=nil, maxlatencytime=nil, maxqueuespertopic=nil, topicdistribution=nil, maxrolenum=nil, maxtpslimit=nil)
11970
11946
  @MaxTpsPerNamespace = maxtpspernamespace
@@ -12365,15 +12341,17 @@ module TencentCloud
12365
12341
  # @type Namespace: String
12366
12342
  # @param SubscribeTopicNum: 订阅的主题个数
12367
12343
  # @type SubscribeTopicNum: Integer
12344
+ # @param TagList: 绑定的标签列表
12345
+ # @type TagList: Array
12368
12346
 
12369
- attr_accessor :Name, :ConsumerNum, :TPS, :TotalAccumulative, :ConsumptionMode, :ReadEnabled, :RetryPartitionNum, :CreateTime, :UpdateTime, :ClientProtocol, :Remark, :ConsumerType, :BroadcastEnabled, :GroupType, :RetryMaxTimes, :InstanceId, :Namespace, :SubscribeTopicNum
12347
+ attr_accessor :Name, :ConsumerNum, :TPS, :TotalAccumulative, :ConsumptionMode, :ReadEnabled, :RetryPartitionNum, :CreateTime, :UpdateTime, :ClientProtocol, :Remark, :ConsumerType, :BroadcastEnabled, :GroupType, :RetryMaxTimes, :InstanceId, :Namespace, :SubscribeTopicNum, :TagList
12370
12348
  extend Gem::Deprecate
12371
- deprecate :TPS, :none, 2025, 8
12372
- deprecate :TPS=, :none, 2025, 8
12373
- deprecate :TotalAccumulative, :none, 2025, 8
12374
- deprecate :TotalAccumulative=, :none, 2025, 8
12349
+ deprecate :TPS, :none, 2025, 12
12350
+ deprecate :TPS=, :none, 2025, 12
12351
+ deprecate :TotalAccumulative, :none, 2025, 12
12352
+ deprecate :TotalAccumulative=, :none, 2025, 12
12375
12353
 
12376
- def initialize(name=nil, consumernum=nil, tps=nil, totalaccumulative=nil, consumptionmode=nil, readenabled=nil, retrypartitionnum=nil, createtime=nil, updatetime=nil, clientprotocol=nil, remark=nil, consumertype=nil, broadcastenabled=nil, grouptype=nil, retrymaxtimes=nil, instanceid=nil, namespace=nil, subscribetopicnum=nil)
12354
+ def initialize(name=nil, consumernum=nil, tps=nil, totalaccumulative=nil, consumptionmode=nil, readenabled=nil, retrypartitionnum=nil, createtime=nil, updatetime=nil, clientprotocol=nil, remark=nil, consumertype=nil, broadcastenabled=nil, grouptype=nil, retrymaxtimes=nil, instanceid=nil, namespace=nil, subscribetopicnum=nil, taglist=nil)
12377
12355
  @Name = name
12378
12356
  @ConsumerNum = consumernum
12379
12357
  @TPS = tps
@@ -12392,6 +12370,7 @@ module TencentCloud
12392
12370
  @InstanceId = instanceid
12393
12371
  @Namespace = namespace
12394
12372
  @SubscribeTopicNum = subscribetopicnum
12373
+ @TagList = taglist
12395
12374
  end
12396
12375
 
12397
12376
  def deserialize(params)
@@ -12413,6 +12392,14 @@ module TencentCloud
12413
12392
  @InstanceId = params['InstanceId']
12414
12393
  @Namespace = params['Namespace']
12415
12394
  @SubscribeTopicNum = params['SubscribeTopicNum']
12395
+ unless params['TagList'].nil?
12396
+ @TagList = []
12397
+ params['TagList'].each do |i|
12398
+ tag_tmp = Tag.new
12399
+ tag_tmp.deserialize(i)
12400
+ @TagList << tag_tmp
12401
+ end
12402
+ end
12416
12403
  end
12417
12404
  end
12418
12405
 
@@ -12454,38 +12441,6 @@ module TencentCloud
12454
12441
  end
12455
12442
  end
12456
12443
 
12457
- # RocketMQ消费组配置信息
12458
- class RocketMQGroupConfigOutput < TencentCloud::Common::AbstractModel
12459
- # @param Namespace: 命名空间
12460
- # 注意:此字段可能返回 null,表示取不到有效值。
12461
- # @type Namespace: String
12462
- # @param GroupName: 消费组名称
12463
- # 注意:此字段可能返回 null,表示取不到有效值。
12464
- # @type GroupName: String
12465
- # @param Imported: 是否已导入
12466
- # 注意:此字段可能返回 null,表示取不到有效值。
12467
- # @type Imported: Boolean
12468
- # @param Remark: remark
12469
- # 注意:此字段可能返回 null,表示取不到有效值。
12470
- # @type Remark: String
12471
-
12472
- attr_accessor :Namespace, :GroupName, :Imported, :Remark
12473
-
12474
- def initialize(namespace=nil, groupname=nil, imported=nil, remark=nil)
12475
- @Namespace = namespace
12476
- @GroupName = groupname
12477
- @Imported = imported
12478
- @Remark = remark
12479
- end
12480
-
12481
- def deserialize(params)
12482
- @Namespace = params['Namespace']
12483
- @GroupName = params['GroupName']
12484
- @Imported = params['Imported']
12485
- @Remark = params['Remark']
12486
- end
12487
- end
12488
-
12489
12444
  # RocketMQ专享集群实例配置
12490
12445
  class RocketMQInstanceConfig < TencentCloud::Common::AbstractModel
12491
12446
  # @param MaxTpsPerNamespace: 单命名空间TPS上线
@@ -12528,10 +12483,12 @@ module TencentCloud
12528
12483
  # @param TopicNumUpperLimit: Topic个数最大配额,默认为集群规格单节点最大配额*节点个数
12529
12484
  # 注意:此字段可能返回 null,表示取不到有效值。
12530
12485
  # @type TopicNumUpperLimit: Integer
12486
+ # @param SendReceiveRatio: 控制生产和消费消息的 TPS 占比,取值范围0~1,默认值为0.5
12487
+ # @type SendReceiveRatio: Float
12531
12488
 
12532
- attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :ConfigDisplay, :NodeCount, :NodeDistribution, :TopicDistribution, :MaxQueuesPerTopic, :MaxRetention, :MinRetention, :Retention, :TopicNumLowerLimit, :TopicNumUpperLimit
12489
+ attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :ConfigDisplay, :NodeCount, :NodeDistribution, :TopicDistribution, :MaxQueuesPerTopic, :MaxRetention, :MinRetention, :Retention, :TopicNumLowerLimit, :TopicNumUpperLimit, :SendReceiveRatio
12533
12490
 
12534
- def initialize(maxtpspernamespace=nil, maxnamespacenum=nil, usednamespacenum=nil, maxtopicnum=nil, usedtopicnum=nil, maxgroupnum=nil, usedgroupnum=nil, configdisplay=nil, nodecount=nil, nodedistribution=nil, topicdistribution=nil, maxqueuespertopic=nil, maxretention=nil, minretention=nil, retention=nil, topicnumlowerlimit=nil, topicnumupperlimit=nil)
12491
+ def initialize(maxtpspernamespace=nil, maxnamespacenum=nil, usednamespacenum=nil, maxtopicnum=nil, usedtopicnum=nil, maxgroupnum=nil, usedgroupnum=nil, configdisplay=nil, nodecount=nil, nodedistribution=nil, topicdistribution=nil, maxqueuespertopic=nil, maxretention=nil, minretention=nil, retention=nil, topicnumlowerlimit=nil, topicnumupperlimit=nil, sendreceiveratio=nil)
12535
12492
  @MaxTpsPerNamespace = maxtpspernamespace
12536
12493
  @MaxNamespaceNum = maxnamespacenum
12537
12494
  @UsedNamespaceNum = usednamespacenum
@@ -12549,6 +12506,7 @@ module TencentCloud
12549
12506
  @Retention = retention
12550
12507
  @TopicNumLowerLimit = topicnumlowerlimit
12551
12508
  @TopicNumUpperLimit = topicnumupperlimit
12509
+ @SendReceiveRatio = sendreceiveratio
12552
12510
  end
12553
12511
 
12554
12512
  def deserialize(params)
@@ -12583,6 +12541,7 @@ module TencentCloud
12583
12541
  @Retention = params['Retention']
12584
12542
  @TopicNumLowerLimit = params['TopicNumLowerLimit']
12585
12543
  @TopicNumUpperLimit = params['TopicNumUpperLimit']
12544
+ @SendReceiveRatio = params['SendReceiveRatio']
12586
12545
  end
12587
12546
  end
12588
12547
 
@@ -12735,63 +12694,6 @@ module TencentCloud
12735
12694
  end
12736
12695
  end
12737
12696
 
12738
- # RocketMQ平滑迁移任务
12739
- class RocketMQSmoothMigrationTaskItem < TencentCloud::Common::AbstractModel
12740
- # @param TaskId: 任务ID
12741
- # 注意:此字段可能返回 null,表示取不到有效值。
12742
- # @type TaskId: String
12743
- # @param TaskName: 任务名称
12744
- # 注意:此字段可能返回 null,表示取不到有效值。
12745
- # @type TaskName: String
12746
- # @param SourceClusterName: 源集群名称
12747
- # 注意:此字段可能返回 null,表示取不到有效值。
12748
- # @type SourceClusterName: String
12749
- # @param ClusterId: 目标集群ID
12750
- # 注意:此字段可能返回 null,表示取不到有效值。
12751
- # @type ClusterId: String
12752
- # @param ConnectionType: 网络连接类型,
12753
- # PUBLIC 公网
12754
- # VPC 私有网络
12755
- # OTHER 其他
12756
- # 注意:此字段可能返回 null,表示取不到有效值。
12757
- # @type ConnectionType: String
12758
- # @param SourceNameServer: 源集群NameServer地址
12759
- # 注意:此字段可能返回 null,表示取不到有效值。
12760
- # @type SourceNameServer: String
12761
- # @param TaskStatus: 任务状态
12762
- # Configuration 迁移配置
12763
- # SourceConnecting 连接源集群中
12764
- # MetaDataImport 元数据导入
12765
- # EndpointSetup 切换接入点
12766
- # ServiceMigration 切流中
12767
- # Completed 已完成
12768
- # Cancelled 已取消
12769
- # 注意:此字段可能返回 null,表示取不到有效值。
12770
- # @type TaskStatus: String
12771
-
12772
- attr_accessor :TaskId, :TaskName, :SourceClusterName, :ClusterId, :ConnectionType, :SourceNameServer, :TaskStatus
12773
-
12774
- def initialize(taskid=nil, taskname=nil, sourceclustername=nil, clusterid=nil, connectiontype=nil, sourcenameserver=nil, taskstatus=nil)
12775
- @TaskId = taskid
12776
- @TaskName = taskname
12777
- @SourceClusterName = sourceclustername
12778
- @ClusterId = clusterid
12779
- @ConnectionType = connectiontype
12780
- @SourceNameServer = sourcenameserver
12781
- @TaskStatus = taskstatus
12782
- end
12783
-
12784
- def deserialize(params)
12785
- @TaskId = params['TaskId']
12786
- @TaskName = params['TaskName']
12787
- @SourceClusterName = params['SourceClusterName']
12788
- @ClusterId = params['ClusterId']
12789
- @ConnectionType = params['ConnectionType']
12790
- @SourceNameServer = params['SourceNameServer']
12791
- @TaskStatus = params['TaskStatus']
12792
- end
12793
- end
12794
-
12795
12697
  # RocketMQ消费组订阅信息
12796
12698
  class RocketMQSubscription < TencentCloud::Common::AbstractModel
12797
12699
  # @param Topic: 主题名称
@@ -12934,10 +12836,12 @@ module TencentCloud
12934
12836
  # @param SubscriptionData: 订阅关系列表
12935
12837
  # 注意:此字段可能返回 null,表示取不到有效值。
12936
12838
  # @type SubscriptionData: Array
12839
+ # @param TagList: 绑定的标签列表
12840
+ # @type TagList: Array
12937
12841
 
12938
- attr_accessor :Name, :Type, :GroupNum, :Remark, :PartitionNum, :CreateTime, :UpdateTime, :InstanceId, :Namespace, :LastUpdateTime, :SubscriptionCount, :SubscriptionData
12842
+ attr_accessor :Name, :Type, :GroupNum, :Remark, :PartitionNum, :CreateTime, :UpdateTime, :InstanceId, :Namespace, :LastUpdateTime, :SubscriptionCount, :SubscriptionData, :TagList
12939
12843
 
12940
- def initialize(name=nil, type=nil, groupnum=nil, remark=nil, partitionnum=nil, createtime=nil, updatetime=nil, instanceid=nil, namespace=nil, lastupdatetime=nil, subscriptioncount=nil, subscriptiondata=nil)
12844
+ def initialize(name=nil, type=nil, groupnum=nil, remark=nil, partitionnum=nil, createtime=nil, updatetime=nil, instanceid=nil, namespace=nil, lastupdatetime=nil, subscriptioncount=nil, subscriptiondata=nil, taglist=nil)
12941
12845
  @Name = name
12942
12846
  @Type = type
12943
12847
  @GroupNum = groupnum
@@ -12950,6 +12854,7 @@ module TencentCloud
12950
12854
  @LastUpdateTime = lastupdatetime
12951
12855
  @SubscriptionCount = subscriptioncount
12952
12856
  @SubscriptionData = subscriptiondata
12857
+ @TagList = taglist
12953
12858
  end
12954
12859
 
12955
12860
  def deserialize(params)
@@ -12972,6 +12877,14 @@ module TencentCloud
12972
12877
  @SubscriptionData << rocketmqsubscription_tmp
12973
12878
  end
12974
12879
  end
12880
+ unless params['TagList'].nil?
12881
+ @TagList = []
12882
+ params['TagList'].each do |i|
12883
+ tag_tmp = Tag.new
12884
+ tag_tmp.deserialize(i)
12885
+ @TagList << tag_tmp
12886
+ end
12887
+ end
12975
12888
  end
12976
12889
  end
12977
12890
 
@@ -13011,53 +12924,6 @@ module TencentCloud
13011
12924
  end
13012
12925
  end
13013
12926
 
13014
- # RocketMQ主题配置信息
13015
- class RocketMQTopicConfigOutput < TencentCloud::Common::AbstractModel
13016
- # @param Namespace: 命名空间
13017
- # 注意:此字段可能返回 null,表示取不到有效值。
13018
- # @type Namespace: String
13019
- # @param TopicName: 主题名称
13020
- # 注意:此字段可能返回 null,表示取不到有效值。
13021
- # @type TopicName: String
13022
- # @param Type: 主题类型:
13023
- # Normal,普通
13024
- # GlobalOrder, 全局顺序
13025
- # PartitionedOrder, 分区顺序
13026
- # Transaction,事务消息
13027
- # DelayScheduled,延迟/定时消息
13028
- # 注意:此字段可能返回 null,表示取不到有效值。
13029
- # @type Type: String
13030
- # @param Partitions: 分区个数
13031
- # 注意:此字段可能返回 null,表示取不到有效值。
13032
- # @type Partitions: Integer
13033
- # @param Remark: 备注信息
13034
- # 注意:此字段可能返回 null,表示取不到有效值。
13035
- # @type Remark: String
13036
- # @param Imported: 是否导入
13037
- # 注意:此字段可能返回 null,表示取不到有效值。
13038
- # @type Imported: Boolean
13039
-
13040
- attr_accessor :Namespace, :TopicName, :Type, :Partitions, :Remark, :Imported
13041
-
13042
- def initialize(namespace=nil, topicname=nil, type=nil, partitions=nil, remark=nil, imported=nil)
13043
- @Namespace = namespace
13044
- @TopicName = topicname
13045
- @Type = type
13046
- @Partitions = partitions
13047
- @Remark = remark
13048
- @Imported = imported
13049
- end
13050
-
13051
- def deserialize(params)
13052
- @Namespace = params['Namespace']
13053
- @TopicName = params['TopicName']
13054
- @Type = params['Type']
13055
- @Partitions = params['Partitions']
13056
- @Remark = params['Remark']
13057
- @Imported = params['Imported']
13058
- end
13059
- end
13060
-
13061
12927
  # RocketMQtopic分布情况
13062
12928
  class RocketMQTopicDistribution < TencentCloud::Common::AbstractModel
13063
12929
  # @param TopicType: topic类型
@@ -13787,6 +13653,26 @@ module TencentCloud
13787
13653
  end
13788
13654
  end
13789
13655
 
13656
+ # 标签过滤器
13657
+ class TagFilter < TencentCloud::Common::AbstractModel
13658
+ # @param TagKey: 标签键名称
13659
+ # @type TagKey: String
13660
+ # @param TagValues: 标签值列表
13661
+ # @type TagValues: Array
13662
+
13663
+ attr_accessor :TagKey, :TagValues
13664
+
13665
+ def initialize(tagkey=nil, tagvalues=nil)
13666
+ @TagKey = tagkey
13667
+ @TagValues = tagvalues
13668
+ end
13669
+
13670
+ def deserialize(params)
13671
+ @TagKey = params['TagKey']
13672
+ @TagValues = params['TagValues']
13673
+ end
13674
+ end
13675
+
13790
13676
  # 主题实例
13791
13677
  class Topic < TencentCloud::Common::AbstractModel
13792
13678
  # @param AverageMsgSize: 最后一次间隔内发布消息的平均byte大小。
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.1128
4
+ version: 3.0.1176
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-08-24 00:00:00.000000000 Z
11
+ date: 2025-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-tdmq.rb
37
- - lib/v20200217/client.rb
38
37
  - lib/v20200217/models.rb
38
+ - lib/v20200217/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: