tencentcloud-sdk-tdmq 3.0.775 → 3.0.777
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 +143 -7
- 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: 732983d3d70797ac5e434549e1f01cfda156cdb8
|
4
|
+
data.tar.gz: 672b22cb75b2f0a940f93670268025765590cd24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db2b2342e682c54416c91eb82e1313144ebc1de68741b9f43319e44e78163349eecd206f93057e2bfce8aa7464c89ad9a58c4998e82a094eea032d54e36c5e69
|
7
|
+
data.tar.gz: c5c79250b624ab81e43ab48944bf7aafc4cef5a1b3dc08273a10f948e00fa5d0483a02fbb6649c8f150efe0a9de79e8b6bd9653cfdc11a4af4237cd835e314b3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.777
|
data/lib/v20200217/client.rb
CHANGED
@@ -1973,6 +1973,30 @@ module TencentCloud
|
|
1973
1973
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1974
1974
|
end
|
1975
1975
|
|
1976
|
+
# 从腾讯云可观测平台拉取公网指标监控数据,目前仅支持客户端到 LB 的入带宽和出宽带指标。
|
1977
|
+
|
1978
|
+
# @param request: Request instance for DescribeRocketMQPublicAccessMonitorData.
|
1979
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessMonitorDataRequest`
|
1980
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessMonitorDataResponse`
|
1981
|
+
def DescribeRocketMQPublicAccessMonitorData(request)
|
1982
|
+
body = send_request('DescribeRocketMQPublicAccessMonitorData', request.serialize)
|
1983
|
+
response = JSON.parse(body)
|
1984
|
+
if response['Response'].key?('Error') == false
|
1985
|
+
model = DescribeRocketMQPublicAccessMonitorDataResponse.new
|
1986
|
+
model.deserialize(response['Response'])
|
1987
|
+
model
|
1988
|
+
else
|
1989
|
+
code = response['Response']['Error']['Code']
|
1990
|
+
message = response['Response']['Error']['Message']
|
1991
|
+
reqid = response['Response']['RequestId']
|
1992
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1993
|
+
end
|
1994
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1995
|
+
raise e
|
1996
|
+
rescue StandardError => e
|
1997
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1998
|
+
end
|
1999
|
+
|
1976
2000
|
# 接口用于查询RocketMQ实例的公网接入信息
|
1977
2001
|
|
1978
2002
|
# @param request: Request instance for DescribeRocketMQPublicAccessPoint.
|
data/lib/v20200217/models.rb
CHANGED
@@ -1925,7 +1925,7 @@ module TencentCloud
|
|
1925
1925
|
# @type Topic: String
|
1926
1926
|
# @param Namespaces: 主题所在的命名空间,目前支持在单个命名空间下创建主题
|
1927
1927
|
# @type Namespaces: Array
|
1928
|
-
# @param Type: 主题类型,可选值为Normal, PartitionedOrder, Transaction, DelayScheduled。
|
1928
|
+
# @param Type: 主题类型,可选值为Normal, GlobalOrder, PartitionedOrder, Transaction, DelayScheduled。Transaction仅在专享版支持。
|
1929
1929
|
# @type Type: String
|
1930
1930
|
# @param ClusterId: 集群ID
|
1931
1931
|
# @type ClusterId: String
|
@@ -5706,16 +5706,31 @@ module TencentCloud
|
|
5706
5706
|
# @type PulsarMsgId: String
|
5707
5707
|
# @param QueryDlqMsg: 查询死信时该值为true,只对Rocketmq有效
|
5708
5708
|
# @type QueryDlqMsg: Boolean
|
5709
|
+
# @param QueryDeadLetterMessage: 查询死信时该值为true,只对Rocketmq有效
|
5710
|
+
# @type QueryDeadLetterMessage: Boolean
|
5711
|
+
# @param Offset: 分页Offset
|
5712
|
+
# @type Offset: Integer
|
5713
|
+
# @param Limit: 分页Limit
|
5714
|
+
# @type Limit: Integer
|
5715
|
+
# @param FilterTrackGroup: 根据消费组名称过滤消费详情
|
5716
|
+
# @type FilterTrackGroup: String
|
5709
5717
|
|
5710
|
-
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg
|
5718
|
+
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
|
5719
|
+
extend Gem::Deprecate
|
5720
|
+
deprecate :QueryDlqMsg, :none, 2024, 3
|
5721
|
+
deprecate :QueryDlqMsg=, :none, 2024, 3
|
5711
5722
|
|
5712
|
-
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil)
|
5723
|
+
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
|
5713
5724
|
@ClusterId = clusterid
|
5714
5725
|
@EnvironmentId = environmentid
|
5715
5726
|
@TopicName = topicname
|
5716
5727
|
@MsgId = msgid
|
5717
5728
|
@PulsarMsgId = pulsarmsgid
|
5718
5729
|
@QueryDlqMsg = querydlqmsg
|
5730
|
+
@QueryDeadLetterMessage = querydeadlettermessage
|
5731
|
+
@Offset = offset
|
5732
|
+
@Limit = limit
|
5733
|
+
@FilterTrackGroup = filtertrackgroup
|
5719
5734
|
end
|
5720
5735
|
|
5721
5736
|
def deserialize(params)
|
@@ -5725,6 +5740,10 @@ module TencentCloud
|
|
5725
5740
|
@MsgId = params['MsgId']
|
5726
5741
|
@PulsarMsgId = params['PulsarMsgId']
|
5727
5742
|
@QueryDlqMsg = params['QueryDlqMsg']
|
5743
|
+
@QueryDeadLetterMessage = params['QueryDeadLetterMessage']
|
5744
|
+
@Offset = params['Offset']
|
5745
|
+
@Limit = params['Limit']
|
5746
|
+
@FilterTrackGroup = params['FilterTrackGroup']
|
5728
5747
|
end
|
5729
5748
|
end
|
5730
5749
|
|
@@ -5740,18 +5759,20 @@ module TencentCloud
|
|
5740
5759
|
# @type MsgId: String
|
5741
5760
|
# @param ProducerAddr: 生产者地址
|
5742
5761
|
# @type ProducerAddr: String
|
5743
|
-
# @param MessageTracks:
|
5762
|
+
# @param MessageTracks: 消费组消费情况列表
|
5744
5763
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5745
5764
|
# @type MessageTracks: Array
|
5746
5765
|
# @param ShowTopicName: 详情页展示的topic名称
|
5747
5766
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5748
5767
|
# @type ShowTopicName: String
|
5768
|
+
# @param MessageTracksCount: 消费组消费情况列表总数
|
5769
|
+
# @type MessageTracksCount: Integer
|
5749
5770
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5750
5771
|
# @type RequestId: String
|
5751
5772
|
|
5752
|
-
attr_accessor :Body, :Properties, :ProduceTime, :MsgId, :ProducerAddr, :MessageTracks, :ShowTopicName, :RequestId
|
5773
|
+
attr_accessor :Body, :Properties, :ProduceTime, :MsgId, :ProducerAddr, :MessageTracks, :ShowTopicName, :MessageTracksCount, :RequestId
|
5753
5774
|
|
5754
|
-
def initialize(body=nil, properties=nil, producetime=nil, msgid=nil, produceraddr=nil, messagetracks=nil, showtopicname=nil, requestid=nil)
|
5775
|
+
def initialize(body=nil, properties=nil, producetime=nil, msgid=nil, produceraddr=nil, messagetracks=nil, showtopicname=nil, messagetrackscount=nil, requestid=nil)
|
5755
5776
|
@Body = body
|
5756
5777
|
@Properties = properties
|
5757
5778
|
@ProduceTime = producetime
|
@@ -5759,6 +5780,7 @@ module TencentCloud
|
|
5759
5780
|
@ProducerAddr = produceraddr
|
5760
5781
|
@MessageTracks = messagetracks
|
5761
5782
|
@ShowTopicName = showtopicname
|
5783
|
+
@MessageTracksCount = messagetrackscount
|
5762
5784
|
@RequestId = requestid
|
5763
5785
|
end
|
5764
5786
|
|
@@ -5777,6 +5799,7 @@ module TencentCloud
|
|
5777
5799
|
end
|
5778
5800
|
end
|
5779
5801
|
@ShowTopicName = params['ShowTopicName']
|
5802
|
+
@MessageTracksCount = params['MessageTracksCount']
|
5780
5803
|
@RequestId = params['RequestId']
|
5781
5804
|
end
|
5782
5805
|
end
|
@@ -5948,6 +5971,91 @@ module TencentCloud
|
|
5948
5971
|
end
|
5949
5972
|
end
|
5950
5973
|
|
5974
|
+
# DescribeRocketMQPublicAccessMonitorData请求参数结构体
|
5975
|
+
class DescribeRocketMQPublicAccessMonitorDataRequest < TencentCloud::Common::AbstractModel
|
5976
|
+
# @param InstanceId: 专享集群ID
|
5977
|
+
# @type InstanceId: String
|
5978
|
+
# @param MetricName: 指标名称,仅支持单指标拉取。目前仅支持:ClientIntraffic; ClientOuttraffic
|
5979
|
+
# @type MetricName: String
|
5980
|
+
# @param StartTime: 起始时间
|
5981
|
+
# @type StartTime: String
|
5982
|
+
# @param EndTime: 结束时间,默认为当前时间
|
5983
|
+
# @type EndTime: String
|
5984
|
+
# @param Period: 监控统计周期,如60。默认为取值为300,单位为s。
|
5985
|
+
# @type Period: Integer
|
5986
|
+
|
5987
|
+
attr_accessor :InstanceId, :MetricName, :StartTime, :EndTime, :Period
|
5988
|
+
|
5989
|
+
def initialize(instanceid=nil, metricname=nil, starttime=nil, endtime=nil, period=nil)
|
5990
|
+
@InstanceId = instanceid
|
5991
|
+
@MetricName = metricname
|
5992
|
+
@StartTime = starttime
|
5993
|
+
@EndTime = endtime
|
5994
|
+
@Period = period
|
5995
|
+
end
|
5996
|
+
|
5997
|
+
def deserialize(params)
|
5998
|
+
@InstanceId = params['InstanceId']
|
5999
|
+
@MetricName = params['MetricName']
|
6000
|
+
@StartTime = params['StartTime']
|
6001
|
+
@EndTime = params['EndTime']
|
6002
|
+
@Period = params['Period']
|
6003
|
+
end
|
6004
|
+
end
|
6005
|
+
|
6006
|
+
# DescribeRocketMQPublicAccessMonitorData返回参数结构体
|
6007
|
+
class DescribeRocketMQPublicAccessMonitorDataResponse < TencentCloud::Common::AbstractModel
|
6008
|
+
# @param MetricName: 指标名
|
6009
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6010
|
+
# @type MetricName: String
|
6011
|
+
# @param Period: 监控统计周期,如60。默认为取值为300,单位为s。
|
6012
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6013
|
+
# @type Period: Integer
|
6014
|
+
# @param StartTime: 起始时间,如2018-09-22T19:51:23+08:00
|
6015
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6016
|
+
# @type StartTime: String
|
6017
|
+
# @param EndTime: 结束时间,如2018-09-22T20:51:23+08:00,默认为当前时间
|
6018
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6019
|
+
# @type EndTime: String
|
6020
|
+
# @param DataPoints: 数据点数组
|
6021
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6022
|
+
# @type DataPoints: Array
|
6023
|
+
# @param Msg: 返回信息
|
6024
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6025
|
+
# @type Msg: String
|
6026
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6027
|
+
# @type RequestId: String
|
6028
|
+
|
6029
|
+
attr_accessor :MetricName, :Period, :StartTime, :EndTime, :DataPoints, :Msg, :RequestId
|
6030
|
+
|
6031
|
+
def initialize(metricname=nil, period=nil, starttime=nil, endtime=nil, datapoints=nil, msg=nil, requestid=nil)
|
6032
|
+
@MetricName = metricname
|
6033
|
+
@Period = period
|
6034
|
+
@StartTime = starttime
|
6035
|
+
@EndTime = endtime
|
6036
|
+
@DataPoints = datapoints
|
6037
|
+
@Msg = msg
|
6038
|
+
@RequestId = requestid
|
6039
|
+
end
|
6040
|
+
|
6041
|
+
def deserialize(params)
|
6042
|
+
@MetricName = params['MetricName']
|
6043
|
+
@Period = params['Period']
|
6044
|
+
@StartTime = params['StartTime']
|
6045
|
+
@EndTime = params['EndTime']
|
6046
|
+
unless params['DataPoints'].nil?
|
6047
|
+
@DataPoints = []
|
6048
|
+
params['DataPoints'].each do |i|
|
6049
|
+
rocketmqdatapoint_tmp = RocketMQDataPoint.new
|
6050
|
+
rocketmqdatapoint_tmp.deserialize(i)
|
6051
|
+
@DataPoints << rocketmqdatapoint_tmp
|
6052
|
+
end
|
6053
|
+
end
|
6054
|
+
@Msg = params['Msg']
|
6055
|
+
@RequestId = params['RequestId']
|
6056
|
+
end
|
6057
|
+
end
|
6058
|
+
|
5951
6059
|
# DescribeRocketMQPublicAccessPoint请求参数结构体
|
5952
6060
|
class DescribeRocketMQPublicAccessPointRequest < TencentCloud::Common::AbstractModel
|
5953
6061
|
# @param InstanceId: 集群ID,当前只支持专享集群
|
@@ -10336,6 +10444,28 @@ module TencentCloud
|
|
10336
10444
|
end
|
10337
10445
|
end
|
10338
10446
|
|
10447
|
+
# 监控数据点
|
10448
|
+
class RocketMQDataPoint < TencentCloud::Common::AbstractModel
|
10449
|
+
# @param Timestamps: 监控值数组,该数组和Timestamps一一对应
|
10450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10451
|
+
# @type Timestamps: Array
|
10452
|
+
# @param Values: 监控数据点位置,比如一天按分钟划分有1440个点,每个点的序号是0 - 1439之间的一个数,当某个序号不在该数组中,说明掉点了
|
10453
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10454
|
+
# @type Values: Array
|
10455
|
+
|
10456
|
+
attr_accessor :Timestamps, :Values
|
10457
|
+
|
10458
|
+
def initialize(timestamps=nil, values=nil)
|
10459
|
+
@Timestamps = timestamps
|
10460
|
+
@Values = values
|
10461
|
+
end
|
10462
|
+
|
10463
|
+
def deserialize(params)
|
10464
|
+
@Timestamps = params['Timestamps']
|
10465
|
+
@Values = params['Values']
|
10466
|
+
end
|
10467
|
+
end
|
10468
|
+
|
10339
10469
|
# RocketMQ消费组信息
|
10340
10470
|
class RocketMQGroup < TencentCloud::Common::AbstractModel
|
10341
10471
|
# @param Name: 消费组名称
|
@@ -10562,7 +10692,13 @@ module TencentCloud
|
|
10562
10692
|
class RocketMQMessageTrack < TencentCloud::Common::AbstractModel
|
10563
10693
|
# @param Group: 消费者组
|
10564
10694
|
# @type Group: String
|
10565
|
-
# @param ConsumeStatus:
|
10695
|
+
# @param ConsumeStatus: 消费状态,
|
10696
|
+
# CONSUMED: 已消费
|
10697
|
+
# CONSUMED_BUT_FILTERED: 已过滤
|
10698
|
+
# NOT_CONSUME: 未消费
|
10699
|
+
# ENTER_RETRY: 进入重试队列
|
10700
|
+
# ENTER_DLQ: 进入死信队列
|
10701
|
+
# UNKNOWN: 查询不到消费状态
|
10566
10702
|
# @type ConsumeStatus: String
|
10567
10703
|
# @param TrackType: 消息track类型
|
10568
10704
|
# @type TrackType: String
|
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.777
|
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-03-
|
11
|
+
date: 2024-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|