tencentcloud-sdk-tdmq 3.0.954 → 3.0.956
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +4 -26
- data/lib/v20200217/models.rb +11 -67
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 789916ac1badcc12312b5866038bfa658f802982
|
4
|
+
data.tar.gz: d6d0e15aa7afa88713d535f839c3f3e4e34e0594
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a72abc86e825bbe033113054c1be7271957921a50bd1f220b530c70570df2b821650e3c6ca2d61e31668bf419e47d57dfdb033d2039d5660af60c8b8bebad1b7
|
7
|
+
data.tar.gz: 984360722fac8ec50cbfd912941a6ab35421a9430d5bebc716bdb9dcaa608275a98f6efb3ea4ed7c09f3321c0c3673835442bc7438cb1b9763e53d0aedb3787e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.956
|
data/lib/v20200217/client.rb
CHANGED
@@ -1109,6 +1109,8 @@ module TencentCloud
|
|
1109
1109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1110
1110
|
end
|
1111
1111
|
|
1112
|
+
# 历史原因,该接口位于tdmq-manager,目前rabbitmq产品没有使用该接口,当前使用的是DescribeRabbitMQVipInstances。不过从调用链上看,线网还有请求流程,所以走预下线流程。
|
1113
|
+
|
1112
1114
|
# 获取amqp集群列表
|
1113
1115
|
|
1114
1116
|
# @param request: Request instance for DescribeAMQPClusters.
|
@@ -1253,32 +1255,6 @@ module TencentCloud
|
|
1253
1255
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
1256
|
end
|
1255
1257
|
|
1256
|
-
# 接口很久之前已删除,需下线
|
1257
|
-
|
1258
|
-
# 枚举cmq死信队列源队列
|
1259
|
-
|
1260
|
-
# @param request: Request instance for DescribeCmqDeadLetterSourceQueues.
|
1261
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeCmqDeadLetterSourceQueuesRequest`
|
1262
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeCmqDeadLetterSourceQueuesResponse`
|
1263
|
-
def DescribeCmqDeadLetterSourceQueues(request)
|
1264
|
-
body = send_request('DescribeCmqDeadLetterSourceQueues', request.serialize)
|
1265
|
-
response = JSON.parse(body)
|
1266
|
-
if response['Response'].key?('Error') == false
|
1267
|
-
model = DescribeCmqDeadLetterSourceQueuesResponse.new
|
1268
|
-
model.deserialize(response['Response'])
|
1269
|
-
model
|
1270
|
-
else
|
1271
|
-
code = response['Response']['Error']['Code']
|
1272
|
-
message = response['Response']['Error']['Message']
|
1273
|
-
reqid = response['Response']['RequestId']
|
1274
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1275
|
-
end
|
1276
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1277
|
-
raise e
|
1278
|
-
rescue StandardError => e
|
1279
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1280
|
-
end
|
1281
|
-
|
1282
1258
|
# 查询cmq队列详情
|
1283
1259
|
|
1284
1260
|
# @param request: Request instance for DescribeCmqQueueDetail.
|
@@ -2695,6 +2671,8 @@ module TencentCloud
|
|
2695
2671
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2696
2672
|
end
|
2697
2673
|
|
2674
|
+
# 历史原因,该接口位于tdmq-manager,目前rabbitmq产品没有使用该接口,当前使用的是ModifyRabbitMQVipInstance。不过从调用链上看,线网还有请求流程,所以走预下线流程。
|
2675
|
+
|
2698
2676
|
# 更新Amqp集群信息
|
2699
2677
|
|
2700
2678
|
# @param request: Request instance for ModifyAMQPCluster.
|
data/lib/v20200217/models.rb
CHANGED
@@ -3736,65 +3736,6 @@ module TencentCloud
|
|
3736
3736
|
end
|
3737
3737
|
end
|
3738
3738
|
|
3739
|
-
# DescribeCmqDeadLetterSourceQueues请求参数结构体
|
3740
|
-
class DescribeCmqDeadLetterSourceQueuesRequest < TencentCloud::Common::AbstractModel
|
3741
|
-
# @param DeadLetterQueueName: 死信队列名称
|
3742
|
-
# @type DeadLetterQueueName: String
|
3743
|
-
# @param Limit: 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。
|
3744
|
-
# @type Limit: Integer
|
3745
|
-
# @param Offset: 分页时本页获取主题的个数,如果不传递该参数,则该参数默认为20,最大值为50。
|
3746
|
-
# @type Offset: Integer
|
3747
|
-
# @param SourceQueueName: 根据SourceQueueName过滤
|
3748
|
-
# @type SourceQueueName: String
|
3749
|
-
|
3750
|
-
attr_accessor :DeadLetterQueueName, :Limit, :Offset, :SourceQueueName
|
3751
|
-
|
3752
|
-
def initialize(deadletterqueuename=nil, limit=nil, offset=nil, sourcequeuename=nil)
|
3753
|
-
@DeadLetterQueueName = deadletterqueuename
|
3754
|
-
@Limit = limit
|
3755
|
-
@Offset = offset
|
3756
|
-
@SourceQueueName = sourcequeuename
|
3757
|
-
end
|
3758
|
-
|
3759
|
-
def deserialize(params)
|
3760
|
-
@DeadLetterQueueName = params['DeadLetterQueueName']
|
3761
|
-
@Limit = params['Limit']
|
3762
|
-
@Offset = params['Offset']
|
3763
|
-
@SourceQueueName = params['SourceQueueName']
|
3764
|
-
end
|
3765
|
-
end
|
3766
|
-
|
3767
|
-
# DescribeCmqDeadLetterSourceQueues返回参数结构体
|
3768
|
-
class DescribeCmqDeadLetterSourceQueuesResponse < TencentCloud::Common::AbstractModel
|
3769
|
-
# @param TotalCount: 满足本次条件的队列个数
|
3770
|
-
# @type TotalCount: Integer
|
3771
|
-
# @param QueueSet: 死信队列源队列
|
3772
|
-
# @type QueueSet: Array
|
3773
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3774
|
-
# @type RequestId: String
|
3775
|
-
|
3776
|
-
attr_accessor :TotalCount, :QueueSet, :RequestId
|
3777
|
-
|
3778
|
-
def initialize(totalcount=nil, queueset=nil, requestid=nil)
|
3779
|
-
@TotalCount = totalcount
|
3780
|
-
@QueueSet = queueset
|
3781
|
-
@RequestId = requestid
|
3782
|
-
end
|
3783
|
-
|
3784
|
-
def deserialize(params)
|
3785
|
-
@TotalCount = params['TotalCount']
|
3786
|
-
unless params['QueueSet'].nil?
|
3787
|
-
@QueueSet = []
|
3788
|
-
params['QueueSet'].each do |i|
|
3789
|
-
cmqdeadlettersource_tmp = CmqDeadLetterSource.new
|
3790
|
-
cmqdeadlettersource_tmp.deserialize(i)
|
3791
|
-
@QueueSet << cmqdeadlettersource_tmp
|
3792
|
-
end
|
3793
|
-
end
|
3794
|
-
@RequestId = params['RequestId']
|
3795
|
-
end
|
3796
|
-
end
|
3797
|
-
|
3798
3739
|
# DescribeCmqQueueDetail请求参数结构体
|
3799
3740
|
class DescribeCmqQueueDetailRequest < TencentCloud::Common::AbstractModel
|
3800
3741
|
# @param QueueName: 精确匹配QueueName
|
@@ -6349,8 +6290,8 @@ module TencentCloud
|
|
6349
6290
|
|
6350
6291
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
|
6351
6292
|
extend Gem::Deprecate
|
6352
|
-
deprecate :QueryDlqMsg, :none, 2024,
|
6353
|
-
deprecate :QueryDlqMsg=, :none, 2024,
|
6293
|
+
deprecate :QueryDlqMsg, :none, 2024, 12
|
6294
|
+
deprecate :QueryDlqMsg=, :none, 2024, 12
|
6354
6295
|
|
6355
6296
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
|
6356
6297
|
@ClusterId = clusterid
|
@@ -6455,8 +6396,8 @@ module TencentCloud
|
|
6455
6396
|
|
6456
6397
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
|
6457
6398
|
extend Gem::Deprecate
|
6458
|
-
deprecate :QueryDLQMsg, :none, 2024,
|
6459
|
-
deprecate :QueryDLQMsg=, :none, 2024,
|
6399
|
+
deprecate :QueryDLQMsg, :none, 2024, 12
|
6400
|
+
deprecate :QueryDLQMsg=, :none, 2024, 12
|
6460
6401
|
|
6461
6402
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
|
6462
6403
|
@ClusterId = clusterid
|
@@ -7234,8 +7175,8 @@ module TencentCloud
|
|
7234
7175
|
|
7235
7176
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
|
7236
7177
|
extend Gem::Deprecate
|
7237
|
-
deprecate :QueryDlqMsg, :none, 2024,
|
7238
|
-
deprecate :QueryDlqMsg=, :none, 2024,
|
7178
|
+
deprecate :QueryDlqMsg, :none, 2024, 12
|
7179
|
+
deprecate :QueryDlqMsg=, :none, 2024, 12
|
7239
7180
|
|
7240
7181
|
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)
|
7241
7182
|
@ClusterId = clusterid
|
@@ -11334,7 +11275,7 @@ module TencentCloud
|
|
11334
11275
|
|
11335
11276
|
# RocketMQ集群配置
|
11336
11277
|
class RocketMQClusterConfig < TencentCloud::Common::AbstractModel
|
11337
|
-
# @param MaxTpsPerNamespace: 单命名空间TPS
|
11278
|
+
# @param MaxTpsPerNamespace: 单命名空间TPS上限
|
11338
11279
|
# @type MaxTpsPerNamespace: Integer
|
11339
11280
|
# @param MaxNamespaceNum: 最大命名空间数量
|
11340
11281
|
# @type MaxNamespaceNum: Integer
|
@@ -11360,6 +11301,9 @@ module TencentCloud
|
|
11360
11301
|
# @type TopicDistribution: Array
|
11361
11302
|
|
11362
11303
|
attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime, :MaxQueuesPerTopic, :TopicDistribution
|
11304
|
+
extend Gem::Deprecate
|
11305
|
+
deprecate :MaxTpsPerNamespace, :none, 2024, 12
|
11306
|
+
deprecate :MaxTpsPerNamespace=, :none, 2024, 12
|
11363
11307
|
|
11364
11308
|
def initialize(maxtpspernamespace=nil, maxnamespacenum=nil, usednamespacenum=nil, maxtopicnum=nil, usedtopicnum=nil, maxgroupnum=nil, usedgroupnum=nil, maxretentiontime=nil, maxlatencytime=nil, maxqueuespertopic=nil, topicdistribution=nil)
|
11365
11309
|
@MaxTpsPerNamespace = maxtpspernamespace
|
@@ -11808,7 +11752,7 @@ module TencentCloud
|
|
11808
11752
|
# @param GroupName: 消费组名称
|
11809
11753
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11810
11754
|
# @type GroupName: String
|
11811
|
-
# @param Imported:
|
11755
|
+
# @param Imported: 是否已导入
|
11812
11756
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11813
11757
|
# @type Imported: Boolean
|
11814
11758
|
# @param Remark: remark
|
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.956
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|