tencentcloud-sdk-tdmq 3.0.684 → 3.0.686

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: f4f3fad1baf8251430d0790c95a096d86c7d9b4f
4
- data.tar.gz: 0c7612fc2bc74858986f14d474a5c3e36a207cde
3
+ metadata.gz: 4352b6da4955eb5a06acf52f1e492260fd25fd63
4
+ data.tar.gz: 10714430428b8a5fb6c489f03fccd4d74088c648
5
5
  SHA512:
6
- metadata.gz: 97c686fe6fff97efbc02b18a862d452b7efa9d416bd6f7efe40d447cebca80565ef2b3f4ae06d0c068c738da8fecfa249e6b13032ad7d4cbf9ef7e25106882b3
7
- data.tar.gz: f2d89a2a77185a56f01d6bad5710232d700b4090c1d34ee3348dbfbfecfc4f6b11a57758182a1b15f24c99638df219a8d27a1b2face597068916cadb431e988e
6
+ metadata.gz: e5cbdea953fd50a516b95cf66890e7365ec560d3997e4aa74148f74842b2ce5c246f565a080559aa45c3765fb4397c473977637651f762fcaaa58559dd87083d
7
+ data.tar.gz: 57895c2dd4ce131352b3aa20d9a837960559d9f5b5fc5b6d509b4afc1c94eb50070831869d1e809f5a32590a7bd050595c672dc8ce8b0ec17757a2ad8165e820
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.684
1
+ 3.0.686
@@ -1445,6 +1445,54 @@ module TencentCloud
1445
1445
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1446
1446
  end
1447
1447
 
1448
+ # 查询RabbitMQ队列详情
1449
+
1450
+ # @param request: Request instance for DescribeRabbitMQQueueDetail.
1451
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQQueueDetailRequest`
1452
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQQueueDetailResponse`
1453
+ def DescribeRabbitMQQueueDetail(request)
1454
+ body = send_request('DescribeRabbitMQQueueDetail', request.serialize)
1455
+ response = JSON.parse(body)
1456
+ if response['Response'].key?('Error') == false
1457
+ model = DescribeRabbitMQQueueDetailResponse.new
1458
+ model.deserialize(response['Response'])
1459
+ model
1460
+ else
1461
+ code = response['Response']['Error']['Code']
1462
+ message = response['Response']['Error']['Message']
1463
+ reqid = response['Response']['RequestId']
1464
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1465
+ end
1466
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1467
+ raise e
1468
+ rescue StandardError => e
1469
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1470
+ end
1471
+
1472
+ # 查询RabbitMQ队列列表
1473
+
1474
+ # @param request: Request instance for DescribeRabbitMQQueues.
1475
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQQueuesRequest`
1476
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQQueuesResponse`
1477
+ def DescribeRabbitMQQueues(request)
1478
+ body = send_request('DescribeRabbitMQQueues', request.serialize)
1479
+ response = JSON.parse(body)
1480
+ if response['Response'].key?('Error') == false
1481
+ model = DescribeRabbitMQQueuesResponse.new
1482
+ model.deserialize(response['Response'])
1483
+ model
1484
+ else
1485
+ code = response['Response']['Error']['Code']
1486
+ message = response['Response']['Error']['Message']
1487
+ reqid = response['Response']['RequestId']
1488
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1489
+ end
1490
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1491
+ raise e
1492
+ rescue StandardError => e
1493
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1494
+ end
1495
+
1448
1496
  # 查询RabbitMQ用户列表
1449
1497
 
1450
1498
  # @param request: Request instance for DescribeRabbitMQUser.
@@ -4116,6 +4116,247 @@ module TencentCloud
4116
4116
  end
4117
4117
  end
4118
4118
 
4119
+ # DescribeRabbitMQQueueDetail请求参数结构体
4120
+ class DescribeRabbitMQQueueDetailRequest < TencentCloud::Common::AbstractModel
4121
+ # @param InstanceId: 实例Id
4122
+ # @type InstanceId: String
4123
+ # @param VirtualHost: Vhost参数
4124
+ # @type VirtualHost: String
4125
+ # @param QueueName: 队列名称
4126
+ # @type QueueName: String
4127
+
4128
+ attr_accessor :InstanceId, :VirtualHost, :QueueName
4129
+
4130
+ def initialize(instanceid=nil, virtualhost=nil, queuename=nil)
4131
+ @InstanceId = instanceid
4132
+ @VirtualHost = virtualhost
4133
+ @QueueName = queuename
4134
+ end
4135
+
4136
+ def deserialize(params)
4137
+ @InstanceId = params['InstanceId']
4138
+ @VirtualHost = params['VirtualHost']
4139
+ @QueueName = params['QueueName']
4140
+ end
4141
+ end
4142
+
4143
+ # DescribeRabbitMQQueueDetail返回参数结构体
4144
+ class DescribeRabbitMQQueueDetailResponse < TencentCloud::Common::AbstractModel
4145
+ # @param InstanceId: 队列名称
4146
+ # 注意:此字段可能返回 null,表示取不到有效值。
4147
+ # @type InstanceId: String
4148
+ # @param VirtualHost: Vhost参数
4149
+ # 注意:此字段可能返回 null,表示取不到有效值。
4150
+ # @type VirtualHost: String
4151
+ # @param QueueName: 队列名称
4152
+ # 注意:此字段可能返回 null,表示取不到有效值。
4153
+ # @type QueueName: String
4154
+ # @param QueueType: 队列类型,取值classic或quorum
4155
+ # 注意:此字段可能返回 null,表示取不到有效值。
4156
+ # @type QueueType: String
4157
+ # @param Consumers: 在线消费者数量
4158
+ # 注意:此字段可能返回 null,表示取不到有效值。
4159
+ # @type Consumers: Integer
4160
+ # @param Durable: 持久标记
4161
+ # 注意:此字段可能返回 null,表示取不到有效值。
4162
+ # @type Durable: Boolean
4163
+ # @param AutoDelete: 自动清除
4164
+ # 注意:此字段可能返回 null,表示取不到有效值。
4165
+ # @type AutoDelete: Boolean
4166
+ # @param Remark: 备注
4167
+ # 注意:此字段可能返回 null,表示取不到有效值。
4168
+ # @type Remark: String
4169
+ # @param MessageTTL: MessageTTL参数,classic类型专用
4170
+ # 注意:此字段可能返回 null,表示取不到有效值。
4171
+ # @type MessageTTL: Integer
4172
+ # @param AutoExpire: AutoExpire参数
4173
+ # 注意:此字段可能返回 null,表示取不到有效值。
4174
+ # @type AutoExpire: Integer
4175
+ # @param MaxLength: MaxLength参数
4176
+ # 注意:此字段可能返回 null,表示取不到有效值。
4177
+ # @type MaxLength: Integer
4178
+ # @param MaxLengthBytes: MaxLengthBytes参数
4179
+ # 注意:此字段可能返回 null,表示取不到有效值。
4180
+ # @type MaxLengthBytes: Integer
4181
+ # @param DeliveryLimit: DeliveryLimit参数,quorum类型专用
4182
+ # 注意:此字段可能返回 null,表示取不到有效值。
4183
+ # @type DeliveryLimit: Integer
4184
+ # @param OverflowBehaviour: OverflowBehaviour参数,取值为drop-head, reject-publish或reject-publish-dlx
4185
+ # 注意:此字段可能返回 null,表示取不到有效值。
4186
+ # @type OverflowBehaviour: String
4187
+ # @param DeadLetterExchange: DeadLetterExchange参数
4188
+ # 注意:此字段可能返回 null,表示取不到有效值。
4189
+ # @type DeadLetterExchange: String
4190
+ # @param DeadLetterRoutingKey: DeadLetterRoutingKey参数
4191
+ # 注意:此字段可能返回 null,表示取不到有效值。
4192
+ # @type DeadLetterRoutingKey: String
4193
+ # @param SingleActiveConsumer: SingleActiveConsumer参数
4194
+ # 注意:此字段可能返回 null,表示取不到有效值。
4195
+ # @type SingleActiveConsumer: Boolean
4196
+ # @param MaximumPriority: MaximumPriority参数,classic类型专用
4197
+ # 注意:此字段可能返回 null,表示取不到有效值。
4198
+ # @type MaximumPriority: Integer
4199
+ # @param LazyMode: LazyMode参数,classic类型专用
4200
+ # 注意:此字段可能返回 null,表示取不到有效值。
4201
+ # @type LazyMode: Boolean
4202
+ # @param MasterLocator: MasterLocator参数,classic类型专用
4203
+ # 注意:此字段可能返回 null,表示取不到有效值。
4204
+ # @type MasterLocator: String
4205
+ # @param MaxInMemoryLength: MaxInMemoryLength参数,quorum类型专用
4206
+ # 注意:此字段可能返回 null,表示取不到有效值。
4207
+ # @type MaxInMemoryLength: Integer
4208
+ # @param MaxInMemoryBytes: MaxInMemoryBytes参数,quorum类型专用
4209
+ # 注意:此字段可能返回 null,表示取不到有效值。
4210
+ # @type MaxInMemoryBytes: Integer
4211
+ # @param CreateTime: 创建时间戳,单位秒
4212
+ # 注意:此字段可能返回 null,表示取不到有效值。
4213
+ # @type CreateTime: Integer
4214
+ # @param Node: 节点
4215
+ # 注意:此字段可能返回 null,表示取不到有效值。
4216
+ # @type Node: String
4217
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4218
+ # @type RequestId: String
4219
+
4220
+ attr_accessor :InstanceId, :VirtualHost, :QueueName, :QueueType, :Consumers, :Durable, :AutoDelete, :Remark, :MessageTTL, :AutoExpire, :MaxLength, :MaxLengthBytes, :DeliveryLimit, :OverflowBehaviour, :DeadLetterExchange, :DeadLetterRoutingKey, :SingleActiveConsumer, :MaximumPriority, :LazyMode, :MasterLocator, :MaxInMemoryLength, :MaxInMemoryBytes, :CreateTime, :Node, :RequestId
4221
+
4222
+ def initialize(instanceid=nil, virtualhost=nil, queuename=nil, queuetype=nil, consumers=nil, durable=nil, autodelete=nil, remark=nil, messagettl=nil, autoexpire=nil, maxlength=nil, maxlengthbytes=nil, deliverylimit=nil, overflowbehaviour=nil, deadletterexchange=nil, deadletterroutingkey=nil, singleactiveconsumer=nil, maximumpriority=nil, lazymode=nil, masterlocator=nil, maxinmemorylength=nil, maxinmemorybytes=nil, createtime=nil, node=nil, requestid=nil)
4223
+ @InstanceId = instanceid
4224
+ @VirtualHost = virtualhost
4225
+ @QueueName = queuename
4226
+ @QueueType = queuetype
4227
+ @Consumers = consumers
4228
+ @Durable = durable
4229
+ @AutoDelete = autodelete
4230
+ @Remark = remark
4231
+ @MessageTTL = messagettl
4232
+ @AutoExpire = autoexpire
4233
+ @MaxLength = maxlength
4234
+ @MaxLengthBytes = maxlengthbytes
4235
+ @DeliveryLimit = deliverylimit
4236
+ @OverflowBehaviour = overflowbehaviour
4237
+ @DeadLetterExchange = deadletterexchange
4238
+ @DeadLetterRoutingKey = deadletterroutingkey
4239
+ @SingleActiveConsumer = singleactiveconsumer
4240
+ @MaximumPriority = maximumpriority
4241
+ @LazyMode = lazymode
4242
+ @MasterLocator = masterlocator
4243
+ @MaxInMemoryLength = maxinmemorylength
4244
+ @MaxInMemoryBytes = maxinmemorybytes
4245
+ @CreateTime = createtime
4246
+ @Node = node
4247
+ @RequestId = requestid
4248
+ end
4249
+
4250
+ def deserialize(params)
4251
+ @InstanceId = params['InstanceId']
4252
+ @VirtualHost = params['VirtualHost']
4253
+ @QueueName = params['QueueName']
4254
+ @QueueType = params['QueueType']
4255
+ @Consumers = params['Consumers']
4256
+ @Durable = params['Durable']
4257
+ @AutoDelete = params['AutoDelete']
4258
+ @Remark = params['Remark']
4259
+ @MessageTTL = params['MessageTTL']
4260
+ @AutoExpire = params['AutoExpire']
4261
+ @MaxLength = params['MaxLength']
4262
+ @MaxLengthBytes = params['MaxLengthBytes']
4263
+ @DeliveryLimit = params['DeliveryLimit']
4264
+ @OverflowBehaviour = params['OverflowBehaviour']
4265
+ @DeadLetterExchange = params['DeadLetterExchange']
4266
+ @DeadLetterRoutingKey = params['DeadLetterRoutingKey']
4267
+ @SingleActiveConsumer = params['SingleActiveConsumer']
4268
+ @MaximumPriority = params['MaximumPriority']
4269
+ @LazyMode = params['LazyMode']
4270
+ @MasterLocator = params['MasterLocator']
4271
+ @MaxInMemoryLength = params['MaxInMemoryLength']
4272
+ @MaxInMemoryBytes = params['MaxInMemoryBytes']
4273
+ @CreateTime = params['CreateTime']
4274
+ @Node = params['Node']
4275
+ @RequestId = params['RequestId']
4276
+ end
4277
+ end
4278
+
4279
+ # DescribeRabbitMQQueues请求参数结构体
4280
+ class DescribeRabbitMQQueuesRequest < TencentCloud::Common::AbstractModel
4281
+ # @param InstanceId: 实例Id
4282
+ # @type InstanceId: String
4283
+ # @param VirtualHost: Vhost参数
4284
+ # @type VirtualHost: String
4285
+ # @param Offset: 分页Offset
4286
+ # @type Offset: Integer
4287
+ # @param Limit: 分页Limit
4288
+ # @type Limit: Integer
4289
+ # @param SearchWord: 搜索关键词
4290
+ # @type SearchWord: String
4291
+ # @param QueueType: 队列类型筛选,不填或 "all":classic 和 quorum 队列;"classic":筛选 classic 队列;"quorum":筛选 quorum 队列
4292
+ # @type QueueType: String
4293
+ # @param SortElement: 排序依据的字段:
4294
+ # MessageHeapCount - 消息堆积数;
4295
+ # MessageRateInOut - 生产消费速率之和;
4296
+ # MessageRateIn - 生产速率;
4297
+ # MessageRateOut - 消费速率;
4298
+ # @type SortElement: String
4299
+ # @param SortOrder: 排序顺序,ascend 或 descend
4300
+ # @type SortOrder: String
4301
+
4302
+ attr_accessor :InstanceId, :VirtualHost, :Offset, :Limit, :SearchWord, :QueueType, :SortElement, :SortOrder
4303
+
4304
+ def initialize(instanceid=nil, virtualhost=nil, offset=nil, limit=nil, searchword=nil, queuetype=nil, sortelement=nil, sortorder=nil)
4305
+ @InstanceId = instanceid
4306
+ @VirtualHost = virtualhost
4307
+ @Offset = offset
4308
+ @Limit = limit
4309
+ @SearchWord = searchword
4310
+ @QueueType = queuetype
4311
+ @SortElement = sortelement
4312
+ @SortOrder = sortorder
4313
+ end
4314
+
4315
+ def deserialize(params)
4316
+ @InstanceId = params['InstanceId']
4317
+ @VirtualHost = params['VirtualHost']
4318
+ @Offset = params['Offset']
4319
+ @Limit = params['Limit']
4320
+ @SearchWord = params['SearchWord']
4321
+ @QueueType = params['QueueType']
4322
+ @SortElement = params['SortElement']
4323
+ @SortOrder = params['SortOrder']
4324
+ end
4325
+ end
4326
+
4327
+ # DescribeRabbitMQQueues返回参数结构体
4328
+ class DescribeRabbitMQQueuesResponse < TencentCloud::Common::AbstractModel
4329
+ # @param QueueInfoList: 列表信息
4330
+ # 注意:此字段可能返回 null,表示取不到有效值。
4331
+ # @type QueueInfoList: Array
4332
+ # @param TotalCount: 数量
4333
+ # 注意:此字段可能返回 null,表示取不到有效值。
4334
+ # @type TotalCount: Integer
4335
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4336
+ # @type RequestId: String
4337
+
4338
+ attr_accessor :QueueInfoList, :TotalCount, :RequestId
4339
+
4340
+ def initialize(queueinfolist=nil, totalcount=nil, requestid=nil)
4341
+ @QueueInfoList = queueinfolist
4342
+ @TotalCount = totalcount
4343
+ @RequestId = requestid
4344
+ end
4345
+
4346
+ def deserialize(params)
4347
+ unless params['QueueInfoList'].nil?
4348
+ @QueueInfoList = []
4349
+ params['QueueInfoList'].each do |i|
4350
+ rabbitmqqueuelistinfo_tmp = RabbitMQQueueListInfo.new
4351
+ rabbitmqqueuelistinfo_tmp.deserialize(i)
4352
+ @QueueInfoList << rabbitmqqueuelistinfo_tmp
4353
+ end
4354
+ end
4355
+ @TotalCount = params['TotalCount']
4356
+ @RequestId = params['RequestId']
4357
+ end
4358
+ end
4359
+
4119
4360
  # DescribeRabbitMQUser请求参数结构体
4120
4361
  class DescribeRabbitMQUserRequest < TencentCloud::Common::AbstractModel
4121
4362
  # @param InstanceId: 集群实例Id
@@ -8213,6 +8454,72 @@ module TencentCloud
8213
8454
  end
8214
8455
  end
8215
8456
 
8457
+ # RabbitMQ队列列表消费者信息
8458
+ class RabbitMQQueueListConsumerDetailInfo < TencentCloud::Common::AbstractModel
8459
+ # @param ConsumersNumber: 消费者数量
8460
+ # 注意:此字段可能返回 null,表示取不到有效值。
8461
+ # @type ConsumersNumber: Integer
8462
+
8463
+ attr_accessor :ConsumersNumber
8464
+
8465
+ def initialize(consumersnumber=nil)
8466
+ @ConsumersNumber = consumersnumber
8467
+ end
8468
+
8469
+ def deserialize(params)
8470
+ @ConsumersNumber = params['ConsumersNumber']
8471
+ end
8472
+ end
8473
+
8474
+ # RabbitMQ队列列表成员信息
8475
+ class RabbitMQQueueListInfo < TencentCloud::Common::AbstractModel
8476
+ # @param QueueName: 队列名
8477
+ # @type QueueName: String
8478
+ # @param Remark: 备注说明
8479
+ # 注意:此字段可能返回 null,表示取不到有效值。
8480
+ # @type Remark: String
8481
+ # @param ConsumerDetail: 消费者信息
8482
+ # 注意:此字段可能返回 null,表示取不到有效值。
8483
+ # @type ConsumerDetail: :class:`Tencentcloud::Tdmq.v20200217.models.RabbitMQQueueListConsumerDetailInfo`
8484
+ # @param QueueType: 队列类型,取值 "classic","quorum"
8485
+ # 注意:此字段可能返回 null,表示取不到有效值。
8486
+ # @type QueueType: String
8487
+ # @param MessageHeapCount: 消息堆积数
8488
+ # 注意:此字段可能返回 null,表示取不到有效值。
8489
+ # @type MessageHeapCount: Integer
8490
+ # @param MessageRateIn: 消息生产速率,每秒
8491
+ # 注意:此字段可能返回 null,表示取不到有效值。
8492
+ # @type MessageRateIn: Float
8493
+ # @param MessageRateOut: 消息消费速率,每秒
8494
+ # 注意:此字段可能返回 null,表示取不到有效值。
8495
+ # @type MessageRateOut: Float
8496
+
8497
+ attr_accessor :QueueName, :Remark, :ConsumerDetail, :QueueType, :MessageHeapCount, :MessageRateIn, :MessageRateOut
8498
+
8499
+ def initialize(queuename=nil, remark=nil, consumerdetail=nil, queuetype=nil, messageheapcount=nil, messageratein=nil, messagerateout=nil)
8500
+ @QueueName = queuename
8501
+ @Remark = remark
8502
+ @ConsumerDetail = consumerdetail
8503
+ @QueueType = queuetype
8504
+ @MessageHeapCount = messageheapcount
8505
+ @MessageRateIn = messageratein
8506
+ @MessageRateOut = messagerateout
8507
+ end
8508
+
8509
+ def deserialize(params)
8510
+ @QueueName = params['QueueName']
8511
+ @Remark = params['Remark']
8512
+ unless params['ConsumerDetail'].nil?
8513
+ @ConsumerDetail = RabbitMQQueueListConsumerDetailInfo.new
8514
+ @ConsumerDetail.deserialize(params['ConsumerDetail'])
8515
+ end
8516
+ @QueueType = params['QueueType']
8517
+ @MessageHeapCount = params['MessageHeapCount']
8518
+ @MessageRateIn = params['MessageRateIn']
8519
+ @MessageRateOut = params['MessageRateOut']
8520
+ end
8521
+ end
8522
+
8216
8523
  # RabbitMQ用户实体详情
8217
8524
  class RabbitMQUser < TencentCloud::Common::AbstractModel
8218
8525
  # @param InstanceId: 集群实例Id
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.684
4
+ version: 3.0.686
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-25 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common