tencentcloud-sdk-tdmq 3.0.928 → 3.0.930
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 +273 -61
- 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: 7526dd306cd1a69e101636de746aee552856885c
|
4
|
+
data.tar.gz: 486cc252f00f1da9d70720d06b4d903980e74170
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bef2a462bfb8352dfb9a5b4a52ee3cc485876fd9f8be8014d44575175b434243a24b79d30da5f9c2fb7ef0e522b60f9fa13caf3bc21deae4716e8c09fc3dd94c
|
7
|
+
data.tar.gz: 7c85f686392bac8f2c05d7906ad06624df8c2e65e84bc99b39f39d4d384ba981e8005c764431c2cefcfc574277e2527871699411cfbd5c909979707d15db5178
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.930
|
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.
|
@@ -749,6 +773,30 @@ module TencentCloud
|
|
749
773
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
774
|
end
|
751
775
|
|
776
|
+
# 解绑RabbitMQ路由关系
|
777
|
+
|
778
|
+
# @param request: Request instance for DeleteRabbitMQBinding.
|
779
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteRabbitMQBindingRequest`
|
780
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteRabbitMQBindingResponse`
|
781
|
+
def DeleteRabbitMQBinding(request)
|
782
|
+
body = send_request('DeleteRabbitMQBinding', request.serialize)
|
783
|
+
response = JSON.parse(body)
|
784
|
+
if response['Response'].key?('Error') == false
|
785
|
+
model = DeleteRabbitMQBindingResponse.new
|
786
|
+
model.deserialize(response['Response'])
|
787
|
+
model
|
788
|
+
else
|
789
|
+
code = response['Response']['Error']['Code']
|
790
|
+
message = response['Response']['Error']['Message']
|
791
|
+
reqid = response['Response']['RequestId']
|
792
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
793
|
+
end
|
794
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
795
|
+
raise e
|
796
|
+
rescue StandardError => e
|
797
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
|
+
end
|
799
|
+
|
752
800
|
# 删除RabbitMQ的用户
|
753
801
|
|
754
802
|
# @param request: Request instance for DeleteRabbitMQUser.
|
@@ -1639,6 +1687,30 @@ module TencentCloud
|
|
1639
1687
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1640
1688
|
end
|
1641
1689
|
|
1690
|
+
# 查询RabbitMQ路由关系列表
|
1691
|
+
|
1692
|
+
# @param request: Request instance for DescribeRabbitMQBindings.
|
1693
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQBindingsRequest`
|
1694
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQBindingsResponse`
|
1695
|
+
def DescribeRabbitMQBindings(request)
|
1696
|
+
body = send_request('DescribeRabbitMQBindings', request.serialize)
|
1697
|
+
response = JSON.parse(body)
|
1698
|
+
if response['Response'].key?('Error') == false
|
1699
|
+
model = DescribeRabbitMQBindingsResponse.new
|
1700
|
+
model.deserialize(response['Response'])
|
1701
|
+
model
|
1702
|
+
else
|
1703
|
+
code = response['Response']['Error']['Code']
|
1704
|
+
message = response['Response']['Error']['Message']
|
1705
|
+
reqid = response['Response']['RequestId']
|
1706
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1707
|
+
end
|
1708
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1709
|
+
raise e
|
1710
|
+
rescue StandardError => e
|
1711
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1712
|
+
end
|
1713
|
+
|
1642
1714
|
# 查询RabbitMQ exchange 列表
|
1643
1715
|
|
1644
1716
|
# @param request: Request instance for DescribeRabbitMQExchanges.
|
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
|
@@ -1884,7 +1951,7 @@ module TencentCloud
|
|
1884
1951
|
|
1885
1952
|
# CreateRocketMQEnvironmentRole请求参数结构体
|
1886
1953
|
class CreateRocketMQEnvironmentRoleRequest < TencentCloud::Common::AbstractModel
|
1887
|
-
# @param EnvironmentId:
|
1954
|
+
# @param EnvironmentId: 命名空间
|
1888
1955
|
# @type EnvironmentId: String
|
1889
1956
|
# @param RoleName: 角色名称。
|
1890
1957
|
# @type RoleName: String
|
@@ -2712,6 +2779,61 @@ module TencentCloud
|
|
2712
2779
|
end
|
2713
2780
|
end
|
2714
2781
|
|
2782
|
+
# DeleteRabbitMQBinding请求参数结构体
|
2783
|
+
class DeleteRabbitMQBindingRequest < TencentCloud::Common::AbstractModel
|
2784
|
+
# @param InstanceId: 实例Id
|
2785
|
+
# @type InstanceId: String
|
2786
|
+
# @param VirtualHost: Vhost参数
|
2787
|
+
# @type VirtualHost: String
|
2788
|
+
# @param BindingId: 路由关系Id
|
2789
|
+
# @type BindingId: Integer
|
2790
|
+
|
2791
|
+
attr_accessor :InstanceId, :VirtualHost, :BindingId
|
2792
|
+
|
2793
|
+
def initialize(instanceid=nil, virtualhost=nil, bindingid=nil)
|
2794
|
+
@InstanceId = instanceid
|
2795
|
+
@VirtualHost = virtualhost
|
2796
|
+
@BindingId = bindingid
|
2797
|
+
end
|
2798
|
+
|
2799
|
+
def deserialize(params)
|
2800
|
+
@InstanceId = params['InstanceId']
|
2801
|
+
@VirtualHost = params['VirtualHost']
|
2802
|
+
@BindingId = params['BindingId']
|
2803
|
+
end
|
2804
|
+
end
|
2805
|
+
|
2806
|
+
# DeleteRabbitMQBinding返回参数结构体
|
2807
|
+
class DeleteRabbitMQBindingResponse < TencentCloud::Common::AbstractModel
|
2808
|
+
# @param InstanceId: 队列名称
|
2809
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2810
|
+
# @type InstanceId: String
|
2811
|
+
# @param VirtualHost: vhost参数
|
2812
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2813
|
+
# @type VirtualHost: String
|
2814
|
+
# @param BindingId: 路由关系Id
|
2815
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2816
|
+
# @type BindingId: Integer
|
2817
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2818
|
+
# @type RequestId: String
|
2819
|
+
|
2820
|
+
attr_accessor :InstanceId, :VirtualHost, :BindingId, :RequestId
|
2821
|
+
|
2822
|
+
def initialize(instanceid=nil, virtualhost=nil, bindingid=nil, requestid=nil)
|
2823
|
+
@InstanceId = instanceid
|
2824
|
+
@VirtualHost = virtualhost
|
2825
|
+
@BindingId = bindingid
|
2826
|
+
@RequestId = requestid
|
2827
|
+
end
|
2828
|
+
|
2829
|
+
def deserialize(params)
|
2830
|
+
@InstanceId = params['InstanceId']
|
2831
|
+
@VirtualHost = params['VirtualHost']
|
2832
|
+
@BindingId = params['BindingId']
|
2833
|
+
@RequestId = params['RequestId']
|
2834
|
+
end
|
2835
|
+
end
|
2836
|
+
|
2715
2837
|
# DeleteRabbitMQUser请求参数结构体
|
2716
2838
|
class DeleteRabbitMQUserRequest < TencentCloud::Common::AbstractModel
|
2717
2839
|
# @param InstanceId: 集群实例Id
|
@@ -2868,7 +2990,7 @@ module TencentCloud
|
|
2868
2990
|
# @type EnvironmentId: String
|
2869
2991
|
# @param RoleNames: 角色名称数组。
|
2870
2992
|
# @type RoleNames: Array
|
2871
|
-
# @param ClusterId:
|
2993
|
+
# @param ClusterId: 集群的ID
|
2872
2994
|
# @type ClusterId: String
|
2873
2995
|
|
2874
2996
|
attr_accessor :EnvironmentId, :RoleNames, :ClusterId
|
@@ -4819,6 +4941,83 @@ module TencentCloud
|
|
4819
4941
|
end
|
4820
4942
|
end
|
4821
4943
|
|
4944
|
+
# DescribeRabbitMQBindings请求参数结构体
|
4945
|
+
class DescribeRabbitMQBindingsRequest < TencentCloud::Common::AbstractModel
|
4946
|
+
# @param InstanceId: 实例Id
|
4947
|
+
# @type InstanceId: String
|
4948
|
+
# @param VirtualHost: Vhost参数
|
4949
|
+
# @type VirtualHost: String
|
4950
|
+
# @param Offset: 分页offset
|
4951
|
+
# @type Offset: Integer
|
4952
|
+
# @param Limit: 分页limit
|
4953
|
+
# @type Limit: Integer
|
4954
|
+
# @param SearchWord: 搜索关键词,根据源exchange名称/目标资源名称/绑定key进行模糊搜索
|
4955
|
+
# @type SearchWord: String
|
4956
|
+
# @param SourceExchange: 根据源Exchange精准搜索过滤
|
4957
|
+
# @type SourceExchange: String
|
4958
|
+
# @param QueueName: 根据目标QueueName精准搜索过滤,和DestinationExchange过滤不可同时设置
|
4959
|
+
# @type QueueName: String
|
4960
|
+
# @param DestinationExchange: 根据目标Exchange精准搜索过滤,和QueueName过滤不可同时设置
|
4961
|
+
# @type DestinationExchange: String
|
4962
|
+
|
4963
|
+
attr_accessor :InstanceId, :VirtualHost, :Offset, :Limit, :SearchWord, :SourceExchange, :QueueName, :DestinationExchange
|
4964
|
+
|
4965
|
+
def initialize(instanceid=nil, virtualhost=nil, offset=nil, limit=nil, searchword=nil, sourceexchange=nil, queuename=nil, destinationexchange=nil)
|
4966
|
+
@InstanceId = instanceid
|
4967
|
+
@VirtualHost = virtualhost
|
4968
|
+
@Offset = offset
|
4969
|
+
@Limit = limit
|
4970
|
+
@SearchWord = searchword
|
4971
|
+
@SourceExchange = sourceexchange
|
4972
|
+
@QueueName = queuename
|
4973
|
+
@DestinationExchange = destinationexchange
|
4974
|
+
end
|
4975
|
+
|
4976
|
+
def deserialize(params)
|
4977
|
+
@InstanceId = params['InstanceId']
|
4978
|
+
@VirtualHost = params['VirtualHost']
|
4979
|
+
@Offset = params['Offset']
|
4980
|
+
@Limit = params['Limit']
|
4981
|
+
@SearchWord = params['SearchWord']
|
4982
|
+
@SourceExchange = params['SourceExchange']
|
4983
|
+
@QueueName = params['QueueName']
|
4984
|
+
@DestinationExchange = params['DestinationExchange']
|
4985
|
+
end
|
4986
|
+
end
|
4987
|
+
|
4988
|
+
# DescribeRabbitMQBindings返回参数结构体
|
4989
|
+
class DescribeRabbitMQBindingsResponse < TencentCloud::Common::AbstractModel
|
4990
|
+
# @param BindingInfoList: 路由关系列表
|
4991
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4992
|
+
# @type BindingInfoList: Array
|
4993
|
+
# @param TotalCount: 数量
|
4994
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4995
|
+
# @type TotalCount: Integer
|
4996
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4997
|
+
# @type RequestId: String
|
4998
|
+
|
4999
|
+
attr_accessor :BindingInfoList, :TotalCount, :RequestId
|
5000
|
+
|
5001
|
+
def initialize(bindinginfolist=nil, totalcount=nil, requestid=nil)
|
5002
|
+
@BindingInfoList = bindinginfolist
|
5003
|
+
@TotalCount = totalcount
|
5004
|
+
@RequestId = requestid
|
5005
|
+
end
|
5006
|
+
|
5007
|
+
def deserialize(params)
|
5008
|
+
unless params['BindingInfoList'].nil?
|
5009
|
+
@BindingInfoList = []
|
5010
|
+
params['BindingInfoList'].each do |i|
|
5011
|
+
rabbitmqbindinglistinfo_tmp = RabbitMQBindingListInfo.new
|
5012
|
+
rabbitmqbindinglistinfo_tmp.deserialize(i)
|
5013
|
+
@BindingInfoList << rabbitmqbindinglistinfo_tmp
|
5014
|
+
end
|
5015
|
+
end
|
5016
|
+
@TotalCount = params['TotalCount']
|
5017
|
+
@RequestId = params['RequestId']
|
5018
|
+
end
|
5019
|
+
end
|
5020
|
+
|
4822
5021
|
# DescribeRabbitMQExchanges请求参数结构体
|
4823
5022
|
class DescribeRabbitMQExchangesRequest < TencentCloud::Common::AbstractModel
|
4824
5023
|
# @param InstanceId: 实例 id
|
@@ -5947,7 +6146,7 @@ module TencentCloud
|
|
5947
6146
|
class DescribeRocketMQEnvironmentRolesRequest < TencentCloud::Common::AbstractModel
|
5948
6147
|
# @param ClusterId: 必填字段,RocketMQ集群的ID
|
5949
6148
|
# @type ClusterId: String
|
5950
|
-
# @param EnvironmentId:
|
6149
|
+
# @param EnvironmentId: 命名空间
|
5951
6150
|
# @type EnvironmentId: String
|
5952
6151
|
# @param Offset: 起始下标,不填默认为0。
|
5953
6152
|
# @type Offset: Integer
|
@@ -5955,10 +6154,7 @@ module TencentCloud
|
|
5955
6154
|
# @type Limit: Integer
|
5956
6155
|
# @param RoleName: 角色名称
|
5957
6156
|
# @type RoleName: String
|
5958
|
-
# @param Filters:
|
5959
|
-
# 按照角色名进行过滤,精确查询。
|
5960
|
-
# 类型:String
|
5961
|
-
# 必选:否
|
6157
|
+
# @param Filters: RoleName按照角色名进行过滤,精确查询。类型:String必选:否
|
5962
6158
|
# @type Filters: Array
|
5963
6159
|
|
5964
6160
|
attr_accessor :ClusterId, :EnvironmentId, :Offset, :Limit, :RoleName, :Filters
|
@@ -6194,8 +6390,8 @@ module TencentCloud
|
|
6194
6390
|
|
6195
6391
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
|
6196
6392
|
extend Gem::Deprecate
|
6197
|
-
deprecate :QueryDlqMsg, :none, 2024,
|
6198
|
-
deprecate :QueryDlqMsg=, :none, 2024,
|
6393
|
+
deprecate :QueryDlqMsg, :none, 2024, 10
|
6394
|
+
deprecate :QueryDlqMsg=, :none, 2024, 10
|
6199
6395
|
|
6200
6396
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
|
6201
6397
|
@ClusterId = clusterid
|
@@ -6300,8 +6496,8 @@ module TencentCloud
|
|
6300
6496
|
|
6301
6497
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
|
6302
6498
|
extend Gem::Deprecate
|
6303
|
-
deprecate :QueryDLQMsg, :none, 2024,
|
6304
|
-
deprecate :QueryDLQMsg=, :none, 2024,
|
6499
|
+
deprecate :QueryDLQMsg, :none, 2024, 10
|
6500
|
+
deprecate :QueryDLQMsg=, :none, 2024, 10
|
6305
6501
|
|
6306
6502
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
|
6307
6503
|
@ClusterId = clusterid
|
@@ -6326,48 +6522,7 @@ module TencentCloud
|
|
6326
6522
|
|
6327
6523
|
# DescribeRocketMQMsgTrace返回参数结构体
|
6328
6524
|
class DescribeRocketMQMsgTraceResponse < TencentCloud::Common::AbstractModel
|
6329
|
-
# @param Result:
|
6330
|
-
# {
|
6331
|
-
# "Stage": "produce",
|
6332
|
-
# "Data": {
|
6333
|
-
# "ProducerName": "生产者名",
|
6334
|
-
# "ProduceTime": "消息生产时间",
|
6335
|
-
# "ProducerAddr": "客户端地址",
|
6336
|
-
# "Duration": "耗时ms",
|
6337
|
-
# "Status": "状态(0:成功,1:失败)"
|
6338
|
-
# }
|
6339
|
-
# },
|
6340
|
-
# {
|
6341
|
-
# "Stage": "persist",
|
6342
|
-
# "Data": {
|
6343
|
-
# "PersistTime": "存储时间",
|
6344
|
-
# "Duration": "耗时ms",
|
6345
|
-
# "Status": "状态(0:成功,1:失败)"
|
6346
|
-
# }
|
6347
|
-
# },
|
6348
|
-
# {
|
6349
|
-
# "Stage": "consume",
|
6350
|
-
# "Data": {
|
6351
|
-
# "TotalCount": 2,
|
6352
|
-
# "RocketMqConsumeLogs": [
|
6353
|
-
# {
|
6354
|
-
# "ConsumerGroup": "消费组",
|
6355
|
-
# "ConsumeModel": "消费模式",
|
6356
|
-
# "ConsumerAddr": "消费者地址",
|
6357
|
-
# "ConsumeTime": "推送时间",
|
6358
|
-
# "Status": "状态(0:已推送未确认, 2:已确认, 3:转入重试, 4:已重试未确认, 5:已转入死信队列)"
|
6359
|
-
# },
|
6360
|
-
# {
|
6361
|
-
# "ConsumerGroup": "消费组",
|
6362
|
-
# "ConsumeModel": "消费模式",
|
6363
|
-
# "ConsumerAddr": "消费者地址",
|
6364
|
-
# "ConsumeTime": "推送时间",
|
6365
|
-
# "Status": "状态(0:已推送未确认, 2:已确认, 3:转入重试, 4:已重试未确认, 5:已转入死信队列)"
|
6366
|
-
# }
|
6367
|
-
# ]
|
6368
|
-
# }
|
6369
|
-
# }
|
6370
|
-
# ]
|
6525
|
+
# @param Result: 轨迹详情列表
|
6371
6526
|
# @type Result: Array
|
6372
6527
|
# @param ShowTopicName: 消息轨迹页展示的topic名称
|
6373
6528
|
# @type ShowTopicName: String
|
@@ -6630,10 +6785,7 @@ module TencentCloud
|
|
6630
6785
|
# @type ClusterId: String
|
6631
6786
|
# @param RoleName: 角色名称,模糊查询
|
6632
6787
|
# @type RoleName: String
|
6633
|
-
# @param Filters:
|
6634
|
-
# 按照角色名进行过滤,精确查询。
|
6635
|
-
# 类型:String
|
6636
|
-
# 必选:否
|
6788
|
+
# @param Filters: RoleName按照角色名进行过滤,精确查询。类型:String必选:否
|
6637
6789
|
# @type Filters: Array
|
6638
6790
|
|
6639
6791
|
attr_accessor :Offset, :Limit, :ClusterId, :RoleName, :Filters
|
@@ -7123,8 +7275,8 @@ module TencentCloud
|
|
7123
7275
|
|
7124
7276
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
|
7125
7277
|
extend Gem::Deprecate
|
7126
|
-
deprecate :QueryDlqMsg, :none, 2024,
|
7127
|
-
deprecate :QueryDlqMsg=, :none, 2024,
|
7278
|
+
deprecate :QueryDlqMsg, :none, 2024, 10
|
7279
|
+
deprecate :QueryDlqMsg=, :none, 2024, 10
|
7128
7280
|
|
7129
7281
|
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
7282
|
@ClusterId = clusterid
|
@@ -7426,6 +7578,7 @@ module TencentCloud
|
|
7426
7578
|
# @param Filters: 查询条件过滤器,支持的查询条件如下:
|
7427
7579
|
# instanceIds - 实例ID
|
7428
7580
|
# instanceName - 实例名称
|
7581
|
+
# status - 实例状态
|
7429
7582
|
# @type Filters: Array
|
7430
7583
|
# @param Limit: 查询数目上限,默认20
|
7431
7584
|
# @type Limit: Integer
|
@@ -10061,6 +10214,63 @@ module TencentCloud
|
|
10061
10214
|
end
|
10062
10215
|
end
|
10063
10216
|
|
10217
|
+
# Rabbitmq路由关系列表成员
|
10218
|
+
class RabbitMQBindingListInfo < TencentCloud::Common::AbstractModel
|
10219
|
+
# @param BindingId: 路由关系id
|
10220
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10221
|
+
# @type BindingId: Integer
|
10222
|
+
# @param VirtualHost: Vhost参数
|
10223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10224
|
+
# @type VirtualHost: String
|
10225
|
+
# @param Source: 源exchange名称
|
10226
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10227
|
+
# @type Source: String
|
10228
|
+
# @param DestinationType: 目标类型,queue或exchange
|
10229
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10230
|
+
# @type DestinationType: String
|
10231
|
+
# @param Destination: 目标资源名称
|
10232
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10233
|
+
# @type Destination: String
|
10234
|
+
# @param RoutingKey: 绑定key
|
10235
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10236
|
+
# @type RoutingKey: String
|
10237
|
+
# @param SourceExchangeType: 源exchange类型
|
10238
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10239
|
+
# @type SourceExchangeType: String
|
10240
|
+
# @param CreateTime: 创建时间
|
10241
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10242
|
+
# @type CreateTime: String
|
10243
|
+
# @param ModifyTime: 修改时间
|
10244
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10245
|
+
# @type ModifyTime: String
|
10246
|
+
|
10247
|
+
attr_accessor :BindingId, :VirtualHost, :Source, :DestinationType, :Destination, :RoutingKey, :SourceExchangeType, :CreateTime, :ModifyTime
|
10248
|
+
|
10249
|
+
def initialize(bindingid=nil, virtualhost=nil, source=nil, destinationtype=nil, destination=nil, routingkey=nil, sourceexchangetype=nil, createtime=nil, modifytime=nil)
|
10250
|
+
@BindingId = bindingid
|
10251
|
+
@VirtualHost = virtualhost
|
10252
|
+
@Source = source
|
10253
|
+
@DestinationType = destinationtype
|
10254
|
+
@Destination = destination
|
10255
|
+
@RoutingKey = routingkey
|
10256
|
+
@SourceExchangeType = sourceexchangetype
|
10257
|
+
@CreateTime = createtime
|
10258
|
+
@ModifyTime = modifytime
|
10259
|
+
end
|
10260
|
+
|
10261
|
+
def deserialize(params)
|
10262
|
+
@BindingId = params['BindingId']
|
10263
|
+
@VirtualHost = params['VirtualHost']
|
10264
|
+
@Source = params['Source']
|
10265
|
+
@DestinationType = params['DestinationType']
|
10266
|
+
@Destination = params['Destination']
|
10267
|
+
@RoutingKey = params['RoutingKey']
|
10268
|
+
@SourceExchangeType = params['SourceExchangeType']
|
10269
|
+
@CreateTime = params['CreateTime']
|
10270
|
+
@ModifyTime = params['ModifyTime']
|
10271
|
+
end
|
10272
|
+
end
|
10273
|
+
|
10064
10274
|
# RabbitMQ集群访问信息
|
10065
10275
|
class RabbitMQClusterAccessInfo < TencentCloud::Common::AbstractModel
|
10066
10276
|
# @param PublicAccessEndpoint: 集群公网接入地址
|
@@ -11413,7 +11623,7 @@ module TencentCloud
|
|
11413
11623
|
class RocketMQConsumerTopic < TencentCloud::Common::AbstractModel
|
11414
11624
|
# @param Topic: 主题名称
|
11415
11625
|
# @type Topic: String
|
11416
|
-
# @param Type: 主题类型,
|
11626
|
+
# @param Type: 主题类型,Normal表示普通,GlobalOrder表示全局顺序,PartitionedOrder表示局部顺序,Transaction表示事务,Retry表示重试,DeadLetter表示死信
|
11417
11627
|
# @type Type: String
|
11418
11628
|
# @param PartitionNum: 分区数
|
11419
11629
|
# @type PartitionNum: Integer
|
@@ -11963,6 +12173,8 @@ module TencentCloud
|
|
11963
12173
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11964
12174
|
# @type IsOnline: Boolean
|
11965
12175
|
# @param ConsumeType: 消费类型
|
12176
|
+
# 0: 广播消费
|
12177
|
+
# 1: 集群消费
|
11966
12178
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11967
12179
|
# @type ConsumeType: Integer
|
11968
12180
|
# @param Consistency: 订阅一致性
|
@@ -13151,7 +13363,7 @@ module TencentCloud
|
|
13151
13363
|
# @type MsgId: String
|
13152
13364
|
# @param ClientId: 客户端ID
|
13153
13365
|
# @type ClientId: String
|
13154
|
-
# @param TopicName:
|
13366
|
+
# @param TopicName: 主题名称
|
13155
13367
|
# @type TopicName: String
|
13156
13368
|
|
13157
13369
|
attr_accessor :ClusterId, :NamespaceId, :GroupId, :MsgId, :ClientId, :TopicName
|
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.930
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|