tencentcloud-sdk-tdmq 3.0.849 → 3.0.850
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 +178 -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: e402a6de4653f087b7d96971f3c9d0b1e5dbc526
|
4
|
+
data.tar.gz: fe7875c6a588319ec02ad5bb75e30d67826e0c3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3ef84a76a54cff8c0cd5a7703023ab71bccd0be0b1d69e535ef8747d0c081f9f5b06f860aaefaa3c036700e034e3ede18c4b7db7e5eb49cd16015f8b4228d53
|
7
|
+
data.tar.gz: 066d2119149a5ac0d49b6d81a5557a6ad622d0272f303cc34d0623038157c06386c3e13329f342a65d126da920181d3d5a1ceb9d255e2e962d56396c964ff02b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.850
|
data/lib/v20200217/client.rb
CHANGED
@@ -1639,6 +1639,30 @@ module TencentCloud
|
|
1639
1639
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1640
1640
|
end
|
1641
1641
|
|
1642
|
+
# 查询RabbitMQ exchange 列表
|
1643
|
+
|
1644
|
+
# @param request: Request instance for DescribeRabbitMQExchanges.
|
1645
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQExchangesRequest`
|
1646
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQExchangesResponse`
|
1647
|
+
def DescribeRabbitMQExchanges(request)
|
1648
|
+
body = send_request('DescribeRabbitMQExchanges', request.serialize)
|
1649
|
+
response = JSON.parse(body)
|
1650
|
+
if response['Response'].key?('Error') == false
|
1651
|
+
model = DescribeRabbitMQExchangesResponse.new
|
1652
|
+
model.deserialize(response['Response'])
|
1653
|
+
model
|
1654
|
+
else
|
1655
|
+
code = response['Response']['Error']['Code']
|
1656
|
+
message = response['Response']['Error']['Message']
|
1657
|
+
reqid = response['Response']['RequestId']
|
1658
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1659
|
+
end
|
1660
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1661
|
+
raise e
|
1662
|
+
rescue StandardError => e
|
1663
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1664
|
+
end
|
1665
|
+
|
1642
1666
|
# RabbitMQ专享版查询节点列表
|
1643
1667
|
|
1644
1668
|
# @param request: Request instance for DescribeRabbitMQNodeList.
|
data/lib/v20200217/models.rb
CHANGED
@@ -4748,6 +4748,94 @@ module TencentCloud
|
|
4748
4748
|
end
|
4749
4749
|
end
|
4750
4750
|
|
4751
|
+
# DescribeRabbitMQExchanges请求参数结构体
|
4752
|
+
class DescribeRabbitMQExchangesRequest < TencentCloud::Common::AbstractModel
|
4753
|
+
# @param InstanceId: 实例 id
|
4754
|
+
# @type InstanceId: String
|
4755
|
+
# @param VirtualHost: vhost 参数
|
4756
|
+
# @type VirtualHost: String
|
4757
|
+
# @param Offset: 分页 offset
|
4758
|
+
# @type Offset: Integer
|
4759
|
+
# @param Limit: 分页 limit
|
4760
|
+
# @type Limit: Integer
|
4761
|
+
# @param SearchWord: 搜索关键词, 支持模糊匹配
|
4762
|
+
# @type SearchWord: String
|
4763
|
+
# @param ExchangeTypeFilters: 筛选 exchange 类型, 数组中每个元素为选中的过滤类型
|
4764
|
+
# @type ExchangeTypeFilters: Array
|
4765
|
+
# @param ExchangeCreatorFilters: 筛选 exchange 创建来源, "system":"系统创建", "user":"用户创建"
|
4766
|
+
# @type ExchangeCreatorFilters: Array
|
4767
|
+
# @param ExchangeName: exchange 名称,用于精确匹配
|
4768
|
+
# @type ExchangeName: String
|
4769
|
+
# @param SortElement: 排序依据的字段:
|
4770
|
+
# MessageRateInOut - 生产消费速率之和;
|
4771
|
+
# MessageRateIn - 生产速率;
|
4772
|
+
# MessageRateOut - 消费速率;
|
4773
|
+
# @type SortElement: String
|
4774
|
+
# @param SortOrder: 排序顺序,ascend 或 descend
|
4775
|
+
# @type SortOrder: String
|
4776
|
+
|
4777
|
+
attr_accessor :InstanceId, :VirtualHost, :Offset, :Limit, :SearchWord, :ExchangeTypeFilters, :ExchangeCreatorFilters, :ExchangeName, :SortElement, :SortOrder
|
4778
|
+
|
4779
|
+
def initialize(instanceid=nil, virtualhost=nil, offset=nil, limit=nil, searchword=nil, exchangetypefilters=nil, exchangecreatorfilters=nil, exchangename=nil, sortelement=nil, sortorder=nil)
|
4780
|
+
@InstanceId = instanceid
|
4781
|
+
@VirtualHost = virtualhost
|
4782
|
+
@Offset = offset
|
4783
|
+
@Limit = limit
|
4784
|
+
@SearchWord = searchword
|
4785
|
+
@ExchangeTypeFilters = exchangetypefilters
|
4786
|
+
@ExchangeCreatorFilters = exchangecreatorfilters
|
4787
|
+
@ExchangeName = exchangename
|
4788
|
+
@SortElement = sortelement
|
4789
|
+
@SortOrder = sortorder
|
4790
|
+
end
|
4791
|
+
|
4792
|
+
def deserialize(params)
|
4793
|
+
@InstanceId = params['InstanceId']
|
4794
|
+
@VirtualHost = params['VirtualHost']
|
4795
|
+
@Offset = params['Offset']
|
4796
|
+
@Limit = params['Limit']
|
4797
|
+
@SearchWord = params['SearchWord']
|
4798
|
+
@ExchangeTypeFilters = params['ExchangeTypeFilters']
|
4799
|
+
@ExchangeCreatorFilters = params['ExchangeCreatorFilters']
|
4800
|
+
@ExchangeName = params['ExchangeName']
|
4801
|
+
@SortElement = params['SortElement']
|
4802
|
+
@SortOrder = params['SortOrder']
|
4803
|
+
end
|
4804
|
+
end
|
4805
|
+
|
4806
|
+
# DescribeRabbitMQExchanges返回参数结构体
|
4807
|
+
class DescribeRabbitMQExchangesResponse < TencentCloud::Common::AbstractModel
|
4808
|
+
# @param ExchangeInfoList: 策略列表信息
|
4809
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4810
|
+
# @type ExchangeInfoList: Array
|
4811
|
+
# @param TotalCount: 策略结果总数
|
4812
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4813
|
+
# @type TotalCount: Integer
|
4814
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4815
|
+
# @type RequestId: String
|
4816
|
+
|
4817
|
+
attr_accessor :ExchangeInfoList, :TotalCount, :RequestId
|
4818
|
+
|
4819
|
+
def initialize(exchangeinfolist=nil, totalcount=nil, requestid=nil)
|
4820
|
+
@ExchangeInfoList = exchangeinfolist
|
4821
|
+
@TotalCount = totalcount
|
4822
|
+
@RequestId = requestid
|
4823
|
+
end
|
4824
|
+
|
4825
|
+
def deserialize(params)
|
4826
|
+
unless params['ExchangeInfoList'].nil?
|
4827
|
+
@ExchangeInfoList = []
|
4828
|
+
params['ExchangeInfoList'].each do |i|
|
4829
|
+
rabbitmqexchangelistinfo_tmp = RabbitMQExchangeListInfo.new
|
4830
|
+
rabbitmqexchangelistinfo_tmp.deserialize(i)
|
4831
|
+
@ExchangeInfoList << rabbitmqexchangelistinfo_tmp
|
4832
|
+
end
|
4833
|
+
end
|
4834
|
+
@TotalCount = params['TotalCount']
|
4835
|
+
@RequestId = params['RequestId']
|
4836
|
+
end
|
4837
|
+
end
|
4838
|
+
|
4751
4839
|
# DescribeRabbitMQNodeList请求参数结构体
|
4752
4840
|
class DescribeRabbitMQNodeListRequest < TencentCloud::Common::AbstractModel
|
4753
4841
|
# @param InstanceId: rabbitmq集群ID
|
@@ -10002,6 +10090,96 @@ module TencentCloud
|
|
10002
10090
|
end
|
10003
10091
|
end
|
10004
10092
|
|
10093
|
+
# RabbitMQ exchange列表成员信息
|
10094
|
+
class RabbitMQExchangeListInfo < TencentCloud::Common::AbstractModel
|
10095
|
+
# @param ExchangeName: exchange 名
|
10096
|
+
# @type ExchangeName: String
|
10097
|
+
# @param Remark: 备注说明
|
10098
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10099
|
+
# @type Remark: String
|
10100
|
+
# @param ExchangeType: exchange 类型, 支持 "fanout","direct","topic","headers"
|
10101
|
+
# @type ExchangeType: String
|
10102
|
+
# @param VirtualHost: VHost参数
|
10103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10104
|
+
# @type VirtualHost: String
|
10105
|
+
# @param ExchangeCreator: exchange 创建者, "system":"系统创建", "user":"用户创建"
|
10106
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10107
|
+
# @type ExchangeCreator: String
|
10108
|
+
# @param CreateTimeStamp: exchange 创建时间
|
10109
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10110
|
+
# @type CreateTimeStamp: String
|
10111
|
+
# @param ModTimeStamp: exchange 修改时间
|
10112
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10113
|
+
# @type ModTimeStamp: String
|
10114
|
+
# @param MessageRateIn: 输入消息速率
|
10115
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10116
|
+
# @type MessageRateIn: Float
|
10117
|
+
# @param MessageRateOut: 输出消息速率
|
10118
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10119
|
+
# @type MessageRateOut: Float
|
10120
|
+
# @param Durable: 是否为持久化交换机,true 为持久化,false 为非持久化
|
10121
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10122
|
+
# @type Durable: Boolean
|
10123
|
+
# @param AutoDelete: 是否为自动删除交换机,true 为自动删除,false 为非自动删除
|
10124
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10125
|
+
# @type AutoDelete: Boolean
|
10126
|
+
# @param Internal: 是否为内部交换机,true 为内部交换机
|
10127
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10128
|
+
# @type Internal: Boolean
|
10129
|
+
# @param InstanceId: 交换机所属实例 ID
|
10130
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10131
|
+
# @type InstanceId: String
|
10132
|
+
# @param Policy: 生效的策略名称
|
10133
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10134
|
+
# @type Policy: String
|
10135
|
+
# @param Arguments: 扩展参数 key-value 对象
|
10136
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10137
|
+
# @type Arguments: String
|
10138
|
+
# @param MessagesDelayed: 未调度的延时消息数量
|
10139
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10140
|
+
# @type MessagesDelayed: Integer
|
10141
|
+
|
10142
|
+
attr_accessor :ExchangeName, :Remark, :ExchangeType, :VirtualHost, :ExchangeCreator, :CreateTimeStamp, :ModTimeStamp, :MessageRateIn, :MessageRateOut, :Durable, :AutoDelete, :Internal, :InstanceId, :Policy, :Arguments, :MessagesDelayed
|
10143
|
+
|
10144
|
+
def initialize(exchangename=nil, remark=nil, exchangetype=nil, virtualhost=nil, exchangecreator=nil, createtimestamp=nil, modtimestamp=nil, messageratein=nil, messagerateout=nil, durable=nil, autodelete=nil, internal=nil, instanceid=nil, policy=nil, arguments=nil, messagesdelayed=nil)
|
10145
|
+
@ExchangeName = exchangename
|
10146
|
+
@Remark = remark
|
10147
|
+
@ExchangeType = exchangetype
|
10148
|
+
@VirtualHost = virtualhost
|
10149
|
+
@ExchangeCreator = exchangecreator
|
10150
|
+
@CreateTimeStamp = createtimestamp
|
10151
|
+
@ModTimeStamp = modtimestamp
|
10152
|
+
@MessageRateIn = messageratein
|
10153
|
+
@MessageRateOut = messagerateout
|
10154
|
+
@Durable = durable
|
10155
|
+
@AutoDelete = autodelete
|
10156
|
+
@Internal = internal
|
10157
|
+
@InstanceId = instanceid
|
10158
|
+
@Policy = policy
|
10159
|
+
@Arguments = arguments
|
10160
|
+
@MessagesDelayed = messagesdelayed
|
10161
|
+
end
|
10162
|
+
|
10163
|
+
def deserialize(params)
|
10164
|
+
@ExchangeName = params['ExchangeName']
|
10165
|
+
@Remark = params['Remark']
|
10166
|
+
@ExchangeType = params['ExchangeType']
|
10167
|
+
@VirtualHost = params['VirtualHost']
|
10168
|
+
@ExchangeCreator = params['ExchangeCreator']
|
10169
|
+
@CreateTimeStamp = params['CreateTimeStamp']
|
10170
|
+
@ModTimeStamp = params['ModTimeStamp']
|
10171
|
+
@MessageRateIn = params['MessageRateIn']
|
10172
|
+
@MessageRateOut = params['MessageRateOut']
|
10173
|
+
@Durable = params['Durable']
|
10174
|
+
@AutoDelete = params['AutoDelete']
|
10175
|
+
@Internal = params['Internal']
|
10176
|
+
@InstanceId = params['InstanceId']
|
10177
|
+
@Policy = params['Policy']
|
10178
|
+
@Arguments = params['Arguments']
|
10179
|
+
@MessagesDelayed = params['MessagesDelayed']
|
10180
|
+
end
|
10181
|
+
end
|
10182
|
+
|
10005
10183
|
# RabbitMQ节点信息
|
10006
10184
|
class RabbitMQPrivateNode < TencentCloud::Common::AbstractModel
|
10007
10185
|
# @param NodeName: 节点名字
|
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.850
|
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-06-
|
11
|
+
date: 2024-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|