tencentcloud-sdk-tdmq 3.0.928 → 3.0.929
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 +24 -0
- data/lib/v20200217/models.rb +74 -6
- 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: 34c891b613d8ee68628bd21eb642a5196acfafc6
|
4
|
+
data.tar.gz: 339360f53a6f85c2e94ae64213b3ae574bddafa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f78ff4d4c7060dc24846aa06342e56ff35f38f00a0fc244e4f3f29d5b224d5176e1341b8c1d55bbdb89210eb935e4042effc6f8b17f64ea76127a488c423f7ea
|
7
|
+
data.tar.gz: 5d2377a9d5e985dd82fa3d05c8b0b7f7f6cfa5df8cacedff69aac8a0ea9fdd6bc22fa1c1eab3b33c6a155077e368131f9731f7bbe17ebb2aaa9f009a30ed344b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.929
|
data/lib/v20200217/client.rb
CHANGED
@@ -269,6 +269,30 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
271
|
|
272
|
+
# 创建RabbitMQ路由关系
|
273
|
+
|
274
|
+
# @param request: Request instance for CreateRabbitMQBinding.
|
275
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::CreateRabbitMQBindingRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::CreateRabbitMQBindingResponse`
|
277
|
+
def CreateRabbitMQBinding(request)
|
278
|
+
body = send_request('CreateRabbitMQBinding', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = CreateRabbitMQBindingResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
272
296
|
# 创建RabbitMQ的用户
|
273
297
|
|
274
298
|
# @param request: Request instance for CreateRabbitMQUser.
|
data/lib/v20200217/models.rb
CHANGED
@@ -1620,6 +1620,73 @@ module TencentCloud
|
|
1620
1620
|
end
|
1621
1621
|
end
|
1622
1622
|
|
1623
|
+
# CreateRabbitMQBinding请求参数结构体
|
1624
|
+
class CreateRabbitMQBindingRequest < TencentCloud::Common::AbstractModel
|
1625
|
+
# @param InstanceId: 实例Id
|
1626
|
+
# @type InstanceId: String
|
1627
|
+
# @param VirtualHost: Vhost参数
|
1628
|
+
# @type VirtualHost: String
|
1629
|
+
# @param Source: 源exchange
|
1630
|
+
# @type Source: String
|
1631
|
+
# @param DestinationType: 目标类型,取值queue或exchange
|
1632
|
+
# @type DestinationType: String
|
1633
|
+
# @param Destination: 目标
|
1634
|
+
# @type Destination: String
|
1635
|
+
# @param RoutingKey: 绑定key
|
1636
|
+
# @type RoutingKey: String
|
1637
|
+
|
1638
|
+
attr_accessor :InstanceId, :VirtualHost, :Source, :DestinationType, :Destination, :RoutingKey
|
1639
|
+
|
1640
|
+
def initialize(instanceid=nil, virtualhost=nil, source=nil, destinationtype=nil, destination=nil, routingkey=nil)
|
1641
|
+
@InstanceId = instanceid
|
1642
|
+
@VirtualHost = virtualhost
|
1643
|
+
@Source = source
|
1644
|
+
@DestinationType = destinationtype
|
1645
|
+
@Destination = destination
|
1646
|
+
@RoutingKey = routingkey
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
def deserialize(params)
|
1650
|
+
@InstanceId = params['InstanceId']
|
1651
|
+
@VirtualHost = params['VirtualHost']
|
1652
|
+
@Source = params['Source']
|
1653
|
+
@DestinationType = params['DestinationType']
|
1654
|
+
@Destination = params['Destination']
|
1655
|
+
@RoutingKey = params['RoutingKey']
|
1656
|
+
end
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
# CreateRabbitMQBinding返回参数结构体
|
1660
|
+
class CreateRabbitMQBindingResponse < TencentCloud::Common::AbstractModel
|
1661
|
+
# @param InstanceId: 队列名称
|
1662
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1663
|
+
# @type InstanceId: String
|
1664
|
+
# @param VirtualHost: vhost参数
|
1665
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1666
|
+
# @type VirtualHost: String
|
1667
|
+
# @param BindingId: 路由关系Id
|
1668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1669
|
+
# @type BindingId: Integer
|
1670
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1671
|
+
# @type RequestId: String
|
1672
|
+
|
1673
|
+
attr_accessor :InstanceId, :VirtualHost, :BindingId, :RequestId
|
1674
|
+
|
1675
|
+
def initialize(instanceid=nil, virtualhost=nil, bindingid=nil, requestid=nil)
|
1676
|
+
@InstanceId = instanceid
|
1677
|
+
@VirtualHost = virtualhost
|
1678
|
+
@BindingId = bindingid
|
1679
|
+
@RequestId = requestid
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
def deserialize(params)
|
1683
|
+
@InstanceId = params['InstanceId']
|
1684
|
+
@VirtualHost = params['VirtualHost']
|
1685
|
+
@BindingId = params['BindingId']
|
1686
|
+
@RequestId = params['RequestId']
|
1687
|
+
end
|
1688
|
+
end
|
1689
|
+
|
1623
1690
|
# CreateRabbitMQUser请求参数结构体
|
1624
1691
|
class CreateRabbitMQUserRequest < TencentCloud::Common::AbstractModel
|
1625
1692
|
# @param InstanceId: 集群实例Id
|
@@ -6194,8 +6261,8 @@ module TencentCloud
|
|
6194
6261
|
|
6195
6262
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
|
6196
6263
|
extend Gem::Deprecate
|
6197
|
-
deprecate :QueryDlqMsg, :none, 2024,
|
6198
|
-
deprecate :QueryDlqMsg=, :none, 2024,
|
6264
|
+
deprecate :QueryDlqMsg, :none, 2024, 10
|
6265
|
+
deprecate :QueryDlqMsg=, :none, 2024, 10
|
6199
6266
|
|
6200
6267
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
|
6201
6268
|
@ClusterId = clusterid
|
@@ -6300,8 +6367,8 @@ module TencentCloud
|
|
6300
6367
|
|
6301
6368
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
|
6302
6369
|
extend Gem::Deprecate
|
6303
|
-
deprecate :QueryDLQMsg, :none, 2024,
|
6304
|
-
deprecate :QueryDLQMsg=, :none, 2024,
|
6370
|
+
deprecate :QueryDLQMsg, :none, 2024, 10
|
6371
|
+
deprecate :QueryDLQMsg=, :none, 2024, 10
|
6305
6372
|
|
6306
6373
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
|
6307
6374
|
@ClusterId = clusterid
|
@@ -7123,8 +7190,8 @@ module TencentCloud
|
|
7123
7190
|
|
7124
7191
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
|
7125
7192
|
extend Gem::Deprecate
|
7126
|
-
deprecate :QueryDlqMsg, :none, 2024,
|
7127
|
-
deprecate :QueryDlqMsg=, :none, 2024,
|
7193
|
+
deprecate :QueryDlqMsg, :none, 2024, 10
|
7194
|
+
deprecate :QueryDlqMsg=, :none, 2024, 10
|
7128
7195
|
|
7129
7196
|
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)
|
7130
7197
|
@ClusterId = clusterid
|
@@ -7426,6 +7493,7 @@ module TencentCloud
|
|
7426
7493
|
# @param Filters: 查询条件过滤器,支持的查询条件如下:
|
7427
7494
|
# instanceIds - 实例ID
|
7428
7495
|
# instanceName - 实例名称
|
7496
|
+
# status - 实例状态
|
7429
7497
|
# @type Filters: Array
|
7430
7498
|
# @param Limit: 查询数目上限,默认20
|
7431
7499
|
# @type Limit: Integer
|
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.929
|
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-10-
|
11
|
+
date: 2024-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|