tencentcloud-sdk-tdmq 3.0.1012 → 3.0.1013
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 +24 -0
- data/lib/v20200217/models.rb +105 -8
- 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: 6417e603fa5b4ce0485fdde50b2f895cbe5bdeb6
|
4
|
+
data.tar.gz: ea49ac648555a15590c26091e4c9f98ed885c688
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76709a2460c7c86ac568fe80fcf890f3acd2d64debdf9608e7f66496477255b876a716e383acb2e4e342d657d010cc97f0ed62a23cd765f8e7903a0b50a4989f
|
7
|
+
data.tar.gz: 6baffab1c448af9f816153316b7a06a170364c76fe566a9d565365971bfe0bcef283a736dcdf7417c8630ac4872f08428fcf6913a2bfb96222c51f23b2a67828
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1013
|
data/lib/v20200217/client.rb
CHANGED
@@ -2409,6 +2409,30 @@ module TencentCloud
|
|
2409
2409
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2410
2410
|
end
|
2411
2411
|
|
2412
|
+
# 用于获取RocketMQ指标排序列表,比如集群实例下占用存储空间最多的主题排序。
|
2413
|
+
|
2414
|
+
# @param request: Request instance for DescribeRocketMQTopUsages.
|
2415
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopUsagesRequest`
|
2416
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopUsagesResponse`
|
2417
|
+
def DescribeRocketMQTopUsages(request)
|
2418
|
+
body = send_request('DescribeRocketMQTopUsages', request.serialize)
|
2419
|
+
response = JSON.parse(body)
|
2420
|
+
if response['Response'].key?('Error') == false
|
2421
|
+
model = DescribeRocketMQTopUsagesResponse.new
|
2422
|
+
model.deserialize(response['Response'])
|
2423
|
+
model
|
2424
|
+
else
|
2425
|
+
code = response['Response']['Error']['Code']
|
2426
|
+
message = response['Response']['Error']['Message']
|
2427
|
+
reqid = response['Response']['RequestId']
|
2428
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2429
|
+
end
|
2430
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2431
|
+
raise e
|
2432
|
+
rescue StandardError => e
|
2433
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2434
|
+
end
|
2435
|
+
|
2412
2436
|
# rocketmq 消息查询
|
2413
2437
|
|
2414
2438
|
# @param request: Request instance for DescribeRocketMQTopicMsgs.
|
data/lib/v20200217/models.rb
CHANGED
@@ -6412,8 +6412,8 @@ module TencentCloud
|
|
6412
6412
|
|
6413
6413
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
|
6414
6414
|
extend Gem::Deprecate
|
6415
|
-
deprecate :QueryDlqMsg, :none, 2025,
|
6416
|
-
deprecate :QueryDlqMsg=, :none, 2025,
|
6415
|
+
deprecate :QueryDlqMsg, :none, 2025, 3
|
6416
|
+
deprecate :QueryDlqMsg=, :none, 2025, 3
|
6417
6417
|
|
6418
6418
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
|
6419
6419
|
@ClusterId = clusterid
|
@@ -6518,8 +6518,8 @@ module TencentCloud
|
|
6518
6518
|
|
6519
6519
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
|
6520
6520
|
extend Gem::Deprecate
|
6521
|
-
deprecate :QueryDLQMsg, :none, 2025,
|
6522
|
-
deprecate :QueryDLQMsg=, :none, 2025,
|
6521
|
+
deprecate :QueryDLQMsg, :none, 2025, 3
|
6522
|
+
deprecate :QueryDLQMsg=, :none, 2025, 3
|
6523
6523
|
|
6524
6524
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
|
6525
6525
|
@ClusterId = clusterid
|
@@ -7264,6 +7264,68 @@ module TencentCloud
|
|
7264
7264
|
end
|
7265
7265
|
end
|
7266
7266
|
|
7267
|
+
# DescribeRocketMQTopUsages请求参数结构体
|
7268
|
+
class DescribeRocketMQTopUsagesRequest < TencentCloud::Common::AbstractModel
|
7269
|
+
# @param ClusterId: 集群ID
|
7270
|
+
# @type ClusterId: String
|
7271
|
+
# @param MetricName: 指标名称,支持以下:
|
7272
|
+
# consumeLag,消费组堆积数量
|
7273
|
+
# deadLetterCount,死信数量
|
7274
|
+
# topicRateIn, Topic生产速率
|
7275
|
+
# topicRateOut,Topic消费速率
|
7276
|
+
# topicStorageSize,Topic存储空间
|
7277
|
+
# topicApiCalls,Topic API调用次数
|
7278
|
+
# @type MetricName: String
|
7279
|
+
# @param Limit: 排序数量,最大20
|
7280
|
+
# @type Limit: Integer
|
7281
|
+
|
7282
|
+
attr_accessor :ClusterId, :MetricName, :Limit
|
7283
|
+
|
7284
|
+
def initialize(clusterid=nil, metricname=nil, limit=nil)
|
7285
|
+
@ClusterId = clusterid
|
7286
|
+
@MetricName = metricname
|
7287
|
+
@Limit = limit
|
7288
|
+
end
|
7289
|
+
|
7290
|
+
def deserialize(params)
|
7291
|
+
@ClusterId = params['ClusterId']
|
7292
|
+
@MetricName = params['MetricName']
|
7293
|
+
@Limit = params['Limit']
|
7294
|
+
end
|
7295
|
+
end
|
7296
|
+
|
7297
|
+
# DescribeRocketMQTopUsages返回参数结构体
|
7298
|
+
class DescribeRocketMQTopUsagesResponse < TencentCloud::Common::AbstractModel
|
7299
|
+
# @param Values: 指标值列表
|
7300
|
+
# @type Values: Array
|
7301
|
+
# @param Dimensions: 指标值对应的维度组合,本接口存在以下几个维度:
|
7302
|
+
# tenant,namespace,group,topic
|
7303
|
+
# @type Dimensions: Array
|
7304
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7305
|
+
# @type RequestId: String
|
7306
|
+
|
7307
|
+
attr_accessor :Values, :Dimensions, :RequestId
|
7308
|
+
|
7309
|
+
def initialize(values=nil, dimensions=nil, requestid=nil)
|
7310
|
+
@Values = values
|
7311
|
+
@Dimensions = dimensions
|
7312
|
+
@RequestId = requestid
|
7313
|
+
end
|
7314
|
+
|
7315
|
+
def deserialize(params)
|
7316
|
+
@Values = params['Values']
|
7317
|
+
unless params['Dimensions'].nil?
|
7318
|
+
@Dimensions = []
|
7319
|
+
params['Dimensions'].each do |i|
|
7320
|
+
dimensioninstance_tmp = DimensionInstance.new
|
7321
|
+
dimensioninstance_tmp.deserialize(i)
|
7322
|
+
@Dimensions << dimensioninstance_tmp
|
7323
|
+
end
|
7324
|
+
end
|
7325
|
+
@RequestId = params['RequestId']
|
7326
|
+
end
|
7327
|
+
end
|
7328
|
+
|
7267
7329
|
# DescribeRocketMQTopicMsgs请求参数结构体
|
7268
7330
|
class DescribeRocketMQTopicMsgsRequest < TencentCloud::Common::AbstractModel
|
7269
7331
|
# @param ClusterId: 集群 ID
|
@@ -7297,8 +7359,8 @@ module TencentCloud
|
|
7297
7359
|
|
7298
7360
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
|
7299
7361
|
extend Gem::Deprecate
|
7300
|
-
deprecate :QueryDlqMsg, :none, 2025,
|
7301
|
-
deprecate :QueryDlqMsg=, :none, 2025,
|
7362
|
+
deprecate :QueryDlqMsg, :none, 2025, 3
|
7363
|
+
deprecate :QueryDlqMsg=, :none, 2025, 3
|
7302
7364
|
|
7303
7365
|
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)
|
7304
7366
|
@ClusterId = clusterid
|
@@ -8009,6 +8071,41 @@ module TencentCloud
|
|
8009
8071
|
end
|
8010
8072
|
end
|
8011
8073
|
|
8074
|
+
# 实例维度组合数组
|
8075
|
+
class DimensionInstance < TencentCloud::Common::AbstractModel
|
8076
|
+
# @param Dimensions: 实例的维度组合
|
8077
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8078
|
+
# @type Dimensions: Array
|
8079
|
+
|
8080
|
+
attr_accessor :Dimensions
|
8081
|
+
|
8082
|
+
def initialize(dimensions=nil)
|
8083
|
+
@Dimensions = dimensions
|
8084
|
+
end
|
8085
|
+
|
8086
|
+
def deserialize(params)
|
8087
|
+
unless params['Dimensions'].nil?
|
8088
|
+
@Dimensions = []
|
8089
|
+
params['Dimensions'].each do |i|
|
8090
|
+
dimensionopt_tmp = DimensionOpt.new
|
8091
|
+
dimensionopt_tmp.deserialize(i)
|
8092
|
+
@Dimensions << dimensionopt_tmp
|
8093
|
+
end
|
8094
|
+
end
|
8095
|
+
end
|
8096
|
+
end
|
8097
|
+
|
8098
|
+
# 指标维度对象
|
8099
|
+
class DimensionOpt < TencentCloud::Common::AbstractModel
|
8100
|
+
|
8101
|
+
|
8102
|
+
def initialize()
|
8103
|
+
end
|
8104
|
+
|
8105
|
+
def deserialize(params)
|
8106
|
+
end
|
8107
|
+
end
|
8108
|
+
|
8012
8109
|
# 命名空间信息
|
8013
8110
|
class Environment < TencentCloud::Common::AbstractModel
|
8014
8111
|
# @param EnvironmentId: 命名空间名称
|
@@ -11735,8 +11832,8 @@ module TencentCloud
|
|
11735
11832
|
|
11736
11833
|
attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime, :MaxQueuesPerTopic, :TopicDistribution
|
11737
11834
|
extend Gem::Deprecate
|
11738
|
-
deprecate :MaxTpsPerNamespace, :none, 2025,
|
11739
|
-
deprecate :MaxTpsPerNamespace=, :none, 2025,
|
11835
|
+
deprecate :MaxTpsPerNamespace, :none, 2025, 3
|
11836
|
+
deprecate :MaxTpsPerNamespace=, :none, 2025, 3
|
11740
11837
|
|
11741
11838
|
def initialize(maxtpspernamespace=nil, maxnamespacenum=nil, usednamespacenum=nil, maxtopicnum=nil, usedtopicnum=nil, maxgroupnum=nil, usedgroupnum=nil, maxretentiontime=nil, maxlatencytime=nil, maxqueuespertopic=nil, topicdistribution=nil)
|
11742
11839
|
@MaxTpsPerNamespace = maxtpspernamespace
|
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.1013
|
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-03-
|
11
|
+
date: 2025-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|