tencentcloud-sdk-tdmq 3.0.865 → 3.0.867
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 +72 -0
- data/lib/v20200217/models.rb +193 -0
- 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: aca26986580ed9376e824da590d859f5be33e77d
|
4
|
+
data.tar.gz: c1de5e2be47dcc47b2918d86b12699a420e08897
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa2cfbd41be18f12453139a2eb47d471567e9ce95893007248c3a9c4e3e808b85db6476b9b757807ee3c61e537ac398e44753d442f79df8a276d650884d9a17f
|
7
|
+
data.tar.gz: cebea89ef4302ed9e8b4188ea93f7c98c3e241aa13c590122fd362b754d920196c2753840897efe92a9806c1e545681076b78a586b4b4e6201c7fc1b4a961fc4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.867
|
data/lib/v20200217/client.rb
CHANGED
@@ -2335,6 +2335,30 @@ module TencentCloud
|
|
2335
2335
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2336
2336
|
end
|
2337
2337
|
|
2338
|
+
# 获取Topic生产详情列表
|
2339
|
+
|
2340
|
+
# @param request: Request instance for DescribeRocketMQTopicStats.
|
2341
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicStatsRequest`
|
2342
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicStatsResponse`
|
2343
|
+
def DescribeRocketMQTopicStats(request)
|
2344
|
+
body = send_request('DescribeRocketMQTopicStats', request.serialize)
|
2345
|
+
response = JSON.parse(body)
|
2346
|
+
if response['Response'].key?('Error') == false
|
2347
|
+
model = DescribeRocketMQTopicStatsResponse.new
|
2348
|
+
model.deserialize(response['Response'])
|
2349
|
+
model
|
2350
|
+
else
|
2351
|
+
code = response['Response']['Error']['Code']
|
2352
|
+
message = response['Response']['Error']['Message']
|
2353
|
+
reqid = response['Response']['RequestId']
|
2354
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2355
|
+
end
|
2356
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2357
|
+
raise e
|
2358
|
+
rescue StandardError => e
|
2359
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2360
|
+
end
|
2361
|
+
|
2338
2362
|
# 获取RocketMQ主题列表
|
2339
2363
|
|
2340
2364
|
# @param request: Request instance for DescribeRocketMQTopics.
|
@@ -2359,6 +2383,30 @@ module TencentCloud
|
|
2359
2383
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2360
2384
|
end
|
2361
2385
|
|
2386
|
+
# 获取指定消费组下订阅的主题列表
|
2387
|
+
|
2388
|
+
# @param request: Request instance for DescribeRocketMQTopicsByGroup.
|
2389
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicsByGroupRequest`
|
2390
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicsByGroupResponse`
|
2391
|
+
def DescribeRocketMQTopicsByGroup(request)
|
2392
|
+
body = send_request('DescribeRocketMQTopicsByGroup', request.serialize)
|
2393
|
+
response = JSON.parse(body)
|
2394
|
+
if response['Response'].key?('Error') == false
|
2395
|
+
model = DescribeRocketMQTopicsByGroupResponse.new
|
2396
|
+
model.deserialize(response['Response'])
|
2397
|
+
model
|
2398
|
+
else
|
2399
|
+
code = response['Response']['Error']['Code']
|
2400
|
+
message = response['Response']['Error']['Message']
|
2401
|
+
reqid = response['Response']['RequestId']
|
2402
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2403
|
+
end
|
2404
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2405
|
+
raise e
|
2406
|
+
rescue StandardError => e
|
2407
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2408
|
+
end
|
2409
|
+
|
2362
2410
|
# 获取单个RocketMQ专享集群信息
|
2363
2411
|
|
2364
2412
|
# @param request: Request instance for DescribeRocketMQVipInstanceDetail.
|
@@ -2911,6 +2959,30 @@ module TencentCloud
|
|
2911
2959
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2912
2960
|
end
|
2913
2961
|
|
2962
|
+
# 修改RocketMQ专享实例
|
2963
|
+
|
2964
|
+
# @param request: Request instance for ModifyRocketMQInstance.
|
2965
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyRocketMQInstanceRequest`
|
2966
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyRocketMQInstanceResponse`
|
2967
|
+
def ModifyRocketMQInstance(request)
|
2968
|
+
body = send_request('ModifyRocketMQInstance', request.serialize)
|
2969
|
+
response = JSON.parse(body)
|
2970
|
+
if response['Response'].key?('Error') == false
|
2971
|
+
model = ModifyRocketMQInstanceResponse.new
|
2972
|
+
model.deserialize(response['Response'])
|
2973
|
+
model
|
2974
|
+
else
|
2975
|
+
code = response['Response']['Error']['Code']
|
2976
|
+
message = response['Response']['Error']['Message']
|
2977
|
+
reqid = response['Response']['RequestId']
|
2978
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2979
|
+
end
|
2980
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2981
|
+
raise e
|
2982
|
+
rescue StandardError => e
|
2983
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2984
|
+
end
|
2985
|
+
|
2914
2986
|
# 本API用于修改RocketMQ专享实例配置,可以支持实例规格、节点数和存储的升配和实例规格的降配。本API发起订单并成功支付后进入实例配置变更的流程,可通过DescribeRocketMQVipInstances查询实例是否已变更完成。
|
2915
2987
|
|
2916
2988
|
# @param request: Request instance for ModifyRocketMQInstanceSpec.
|
data/lib/v20200217/models.rb
CHANGED
@@ -7156,6 +7156,113 @@ module TencentCloud
|
|
7156
7156
|
end
|
7157
7157
|
end
|
7158
7158
|
|
7159
|
+
# DescribeRocketMQTopicStats请求参数结构体
|
7160
|
+
class DescribeRocketMQTopicStatsRequest < TencentCloud::Common::AbstractModel
|
7161
|
+
# @param ClusterId: 实例ID
|
7162
|
+
# @type ClusterId: String
|
7163
|
+
# @param NamespaceId: 命名空间
|
7164
|
+
# @type NamespaceId: String
|
7165
|
+
# @param TopicName: 主题名
|
7166
|
+
# @type TopicName: String
|
7167
|
+
|
7168
|
+
attr_accessor :ClusterId, :NamespaceId, :TopicName
|
7169
|
+
|
7170
|
+
def initialize(clusterid=nil, namespaceid=nil, topicname=nil)
|
7171
|
+
@ClusterId = clusterid
|
7172
|
+
@NamespaceId = namespaceid
|
7173
|
+
@TopicName = topicname
|
7174
|
+
end
|
7175
|
+
|
7176
|
+
def deserialize(params)
|
7177
|
+
@ClusterId = params['ClusterId']
|
7178
|
+
@NamespaceId = params['NamespaceId']
|
7179
|
+
@TopicName = params['TopicName']
|
7180
|
+
end
|
7181
|
+
end
|
7182
|
+
|
7183
|
+
# DescribeRocketMQTopicStats返回参数结构体
|
7184
|
+
class DescribeRocketMQTopicStatsResponse < TencentCloud::Common::AbstractModel
|
7185
|
+
# @param TopicStatsList: 生产详情列表
|
7186
|
+
# @type TopicStatsList: Array
|
7187
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7188
|
+
# @type RequestId: String
|
7189
|
+
|
7190
|
+
attr_accessor :TopicStatsList, :RequestId
|
7191
|
+
|
7192
|
+
def initialize(topicstatslist=nil, requestid=nil)
|
7193
|
+
@TopicStatsList = topicstatslist
|
7194
|
+
@RequestId = requestid
|
7195
|
+
end
|
7196
|
+
|
7197
|
+
def deserialize(params)
|
7198
|
+
unless params['TopicStatsList'].nil?
|
7199
|
+
@TopicStatsList = []
|
7200
|
+
params['TopicStatsList'].each do |i|
|
7201
|
+
topicstats_tmp = TopicStats.new
|
7202
|
+
topicstats_tmp.deserialize(i)
|
7203
|
+
@TopicStatsList << topicstats_tmp
|
7204
|
+
end
|
7205
|
+
end
|
7206
|
+
@RequestId = params['RequestId']
|
7207
|
+
end
|
7208
|
+
end
|
7209
|
+
|
7210
|
+
# DescribeRocketMQTopicsByGroup请求参数结构体
|
7211
|
+
class DescribeRocketMQTopicsByGroupRequest < TencentCloud::Common::AbstractModel
|
7212
|
+
# @param ClusterId: 集群ID
|
7213
|
+
# @type ClusterId: String
|
7214
|
+
# @param NamespaceId: 命名空间名称
|
7215
|
+
# @type NamespaceId: String
|
7216
|
+
# @param GroupId: 消费组名称
|
7217
|
+
# @type GroupId: String
|
7218
|
+
# @param Offset: 偏移量
|
7219
|
+
# @type Offset: Integer
|
7220
|
+
# @param Limit: 限制条数
|
7221
|
+
# @type Limit: Integer
|
7222
|
+
|
7223
|
+
attr_accessor :ClusterId, :NamespaceId, :GroupId, :Offset, :Limit
|
7224
|
+
|
7225
|
+
def initialize(clusterid=nil, namespaceid=nil, groupid=nil, offset=nil, limit=nil)
|
7226
|
+
@ClusterId = clusterid
|
7227
|
+
@NamespaceId = namespaceid
|
7228
|
+
@GroupId = groupid
|
7229
|
+
@Offset = offset
|
7230
|
+
@Limit = limit
|
7231
|
+
end
|
7232
|
+
|
7233
|
+
def deserialize(params)
|
7234
|
+
@ClusterId = params['ClusterId']
|
7235
|
+
@NamespaceId = params['NamespaceId']
|
7236
|
+
@GroupId = params['GroupId']
|
7237
|
+
@Offset = params['Offset']
|
7238
|
+
@Limit = params['Limit']
|
7239
|
+
end
|
7240
|
+
end
|
7241
|
+
|
7242
|
+
# DescribeRocketMQTopicsByGroup返回参数结构体
|
7243
|
+
class DescribeRocketMQTopicsByGroupResponse < TencentCloud::Common::AbstractModel
|
7244
|
+
# @param TotalCount: 总条数
|
7245
|
+
# @type TotalCount: Integer
|
7246
|
+
# @param Topics: 主题列表
|
7247
|
+
# @type Topics: Array
|
7248
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7249
|
+
# @type RequestId: String
|
7250
|
+
|
7251
|
+
attr_accessor :TotalCount, :Topics, :RequestId
|
7252
|
+
|
7253
|
+
def initialize(totalcount=nil, topics=nil, requestid=nil)
|
7254
|
+
@TotalCount = totalcount
|
7255
|
+
@Topics = topics
|
7256
|
+
@RequestId = requestid
|
7257
|
+
end
|
7258
|
+
|
7259
|
+
def deserialize(params)
|
7260
|
+
@TotalCount = params['TotalCount']
|
7261
|
+
@Topics = params['Topics']
|
7262
|
+
@RequestId = params['RequestId']
|
7263
|
+
end
|
7264
|
+
end
|
7265
|
+
|
7159
7266
|
# DescribeRocketMQTopics请求参数结构体
|
7160
7267
|
class DescribeRocketMQTopicsRequest < TencentCloud::Common::AbstractModel
|
7161
7268
|
# @param Offset: 查询偏移量
|
@@ -8955,6 +9062,50 @@ module TencentCloud
|
|
8955
9062
|
end
|
8956
9063
|
end
|
8957
9064
|
|
9065
|
+
# ModifyRocketMQInstance请求参数结构体
|
9066
|
+
class ModifyRocketMQInstanceRequest < TencentCloud::Common::AbstractModel
|
9067
|
+
# @param InstanceId: 专享实例ID
|
9068
|
+
# @type InstanceId: String
|
9069
|
+
# @param Name: 实例名称
|
9070
|
+
# @type Name: String
|
9071
|
+
# @param Remark: 实例备注信息
|
9072
|
+
# @type Remark: String
|
9073
|
+
# @param MessageRetention: 实例消息保留时间,小时为单位
|
9074
|
+
# @type MessageRetention: Integer
|
9075
|
+
|
9076
|
+
attr_accessor :InstanceId, :Name, :Remark, :MessageRetention
|
9077
|
+
|
9078
|
+
def initialize(instanceid=nil, name=nil, remark=nil, messageretention=nil)
|
9079
|
+
@InstanceId = instanceid
|
9080
|
+
@Name = name
|
9081
|
+
@Remark = remark
|
9082
|
+
@MessageRetention = messageretention
|
9083
|
+
end
|
9084
|
+
|
9085
|
+
def deserialize(params)
|
9086
|
+
@InstanceId = params['InstanceId']
|
9087
|
+
@Name = params['Name']
|
9088
|
+
@Remark = params['Remark']
|
9089
|
+
@MessageRetention = params['MessageRetention']
|
9090
|
+
end
|
9091
|
+
end
|
9092
|
+
|
9093
|
+
# ModifyRocketMQInstance返回参数结构体
|
9094
|
+
class ModifyRocketMQInstanceResponse < TencentCloud::Common::AbstractModel
|
9095
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9096
|
+
# @type RequestId: String
|
9097
|
+
|
9098
|
+
attr_accessor :RequestId
|
9099
|
+
|
9100
|
+
def initialize(requestid=nil)
|
9101
|
+
@RequestId = requestid
|
9102
|
+
end
|
9103
|
+
|
9104
|
+
def deserialize(params)
|
9105
|
+
@RequestId = params['RequestId']
|
9106
|
+
end
|
9107
|
+
end
|
9108
|
+
|
8958
9109
|
# ModifyRocketMQInstanceSpec请求参数结构体
|
8959
9110
|
class ModifyRocketMQInstanceSpecRequest < TencentCloud::Common::AbstractModel
|
8960
9111
|
# @param InstanceId: 专享实例ID
|
@@ -12826,6 +12977,48 @@ module TencentCloud
|
|
12826
12977
|
end
|
12827
12978
|
end
|
12828
12979
|
|
12980
|
+
# Topic状态
|
12981
|
+
class TopicStats < TencentCloud::Common::AbstractModel
|
12982
|
+
# @param BrokerName: 所属Broker节点
|
12983
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12984
|
+
# @type BrokerName: String
|
12985
|
+
# @param QueueId: 队列编号
|
12986
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12987
|
+
# @type QueueId: Integer
|
12988
|
+
# @param MinOffset: 最小位点
|
12989
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12990
|
+
# @type MinOffset: Integer
|
12991
|
+
# @param MaxOffset: 最大位点
|
12992
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12993
|
+
# @type MaxOffset: Integer
|
12994
|
+
# @param MessageCount: 消息条数
|
12995
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12996
|
+
# @type MessageCount: Integer
|
12997
|
+
# @param LastUpdateTimestamp: 消息最后写入时间
|
12998
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12999
|
+
# @type LastUpdateTimestamp: Integer
|
13000
|
+
|
13001
|
+
attr_accessor :BrokerName, :QueueId, :MinOffset, :MaxOffset, :MessageCount, :LastUpdateTimestamp
|
13002
|
+
|
13003
|
+
def initialize(brokername=nil, queueid=nil, minoffset=nil, maxoffset=nil, messagecount=nil, lastupdatetimestamp=nil)
|
13004
|
+
@BrokerName = brokername
|
13005
|
+
@QueueId = queueid
|
13006
|
+
@MinOffset = minoffset
|
13007
|
+
@MaxOffset = maxoffset
|
13008
|
+
@MessageCount = messagecount
|
13009
|
+
@LastUpdateTimestamp = lastupdatetimestamp
|
13010
|
+
end
|
13011
|
+
|
13012
|
+
def deserialize(params)
|
13013
|
+
@BrokerName = params['BrokerName']
|
13014
|
+
@QueueId = params['QueueId']
|
13015
|
+
@MinOffset = params['MinOffset']
|
13016
|
+
@MaxOffset = params['MaxOffset']
|
13017
|
+
@MessageCount = params['MessageCount']
|
13018
|
+
@LastUpdateTimestamp = params['LastUpdateTimestamp']
|
13019
|
+
end
|
13020
|
+
end
|
13021
|
+
|
12829
13022
|
# 消息轨迹结果
|
12830
13023
|
class TraceResult < TencentCloud::Common::AbstractModel
|
12831
13024
|
# @param Stage: 阶段
|
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.867
|
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-07-
|
11
|
+
date: 2024-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|