tencentcloud-sdk-tdmq 3.0.929 → 3.0.930

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34c891b613d8ee68628bd21eb642a5196acfafc6
4
- data.tar.gz: 339360f53a6f85c2e94ae64213b3ae574bddafa3
3
+ metadata.gz: 7526dd306cd1a69e101636de746aee552856885c
4
+ data.tar.gz: 486cc252f00f1da9d70720d06b4d903980e74170
5
5
  SHA512:
6
- metadata.gz: f78ff4d4c7060dc24846aa06342e56ff35f38f00a0fc244e4f3f29d5b224d5176e1341b8c1d55bbdb89210eb935e4042effc6f8b17f64ea76127a488c423f7ea
7
- data.tar.gz: 5d2377a9d5e985dd82fa3d05c8b0b7f7f6cfa5df8cacedff69aac8a0ea9fdd6bc22fa1c1eab3b33c6a155077e368131f9731f7bbe17ebb2aaa9f009a30ed344b
6
+ metadata.gz: bef2a462bfb8352dfb9a5b4a52ee3cc485876fd9f8be8014d44575175b434243a24b79d30da5f9c2fb7ef0e522b60f9fa13caf3bc21deae4716e8c09fc3dd94c
7
+ data.tar.gz: 7c85f686392bac8f2c05d7906ad06624df8c2e65e84bc99b39f39d4d384ba981e8005c764431c2cefcfc574277e2527871699411cfbd5c909979707d15db5178
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.929
1
+ 3.0.930
@@ -773,6 +773,30 @@ module TencentCloud
773
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
774
  end
775
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
+
776
800
  # 删除RabbitMQ的用户
777
801
 
778
802
  # @param request: Request instance for DeleteRabbitMQUser.
@@ -1663,6 +1687,30 @@ module TencentCloud
1663
1687
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1664
1688
  end
1665
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
+
1666
1714
  # 查询RabbitMQ exchange 列表
1667
1715
 
1668
1716
  # @param request: Request instance for DescribeRabbitMQExchanges.
@@ -1951,7 +1951,7 @@ module TencentCloud
1951
1951
 
1952
1952
  # CreateRocketMQEnvironmentRole请求参数结构体
1953
1953
  class CreateRocketMQEnvironmentRoleRequest < TencentCloud::Common::AbstractModel
1954
- # @param EnvironmentId: 环境(命名空间)名称。
1954
+ # @param EnvironmentId: 命名空间
1955
1955
  # @type EnvironmentId: String
1956
1956
  # @param RoleName: 角色名称。
1957
1957
  # @type RoleName: String
@@ -2779,6 +2779,61 @@ module TencentCloud
2779
2779
  end
2780
2780
  end
2781
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
+
2782
2837
  # DeleteRabbitMQUser请求参数结构体
2783
2838
  class DeleteRabbitMQUserRequest < TencentCloud::Common::AbstractModel
2784
2839
  # @param InstanceId: 集群实例Id
@@ -2935,7 +2990,7 @@ module TencentCloud
2935
2990
  # @type EnvironmentId: String
2936
2991
  # @param RoleNames: 角色名称数组。
2937
2992
  # @type RoleNames: Array
2938
- # @param ClusterId: 必填字段,集群的ID
2993
+ # @param ClusterId: 集群的ID
2939
2994
  # @type ClusterId: String
2940
2995
 
2941
2996
  attr_accessor :EnvironmentId, :RoleNames, :ClusterId
@@ -4886,6 +4941,83 @@ module TencentCloud
4886
4941
  end
4887
4942
  end
4888
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
+
4889
5021
  # DescribeRabbitMQExchanges请求参数结构体
4890
5022
  class DescribeRabbitMQExchangesRequest < TencentCloud::Common::AbstractModel
4891
5023
  # @param InstanceId: 实例 id
@@ -6014,7 +6146,7 @@ module TencentCloud
6014
6146
  class DescribeRocketMQEnvironmentRolesRequest < TencentCloud::Common::AbstractModel
6015
6147
  # @param ClusterId: 必填字段,RocketMQ集群的ID
6016
6148
  # @type ClusterId: String
6017
- # @param EnvironmentId: 环境(命名空间)名称。
6149
+ # @param EnvironmentId: 命名空间
6018
6150
  # @type EnvironmentId: String
6019
6151
  # @param Offset: 起始下标,不填默认为0。
6020
6152
  # @type Offset: Integer
@@ -6022,10 +6154,7 @@ module TencentCloud
6022
6154
  # @type Limit: Integer
6023
6155
  # @param RoleName: 角色名称
6024
6156
  # @type RoleName: String
6025
- # @param Filters: * RoleName
6026
- # 按照角色名进行过滤,精确查询。
6027
- # 类型:String
6028
- # 必选:否
6157
+ # @param Filters: RoleName按照角色名进行过滤,精确查询。类型:String必选:否
6029
6158
  # @type Filters: Array
6030
6159
 
6031
6160
  attr_accessor :ClusterId, :EnvironmentId, :Offset, :Limit, :RoleName, :Filters
@@ -6393,48 +6522,7 @@ module TencentCloud
6393
6522
 
6394
6523
  # DescribeRocketMQMsgTrace返回参数结构体
6395
6524
  class DescribeRocketMQMsgTraceResponse < TencentCloud::Common::AbstractModel
6396
- # @param Result: [
6397
- # {
6398
- # "Stage": "produce",
6399
- # "Data": {
6400
- # "ProducerName": "生产者名",
6401
- # "ProduceTime": "消息生产时间",
6402
- # "ProducerAddr": "客户端地址",
6403
- # "Duration": "耗时ms",
6404
- # "Status": "状态(0:成功,1:失败)"
6405
- # }
6406
- # },
6407
- # {
6408
- # "Stage": "persist",
6409
- # "Data": {
6410
- # "PersistTime": "存储时间",
6411
- # "Duration": "耗时ms",
6412
- # "Status": "状态(0:成功,1:失败)"
6413
- # }
6414
- # },
6415
- # {
6416
- # "Stage": "consume",
6417
- # "Data": {
6418
- # "TotalCount": 2,
6419
- # "RocketMqConsumeLogs": [
6420
- # {
6421
- # "ConsumerGroup": "消费组",
6422
- # "ConsumeModel": "消费模式",
6423
- # "ConsumerAddr": "消费者地址",
6424
- # "ConsumeTime": "推送时间",
6425
- # "Status": "状态(0:已推送未确认, 2:已确认, 3:转入重试, 4:已重试未确认, 5:已转入死信队列)"
6426
- # },
6427
- # {
6428
- # "ConsumerGroup": "消费组",
6429
- # "ConsumeModel": "消费模式",
6430
- # "ConsumerAddr": "消费者地址",
6431
- # "ConsumeTime": "推送时间",
6432
- # "Status": "状态(0:已推送未确认, 2:已确认, 3:转入重试, 4:已重试未确认, 5:已转入死信队列)"
6433
- # }
6434
- # ]
6435
- # }
6436
- # }
6437
- # ]
6525
+ # @param Result: 轨迹详情列表
6438
6526
  # @type Result: Array
6439
6527
  # @param ShowTopicName: 消息轨迹页展示的topic名称
6440
6528
  # @type ShowTopicName: String
@@ -6697,10 +6785,7 @@ module TencentCloud
6697
6785
  # @type ClusterId: String
6698
6786
  # @param RoleName: 角色名称,模糊查询
6699
6787
  # @type RoleName: String
6700
- # @param Filters: * RoleName
6701
- # 按照角色名进行过滤,精确查询。
6702
- # 类型:String
6703
- # 必选:否
6788
+ # @param Filters: RoleName按照角色名进行过滤,精确查询。类型:String必选:否
6704
6789
  # @type Filters: Array
6705
6790
 
6706
6791
  attr_accessor :Offset, :Limit, :ClusterId, :RoleName, :Filters
@@ -10129,6 +10214,63 @@ module TencentCloud
10129
10214
  end
10130
10215
  end
10131
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
+
10132
10274
  # RabbitMQ集群访问信息
10133
10275
  class RabbitMQClusterAccessInfo < TencentCloud::Common::AbstractModel
10134
10276
  # @param PublicAccessEndpoint: 集群公网接入地址
@@ -11481,7 +11623,7 @@ module TencentCloud
11481
11623
  class RocketMQConsumerTopic < TencentCloud::Common::AbstractModel
11482
11624
  # @param Topic: 主题名称
11483
11625
  # @type Topic: String
11484
- # @param Type: 主题类型,Default表示普通,GlobalOrder表示全局顺序,PartitionedOrder表示局部顺序,Transaction表示事务,Retry表示重试,DeadLetter表示死信
11626
+ # @param Type: 主题类型,Normal表示普通,GlobalOrder表示全局顺序,PartitionedOrder表示局部顺序,Transaction表示事务,Retry表示重试,DeadLetter表示死信
11485
11627
  # @type Type: String
11486
11628
  # @param PartitionNum: 分区数
11487
11629
  # @type PartitionNum: Integer
@@ -12031,6 +12173,8 @@ module TencentCloud
12031
12173
  # 注意:此字段可能返回 null,表示取不到有效值。
12032
12174
  # @type IsOnline: Boolean
12033
12175
  # @param ConsumeType: 消费类型
12176
+ # 0: 广播消费
12177
+ # 1: 集群消费
12034
12178
  # 注意:此字段可能返回 null,表示取不到有效值。
12035
12179
  # @type ConsumeType: Integer
12036
12180
  # @param Consistency: 订阅一致性
@@ -13219,7 +13363,7 @@ module TencentCloud
13219
13363
  # @type MsgId: String
13220
13364
  # @param ClientId: 客户端ID
13221
13365
  # @type ClientId: String
13222
- # @param TopicName: topic名称
13366
+ # @param TopicName: 主题名称
13223
13367
  # @type TopicName: String
13224
13368
 
13225
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.929
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-21 00:00:00.000000000 Z
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