tencentcloud-sdk-tdmq 3.0.1127 → 3.0.1174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +45 -75
- data/lib/v20200217/models.rb +327 -378
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a226ce719c3e7ee1e7272b28aeea9182858ab46
|
|
4
|
+
data.tar.gz: 042bdc0dc3ef7d56a2009aed5898d491f558c7e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3e5fbdede5af7e935955746cc4fcb9e5762dfa127d6b6ea56de075da5873d8b66e82b8fc30462f3c5f2345ee0112ee8da444804b370b8fd8477ba158c342d354
|
|
7
|
+
data.tar.gz: 6a3ba03d5a24511738fd8403a2c38dabdbbb8eb1de44c48cb47af44bb79d5d67dad79747d80f54300b26d50dfebdc11a1369ad2cddd0de6565282096fbc7fd31
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1174
|
data/lib/v20200217/client.rb
CHANGED
|
@@ -2191,6 +2191,30 @@ module TencentCloud
|
|
|
2191
2191
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2192
2192
|
end
|
|
2193
2193
|
|
|
2194
|
+
# 查询 RocketMQ 指定主题下的生产者客户端列表。
|
|
2195
|
+
|
|
2196
|
+
# @param request: Request instance for DescribeRocketMQProducers.
|
|
2197
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQProducersRequest`
|
|
2198
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQProducersResponse`
|
|
2199
|
+
def DescribeRocketMQProducers(request)
|
|
2200
|
+
body = send_request('DescribeRocketMQProducers', request.serialize)
|
|
2201
|
+
response = JSON.parse(body)
|
|
2202
|
+
if response['Response'].key?('Error') == false
|
|
2203
|
+
model = DescribeRocketMQProducersResponse.new
|
|
2204
|
+
model.deserialize(response['Response'])
|
|
2205
|
+
model
|
|
2206
|
+
else
|
|
2207
|
+
code = response['Response']['Error']['Code']
|
|
2208
|
+
message = response['Response']['Error']['Message']
|
|
2209
|
+
reqid = response['Response']['RequestId']
|
|
2210
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2211
|
+
end
|
|
2212
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2213
|
+
raise e
|
|
2214
|
+
rescue StandardError => e
|
|
2215
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2216
|
+
end
|
|
2217
|
+
|
|
2194
2218
|
# 从腾讯云可观测平台拉取公网指标监控数据,目前仅支持客户端到 LB 的入带宽和出宽带指标。
|
|
2195
2219
|
|
|
2196
2220
|
# @param request: Request instance for DescribeRocketMQPublicAccessMonitorData.
|
|
@@ -2287,70 +2311,16 @@ module TencentCloud
|
|
|
2287
2311
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2288
2312
|
end
|
|
2289
2313
|
|
|
2290
|
-
#
|
|
2291
|
-
|
|
2292
|
-
# 用于查询RocketMQ平滑迁移任务列表
|
|
2293
|
-
|
|
2294
|
-
# @param request: Request instance for DescribeRocketMQSmoothMigrationTaskList.
|
|
2295
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListRequest`
|
|
2296
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListResponse`
|
|
2297
|
-
def DescribeRocketMQSmoothMigrationTaskList(request)
|
|
2298
|
-
body = send_request('DescribeRocketMQSmoothMigrationTaskList', request.serialize)
|
|
2299
|
-
response = JSON.parse(body)
|
|
2300
|
-
if response['Response'].key?('Error') == false
|
|
2301
|
-
model = DescribeRocketMQSmoothMigrationTaskListResponse.new
|
|
2302
|
-
model.deserialize(response['Response'])
|
|
2303
|
-
model
|
|
2304
|
-
else
|
|
2305
|
-
code = response['Response']['Error']['Code']
|
|
2306
|
-
message = response['Response']['Error']['Message']
|
|
2307
|
-
reqid = response['Response']['RequestId']
|
|
2308
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2309
|
-
end
|
|
2310
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2311
|
-
raise e
|
|
2312
|
-
rescue StandardError => e
|
|
2313
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2314
|
-
end
|
|
2315
|
-
|
|
2316
|
-
# 平滑迁移相关接口已迁移至trocket产品下,该接口已废弃
|
|
2317
|
-
|
|
2318
|
-
# 平滑迁移过程获取源集群group列表接口
|
|
2319
|
-
|
|
2320
|
-
# @param request: Request instance for DescribeRocketMQSourceClusterGroupList.
|
|
2321
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterGroupListRequest`
|
|
2322
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterGroupListResponse`
|
|
2323
|
-
def DescribeRocketMQSourceClusterGroupList(request)
|
|
2324
|
-
body = send_request('DescribeRocketMQSourceClusterGroupList', request.serialize)
|
|
2325
|
-
response = JSON.parse(body)
|
|
2326
|
-
if response['Response'].key?('Error') == false
|
|
2327
|
-
model = DescribeRocketMQSourceClusterGroupListResponse.new
|
|
2328
|
-
model.deserialize(response['Response'])
|
|
2329
|
-
model
|
|
2330
|
-
else
|
|
2331
|
-
code = response['Response']['Error']['Code']
|
|
2332
|
-
message = response['Response']['Error']['Message']
|
|
2333
|
-
reqid = response['Response']['RequestId']
|
|
2334
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2335
|
-
end
|
|
2336
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2337
|
-
raise e
|
|
2338
|
-
rescue StandardError => e
|
|
2339
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2340
|
-
end
|
|
2341
|
-
|
|
2342
|
-
# 平滑迁移相关接口已迁移至trocket产品下,该接口已废弃
|
|
2343
|
-
|
|
2344
|
-
# 平滑迁移过程获取源集群topic列表接口
|
|
2314
|
+
# 用于获取RocketMQ消费组订阅关系数据
|
|
2345
2315
|
|
|
2346
|
-
# @param request: Request instance for
|
|
2347
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::
|
|
2348
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::
|
|
2349
|
-
def
|
|
2350
|
-
body = send_request('
|
|
2316
|
+
# @param request: Request instance for DescribeRocketMQSubscriptions.
|
|
2317
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSubscriptionsRequest`
|
|
2318
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSubscriptionsResponse`
|
|
2319
|
+
def DescribeRocketMQSubscriptions(request)
|
|
2320
|
+
body = send_request('DescribeRocketMQSubscriptions', request.serialize)
|
|
2351
2321
|
response = JSON.parse(body)
|
|
2352
2322
|
if response['Response'].key?('Error') == false
|
|
2353
|
-
model =
|
|
2323
|
+
model = DescribeRocketMQSubscriptionsResponse.new
|
|
2354
2324
|
model.deserialize(response['Response'])
|
|
2355
2325
|
model
|
|
2356
2326
|
else
|
|
@@ -2365,16 +2335,16 @@ module TencentCloud
|
|
|
2365
2335
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2366
2336
|
end
|
|
2367
2337
|
|
|
2368
|
-
# 用于获取RocketMQ
|
|
2338
|
+
# 用于获取RocketMQ指标排序列表,比如集群实例下占用存储空间最多的主题排序。
|
|
2369
2339
|
|
|
2370
|
-
# @param request: Request instance for
|
|
2371
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::
|
|
2372
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::
|
|
2373
|
-
def
|
|
2374
|
-
body = send_request('
|
|
2340
|
+
# @param request: Request instance for DescribeRocketMQTopUsages.
|
|
2341
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopUsagesRequest`
|
|
2342
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopUsagesResponse`
|
|
2343
|
+
def DescribeRocketMQTopUsages(request)
|
|
2344
|
+
body = send_request('DescribeRocketMQTopUsages', request.serialize)
|
|
2375
2345
|
response = JSON.parse(body)
|
|
2376
2346
|
if response['Response'].key?('Error') == false
|
|
2377
|
-
model =
|
|
2347
|
+
model = DescribeRocketMQTopUsagesResponse.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
|
-
#
|
|
2362
|
+
# 获取RocketMQ主题详情
|
|
2393
2363
|
|
|
2394
|
-
# @param request: Request instance for
|
|
2395
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::
|
|
2396
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::
|
|
2397
|
-
def
|
|
2398
|
-
body = send_request('
|
|
2364
|
+
# @param request: Request instance for DescribeRocketMQTopic.
|
|
2365
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicRequest`
|
|
2366
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicResponse`
|
|
2367
|
+
def DescribeRocketMQTopic(request)
|
|
2368
|
+
body = send_request('DescribeRocketMQTopic', request.serialize)
|
|
2399
2369
|
response = JSON.parse(body)
|
|
2400
2370
|
if response['Response'].key?('Error') == false
|
|
2401
|
-
model =
|
|
2371
|
+
model = DescribeRocketMQTopicResponse.new
|
|
2402
2372
|
model.deserialize(response['Response'])
|
|
2403
2373
|
model
|
|
2404
2374
|
else
|
data/lib/v20200217/models.rb
CHANGED
|
@@ -1751,11 +1751,11 @@ module TencentCloud
|
|
|
1751
1751
|
# @param ClusterName: 集群名称
|
|
1752
1752
|
# @type ClusterName: String
|
|
1753
1753
|
# @param NodeSpec: 集群的节点规格,需要输入对应的规格标识:
|
|
1754
|
-
# 2C8G:rabbit-vip-
|
|
1755
|
-
# 4C16G:rabbit-vip-
|
|
1756
|
-
# 8C32G:rabbit-vip-
|
|
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-
|
|
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.30
|
|
1776
|
+
# @param ClusterVersion: 集群版本,不传默认为 3.8.30,可选值为 3.8.30、3.11.8和3.13.7
|
|
1777
1777
|
# @type ClusterVersion: String
|
|
1778
1778
|
# @param IsIntl: 是否国际站请求,默认 false
|
|
1779
1779
|
# @type IsIntl: Boolean
|
|
@@ -4443,18 +4443,26 @@ module TencentCloud
|
|
|
4443
4443
|
# @type MsgId: String
|
|
4444
4444
|
# @param ProducerName: 生产者名称。
|
|
4445
4445
|
# @type ProducerName: String
|
|
4446
|
+
# @param Key: 消息 key
|
|
4447
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4448
|
+
# @type Key: String
|
|
4449
|
+
# @param Metadata: 消息的元数据信息
|
|
4450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4451
|
+
# @type Metadata: String
|
|
4446
4452
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4447
4453
|
# @type RequestId: String
|
|
4448
4454
|
|
|
4449
|
-
attr_accessor :Properties, :Body, :BatchId, :ProduceTime, :MsgId, :ProducerName, :RequestId
|
|
4455
|
+
attr_accessor :Properties, :Body, :BatchId, :ProduceTime, :MsgId, :ProducerName, :Key, :Metadata, :RequestId
|
|
4450
4456
|
|
|
4451
|
-
def initialize(properties=nil, body=nil, batchid=nil, producetime=nil, msgid=nil, producername=nil, requestid=nil)
|
|
4457
|
+
def initialize(properties=nil, body=nil, batchid=nil, producetime=nil, msgid=nil, producername=nil, key=nil, metadata=nil, requestid=nil)
|
|
4452
4458
|
@Properties = properties
|
|
4453
4459
|
@Body = body
|
|
4454
4460
|
@BatchId = batchid
|
|
4455
4461
|
@ProduceTime = producetime
|
|
4456
4462
|
@MsgId = msgid
|
|
4457
4463
|
@ProducerName = producername
|
|
4464
|
+
@Key = key
|
|
4465
|
+
@Metadata = metadata
|
|
4458
4466
|
@RequestId = requestid
|
|
4459
4467
|
end
|
|
4460
4468
|
|
|
@@ -4465,6 +4473,8 @@ module TencentCloud
|
|
|
4465
4473
|
@ProduceTime = params['ProduceTime']
|
|
4466
4474
|
@MsgId = params['MsgId']
|
|
4467
4475
|
@ProducerName = params['ProducerName']
|
|
4476
|
+
@Key = params['Key']
|
|
4477
|
+
@Metadata = params['Metadata']
|
|
4468
4478
|
@RequestId = params['RequestId']
|
|
4469
4479
|
end
|
|
4470
4480
|
end
|
|
@@ -6228,10 +6238,12 @@ module TencentCloud
|
|
|
6228
6238
|
# @type FilterOneGroup: String
|
|
6229
6239
|
# @param Types: group类型
|
|
6230
6240
|
# @type Types: Array
|
|
6241
|
+
# @param TagFilters: 标签过滤器
|
|
6242
|
+
# @type TagFilters: Array
|
|
6231
6243
|
|
|
6232
|
-
attr_accessor :ClusterId, :NamespaceId, :Offset, :Limit, :FilterTopic, :FilterGroup, :SortedBy, :SortOrder, :FilterOneGroup, :Types
|
|
6244
|
+
attr_accessor :ClusterId, :NamespaceId, :Offset, :Limit, :FilterTopic, :FilterGroup, :SortedBy, :SortOrder, :FilterOneGroup, :Types, :TagFilters
|
|
6233
6245
|
|
|
6234
|
-
def initialize(clusterid=nil, namespaceid=nil, offset=nil, limit=nil, filtertopic=nil, filtergroup=nil, sortedby=nil, sortorder=nil, filteronegroup=nil, types=nil)
|
|
6246
|
+
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
6247
|
@ClusterId = clusterid
|
|
6236
6248
|
@NamespaceId = namespaceid
|
|
6237
6249
|
@Offset = offset
|
|
@@ -6242,6 +6254,7 @@ module TencentCloud
|
|
|
6242
6254
|
@SortOrder = sortorder
|
|
6243
6255
|
@FilterOneGroup = filteronegroup
|
|
6244
6256
|
@Types = types
|
|
6257
|
+
@TagFilters = tagfilters
|
|
6245
6258
|
end
|
|
6246
6259
|
|
|
6247
6260
|
def deserialize(params)
|
|
@@ -6255,6 +6268,14 @@ module TencentCloud
|
|
|
6255
6268
|
@SortOrder = params['SortOrder']
|
|
6256
6269
|
@FilterOneGroup = params['FilterOneGroup']
|
|
6257
6270
|
@Types = params['Types']
|
|
6271
|
+
unless params['TagFilters'].nil?
|
|
6272
|
+
@TagFilters = []
|
|
6273
|
+
params['TagFilters'].each do |i|
|
|
6274
|
+
tagfilter_tmp = TagFilter.new
|
|
6275
|
+
tagfilter_tmp.deserialize(i)
|
|
6276
|
+
@TagFilters << tagfilter_tmp
|
|
6277
|
+
end
|
|
6278
|
+
end
|
|
6258
6279
|
end
|
|
6259
6280
|
end
|
|
6260
6281
|
|
|
@@ -6380,8 +6401,8 @@ module TencentCloud
|
|
|
6380
6401
|
|
|
6381
6402
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
|
|
6382
6403
|
extend Gem::Deprecate
|
|
6383
|
-
deprecate :QueryDlqMsg, :none, 2025,
|
|
6384
|
-
deprecate :QueryDlqMsg=, :none, 2025,
|
|
6404
|
+
deprecate :QueryDlqMsg, :none, 2025, 11
|
|
6405
|
+
deprecate :QueryDlqMsg=, :none, 2025, 11
|
|
6385
6406
|
|
|
6386
6407
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
|
|
6387
6408
|
@ClusterId = clusterid
|
|
@@ -6486,8 +6507,8 @@ module TencentCloud
|
|
|
6486
6507
|
|
|
6487
6508
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
|
|
6488
6509
|
extend Gem::Deprecate
|
|
6489
|
-
deprecate :QueryDLQMsg, :none, 2025,
|
|
6490
|
-
deprecate :QueryDLQMsg=, :none, 2025,
|
|
6510
|
+
deprecate :QueryDLQMsg, :none, 2025, 11
|
|
6511
|
+
deprecate :QueryDLQMsg=, :none, 2025, 11
|
|
6491
6512
|
|
|
6492
6513
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
|
|
6493
6514
|
@ClusterId = clusterid
|
|
@@ -6600,6 +6621,83 @@ module TencentCloud
|
|
|
6600
6621
|
end
|
|
6601
6622
|
end
|
|
6602
6623
|
|
|
6624
|
+
# DescribeRocketMQProducers请求参数结构体
|
|
6625
|
+
class DescribeRocketMQProducersRequest < TencentCloud::Common::AbstractModel
|
|
6626
|
+
# @param ClusterId: 集群ID
|
|
6627
|
+
# @type ClusterId: String
|
|
6628
|
+
# @param NamespaceId: 命名空间
|
|
6629
|
+
# @type NamespaceId: String
|
|
6630
|
+
# @param Topic: 主题名
|
|
6631
|
+
# @type Topic: String
|
|
6632
|
+
# @param Offset: 分页offset
|
|
6633
|
+
# @type Offset: Integer
|
|
6634
|
+
# @param Limit: 分页limit
|
|
6635
|
+
# @type Limit: Integer
|
|
6636
|
+
# @param Filters: 过滤查询条件列表,支持以下过滤参数:
|
|
6637
|
+
|
|
6638
|
+
# - ClientId:生产者客户端ID
|
|
6639
|
+
# - ClientIp:生产者客户端IP
|
|
6640
|
+
# @type Filters: Array
|
|
6641
|
+
|
|
6642
|
+
attr_accessor :ClusterId, :NamespaceId, :Topic, :Offset, :Limit, :Filters
|
|
6643
|
+
|
|
6644
|
+
def initialize(clusterid=nil, namespaceid=nil, topic=nil, offset=nil, limit=nil, filters=nil)
|
|
6645
|
+
@ClusterId = clusterid
|
|
6646
|
+
@NamespaceId = namespaceid
|
|
6647
|
+
@Topic = topic
|
|
6648
|
+
@Offset = offset
|
|
6649
|
+
@Limit = limit
|
|
6650
|
+
@Filters = filters
|
|
6651
|
+
end
|
|
6652
|
+
|
|
6653
|
+
def deserialize(params)
|
|
6654
|
+
@ClusterId = params['ClusterId']
|
|
6655
|
+
@NamespaceId = params['NamespaceId']
|
|
6656
|
+
@Topic = params['Topic']
|
|
6657
|
+
@Offset = params['Offset']
|
|
6658
|
+
@Limit = params['Limit']
|
|
6659
|
+
unless params['Filters'].nil?
|
|
6660
|
+
@Filters = []
|
|
6661
|
+
params['Filters'].each do |i|
|
|
6662
|
+
filter_tmp = Filter.new
|
|
6663
|
+
filter_tmp.deserialize(i)
|
|
6664
|
+
@Filters << filter_tmp
|
|
6665
|
+
end
|
|
6666
|
+
end
|
|
6667
|
+
end
|
|
6668
|
+
end
|
|
6669
|
+
|
|
6670
|
+
# DescribeRocketMQProducers返回参数结构体
|
|
6671
|
+
class DescribeRocketMQProducersResponse < TencentCloud::Common::AbstractModel
|
|
6672
|
+
# @param Producers: 生产者客户端列表
|
|
6673
|
+
# @type Producers: Array
|
|
6674
|
+
# @param TotalCount: 总数
|
|
6675
|
+
# @type TotalCount: Integer
|
|
6676
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6677
|
+
# @type RequestId: String
|
|
6678
|
+
|
|
6679
|
+
attr_accessor :Producers, :TotalCount, :RequestId
|
|
6680
|
+
|
|
6681
|
+
def initialize(producers=nil, totalcount=nil, requestid=nil)
|
|
6682
|
+
@Producers = producers
|
|
6683
|
+
@TotalCount = totalcount
|
|
6684
|
+
@RequestId = requestid
|
|
6685
|
+
end
|
|
6686
|
+
|
|
6687
|
+
def deserialize(params)
|
|
6688
|
+
unless params['Producers'].nil?
|
|
6689
|
+
@Producers = []
|
|
6690
|
+
params['Producers'].each do |i|
|
|
6691
|
+
producerinfo_tmp = ProducerInfo.new
|
|
6692
|
+
producerinfo_tmp.deserialize(i)
|
|
6693
|
+
@Producers << producerinfo_tmp
|
|
6694
|
+
end
|
|
6695
|
+
end
|
|
6696
|
+
@TotalCount = params['TotalCount']
|
|
6697
|
+
@RequestId = params['RequestId']
|
|
6698
|
+
end
|
|
6699
|
+
end
|
|
6700
|
+
|
|
6603
6701
|
# DescribeRocketMQPublicAccessMonitorData请求参数结构体
|
|
6604
6702
|
class DescribeRocketMQPublicAccessMonitorDataRequest < TencentCloud::Common::AbstractModel
|
|
6605
6703
|
# @param InstanceId: 专享集群ID
|
|
@@ -6835,73 +6933,6 @@ module TencentCloud
|
|
|
6835
6933
|
end
|
|
6836
6934
|
end
|
|
6837
6935
|
|
|
6838
|
-
# DescribeRocketMQSmoothMigrationTaskList请求参数结构体
|
|
6839
|
-
class DescribeRocketMQSmoothMigrationTaskListRequest < TencentCloud::Common::AbstractModel
|
|
6840
|
-
# @param Offset: 查询起始偏移量
|
|
6841
|
-
# @type Offset: Integer
|
|
6842
|
-
# @param Limit: 查询最大数量
|
|
6843
|
-
# @type Limit: Integer
|
|
6844
|
-
# @param Filters: 查询过滤器,
|
|
6845
|
-
# 支持的字段如下
|
|
6846
|
-
# TaskStatus, 支持多选
|
|
6847
|
-
# ConnectionType,支持多选
|
|
6848
|
-
# ClusterId,精确搜索
|
|
6849
|
-
# TaskName,支持模糊搜索
|
|
6850
|
-
# @type Filters: Array
|
|
6851
|
-
|
|
6852
|
-
attr_accessor :Offset, :Limit, :Filters
|
|
6853
|
-
|
|
6854
|
-
def initialize(offset=nil, limit=nil, filters=nil)
|
|
6855
|
-
@Offset = offset
|
|
6856
|
-
@Limit = limit
|
|
6857
|
-
@Filters = filters
|
|
6858
|
-
end
|
|
6859
|
-
|
|
6860
|
-
def deserialize(params)
|
|
6861
|
-
@Offset = params['Offset']
|
|
6862
|
-
@Limit = params['Limit']
|
|
6863
|
-
unless params['Filters'].nil?
|
|
6864
|
-
@Filters = []
|
|
6865
|
-
params['Filters'].each do |i|
|
|
6866
|
-
filter_tmp = Filter.new
|
|
6867
|
-
filter_tmp.deserialize(i)
|
|
6868
|
-
@Filters << filter_tmp
|
|
6869
|
-
end
|
|
6870
|
-
end
|
|
6871
|
-
end
|
|
6872
|
-
end
|
|
6873
|
-
|
|
6874
|
-
# DescribeRocketMQSmoothMigrationTaskList返回参数结构体
|
|
6875
|
-
class DescribeRocketMQSmoothMigrationTaskListResponse < TencentCloud::Common::AbstractModel
|
|
6876
|
-
# @param TotalCount: 任务总数
|
|
6877
|
-
# @type TotalCount: Integer
|
|
6878
|
-
# @param Data: 任务列表
|
|
6879
|
-
# @type Data: Array
|
|
6880
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6881
|
-
# @type RequestId: String
|
|
6882
|
-
|
|
6883
|
-
attr_accessor :TotalCount, :Data, :RequestId
|
|
6884
|
-
|
|
6885
|
-
def initialize(totalcount=nil, data=nil, requestid=nil)
|
|
6886
|
-
@TotalCount = totalcount
|
|
6887
|
-
@Data = data
|
|
6888
|
-
@RequestId = requestid
|
|
6889
|
-
end
|
|
6890
|
-
|
|
6891
|
-
def deserialize(params)
|
|
6892
|
-
@TotalCount = params['TotalCount']
|
|
6893
|
-
unless params['Data'].nil?
|
|
6894
|
-
@Data = []
|
|
6895
|
-
params['Data'].each do |i|
|
|
6896
|
-
rocketmqsmoothmigrationtaskitem_tmp = RocketMQSmoothMigrationTaskItem.new
|
|
6897
|
-
rocketmqsmoothmigrationtaskitem_tmp.deserialize(i)
|
|
6898
|
-
@Data << rocketmqsmoothmigrationtaskitem_tmp
|
|
6899
|
-
end
|
|
6900
|
-
end
|
|
6901
|
-
@RequestId = params['RequestId']
|
|
6902
|
-
end
|
|
6903
|
-
end
|
|
6904
|
-
|
|
6905
6936
|
# DescribeRocketMQSmoothMigrationTask请求参数结构体
|
|
6906
6937
|
class DescribeRocketMQSmoothMigrationTaskRequest < TencentCloud::Common::AbstractModel
|
|
6907
6938
|
# @param TaskId: 任务ID
|
|
@@ -7034,140 +7065,6 @@ module TencentCloud
|
|
|
7034
7065
|
end
|
|
7035
7066
|
end
|
|
7036
7067
|
|
|
7037
|
-
# DescribeRocketMQSourceClusterGroupList请求参数结构体
|
|
7038
|
-
class DescribeRocketMQSourceClusterGroupListRequest < TencentCloud::Common::AbstractModel
|
|
7039
|
-
# @param Limit: 页大小
|
|
7040
|
-
# @type Limit: Integer
|
|
7041
|
-
# @param Offset: 偏移量
|
|
7042
|
-
# @type Offset: Integer
|
|
7043
|
-
# @param TaskId: 迁移任务名称
|
|
7044
|
-
# @type TaskId: String
|
|
7045
|
-
# @param Filters: 查询过滤器,支持字段groupName,imported
|
|
7046
|
-
# @type Filters: Array
|
|
7047
|
-
|
|
7048
|
-
attr_accessor :Limit, :Offset, :TaskId, :Filters
|
|
7049
|
-
|
|
7050
|
-
def initialize(limit=nil, offset=nil, taskid=nil, filters=nil)
|
|
7051
|
-
@Limit = limit
|
|
7052
|
-
@Offset = offset
|
|
7053
|
-
@TaskId = taskid
|
|
7054
|
-
@Filters = filters
|
|
7055
|
-
end
|
|
7056
|
-
|
|
7057
|
-
def deserialize(params)
|
|
7058
|
-
@Limit = params['Limit']
|
|
7059
|
-
@Offset = params['Offset']
|
|
7060
|
-
@TaskId = params['TaskId']
|
|
7061
|
-
unless params['Filters'].nil?
|
|
7062
|
-
@Filters = []
|
|
7063
|
-
params['Filters'].each do |i|
|
|
7064
|
-
filter_tmp = Filter.new
|
|
7065
|
-
filter_tmp.deserialize(i)
|
|
7066
|
-
@Filters << filter_tmp
|
|
7067
|
-
end
|
|
7068
|
-
end
|
|
7069
|
-
end
|
|
7070
|
-
end
|
|
7071
|
-
|
|
7072
|
-
# DescribeRocketMQSourceClusterGroupList返回参数结构体
|
|
7073
|
-
class DescribeRocketMQSourceClusterGroupListResponse < TencentCloud::Common::AbstractModel
|
|
7074
|
-
# @param Groups: group列表
|
|
7075
|
-
# @type Groups: Array
|
|
7076
|
-
# @param TotalCount: 总条数
|
|
7077
|
-
# @type TotalCount: Integer
|
|
7078
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7079
|
-
# @type RequestId: String
|
|
7080
|
-
|
|
7081
|
-
attr_accessor :Groups, :TotalCount, :RequestId
|
|
7082
|
-
|
|
7083
|
-
def initialize(groups=nil, totalcount=nil, requestid=nil)
|
|
7084
|
-
@Groups = groups
|
|
7085
|
-
@TotalCount = totalcount
|
|
7086
|
-
@RequestId = requestid
|
|
7087
|
-
end
|
|
7088
|
-
|
|
7089
|
-
def deserialize(params)
|
|
7090
|
-
unless params['Groups'].nil?
|
|
7091
|
-
@Groups = []
|
|
7092
|
-
params['Groups'].each do |i|
|
|
7093
|
-
rocketmqgroupconfigoutput_tmp = RocketMQGroupConfigOutput.new
|
|
7094
|
-
rocketmqgroupconfigoutput_tmp.deserialize(i)
|
|
7095
|
-
@Groups << rocketmqgroupconfigoutput_tmp
|
|
7096
|
-
end
|
|
7097
|
-
end
|
|
7098
|
-
@TotalCount = params['TotalCount']
|
|
7099
|
-
@RequestId = params['RequestId']
|
|
7100
|
-
end
|
|
7101
|
-
end
|
|
7102
|
-
|
|
7103
|
-
# DescribeRocketMQSourceClusterTopicList请求参数结构体
|
|
7104
|
-
class DescribeRocketMQSourceClusterTopicListRequest < TencentCloud::Common::AbstractModel
|
|
7105
|
-
# @param Limit: 分页大小
|
|
7106
|
-
# @type Limit: Integer
|
|
7107
|
-
# @param Offset: 偏移量
|
|
7108
|
-
# @type Offset: Integer
|
|
7109
|
-
# @param TaskId: 迁移任务名
|
|
7110
|
-
# @type TaskId: String
|
|
7111
|
-
# @param Filters: 查询过滤器,支持字段如下
|
|
7112
|
-
# TopicName,
|
|
7113
|
-
# Type,Imported
|
|
7114
|
-
# @type Filters: Array
|
|
7115
|
-
|
|
7116
|
-
attr_accessor :Limit, :Offset, :TaskId, :Filters
|
|
7117
|
-
|
|
7118
|
-
def initialize(limit=nil, offset=nil, taskid=nil, filters=nil)
|
|
7119
|
-
@Limit = limit
|
|
7120
|
-
@Offset = offset
|
|
7121
|
-
@TaskId = taskid
|
|
7122
|
-
@Filters = filters
|
|
7123
|
-
end
|
|
7124
|
-
|
|
7125
|
-
def deserialize(params)
|
|
7126
|
-
@Limit = params['Limit']
|
|
7127
|
-
@Offset = params['Offset']
|
|
7128
|
-
@TaskId = params['TaskId']
|
|
7129
|
-
unless params['Filters'].nil?
|
|
7130
|
-
@Filters = []
|
|
7131
|
-
params['Filters'].each do |i|
|
|
7132
|
-
filter_tmp = Filter.new
|
|
7133
|
-
filter_tmp.deserialize(i)
|
|
7134
|
-
@Filters << filter_tmp
|
|
7135
|
-
end
|
|
7136
|
-
end
|
|
7137
|
-
end
|
|
7138
|
-
end
|
|
7139
|
-
|
|
7140
|
-
# DescribeRocketMQSourceClusterTopicList返回参数结构体
|
|
7141
|
-
class DescribeRocketMQSourceClusterTopicListResponse < TencentCloud::Common::AbstractModel
|
|
7142
|
-
# @param Topics: topic层列表
|
|
7143
|
-
# @type Topics: Array
|
|
7144
|
-
# @param TotalCount: 总条数
|
|
7145
|
-
# @type TotalCount: Integer
|
|
7146
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7147
|
-
# @type RequestId: String
|
|
7148
|
-
|
|
7149
|
-
attr_accessor :Topics, :TotalCount, :RequestId
|
|
7150
|
-
|
|
7151
|
-
def initialize(topics=nil, totalcount=nil, requestid=nil)
|
|
7152
|
-
@Topics = topics
|
|
7153
|
-
@TotalCount = totalcount
|
|
7154
|
-
@RequestId = requestid
|
|
7155
|
-
end
|
|
7156
|
-
|
|
7157
|
-
def deserialize(params)
|
|
7158
|
-
unless params['Topics'].nil?
|
|
7159
|
-
@Topics = []
|
|
7160
|
-
params['Topics'].each do |i|
|
|
7161
|
-
rocketmqtopicconfigoutput_tmp = RocketMQTopicConfigOutput.new
|
|
7162
|
-
rocketmqtopicconfigoutput_tmp.deserialize(i)
|
|
7163
|
-
@Topics << rocketmqtopicconfigoutput_tmp
|
|
7164
|
-
end
|
|
7165
|
-
end
|
|
7166
|
-
@TotalCount = params['TotalCount']
|
|
7167
|
-
@RequestId = params['RequestId']
|
|
7168
|
-
end
|
|
7169
|
-
end
|
|
7170
|
-
|
|
7171
7068
|
# DescribeRocketMQSubscriptions请求参数结构体
|
|
7172
7069
|
class DescribeRocketMQSubscriptionsRequest < TencentCloud::Common::AbstractModel
|
|
7173
7070
|
# @param ClusterId: 集群ID
|
|
@@ -7327,8 +7224,8 @@ module TencentCloud
|
|
|
7327
7224
|
|
|
7328
7225
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
|
|
7329
7226
|
extend Gem::Deprecate
|
|
7330
|
-
deprecate :QueryDlqMsg, :none, 2025,
|
|
7331
|
-
deprecate :QueryDlqMsg=, :none, 2025,
|
|
7227
|
+
deprecate :QueryDlqMsg, :none, 2025, 11
|
|
7228
|
+
deprecate :QueryDlqMsg=, :none, 2025, 11
|
|
7332
7229
|
|
|
7333
7230
|
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)
|
|
7334
7231
|
@ClusterId = clusterid
|
|
@@ -7401,6 +7298,65 @@ module TencentCloud
|
|
|
7401
7298
|
end
|
|
7402
7299
|
end
|
|
7403
7300
|
|
|
7301
|
+
# DescribeRocketMQTopic请求参数结构体
|
|
7302
|
+
class DescribeRocketMQTopicRequest < TencentCloud::Common::AbstractModel
|
|
7303
|
+
# @param ClusterId: 集群ID
|
|
7304
|
+
# @type ClusterId: String
|
|
7305
|
+
# @param NamespaceId: 命名空间
|
|
7306
|
+
# @type NamespaceId: String
|
|
7307
|
+
# @param TopicName: 主题名称
|
|
7308
|
+
# @type TopicName: String
|
|
7309
|
+
# @param ConsumerGroup: 消费组名称
|
|
7310
|
+
# @type ConsumerGroup: String
|
|
7311
|
+
# @param Offset: 订阅列表分页参数Offset
|
|
7312
|
+
# @type Offset: Integer
|
|
7313
|
+
# @param Limit: 订阅列表分页参数Limit
|
|
7314
|
+
# @type Limit: Integer
|
|
7315
|
+
|
|
7316
|
+
attr_accessor :ClusterId, :NamespaceId, :TopicName, :ConsumerGroup, :Offset, :Limit
|
|
7317
|
+
|
|
7318
|
+
def initialize(clusterid=nil, namespaceid=nil, topicname=nil, consumergroup=nil, offset=nil, limit=nil)
|
|
7319
|
+
@ClusterId = clusterid
|
|
7320
|
+
@NamespaceId = namespaceid
|
|
7321
|
+
@TopicName = topicname
|
|
7322
|
+
@ConsumerGroup = consumergroup
|
|
7323
|
+
@Offset = offset
|
|
7324
|
+
@Limit = limit
|
|
7325
|
+
end
|
|
7326
|
+
|
|
7327
|
+
def deserialize(params)
|
|
7328
|
+
@ClusterId = params['ClusterId']
|
|
7329
|
+
@NamespaceId = params['NamespaceId']
|
|
7330
|
+
@TopicName = params['TopicName']
|
|
7331
|
+
@ConsumerGroup = params['ConsumerGroup']
|
|
7332
|
+
@Offset = params['Offset']
|
|
7333
|
+
@Limit = params['Limit']
|
|
7334
|
+
end
|
|
7335
|
+
end
|
|
7336
|
+
|
|
7337
|
+
# DescribeRocketMQTopic返回参数结构体
|
|
7338
|
+
class DescribeRocketMQTopicResponse < TencentCloud::Common::AbstractModel
|
|
7339
|
+
# @param Topic: Topic详情
|
|
7340
|
+
# @type Topic: :class:`Tencentcloud::Tdmq.v20200217.models.RocketMQTopic`
|
|
7341
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7342
|
+
# @type RequestId: String
|
|
7343
|
+
|
|
7344
|
+
attr_accessor :Topic, :RequestId
|
|
7345
|
+
|
|
7346
|
+
def initialize(topic=nil, requestid=nil)
|
|
7347
|
+
@Topic = topic
|
|
7348
|
+
@RequestId = requestid
|
|
7349
|
+
end
|
|
7350
|
+
|
|
7351
|
+
def deserialize(params)
|
|
7352
|
+
unless params['Topic'].nil?
|
|
7353
|
+
@Topic = RocketMQTopic.new
|
|
7354
|
+
@Topic.deserialize(params['Topic'])
|
|
7355
|
+
end
|
|
7356
|
+
@RequestId = params['RequestId']
|
|
7357
|
+
end
|
|
7358
|
+
end
|
|
7359
|
+
|
|
7404
7360
|
# DescribeRocketMQTopicStats请求参数结构体
|
|
7405
7361
|
class DescribeRocketMQTopicStatsRequest < TencentCloud::Common::AbstractModel
|
|
7406
7362
|
# @param ClusterId: 实例ID
|
|
@@ -7524,10 +7480,12 @@ module TencentCloud
|
|
|
7524
7480
|
# @type FilterName: String
|
|
7525
7481
|
# @param FilterGroup: 按订阅消费组名称过滤
|
|
7526
7482
|
# @type FilterGroup: String
|
|
7483
|
+
# @param TagFilters: 标签过滤器
|
|
7484
|
+
# @type TagFilters: Array
|
|
7527
7485
|
|
|
7528
|
-
attr_accessor :Offset, :Limit, :ClusterId, :NamespaceId, :FilterType, :FilterName, :FilterGroup
|
|
7486
|
+
attr_accessor :Offset, :Limit, :ClusterId, :NamespaceId, :FilterType, :FilterName, :FilterGroup, :TagFilters
|
|
7529
7487
|
|
|
7530
|
-
def initialize(offset=nil, limit=nil, clusterid=nil, namespaceid=nil, filtertype=nil, filtername=nil, filtergroup=nil)
|
|
7488
|
+
def initialize(offset=nil, limit=nil, clusterid=nil, namespaceid=nil, filtertype=nil, filtername=nil, filtergroup=nil, tagfilters=nil)
|
|
7531
7489
|
@Offset = offset
|
|
7532
7490
|
@Limit = limit
|
|
7533
7491
|
@ClusterId = clusterid
|
|
@@ -7535,6 +7493,7 @@ module TencentCloud
|
|
|
7535
7493
|
@FilterType = filtertype
|
|
7536
7494
|
@FilterName = filtername
|
|
7537
7495
|
@FilterGroup = filtergroup
|
|
7496
|
+
@TagFilters = tagfilters
|
|
7538
7497
|
end
|
|
7539
7498
|
|
|
7540
7499
|
def deserialize(params)
|
|
@@ -7545,6 +7504,14 @@ module TencentCloud
|
|
|
7545
7504
|
@FilterType = params['FilterType']
|
|
7546
7505
|
@FilterName = params['FilterName']
|
|
7547
7506
|
@FilterGroup = params['FilterGroup']
|
|
7507
|
+
unless params['TagFilters'].nil?
|
|
7508
|
+
@TagFilters = []
|
|
7509
|
+
params['TagFilters'].each do |i|
|
|
7510
|
+
tagfilter_tmp = TagFilter.new
|
|
7511
|
+
tagfilter_tmp.deserialize(i)
|
|
7512
|
+
@TagFilters << tagfilter_tmp
|
|
7513
|
+
end
|
|
7514
|
+
end
|
|
7548
7515
|
end
|
|
7549
7516
|
end
|
|
7550
7517
|
|
|
@@ -9265,14 +9232,20 @@ module TencentCloud
|
|
|
9265
9232
|
# @type Remark: String
|
|
9266
9233
|
# @param EnableDeletionProtection: 是否开启删除保护,不填则不修改
|
|
9267
9234
|
# @type EnableDeletionProtection: Boolean
|
|
9235
|
+
# @param RemoveAllTags: 是否删除所有标签,默认为false
|
|
9236
|
+
# @type RemoveAllTags: Boolean
|
|
9237
|
+
# @param Tags: 修改实例的标签信息,全量标签信息,非增量
|
|
9238
|
+
# @type Tags: Array
|
|
9268
9239
|
|
|
9269
|
-
attr_accessor :InstanceId, :ClusterName, :Remark, :EnableDeletionProtection
|
|
9240
|
+
attr_accessor :InstanceId, :ClusterName, :Remark, :EnableDeletionProtection, :RemoveAllTags, :Tags
|
|
9270
9241
|
|
|
9271
|
-
def initialize(instanceid=nil, clustername=nil, remark=nil, enabledeletionprotection=nil)
|
|
9242
|
+
def initialize(instanceid=nil, clustername=nil, remark=nil, enabledeletionprotection=nil, removealltags=nil, tags=nil)
|
|
9272
9243
|
@InstanceId = instanceid
|
|
9273
9244
|
@ClusterName = clustername
|
|
9274
9245
|
@Remark = remark
|
|
9275
9246
|
@EnableDeletionProtection = enabledeletionprotection
|
|
9247
|
+
@RemoveAllTags = removealltags
|
|
9248
|
+
@Tags = tags
|
|
9276
9249
|
end
|
|
9277
9250
|
|
|
9278
9251
|
def deserialize(params)
|
|
@@ -9280,6 +9253,15 @@ module TencentCloud
|
|
|
9280
9253
|
@ClusterName = params['ClusterName']
|
|
9281
9254
|
@Remark = params['Remark']
|
|
9282
9255
|
@EnableDeletionProtection = params['EnableDeletionProtection']
|
|
9256
|
+
@RemoveAllTags = params['RemoveAllTags']
|
|
9257
|
+
unless params['Tags'].nil?
|
|
9258
|
+
@Tags = []
|
|
9259
|
+
params['Tags'].each do |i|
|
|
9260
|
+
tag_tmp = Tag.new
|
|
9261
|
+
tag_tmp.deserialize(i)
|
|
9262
|
+
@Tags << tag_tmp
|
|
9263
|
+
end
|
|
9264
|
+
end
|
|
9283
9265
|
end
|
|
9284
9266
|
end
|
|
9285
9267
|
|
|
@@ -9514,15 +9496,18 @@ module TencentCloud
|
|
|
9514
9496
|
# @type MessageRetention: Integer
|
|
9515
9497
|
# @param EnableDeletionProtection: 是否开启删除保护
|
|
9516
9498
|
# @type EnableDeletionProtection: Boolean
|
|
9499
|
+
# @param SendReceiveRatio: 控制生产和消费消息的 TPS 占比,取值范围0~1,默认值为0.5
|
|
9500
|
+
# @type SendReceiveRatio: Float
|
|
9517
9501
|
|
|
9518
|
-
attr_accessor :InstanceId, :Name, :Remark, :MessageRetention, :EnableDeletionProtection
|
|
9502
|
+
attr_accessor :InstanceId, :Name, :Remark, :MessageRetention, :EnableDeletionProtection, :SendReceiveRatio
|
|
9519
9503
|
|
|
9520
|
-
def initialize(instanceid=nil, name=nil, remark=nil, messageretention=nil, enabledeletionprotection=nil)
|
|
9504
|
+
def initialize(instanceid=nil, name=nil, remark=nil, messageretention=nil, enabledeletionprotection=nil, sendreceiveratio=nil)
|
|
9521
9505
|
@InstanceId = instanceid
|
|
9522
9506
|
@Name = name
|
|
9523
9507
|
@Remark = remark
|
|
9524
9508
|
@MessageRetention = messageretention
|
|
9525
9509
|
@EnableDeletionProtection = enabledeletionprotection
|
|
9510
|
+
@SendReceiveRatio = sendreceiveratio
|
|
9526
9511
|
end
|
|
9527
9512
|
|
|
9528
9513
|
def deserialize(params)
|
|
@@ -9531,6 +9516,7 @@ module TencentCloud
|
|
|
9531
9516
|
@Remark = params['Remark']
|
|
9532
9517
|
@MessageRetention = params['MessageRetention']
|
|
9533
9518
|
@EnableDeletionProtection = params['EnableDeletionProtection']
|
|
9519
|
+
@SendReceiveRatio = params['SendReceiveRatio']
|
|
9534
9520
|
end
|
|
9535
9521
|
end
|
|
9536
9522
|
|
|
@@ -9994,6 +9980,55 @@ module TencentCloud
|
|
|
9994
9980
|
end
|
|
9995
9981
|
end
|
|
9996
9982
|
|
|
9983
|
+
# 生产者客户端详情
|
|
9984
|
+
class ProducerInfo < TencentCloud::Common::AbstractModel
|
|
9985
|
+
# @param ClientId: 客户端ID
|
|
9986
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9987
|
+
# @type ClientId: String
|
|
9988
|
+
# @param ClientIp: 客户端IP
|
|
9989
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9990
|
+
# @type ClientIp: String
|
|
9991
|
+
# @param Language: 客户端语言
|
|
9992
|
+
# JAVA((byte) 0),
|
|
9993
|
+
# CPP((byte) 1),
|
|
9994
|
+
# DOTNET((byte) 2),
|
|
9995
|
+
# PYTHON((byte) 3),
|
|
9996
|
+
# DELPHI((byte) 4),
|
|
9997
|
+
# ERLANG((byte) 5),
|
|
9998
|
+
# RUBY((byte) 6),
|
|
9999
|
+
# OTHER((byte) 7),
|
|
10000
|
+
# HTTP((byte) 8),
|
|
10001
|
+
# GO((byte) 9),
|
|
10002
|
+
# PHP((byte) 10),
|
|
10003
|
+
# OMS((byte) 11);
|
|
10004
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10005
|
+
# @type Language: String
|
|
10006
|
+
# @param Version: 客户端版本
|
|
10007
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10008
|
+
# @type Version: String
|
|
10009
|
+
# @param LastUpdateTimestamp: 最后生产时间
|
|
10010
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10011
|
+
# @type LastUpdateTimestamp: Integer
|
|
10012
|
+
|
|
10013
|
+
attr_accessor :ClientId, :ClientIp, :Language, :Version, :LastUpdateTimestamp
|
|
10014
|
+
|
|
10015
|
+
def initialize(clientid=nil, clientip=nil, language=nil, version=nil, lastupdatetimestamp=nil)
|
|
10016
|
+
@ClientId = clientid
|
|
10017
|
+
@ClientIp = clientip
|
|
10018
|
+
@Language = language
|
|
10019
|
+
@Version = version
|
|
10020
|
+
@LastUpdateTimestamp = lastupdatetimestamp
|
|
10021
|
+
end
|
|
10022
|
+
|
|
10023
|
+
def deserialize(params)
|
|
10024
|
+
@ClientId = params['ClientId']
|
|
10025
|
+
@ClientIp = params['ClientIp']
|
|
10026
|
+
@Language = params['Language']
|
|
10027
|
+
@Version = params['Version']
|
|
10028
|
+
@LastUpdateTimestamp = params['LastUpdateTimestamp']
|
|
10029
|
+
end
|
|
10030
|
+
end
|
|
10031
|
+
|
|
9997
10032
|
# 消息生产信息
|
|
9998
10033
|
class ProducerLog < TencentCloud::Common::AbstractModel
|
|
9999
10034
|
# @param MsgId: 消息ID。
|
|
@@ -10641,10 +10676,12 @@ module TencentCloud
|
|
|
10641
10676
|
# @type ControlPlaneEndpointInfo: :class:`Tencentcloud::Tdmq.v20200217.models.VpcEndpointInfo`
|
|
10642
10677
|
# @param PublicTlsAccessEndpoint: TLS加密的数据流公网接入点
|
|
10643
10678
|
# @type PublicTlsAccessEndpoint: String
|
|
10679
|
+
# @param PublicIpReused: 公网IP是否复用
|
|
10680
|
+
# @type PublicIpReused: Boolean
|
|
10644
10681
|
|
|
10645
|
-
attr_accessor :PublicAccessEndpoint, :WebConsoleEndpoint, :WebConsoleUsername, :WebConsolePassword, :PublicAccessEndpointStatus, :PublicControlConsoleSwitchStatus, :VpcControlConsoleSwitchStatus, :VpcWebConsoleEndpoint, :PublicWebConsoleSwitchStatus, :VpcWebConsoleSwitchStatus, :PublicDataStreamStatus, :PrometheusEndpointInfo, :WebConsoleDomainEndpoint, :ControlPlaneEndpointInfo, :PublicTlsAccessEndpoint
|
|
10682
|
+
attr_accessor :PublicAccessEndpoint, :WebConsoleEndpoint, :WebConsoleUsername, :WebConsolePassword, :PublicAccessEndpointStatus, :PublicControlConsoleSwitchStatus, :VpcControlConsoleSwitchStatus, :VpcWebConsoleEndpoint, :PublicWebConsoleSwitchStatus, :VpcWebConsoleSwitchStatus, :PublicDataStreamStatus, :PrometheusEndpointInfo, :WebConsoleDomainEndpoint, :ControlPlaneEndpointInfo, :PublicTlsAccessEndpoint, :PublicIpReused
|
|
10646
10683
|
|
|
10647
|
-
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)
|
|
10684
|
+
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)
|
|
10648
10685
|
@PublicAccessEndpoint = publicaccessendpoint
|
|
10649
10686
|
@WebConsoleEndpoint = webconsoleendpoint
|
|
10650
10687
|
@WebConsoleUsername = webconsoleusername
|
|
@@ -10660,6 +10697,7 @@ module TencentCloud
|
|
|
10660
10697
|
@WebConsoleDomainEndpoint = webconsoledomainendpoint
|
|
10661
10698
|
@ControlPlaneEndpointInfo = controlplaneendpointinfo
|
|
10662
10699
|
@PublicTlsAccessEndpoint = publictlsaccessendpoint
|
|
10700
|
+
@PublicIpReused = publicipreused
|
|
10663
10701
|
end
|
|
10664
10702
|
|
|
10665
10703
|
def deserialize(params)
|
|
@@ -10684,6 +10722,7 @@ module TencentCloud
|
|
|
10684
10722
|
@ControlPlaneEndpointInfo.deserialize(params['ControlPlaneEndpointInfo'])
|
|
10685
10723
|
end
|
|
10686
10724
|
@PublicTlsAccessEndpoint = params['PublicTlsAccessEndpoint']
|
|
10725
|
+
@PublicIpReused = params['PublicIpReused']
|
|
10687
10726
|
end
|
|
10688
10727
|
end
|
|
10689
10728
|
|
|
@@ -11302,16 +11341,16 @@ module TencentCloud
|
|
|
11302
11341
|
# @type PayMode: Integer
|
|
11303
11342
|
# @param Remark: 备注信息
|
|
11304
11343
|
# @type Remark: String
|
|
11305
|
-
# @param SpecName:
|
|
11306
|
-
# 2C8G:rabbit-vip-
|
|
11307
|
-
# 4C16G:rabbit-vip-
|
|
11308
|
-
# 8C32G:rabbit-vip-
|
|
11344
|
+
# @param SpecName: 集群的节点规格,对应的规格标识:
|
|
11345
|
+
# 2C8G:rabbit-vip-profession-2c8g
|
|
11346
|
+
# 4C16G:rabbit-vip-profession-4c16g
|
|
11347
|
+
# 8C32G:rabbit-vip-profession-8c32g
|
|
11309
11348
|
# 16C32G:rabbit-vip-basic-4
|
|
11310
|
-
# 16C64G:rabbit-vip-
|
|
11349
|
+
# 16C64G:rabbit-vip-profession-16c64g
|
|
11311
11350
|
# 2C4G:rabbit-vip-basic-5
|
|
11312
11351
|
# 4C8G:rabbit-vip-basic-1
|
|
11313
11352
|
# 8C16G(已售罄):rabbit-vip-basic-2
|
|
11314
|
-
# 不传默认为4C8G:rabbit-vip-basic-1
|
|
11353
|
+
# 不传默认为 4C8G:rabbit-vip-basic-1
|
|
11315
11354
|
# @type SpecName: String
|
|
11316
11355
|
# @param ExceptionInformation: 集群异常信息
|
|
11317
11356
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -11837,8 +11876,8 @@ module TencentCloud
|
|
|
11837
11876
|
|
|
11838
11877
|
attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime, :MaxQueuesPerTopic, :TopicDistribution, :MaxRoleNum, :MaxTpsLimit
|
|
11839
11878
|
extend Gem::Deprecate
|
|
11840
|
-
deprecate :MaxTpsPerNamespace, :none, 2025,
|
|
11841
|
-
deprecate :MaxTpsPerNamespace=, :none, 2025,
|
|
11879
|
+
deprecate :MaxTpsPerNamespace, :none, 2025, 11
|
|
11880
|
+
deprecate :MaxTpsPerNamespace=, :none, 2025, 11
|
|
11842
11881
|
|
|
11843
11882
|
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)
|
|
11844
11883
|
@MaxTpsPerNamespace = maxtpspernamespace
|
|
@@ -12239,15 +12278,17 @@ module TencentCloud
|
|
|
12239
12278
|
# @type Namespace: String
|
|
12240
12279
|
# @param SubscribeTopicNum: 订阅的主题个数
|
|
12241
12280
|
# @type SubscribeTopicNum: Integer
|
|
12281
|
+
# @param TagList: 绑定的标签列表
|
|
12282
|
+
# @type TagList: Array
|
|
12242
12283
|
|
|
12243
|
-
attr_accessor :Name, :ConsumerNum, :TPS, :TotalAccumulative, :ConsumptionMode, :ReadEnabled, :RetryPartitionNum, :CreateTime, :UpdateTime, :ClientProtocol, :Remark, :ConsumerType, :BroadcastEnabled, :GroupType, :RetryMaxTimes, :InstanceId, :Namespace, :SubscribeTopicNum
|
|
12284
|
+
attr_accessor :Name, :ConsumerNum, :TPS, :TotalAccumulative, :ConsumptionMode, :ReadEnabled, :RetryPartitionNum, :CreateTime, :UpdateTime, :ClientProtocol, :Remark, :ConsumerType, :BroadcastEnabled, :GroupType, :RetryMaxTimes, :InstanceId, :Namespace, :SubscribeTopicNum, :TagList
|
|
12244
12285
|
extend Gem::Deprecate
|
|
12245
|
-
deprecate :TPS, :none, 2025,
|
|
12246
|
-
deprecate :TPS=, :none, 2025,
|
|
12247
|
-
deprecate :TotalAccumulative, :none, 2025,
|
|
12248
|
-
deprecate :TotalAccumulative=, :none, 2025,
|
|
12286
|
+
deprecate :TPS, :none, 2025, 11
|
|
12287
|
+
deprecate :TPS=, :none, 2025, 11
|
|
12288
|
+
deprecate :TotalAccumulative, :none, 2025, 11
|
|
12289
|
+
deprecate :TotalAccumulative=, :none, 2025, 11
|
|
12249
12290
|
|
|
12250
|
-
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)
|
|
12291
|
+
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)
|
|
12251
12292
|
@Name = name
|
|
12252
12293
|
@ConsumerNum = consumernum
|
|
12253
12294
|
@TPS = tps
|
|
@@ -12266,6 +12307,7 @@ module TencentCloud
|
|
|
12266
12307
|
@InstanceId = instanceid
|
|
12267
12308
|
@Namespace = namespace
|
|
12268
12309
|
@SubscribeTopicNum = subscribetopicnum
|
|
12310
|
+
@TagList = taglist
|
|
12269
12311
|
end
|
|
12270
12312
|
|
|
12271
12313
|
def deserialize(params)
|
|
@@ -12287,6 +12329,14 @@ module TencentCloud
|
|
|
12287
12329
|
@InstanceId = params['InstanceId']
|
|
12288
12330
|
@Namespace = params['Namespace']
|
|
12289
12331
|
@SubscribeTopicNum = params['SubscribeTopicNum']
|
|
12332
|
+
unless params['TagList'].nil?
|
|
12333
|
+
@TagList = []
|
|
12334
|
+
params['TagList'].each do |i|
|
|
12335
|
+
tag_tmp = Tag.new
|
|
12336
|
+
tag_tmp.deserialize(i)
|
|
12337
|
+
@TagList << tag_tmp
|
|
12338
|
+
end
|
|
12339
|
+
end
|
|
12290
12340
|
end
|
|
12291
12341
|
end
|
|
12292
12342
|
|
|
@@ -12328,38 +12378,6 @@ module TencentCloud
|
|
|
12328
12378
|
end
|
|
12329
12379
|
end
|
|
12330
12380
|
|
|
12331
|
-
# RocketMQ消费组配置信息
|
|
12332
|
-
class RocketMQGroupConfigOutput < TencentCloud::Common::AbstractModel
|
|
12333
|
-
# @param Namespace: 命名空间
|
|
12334
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12335
|
-
# @type Namespace: String
|
|
12336
|
-
# @param GroupName: 消费组名称
|
|
12337
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12338
|
-
# @type GroupName: String
|
|
12339
|
-
# @param Imported: 是否已导入
|
|
12340
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12341
|
-
# @type Imported: Boolean
|
|
12342
|
-
# @param Remark: remark
|
|
12343
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12344
|
-
# @type Remark: String
|
|
12345
|
-
|
|
12346
|
-
attr_accessor :Namespace, :GroupName, :Imported, :Remark
|
|
12347
|
-
|
|
12348
|
-
def initialize(namespace=nil, groupname=nil, imported=nil, remark=nil)
|
|
12349
|
-
@Namespace = namespace
|
|
12350
|
-
@GroupName = groupname
|
|
12351
|
-
@Imported = imported
|
|
12352
|
-
@Remark = remark
|
|
12353
|
-
end
|
|
12354
|
-
|
|
12355
|
-
def deserialize(params)
|
|
12356
|
-
@Namespace = params['Namespace']
|
|
12357
|
-
@GroupName = params['GroupName']
|
|
12358
|
-
@Imported = params['Imported']
|
|
12359
|
-
@Remark = params['Remark']
|
|
12360
|
-
end
|
|
12361
|
-
end
|
|
12362
|
-
|
|
12363
12381
|
# RocketMQ专享集群实例配置
|
|
12364
12382
|
class RocketMQInstanceConfig < TencentCloud::Common::AbstractModel
|
|
12365
12383
|
# @param MaxTpsPerNamespace: 单命名空间TPS上线
|
|
@@ -12402,10 +12420,12 @@ module TencentCloud
|
|
|
12402
12420
|
# @param TopicNumUpperLimit: Topic个数最大配额,默认为集群规格单节点最大配额*节点个数
|
|
12403
12421
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12404
12422
|
# @type TopicNumUpperLimit: Integer
|
|
12423
|
+
# @param SendReceiveRatio: 控制生产和消费消息的 TPS 占比,取值范围0~1,默认值为0.5
|
|
12424
|
+
# @type SendReceiveRatio: Float
|
|
12405
12425
|
|
|
12406
|
-
attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :ConfigDisplay, :NodeCount, :NodeDistribution, :TopicDistribution, :MaxQueuesPerTopic, :MaxRetention, :MinRetention, :Retention, :TopicNumLowerLimit, :TopicNumUpperLimit
|
|
12426
|
+
attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :ConfigDisplay, :NodeCount, :NodeDistribution, :TopicDistribution, :MaxQueuesPerTopic, :MaxRetention, :MinRetention, :Retention, :TopicNumLowerLimit, :TopicNumUpperLimit, :SendReceiveRatio
|
|
12407
12427
|
|
|
12408
|
-
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)
|
|
12428
|
+
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)
|
|
12409
12429
|
@MaxTpsPerNamespace = maxtpspernamespace
|
|
12410
12430
|
@MaxNamespaceNum = maxnamespacenum
|
|
12411
12431
|
@UsedNamespaceNum = usednamespacenum
|
|
@@ -12423,6 +12443,7 @@ module TencentCloud
|
|
|
12423
12443
|
@Retention = retention
|
|
12424
12444
|
@TopicNumLowerLimit = topicnumlowerlimit
|
|
12425
12445
|
@TopicNumUpperLimit = topicnumupperlimit
|
|
12446
|
+
@SendReceiveRatio = sendreceiveratio
|
|
12426
12447
|
end
|
|
12427
12448
|
|
|
12428
12449
|
def deserialize(params)
|
|
@@ -12457,6 +12478,7 @@ module TencentCloud
|
|
|
12457
12478
|
@Retention = params['Retention']
|
|
12458
12479
|
@TopicNumLowerLimit = params['TopicNumLowerLimit']
|
|
12459
12480
|
@TopicNumUpperLimit = params['TopicNumUpperLimit']
|
|
12481
|
+
@SendReceiveRatio = params['SendReceiveRatio']
|
|
12460
12482
|
end
|
|
12461
12483
|
end
|
|
12462
12484
|
|
|
@@ -12609,63 +12631,6 @@ module TencentCloud
|
|
|
12609
12631
|
end
|
|
12610
12632
|
end
|
|
12611
12633
|
|
|
12612
|
-
# RocketMQ平滑迁移任务
|
|
12613
|
-
class RocketMQSmoothMigrationTaskItem < TencentCloud::Common::AbstractModel
|
|
12614
|
-
# @param TaskId: 任务ID
|
|
12615
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12616
|
-
# @type TaskId: String
|
|
12617
|
-
# @param TaskName: 任务名称
|
|
12618
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12619
|
-
# @type TaskName: String
|
|
12620
|
-
# @param SourceClusterName: 源集群名称
|
|
12621
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12622
|
-
# @type SourceClusterName: String
|
|
12623
|
-
# @param ClusterId: 目标集群ID
|
|
12624
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12625
|
-
# @type ClusterId: String
|
|
12626
|
-
# @param ConnectionType: 网络连接类型,
|
|
12627
|
-
# PUBLIC 公网
|
|
12628
|
-
# VPC 私有网络
|
|
12629
|
-
# OTHER 其他
|
|
12630
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12631
|
-
# @type ConnectionType: String
|
|
12632
|
-
# @param SourceNameServer: 源集群NameServer地址
|
|
12633
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12634
|
-
# @type SourceNameServer: String
|
|
12635
|
-
# @param TaskStatus: 任务状态
|
|
12636
|
-
# Configuration 迁移配置
|
|
12637
|
-
# SourceConnecting 连接源集群中
|
|
12638
|
-
# MetaDataImport 元数据导入
|
|
12639
|
-
# EndpointSetup 切换接入点
|
|
12640
|
-
# ServiceMigration 切流中
|
|
12641
|
-
# Completed 已完成
|
|
12642
|
-
# Cancelled 已取消
|
|
12643
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12644
|
-
# @type TaskStatus: String
|
|
12645
|
-
|
|
12646
|
-
attr_accessor :TaskId, :TaskName, :SourceClusterName, :ClusterId, :ConnectionType, :SourceNameServer, :TaskStatus
|
|
12647
|
-
|
|
12648
|
-
def initialize(taskid=nil, taskname=nil, sourceclustername=nil, clusterid=nil, connectiontype=nil, sourcenameserver=nil, taskstatus=nil)
|
|
12649
|
-
@TaskId = taskid
|
|
12650
|
-
@TaskName = taskname
|
|
12651
|
-
@SourceClusterName = sourceclustername
|
|
12652
|
-
@ClusterId = clusterid
|
|
12653
|
-
@ConnectionType = connectiontype
|
|
12654
|
-
@SourceNameServer = sourcenameserver
|
|
12655
|
-
@TaskStatus = taskstatus
|
|
12656
|
-
end
|
|
12657
|
-
|
|
12658
|
-
def deserialize(params)
|
|
12659
|
-
@TaskId = params['TaskId']
|
|
12660
|
-
@TaskName = params['TaskName']
|
|
12661
|
-
@SourceClusterName = params['SourceClusterName']
|
|
12662
|
-
@ClusterId = params['ClusterId']
|
|
12663
|
-
@ConnectionType = params['ConnectionType']
|
|
12664
|
-
@SourceNameServer = params['SourceNameServer']
|
|
12665
|
-
@TaskStatus = params['TaskStatus']
|
|
12666
|
-
end
|
|
12667
|
-
end
|
|
12668
|
-
|
|
12669
12634
|
# RocketMQ消费组订阅信息
|
|
12670
12635
|
class RocketMQSubscription < TencentCloud::Common::AbstractModel
|
|
12671
12636
|
# @param Topic: 主题名称
|
|
@@ -12808,10 +12773,12 @@ module TencentCloud
|
|
|
12808
12773
|
# @param SubscriptionData: 订阅关系列表
|
|
12809
12774
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12810
12775
|
# @type SubscriptionData: Array
|
|
12776
|
+
# @param TagList: 绑定的标签列表
|
|
12777
|
+
# @type TagList: Array
|
|
12811
12778
|
|
|
12812
|
-
attr_accessor :Name, :Type, :GroupNum, :Remark, :PartitionNum, :CreateTime, :UpdateTime, :InstanceId, :Namespace, :LastUpdateTime, :SubscriptionCount, :SubscriptionData
|
|
12779
|
+
attr_accessor :Name, :Type, :GroupNum, :Remark, :PartitionNum, :CreateTime, :UpdateTime, :InstanceId, :Namespace, :LastUpdateTime, :SubscriptionCount, :SubscriptionData, :TagList
|
|
12813
12780
|
|
|
12814
|
-
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)
|
|
12781
|
+
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)
|
|
12815
12782
|
@Name = name
|
|
12816
12783
|
@Type = type
|
|
12817
12784
|
@GroupNum = groupnum
|
|
@@ -12824,6 +12791,7 @@ module TencentCloud
|
|
|
12824
12791
|
@LastUpdateTime = lastupdatetime
|
|
12825
12792
|
@SubscriptionCount = subscriptioncount
|
|
12826
12793
|
@SubscriptionData = subscriptiondata
|
|
12794
|
+
@TagList = taglist
|
|
12827
12795
|
end
|
|
12828
12796
|
|
|
12829
12797
|
def deserialize(params)
|
|
@@ -12846,6 +12814,14 @@ module TencentCloud
|
|
|
12846
12814
|
@SubscriptionData << rocketmqsubscription_tmp
|
|
12847
12815
|
end
|
|
12848
12816
|
end
|
|
12817
|
+
unless params['TagList'].nil?
|
|
12818
|
+
@TagList = []
|
|
12819
|
+
params['TagList'].each do |i|
|
|
12820
|
+
tag_tmp = Tag.new
|
|
12821
|
+
tag_tmp.deserialize(i)
|
|
12822
|
+
@TagList << tag_tmp
|
|
12823
|
+
end
|
|
12824
|
+
end
|
|
12849
12825
|
end
|
|
12850
12826
|
end
|
|
12851
12827
|
|
|
@@ -12885,53 +12861,6 @@ module TencentCloud
|
|
|
12885
12861
|
end
|
|
12886
12862
|
end
|
|
12887
12863
|
|
|
12888
|
-
# RocketMQ主题配置信息
|
|
12889
|
-
class RocketMQTopicConfigOutput < TencentCloud::Common::AbstractModel
|
|
12890
|
-
# @param Namespace: 命名空间
|
|
12891
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12892
|
-
# @type Namespace: String
|
|
12893
|
-
# @param TopicName: 主题名称
|
|
12894
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12895
|
-
# @type TopicName: String
|
|
12896
|
-
# @param Type: 主题类型:
|
|
12897
|
-
# Normal,普通
|
|
12898
|
-
# GlobalOrder, 全局顺序
|
|
12899
|
-
# PartitionedOrder, 分区顺序
|
|
12900
|
-
# Transaction,事务消息
|
|
12901
|
-
# DelayScheduled,延迟/定时消息
|
|
12902
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12903
|
-
# @type Type: String
|
|
12904
|
-
# @param Partitions: 分区个数
|
|
12905
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12906
|
-
# @type Partitions: Integer
|
|
12907
|
-
# @param Remark: 备注信息
|
|
12908
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12909
|
-
# @type Remark: String
|
|
12910
|
-
# @param Imported: 是否导入
|
|
12911
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12912
|
-
# @type Imported: Boolean
|
|
12913
|
-
|
|
12914
|
-
attr_accessor :Namespace, :TopicName, :Type, :Partitions, :Remark, :Imported
|
|
12915
|
-
|
|
12916
|
-
def initialize(namespace=nil, topicname=nil, type=nil, partitions=nil, remark=nil, imported=nil)
|
|
12917
|
-
@Namespace = namespace
|
|
12918
|
-
@TopicName = topicname
|
|
12919
|
-
@Type = type
|
|
12920
|
-
@Partitions = partitions
|
|
12921
|
-
@Remark = remark
|
|
12922
|
-
@Imported = imported
|
|
12923
|
-
end
|
|
12924
|
-
|
|
12925
|
-
def deserialize(params)
|
|
12926
|
-
@Namespace = params['Namespace']
|
|
12927
|
-
@TopicName = params['TopicName']
|
|
12928
|
-
@Type = params['Type']
|
|
12929
|
-
@Partitions = params['Partitions']
|
|
12930
|
-
@Remark = params['Remark']
|
|
12931
|
-
@Imported = params['Imported']
|
|
12932
|
-
end
|
|
12933
|
-
end
|
|
12934
|
-
|
|
12935
12864
|
# RocketMQtopic分布情况
|
|
12936
12865
|
class RocketMQTopicDistribution < TencentCloud::Common::AbstractModel
|
|
12937
12866
|
# @param TopicType: topic类型
|
|
@@ -13661,6 +13590,26 @@ module TencentCloud
|
|
|
13661
13590
|
end
|
|
13662
13591
|
end
|
|
13663
13592
|
|
|
13593
|
+
# 标签过滤器
|
|
13594
|
+
class TagFilter < TencentCloud::Common::AbstractModel
|
|
13595
|
+
# @param TagKey: 标签键名称
|
|
13596
|
+
# @type TagKey: String
|
|
13597
|
+
# @param TagValues: 标签值列表
|
|
13598
|
+
# @type TagValues: Array
|
|
13599
|
+
|
|
13600
|
+
attr_accessor :TagKey, :TagValues
|
|
13601
|
+
|
|
13602
|
+
def initialize(tagkey=nil, tagvalues=nil)
|
|
13603
|
+
@TagKey = tagkey
|
|
13604
|
+
@TagValues = tagvalues
|
|
13605
|
+
end
|
|
13606
|
+
|
|
13607
|
+
def deserialize(params)
|
|
13608
|
+
@TagKey = params['TagKey']
|
|
13609
|
+
@TagValues = params['TagValues']
|
|
13610
|
+
end
|
|
13611
|
+
end
|
|
13612
|
+
|
|
13664
13613
|
# 主题实例
|
|
13665
13614
|
class Topic < TencentCloud::Common::AbstractModel
|
|
13666
13615
|
# @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.
|
|
4
|
+
version: 3.0.1174
|
|
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-
|
|
11
|
+
date: 2025-11-28 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:
|