tencentcloud-sdk-trabbit 3.0.1000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-trabbit.rb +11 -0
- data/lib/v20230418/client.rb +732 -0
- data/lib/v20230418/models.rb +3001 -0
- metadata +66 -0
@@ -0,0 +1,3001 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Trabbit
|
19
|
+
module V20230418
|
20
|
+
# CreateRabbitMQServerlessBinding请求参数结构体
|
21
|
+
class CreateRabbitMQServerlessBindingRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param InstanceId: 实例Id
|
23
|
+
# @type InstanceId: String
|
24
|
+
# @param VirtualHost: Vhost参数
|
25
|
+
# @type VirtualHost: String
|
26
|
+
# @param Source: 源exchange
|
27
|
+
# @type Source: String
|
28
|
+
# @param DestinationType: 目标类型,取值queue或exchange
|
29
|
+
# @type DestinationType: String
|
30
|
+
# @param Destination: 目标队列或者交换机
|
31
|
+
# @type Destination: String
|
32
|
+
# @param RoutingKey: 绑定key
|
33
|
+
# @type RoutingKey: String
|
34
|
+
|
35
|
+
attr_accessor :InstanceId, :VirtualHost, :Source, :DestinationType, :Destination, :RoutingKey
|
36
|
+
|
37
|
+
def initialize(instanceid=nil, virtualhost=nil, source=nil, destinationtype=nil, destination=nil, routingkey=nil)
|
38
|
+
@InstanceId = instanceid
|
39
|
+
@VirtualHost = virtualhost
|
40
|
+
@Source = source
|
41
|
+
@DestinationType = destinationtype
|
42
|
+
@Destination = destination
|
43
|
+
@RoutingKey = routingkey
|
44
|
+
end
|
45
|
+
|
46
|
+
def deserialize(params)
|
47
|
+
@InstanceId = params['InstanceId']
|
48
|
+
@VirtualHost = params['VirtualHost']
|
49
|
+
@Source = params['Source']
|
50
|
+
@DestinationType = params['DestinationType']
|
51
|
+
@Destination = params['Destination']
|
52
|
+
@RoutingKey = params['RoutingKey']
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# CreateRabbitMQServerlessBinding返回参数结构体
|
57
|
+
class CreateRabbitMQServerlessBindingResponse < TencentCloud::Common::AbstractModel
|
58
|
+
# @param InstanceId: 队列名称
|
59
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
60
|
+
# @type InstanceId: String
|
61
|
+
# @param VirtualHost: vhost参数
|
62
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
63
|
+
# @type VirtualHost: String
|
64
|
+
# @param BindingId: 路由关系Id
|
65
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
66
|
+
# @type BindingId: Integer
|
67
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
68
|
+
# @type RequestId: String
|
69
|
+
|
70
|
+
attr_accessor :InstanceId, :VirtualHost, :BindingId, :RequestId
|
71
|
+
|
72
|
+
def initialize(instanceid=nil, virtualhost=nil, bindingid=nil, requestid=nil)
|
73
|
+
@InstanceId = instanceid
|
74
|
+
@VirtualHost = virtualhost
|
75
|
+
@BindingId = bindingid
|
76
|
+
@RequestId = requestid
|
77
|
+
end
|
78
|
+
|
79
|
+
def deserialize(params)
|
80
|
+
@InstanceId = params['InstanceId']
|
81
|
+
@VirtualHost = params['VirtualHost']
|
82
|
+
@BindingId = params['BindingId']
|
83
|
+
@RequestId = params['RequestId']
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# CreateRabbitMQServerlessExchange请求参数结构体
|
88
|
+
class CreateRabbitMQServerlessExchangeRequest < TencentCloud::Common::AbstractModel
|
89
|
+
# @param InstanceId: 实例Id
|
90
|
+
# @type InstanceId: String
|
91
|
+
# @param VirtualHost: VHost参数
|
92
|
+
# @type VirtualHost: String
|
93
|
+
# @param ExchangeName: exchange 名称
|
94
|
+
# @type ExchangeName: String
|
95
|
+
# @param ExchangeType: exchange 类型, 支持 "fanout","direct","topic","headers"
|
96
|
+
# @type ExchangeType: String
|
97
|
+
# @param Remark: exchange 备注
|
98
|
+
# @type Remark: String
|
99
|
+
# @param Durable: 是否为持久化 exchange, 当集群重启时,将会清除所有该字段为"false"的 exchange
|
100
|
+
# @type Durable: Boolean
|
101
|
+
# @param AutoDelete: 是否自动删除该 exchange, 如果为 "true", 当解绑所有当前 exchange 上的路由关系时, 该 exchange 将会被自动删除
|
102
|
+
# @type AutoDelete: Boolean
|
103
|
+
# @param Internal: 是否为内部 exchange, 如果为 "true", 则无法直接投递消息到该 exchange, 需要在路由设置中通过其他 exchange 进行转发
|
104
|
+
# @type Internal: Boolean
|
105
|
+
# @param AlternateExchange: 替代 exchange, 如果消息无法发送到当前 exchange, 就会发送到该替代 exchange
|
106
|
+
# @type AlternateExchange: String
|
107
|
+
|
108
|
+
attr_accessor :InstanceId, :VirtualHost, :ExchangeName, :ExchangeType, :Remark, :Durable, :AutoDelete, :Internal, :AlternateExchange
|
109
|
+
|
110
|
+
def initialize(instanceid=nil, virtualhost=nil, exchangename=nil, exchangetype=nil, remark=nil, durable=nil, autodelete=nil, internal=nil, alternateexchange=nil)
|
111
|
+
@InstanceId = instanceid
|
112
|
+
@VirtualHost = virtualhost
|
113
|
+
@ExchangeName = exchangename
|
114
|
+
@ExchangeType = exchangetype
|
115
|
+
@Remark = remark
|
116
|
+
@Durable = durable
|
117
|
+
@AutoDelete = autodelete
|
118
|
+
@Internal = internal
|
119
|
+
@AlternateExchange = alternateexchange
|
120
|
+
end
|
121
|
+
|
122
|
+
def deserialize(params)
|
123
|
+
@InstanceId = params['InstanceId']
|
124
|
+
@VirtualHost = params['VirtualHost']
|
125
|
+
@ExchangeName = params['ExchangeName']
|
126
|
+
@ExchangeType = params['ExchangeType']
|
127
|
+
@Remark = params['Remark']
|
128
|
+
@Durable = params['Durable']
|
129
|
+
@AutoDelete = params['AutoDelete']
|
130
|
+
@Internal = params['Internal']
|
131
|
+
@AlternateExchange = params['AlternateExchange']
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
# CreateRabbitMQServerlessExchange返回参数结构体
|
136
|
+
class CreateRabbitMQServerlessExchangeResponse < TencentCloud::Common::AbstractModel
|
137
|
+
# @param ExchangeName: exchange 名称
|
138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
139
|
+
# @type ExchangeName: String
|
140
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
141
|
+
# @type RequestId: String
|
142
|
+
|
143
|
+
attr_accessor :ExchangeName, :RequestId
|
144
|
+
|
145
|
+
def initialize(exchangename=nil, requestid=nil)
|
146
|
+
@ExchangeName = exchangename
|
147
|
+
@RequestId = requestid
|
148
|
+
end
|
149
|
+
|
150
|
+
def deserialize(params)
|
151
|
+
@ExchangeName = params['ExchangeName']
|
152
|
+
@RequestId = params['RequestId']
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
# CreateRabbitMQServerlessQueue请求参数结构体
|
157
|
+
class CreateRabbitMQServerlessQueueRequest < TencentCloud::Common::AbstractModel
|
158
|
+
# @param InstanceId: 实例Id
|
159
|
+
# @type InstanceId: String
|
160
|
+
# @param VirtualHost: VHost参数
|
161
|
+
# @type VirtualHost: String
|
162
|
+
# @param QueueName: 队列名称
|
163
|
+
# @type QueueName: String
|
164
|
+
# @param QueueType: 只支持 classic
|
165
|
+
# @type QueueType: String
|
166
|
+
# @param Durable: 持久标记,classic类型必传,quorum类型无需传入固定为true
|
167
|
+
# @type Durable: Boolean
|
168
|
+
# @param AutoDelete: 自动清除,classic类型必传,quorum类型无需传入固定为false
|
169
|
+
# @type AutoDelete: Boolean
|
170
|
+
# @param Remark: 备注
|
171
|
+
# @type Remark: String
|
172
|
+
# @param MessageTTL: MessageTTL参数,classic类型专用
|
173
|
+
# @type MessageTTL: Integer
|
174
|
+
# @param AutoExpire: AutoExpire参数,单位为 ms,队列在指定时间内没有被使用,将会被删除
|
175
|
+
# @type AutoExpire: Integer
|
176
|
+
# @param MaxLength: MaxLength参数。队列可以容纳的最大条数。若超出上限,将根据 overview behavior 处理
|
177
|
+
# @type MaxLength: Integer
|
178
|
+
# @param MaxLengthBytes: MaxLengthBytes参数。若超出上限,将根据 overview behavior 处理。
|
179
|
+
# @type MaxLengthBytes: Integer
|
180
|
+
# @param DeliveryLimit: DeliveryLimit参数,quorum类型专用
|
181
|
+
# @type DeliveryLimit: Integer
|
182
|
+
# @param OverflowBehaviour: OverflowBehaviour参数,取值为drop-head, reject-publish或reject-publish-dlx
|
183
|
+
# @type OverflowBehaviour: String
|
184
|
+
# @param DeadLetterExchange: DeadLetterExchange参数。可将过期或被拒绝的消息投往指定的死信 exchange。
|
185
|
+
# @type DeadLetterExchange: String
|
186
|
+
# @param DeadLetterRoutingKey: DeadLetterRoutingKey参数。只能包含字母、数字、"."、"-","@","_"
|
187
|
+
# @type DeadLetterRoutingKey: String
|
188
|
+
# @param SingleActiveConsumer: SingleActiveConsumer参数。若开启,需确保每次有且只有一个消费者从队列中消费
|
189
|
+
# @type SingleActiveConsumer: Boolean
|
190
|
+
# @param MaximumPriority: MaximumPriority参数,classic类型专用
|
191
|
+
# @type MaximumPriority: Integer
|
192
|
+
# @param LazyMode: LazyMode参数,classic类型专用
|
193
|
+
# @type LazyMode: Boolean
|
194
|
+
# @param MasterLocator: MasterLocator参数,classic类型专用,取值为min-masters,client-local或random
|
195
|
+
# @type MasterLocator: String
|
196
|
+
# @param MaxInMemoryLength: MaxInMemoryLength参数,quorum类型专用。quorum 队列的内存中最大消息数量
|
197
|
+
# @type MaxInMemoryLength: Integer
|
198
|
+
# @param MaxInMemoryBytes: MaxInMemoryBytes参数,quorum类型专用。quorum 队列的内存中最大数总消息大小
|
199
|
+
# @type MaxInMemoryBytes: Integer
|
200
|
+
# @param Node: Node参数,非必填,指定创建 queue 所在节点
|
201
|
+
# @type Node: String
|
202
|
+
# @param DeadLetterStrategy: 仲裁队列死信一致性策略,at-most-once、at-least-once,默认是at-most-once
|
203
|
+
# @type DeadLetterStrategy: String
|
204
|
+
# @param QueueLeaderLocator: 仲裁队列的领导者选举策略,client-local、balanced,默认是client-local
|
205
|
+
# @type QueueLeaderLocator: String
|
206
|
+
# @param QuorumInitialGroupSize: 仲裁队列的初始副本组大小,默认3
|
207
|
+
# @type QuorumInitialGroupSize: Integer
|
208
|
+
|
209
|
+
attr_accessor :InstanceId, :VirtualHost, :QueueName, :QueueType, :Durable, :AutoDelete, :Remark, :MessageTTL, :AutoExpire, :MaxLength, :MaxLengthBytes, :DeliveryLimit, :OverflowBehaviour, :DeadLetterExchange, :DeadLetterRoutingKey, :SingleActiveConsumer, :MaximumPriority, :LazyMode, :MasterLocator, :MaxInMemoryLength, :MaxInMemoryBytes, :Node, :DeadLetterStrategy, :QueueLeaderLocator, :QuorumInitialGroupSize
|
210
|
+
|
211
|
+
def initialize(instanceid=nil, virtualhost=nil, queuename=nil, queuetype=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, node=nil, deadletterstrategy=nil, queueleaderlocator=nil, quoruminitialgroupsize=nil)
|
212
|
+
@InstanceId = instanceid
|
213
|
+
@VirtualHost = virtualhost
|
214
|
+
@QueueName = queuename
|
215
|
+
@QueueType = queuetype
|
216
|
+
@Durable = durable
|
217
|
+
@AutoDelete = autodelete
|
218
|
+
@Remark = remark
|
219
|
+
@MessageTTL = messagettl
|
220
|
+
@AutoExpire = autoexpire
|
221
|
+
@MaxLength = maxlength
|
222
|
+
@MaxLengthBytes = maxlengthbytes
|
223
|
+
@DeliveryLimit = deliverylimit
|
224
|
+
@OverflowBehaviour = overflowbehaviour
|
225
|
+
@DeadLetterExchange = deadletterexchange
|
226
|
+
@DeadLetterRoutingKey = deadletterroutingkey
|
227
|
+
@SingleActiveConsumer = singleactiveconsumer
|
228
|
+
@MaximumPriority = maximumpriority
|
229
|
+
@LazyMode = lazymode
|
230
|
+
@MasterLocator = masterlocator
|
231
|
+
@MaxInMemoryLength = maxinmemorylength
|
232
|
+
@MaxInMemoryBytes = maxinmemorybytes
|
233
|
+
@Node = node
|
234
|
+
@DeadLetterStrategy = deadletterstrategy
|
235
|
+
@QueueLeaderLocator = queueleaderlocator
|
236
|
+
@QuorumInitialGroupSize = quoruminitialgroupsize
|
237
|
+
end
|
238
|
+
|
239
|
+
def deserialize(params)
|
240
|
+
@InstanceId = params['InstanceId']
|
241
|
+
@VirtualHost = params['VirtualHost']
|
242
|
+
@QueueName = params['QueueName']
|
243
|
+
@QueueType = params['QueueType']
|
244
|
+
@Durable = params['Durable']
|
245
|
+
@AutoDelete = params['AutoDelete']
|
246
|
+
@Remark = params['Remark']
|
247
|
+
@MessageTTL = params['MessageTTL']
|
248
|
+
@AutoExpire = params['AutoExpire']
|
249
|
+
@MaxLength = params['MaxLength']
|
250
|
+
@MaxLengthBytes = params['MaxLengthBytes']
|
251
|
+
@DeliveryLimit = params['DeliveryLimit']
|
252
|
+
@OverflowBehaviour = params['OverflowBehaviour']
|
253
|
+
@DeadLetterExchange = params['DeadLetterExchange']
|
254
|
+
@DeadLetterRoutingKey = params['DeadLetterRoutingKey']
|
255
|
+
@SingleActiveConsumer = params['SingleActiveConsumer']
|
256
|
+
@MaximumPriority = params['MaximumPriority']
|
257
|
+
@LazyMode = params['LazyMode']
|
258
|
+
@MasterLocator = params['MasterLocator']
|
259
|
+
@MaxInMemoryLength = params['MaxInMemoryLength']
|
260
|
+
@MaxInMemoryBytes = params['MaxInMemoryBytes']
|
261
|
+
@Node = params['Node']
|
262
|
+
@DeadLetterStrategy = params['DeadLetterStrategy']
|
263
|
+
@QueueLeaderLocator = params['QueueLeaderLocator']
|
264
|
+
@QuorumInitialGroupSize = params['QuorumInitialGroupSize']
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
# CreateRabbitMQServerlessQueue返回参数结构体
|
269
|
+
class CreateRabbitMQServerlessQueueResponse < TencentCloud::Common::AbstractModel
|
270
|
+
# @param QueueName: 队列名称
|
271
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
272
|
+
# @type QueueName: String
|
273
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
274
|
+
# @type RequestId: String
|
275
|
+
|
276
|
+
attr_accessor :QueueName, :RequestId
|
277
|
+
|
278
|
+
def initialize(queuename=nil, requestid=nil)
|
279
|
+
@QueueName = queuename
|
280
|
+
@RequestId = requestid
|
281
|
+
end
|
282
|
+
|
283
|
+
def deserialize(params)
|
284
|
+
@QueueName = params['QueueName']
|
285
|
+
@RequestId = params['RequestId']
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
# CreateRabbitMQServerlessUser请求参数结构体
|
290
|
+
class CreateRabbitMQServerlessUserRequest < TencentCloud::Common::AbstractModel
|
291
|
+
# @param InstanceId: 集群实例Id
|
292
|
+
# @type InstanceId: String
|
293
|
+
# @param User: 用户名,登录时使用
|
294
|
+
# @type User: String
|
295
|
+
# @param Password: 密码,登录时使用
|
296
|
+
# @type Password: String
|
297
|
+
# @param Description: 描述
|
298
|
+
# @type Description: String
|
299
|
+
# @param Tags: serverless 实例该字段无效
|
300
|
+
# @type Tags: Array
|
301
|
+
# @param MaxConnections: 该用户的最大连接数,不填写则不限制
|
302
|
+
# @type MaxConnections: Integer
|
303
|
+
# @param MaxChannels: 该用户的最大channel数,不填写则不限制
|
304
|
+
# @type MaxChannels: Integer
|
305
|
+
|
306
|
+
attr_accessor :InstanceId, :User, :Password, :Description, :Tags, :MaxConnections, :MaxChannels
|
307
|
+
|
308
|
+
def initialize(instanceid=nil, user=nil, password=nil, description=nil, tags=nil, maxconnections=nil, maxchannels=nil)
|
309
|
+
@InstanceId = instanceid
|
310
|
+
@User = user
|
311
|
+
@Password = password
|
312
|
+
@Description = description
|
313
|
+
@Tags = tags
|
314
|
+
@MaxConnections = maxconnections
|
315
|
+
@MaxChannels = maxchannels
|
316
|
+
end
|
317
|
+
|
318
|
+
def deserialize(params)
|
319
|
+
@InstanceId = params['InstanceId']
|
320
|
+
@User = params['User']
|
321
|
+
@Password = params['Password']
|
322
|
+
@Description = params['Description']
|
323
|
+
@Tags = params['Tags']
|
324
|
+
@MaxConnections = params['MaxConnections']
|
325
|
+
@MaxChannels = params['MaxChannels']
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
# CreateRabbitMQServerlessUser返回参数结构体
|
330
|
+
class CreateRabbitMQServerlessUserResponse < TencentCloud::Common::AbstractModel
|
331
|
+
# @param User: 用户名,登录时使用
|
332
|
+
# @type User: String
|
333
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
334
|
+
# @type RequestId: String
|
335
|
+
|
336
|
+
attr_accessor :User, :RequestId
|
337
|
+
|
338
|
+
def initialize(user=nil, requestid=nil)
|
339
|
+
@User = user
|
340
|
+
@RequestId = requestid
|
341
|
+
end
|
342
|
+
|
343
|
+
def deserialize(params)
|
344
|
+
@User = params['User']
|
345
|
+
@RequestId = params['RequestId']
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
# CreateRabbitMQServerlessVirtualHost请求参数结构体
|
350
|
+
class CreateRabbitMQServerlessVirtualHostRequest < TencentCloud::Common::AbstractModel
|
351
|
+
# @param InstanceId: 集群实例Id
|
352
|
+
# @type InstanceId: String
|
353
|
+
# @param VirtualHost: vhost名称
|
354
|
+
# @type VirtualHost: String
|
355
|
+
# @param Description: 描述信息
|
356
|
+
# @type Description: String
|
357
|
+
# @param TraceFlag: 消息轨迹开关,true打开,false关闭,默认关闭
|
358
|
+
# @type TraceFlag: Boolean
|
359
|
+
# @param MirrorQueuePolicyFlag: 是否创建镜像队列策略,默认值 true
|
360
|
+
# @type MirrorQueuePolicyFlag: Boolean
|
361
|
+
|
362
|
+
attr_accessor :InstanceId, :VirtualHost, :Description, :TraceFlag, :MirrorQueuePolicyFlag
|
363
|
+
|
364
|
+
def initialize(instanceid=nil, virtualhost=nil, description=nil, traceflag=nil, mirrorqueuepolicyflag=nil)
|
365
|
+
@InstanceId = instanceid
|
366
|
+
@VirtualHost = virtualhost
|
367
|
+
@Description = description
|
368
|
+
@TraceFlag = traceflag
|
369
|
+
@MirrorQueuePolicyFlag = mirrorqueuepolicyflag
|
370
|
+
end
|
371
|
+
|
372
|
+
def deserialize(params)
|
373
|
+
@InstanceId = params['InstanceId']
|
374
|
+
@VirtualHost = params['VirtualHost']
|
375
|
+
@Description = params['Description']
|
376
|
+
@TraceFlag = params['TraceFlag']
|
377
|
+
@MirrorQueuePolicyFlag = params['MirrorQueuePolicyFlag']
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# CreateRabbitMQServerlessVirtualHost返回参数结构体
|
382
|
+
class CreateRabbitMQServerlessVirtualHostResponse < TencentCloud::Common::AbstractModel
|
383
|
+
# @param VirtualHost: vhost名称
|
384
|
+
# @type VirtualHost: String
|
385
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
386
|
+
# @type RequestId: String
|
387
|
+
|
388
|
+
attr_accessor :VirtualHost, :RequestId
|
389
|
+
|
390
|
+
def initialize(virtualhost=nil, requestid=nil)
|
391
|
+
@VirtualHost = virtualhost
|
392
|
+
@RequestId = requestid
|
393
|
+
end
|
394
|
+
|
395
|
+
def deserialize(params)
|
396
|
+
@VirtualHost = params['VirtualHost']
|
397
|
+
@RequestId = params['RequestId']
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
# DeleteRabbitMQServerlessBinding请求参数结构体
|
402
|
+
class DeleteRabbitMQServerlessBindingRequest < TencentCloud::Common::AbstractModel
|
403
|
+
# @param InstanceId: 实例Id
|
404
|
+
# @type InstanceId: String
|
405
|
+
# @param VirtualHost: Vhost参数
|
406
|
+
# @type VirtualHost: String
|
407
|
+
# @param BindingId: 路由关系Id
|
408
|
+
# @type BindingId: Integer
|
409
|
+
|
410
|
+
attr_accessor :InstanceId, :VirtualHost, :BindingId
|
411
|
+
|
412
|
+
def initialize(instanceid=nil, virtualhost=nil, bindingid=nil)
|
413
|
+
@InstanceId = instanceid
|
414
|
+
@VirtualHost = virtualhost
|
415
|
+
@BindingId = bindingid
|
416
|
+
end
|
417
|
+
|
418
|
+
def deserialize(params)
|
419
|
+
@InstanceId = params['InstanceId']
|
420
|
+
@VirtualHost = params['VirtualHost']
|
421
|
+
@BindingId = params['BindingId']
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
# DeleteRabbitMQServerlessBinding返回参数结构体
|
426
|
+
class DeleteRabbitMQServerlessBindingResponse < TencentCloud::Common::AbstractModel
|
427
|
+
# @param InstanceId: 队列名称
|
428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
429
|
+
# @type InstanceId: String
|
430
|
+
# @param VirtualHost: vhost参数
|
431
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
432
|
+
# @type VirtualHost: String
|
433
|
+
# @param BindingId: 路由关系Id
|
434
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
435
|
+
# @type BindingId: Integer
|
436
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
437
|
+
# @type RequestId: String
|
438
|
+
|
439
|
+
attr_accessor :InstanceId, :VirtualHost, :BindingId, :RequestId
|
440
|
+
|
441
|
+
def initialize(instanceid=nil, virtualhost=nil, bindingid=nil, requestid=nil)
|
442
|
+
@InstanceId = instanceid
|
443
|
+
@VirtualHost = virtualhost
|
444
|
+
@BindingId = bindingid
|
445
|
+
@RequestId = requestid
|
446
|
+
end
|
447
|
+
|
448
|
+
def deserialize(params)
|
449
|
+
@InstanceId = params['InstanceId']
|
450
|
+
@VirtualHost = params['VirtualHost']
|
451
|
+
@BindingId = params['BindingId']
|
452
|
+
@RequestId = params['RequestId']
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
# DeleteRabbitMQServerlessExchange请求参数结构体
|
457
|
+
class DeleteRabbitMQServerlessExchangeRequest < TencentCloud::Common::AbstractModel
|
458
|
+
# @param InstanceId: 实例 id
|
459
|
+
# @type InstanceId: String
|
460
|
+
# @param VirtualHost: vhost 参数
|
461
|
+
# @type VirtualHost: String
|
462
|
+
# @param ExchangeName: exchange 名称
|
463
|
+
# @type ExchangeName: String
|
464
|
+
|
465
|
+
attr_accessor :InstanceId, :VirtualHost, :ExchangeName
|
466
|
+
|
467
|
+
def initialize(instanceid=nil, virtualhost=nil, exchangename=nil)
|
468
|
+
@InstanceId = instanceid
|
469
|
+
@VirtualHost = virtualhost
|
470
|
+
@ExchangeName = exchangename
|
471
|
+
end
|
472
|
+
|
473
|
+
def deserialize(params)
|
474
|
+
@InstanceId = params['InstanceId']
|
475
|
+
@VirtualHost = params['VirtualHost']
|
476
|
+
@ExchangeName = params['ExchangeName']
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
# DeleteRabbitMQServerlessExchange返回参数结构体
|
481
|
+
class DeleteRabbitMQServerlessExchangeResponse < TencentCloud::Common::AbstractModel
|
482
|
+
# @param ExchangeName: exchange 名称
|
483
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
484
|
+
# @type ExchangeName: String
|
485
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
486
|
+
# @type RequestId: String
|
487
|
+
|
488
|
+
attr_accessor :ExchangeName, :RequestId
|
489
|
+
|
490
|
+
def initialize(exchangename=nil, requestid=nil)
|
491
|
+
@ExchangeName = exchangename
|
492
|
+
@RequestId = requestid
|
493
|
+
end
|
494
|
+
|
495
|
+
def deserialize(params)
|
496
|
+
@ExchangeName = params['ExchangeName']
|
497
|
+
@RequestId = params['RequestId']
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# DeleteRabbitMQServerlessPermission请求参数结构体
|
502
|
+
class DeleteRabbitMQServerlessPermissionRequest < TencentCloud::Common::AbstractModel
|
503
|
+
# @param InstanceId: 集群实例Id
|
504
|
+
# @type InstanceId: String
|
505
|
+
# @param User: 用户名,登录时使用
|
506
|
+
# @type User: String
|
507
|
+
# @param VirtualHost: vhost名
|
508
|
+
# @type VirtualHost: String
|
509
|
+
|
510
|
+
attr_accessor :InstanceId, :User, :VirtualHost
|
511
|
+
|
512
|
+
def initialize(instanceid=nil, user=nil, virtualhost=nil)
|
513
|
+
@InstanceId = instanceid
|
514
|
+
@User = user
|
515
|
+
@VirtualHost = virtualhost
|
516
|
+
end
|
517
|
+
|
518
|
+
def deserialize(params)
|
519
|
+
@InstanceId = params['InstanceId']
|
520
|
+
@User = params['User']
|
521
|
+
@VirtualHost = params['VirtualHost']
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
# DeleteRabbitMQServerlessPermission返回参数结构体
|
526
|
+
class DeleteRabbitMQServerlessPermissionResponse < TencentCloud::Common::AbstractModel
|
527
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
528
|
+
# @type RequestId: String
|
529
|
+
|
530
|
+
attr_accessor :RequestId
|
531
|
+
|
532
|
+
def initialize(requestid=nil)
|
533
|
+
@RequestId = requestid
|
534
|
+
end
|
535
|
+
|
536
|
+
def deserialize(params)
|
537
|
+
@RequestId = params['RequestId']
|
538
|
+
end
|
539
|
+
end
|
540
|
+
|
541
|
+
# DeleteRabbitMQServerlessQueue请求参数结构体
|
542
|
+
class DeleteRabbitMQServerlessQueueRequest < TencentCloud::Common::AbstractModel
|
543
|
+
# @param InstanceId: 实例Id
|
544
|
+
# @type InstanceId: String
|
545
|
+
# @param VirtualHost: Vhost参数
|
546
|
+
# @type VirtualHost: String
|
547
|
+
# @param QueueName: 队列名称
|
548
|
+
# @type QueueName: String
|
549
|
+
|
550
|
+
attr_accessor :InstanceId, :VirtualHost, :QueueName
|
551
|
+
|
552
|
+
def initialize(instanceid=nil, virtualhost=nil, queuename=nil)
|
553
|
+
@InstanceId = instanceid
|
554
|
+
@VirtualHost = virtualhost
|
555
|
+
@QueueName = queuename
|
556
|
+
end
|
557
|
+
|
558
|
+
def deserialize(params)
|
559
|
+
@InstanceId = params['InstanceId']
|
560
|
+
@VirtualHost = params['VirtualHost']
|
561
|
+
@QueueName = params['QueueName']
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
565
|
+
# DeleteRabbitMQServerlessQueue返回参数结构体
|
566
|
+
class DeleteRabbitMQServerlessQueueResponse < TencentCloud::Common::AbstractModel
|
567
|
+
# @param QueueName: 队列名称
|
568
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
569
|
+
# @type QueueName: String
|
570
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
571
|
+
# @type RequestId: String
|
572
|
+
|
573
|
+
attr_accessor :QueueName, :RequestId
|
574
|
+
|
575
|
+
def initialize(queuename=nil, requestid=nil)
|
576
|
+
@QueueName = queuename
|
577
|
+
@RequestId = requestid
|
578
|
+
end
|
579
|
+
|
580
|
+
def deserialize(params)
|
581
|
+
@QueueName = params['QueueName']
|
582
|
+
@RequestId = params['RequestId']
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
# DeleteRabbitMQServerlessUser请求参数结构体
|
587
|
+
class DeleteRabbitMQServerlessUserRequest < TencentCloud::Common::AbstractModel
|
588
|
+
# @param InstanceId: 集群实例Id
|
589
|
+
# @type InstanceId: String
|
590
|
+
# @param User: 用户名,登录时使用
|
591
|
+
# @type User: String
|
592
|
+
|
593
|
+
attr_accessor :InstanceId, :User
|
594
|
+
|
595
|
+
def initialize(instanceid=nil, user=nil)
|
596
|
+
@InstanceId = instanceid
|
597
|
+
@User = user
|
598
|
+
end
|
599
|
+
|
600
|
+
def deserialize(params)
|
601
|
+
@InstanceId = params['InstanceId']
|
602
|
+
@User = params['User']
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
# DeleteRabbitMQServerlessUser返回参数结构体
|
607
|
+
class DeleteRabbitMQServerlessUserResponse < TencentCloud::Common::AbstractModel
|
608
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
609
|
+
# @type RequestId: String
|
610
|
+
|
611
|
+
attr_accessor :RequestId
|
612
|
+
|
613
|
+
def initialize(requestid=nil)
|
614
|
+
@RequestId = requestid
|
615
|
+
end
|
616
|
+
|
617
|
+
def deserialize(params)
|
618
|
+
@RequestId = params['RequestId']
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
622
|
+
# DeleteRabbitMQServerlessVirtualHost请求参数结构体
|
623
|
+
class DeleteRabbitMQServerlessVirtualHostRequest < TencentCloud::Common::AbstractModel
|
624
|
+
# @param InstanceId: 集群实例Id
|
625
|
+
# @type InstanceId: String
|
626
|
+
# @param VirtualHost: vhost名
|
627
|
+
# @type VirtualHost: String
|
628
|
+
|
629
|
+
attr_accessor :InstanceId, :VirtualHost
|
630
|
+
|
631
|
+
def initialize(instanceid=nil, virtualhost=nil)
|
632
|
+
@InstanceId = instanceid
|
633
|
+
@VirtualHost = virtualhost
|
634
|
+
end
|
635
|
+
|
636
|
+
def deserialize(params)
|
637
|
+
@InstanceId = params['InstanceId']
|
638
|
+
@VirtualHost = params['VirtualHost']
|
639
|
+
end
|
640
|
+
end
|
641
|
+
|
642
|
+
# DeleteRabbitMQServerlessVirtualHost返回参数结构体
|
643
|
+
class DeleteRabbitMQServerlessVirtualHostResponse < TencentCloud::Common::AbstractModel
|
644
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
645
|
+
# @type RequestId: String
|
646
|
+
|
647
|
+
attr_accessor :RequestId
|
648
|
+
|
649
|
+
def initialize(requestid=nil)
|
650
|
+
@RequestId = requestid
|
651
|
+
end
|
652
|
+
|
653
|
+
def deserialize(params)
|
654
|
+
@RequestId = params['RequestId']
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
# DescribeRabbitMQServerlessBindings请求参数结构体
|
659
|
+
class DescribeRabbitMQServerlessBindingsRequest < TencentCloud::Common::AbstractModel
|
660
|
+
# @param InstanceId: 实例Id
|
661
|
+
# @type InstanceId: String
|
662
|
+
# @param VirtualHost: Vhost参数
|
663
|
+
# @type VirtualHost: String
|
664
|
+
# @param Offset: 分页offset
|
665
|
+
# @type Offset: Integer
|
666
|
+
# @param Limit: 分页limit
|
667
|
+
# @type Limit: Integer
|
668
|
+
# @param SearchWord: 搜索关键词,根据源exchange名称/目标资源名称/绑定key进行模糊搜索
|
669
|
+
# @type SearchWord: String
|
670
|
+
# @param SourceExchange: 根据源Exchange精准搜索过滤
|
671
|
+
# @type SourceExchange: String
|
672
|
+
# @param QueueName: 根据目标QueueName精准搜索过滤,和DestinationExchange过滤不可同时设置
|
673
|
+
# @type QueueName: String
|
674
|
+
# @param DestinationExchange: 根据目标Exchange精准搜索过滤,和QueueName过滤不可同时设置
|
675
|
+
# @type DestinationExchange: String
|
676
|
+
|
677
|
+
attr_accessor :InstanceId, :VirtualHost, :Offset, :Limit, :SearchWord, :SourceExchange, :QueueName, :DestinationExchange
|
678
|
+
|
679
|
+
def initialize(instanceid=nil, virtualhost=nil, offset=nil, limit=nil, searchword=nil, sourceexchange=nil, queuename=nil, destinationexchange=nil)
|
680
|
+
@InstanceId = instanceid
|
681
|
+
@VirtualHost = virtualhost
|
682
|
+
@Offset = offset
|
683
|
+
@Limit = limit
|
684
|
+
@SearchWord = searchword
|
685
|
+
@SourceExchange = sourceexchange
|
686
|
+
@QueueName = queuename
|
687
|
+
@DestinationExchange = destinationexchange
|
688
|
+
end
|
689
|
+
|
690
|
+
def deserialize(params)
|
691
|
+
@InstanceId = params['InstanceId']
|
692
|
+
@VirtualHost = params['VirtualHost']
|
693
|
+
@Offset = params['Offset']
|
694
|
+
@Limit = params['Limit']
|
695
|
+
@SearchWord = params['SearchWord']
|
696
|
+
@SourceExchange = params['SourceExchange']
|
697
|
+
@QueueName = params['QueueName']
|
698
|
+
@DestinationExchange = params['DestinationExchange']
|
699
|
+
end
|
700
|
+
end
|
701
|
+
|
702
|
+
# DescribeRabbitMQServerlessBindings返回参数结构体
|
703
|
+
class DescribeRabbitMQServerlessBindingsResponse < TencentCloud::Common::AbstractModel
|
704
|
+
# @param BindingInfoList: 路由关系列表
|
705
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
706
|
+
# @type BindingInfoList: Array
|
707
|
+
# @param TotalCount: 数量
|
708
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
709
|
+
# @type TotalCount: Integer
|
710
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
711
|
+
# @type RequestId: String
|
712
|
+
|
713
|
+
attr_accessor :BindingInfoList, :TotalCount, :RequestId
|
714
|
+
|
715
|
+
def initialize(bindinginfolist=nil, totalcount=nil, requestid=nil)
|
716
|
+
@BindingInfoList = bindinginfolist
|
717
|
+
@TotalCount = totalcount
|
718
|
+
@RequestId = requestid
|
719
|
+
end
|
720
|
+
|
721
|
+
def deserialize(params)
|
722
|
+
unless params['BindingInfoList'].nil?
|
723
|
+
@BindingInfoList = []
|
724
|
+
params['BindingInfoList'].each do |i|
|
725
|
+
rabbitmqbindinglistinfo_tmp = RabbitMQBindingListInfo.new
|
726
|
+
rabbitmqbindinglistinfo_tmp.deserialize(i)
|
727
|
+
@BindingInfoList << rabbitmqbindinglistinfo_tmp
|
728
|
+
end
|
729
|
+
end
|
730
|
+
@TotalCount = params['TotalCount']
|
731
|
+
@RequestId = params['RequestId']
|
732
|
+
end
|
733
|
+
end
|
734
|
+
|
735
|
+
# DescribeRabbitMQServerlessConnection请求参数结构体
|
736
|
+
class DescribeRabbitMQServerlessConnectionRequest < TencentCloud::Common::AbstractModel
|
737
|
+
# @param InstanceId: 集群实例Id
|
738
|
+
# @type InstanceId: String
|
739
|
+
# @param VirtualHost: vhost名
|
740
|
+
# @type VirtualHost: String
|
741
|
+
|
742
|
+
attr_accessor :InstanceId, :VirtualHost
|
743
|
+
|
744
|
+
def initialize(instanceid=nil, virtualhost=nil)
|
745
|
+
@InstanceId = instanceid
|
746
|
+
@VirtualHost = virtualhost
|
747
|
+
end
|
748
|
+
|
749
|
+
def deserialize(params)
|
750
|
+
@InstanceId = params['InstanceId']
|
751
|
+
@VirtualHost = params['VirtualHost']
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
755
|
+
# DescribeRabbitMQServerlessConnection返回参数结构体
|
756
|
+
class DescribeRabbitMQServerlessConnectionResponse < TencentCloud::Common::AbstractModel
|
757
|
+
# @param TotalCount: 返回连接数量
|
758
|
+
# @type TotalCount: Integer
|
759
|
+
# @param Connections: 连接详情列表
|
760
|
+
# @type Connections: Array
|
761
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
762
|
+
# @type RequestId: String
|
763
|
+
|
764
|
+
attr_accessor :TotalCount, :Connections, :RequestId
|
765
|
+
|
766
|
+
def initialize(totalcount=nil, connections=nil, requestid=nil)
|
767
|
+
@TotalCount = totalcount
|
768
|
+
@Connections = connections
|
769
|
+
@RequestId = requestid
|
770
|
+
end
|
771
|
+
|
772
|
+
def deserialize(params)
|
773
|
+
@TotalCount = params['TotalCount']
|
774
|
+
unless params['Connections'].nil?
|
775
|
+
@Connections = []
|
776
|
+
params['Connections'].each do |i|
|
777
|
+
rabbitmqconnection_tmp = RabbitMQConnection.new
|
778
|
+
rabbitmqconnection_tmp.deserialize(i)
|
779
|
+
@Connections << rabbitmqconnection_tmp
|
780
|
+
end
|
781
|
+
end
|
782
|
+
@RequestId = params['RequestId']
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
786
|
+
# DescribeRabbitMQServerlessConsumers请求参数结构体
|
787
|
+
class DescribeRabbitMQServerlessConsumersRequest < TencentCloud::Common::AbstractModel
|
788
|
+
# @param InstanceId: 实例Id
|
789
|
+
# @type InstanceId: String
|
790
|
+
# @param VirtualHost: Vhost参数
|
791
|
+
# @type VirtualHost: String
|
792
|
+
# @param QueueName: 队列名
|
793
|
+
# @type QueueName: String
|
794
|
+
# @param Limit: 分页Limit
|
795
|
+
# @type Limit: Integer
|
796
|
+
# @param Offset: 分页Offset
|
797
|
+
# @type Offset: Integer
|
798
|
+
# @param SearchWord: 搜索关键词
|
799
|
+
# @type SearchWord: String
|
800
|
+
|
801
|
+
attr_accessor :InstanceId, :VirtualHost, :QueueName, :Limit, :Offset, :SearchWord
|
802
|
+
|
803
|
+
def initialize(instanceid=nil, virtualhost=nil, queuename=nil, limit=nil, offset=nil, searchword=nil)
|
804
|
+
@InstanceId = instanceid
|
805
|
+
@VirtualHost = virtualhost
|
806
|
+
@QueueName = queuename
|
807
|
+
@Limit = limit
|
808
|
+
@Offset = offset
|
809
|
+
@SearchWord = searchword
|
810
|
+
end
|
811
|
+
|
812
|
+
def deserialize(params)
|
813
|
+
@InstanceId = params['InstanceId']
|
814
|
+
@VirtualHost = params['VirtualHost']
|
815
|
+
@QueueName = params['QueueName']
|
816
|
+
@Limit = params['Limit']
|
817
|
+
@Offset = params['Offset']
|
818
|
+
@SearchWord = params['SearchWord']
|
819
|
+
end
|
820
|
+
end
|
821
|
+
|
822
|
+
# DescribeRabbitMQServerlessConsumers返回参数结构体
|
823
|
+
class DescribeRabbitMQServerlessConsumersResponse < TencentCloud::Common::AbstractModel
|
824
|
+
# @param ConsumerInfoList: 消费者列表信息
|
825
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
826
|
+
# @type ConsumerInfoList: Array
|
827
|
+
# @param TotalCount: 数量
|
828
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
829
|
+
# @type TotalCount: Integer
|
830
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
831
|
+
# @type RequestId: String
|
832
|
+
|
833
|
+
attr_accessor :ConsumerInfoList, :TotalCount, :RequestId
|
834
|
+
|
835
|
+
def initialize(consumerinfolist=nil, totalcount=nil, requestid=nil)
|
836
|
+
@ConsumerInfoList = consumerinfolist
|
837
|
+
@TotalCount = totalcount
|
838
|
+
@RequestId = requestid
|
839
|
+
end
|
840
|
+
|
841
|
+
def deserialize(params)
|
842
|
+
unless params['ConsumerInfoList'].nil?
|
843
|
+
@ConsumerInfoList = []
|
844
|
+
params['ConsumerInfoList'].each do |i|
|
845
|
+
rabbitmqconsumerslistinfo_tmp = RabbitMQConsumersListInfo.new
|
846
|
+
rabbitmqconsumerslistinfo_tmp.deserialize(i)
|
847
|
+
@ConsumerInfoList << rabbitmqconsumerslistinfo_tmp
|
848
|
+
end
|
849
|
+
end
|
850
|
+
@TotalCount = params['TotalCount']
|
851
|
+
@RequestId = params['RequestId']
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
855
|
+
# DescribeRabbitMQServerlessExchangeDetail请求参数结构体
|
856
|
+
class DescribeRabbitMQServerlessExchangeDetailRequest < TencentCloud::Common::AbstractModel
|
857
|
+
# @param InstanceId: 实例 id
|
858
|
+
# @type InstanceId: String
|
859
|
+
# @param VirtualHost: vhost 参数
|
860
|
+
# @type VirtualHost: String
|
861
|
+
# @param ExchangeName: exchange 名称
|
862
|
+
# @type ExchangeName: String
|
863
|
+
|
864
|
+
attr_accessor :InstanceId, :VirtualHost, :ExchangeName
|
865
|
+
|
866
|
+
def initialize(instanceid=nil, virtualhost=nil, exchangename=nil)
|
867
|
+
@InstanceId = instanceid
|
868
|
+
@VirtualHost = virtualhost
|
869
|
+
@ExchangeName = exchangename
|
870
|
+
end
|
871
|
+
|
872
|
+
def deserialize(params)
|
873
|
+
@InstanceId = params['InstanceId']
|
874
|
+
@VirtualHost = params['VirtualHost']
|
875
|
+
@ExchangeName = params['ExchangeName']
|
876
|
+
end
|
877
|
+
end
|
878
|
+
|
879
|
+
# DescribeRabbitMQServerlessExchangeDetail返回参数结构体
|
880
|
+
class DescribeRabbitMQServerlessExchangeDetailResponse < TencentCloud::Common::AbstractModel
|
881
|
+
# @param ExchangeName: exchange 名
|
882
|
+
# @type ExchangeName: String
|
883
|
+
# @param Remark: 备注说明
|
884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
885
|
+
# @type Remark: String
|
886
|
+
# @param Durable: 是否为持久化 exchange, 当集群重启时, 将会清除所有该字段为 "false" 的 exchange
|
887
|
+
# @type Durable: Boolean
|
888
|
+
# @param AutoDelete: 是否自动删除该 exchange, 如果为 "true", 当解绑所有当前 exchange 上的路由关系时, 该 exchange 将会被自动删除
|
889
|
+
# @type AutoDelete: Boolean
|
890
|
+
# @param Internal: 是否为内部 exchange, 如果为 "true", 则无法直接投递消息到该 exchange, 需要在路由设置中通过其他 exchange 进行转发
|
891
|
+
# @type Internal: Boolean
|
892
|
+
# @param AlternateExchange: 替代 exchange, 如果消息没有匹配当前 exchange 绑定的所有 queue 或 exchange, 就会发送到该替代 exchange
|
893
|
+
# @type AlternateExchange: String
|
894
|
+
# @param ExchangeType: exchange 类型, 支持 "fanout","direct","topic","headers"
|
895
|
+
# @type ExchangeType: String
|
896
|
+
# @param VirtualHost: VHost参数
|
897
|
+
# @type VirtualHost: String
|
898
|
+
# @param ExchangeCreator: exchange 创建者, "system":"系统创建", "user":"用户创建"
|
899
|
+
# @type ExchangeCreator: String
|
900
|
+
# @param Arguments: 扩展参数 key-value 字符串
|
901
|
+
# @type Arguments: String
|
902
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
903
|
+
# @type RequestId: String
|
904
|
+
|
905
|
+
attr_accessor :ExchangeName, :Remark, :Durable, :AutoDelete, :Internal, :AlternateExchange, :ExchangeType, :VirtualHost, :ExchangeCreator, :Arguments, :RequestId
|
906
|
+
|
907
|
+
def initialize(exchangename=nil, remark=nil, durable=nil, autodelete=nil, internal=nil, alternateexchange=nil, exchangetype=nil, virtualhost=nil, exchangecreator=nil, arguments=nil, requestid=nil)
|
908
|
+
@ExchangeName = exchangename
|
909
|
+
@Remark = remark
|
910
|
+
@Durable = durable
|
911
|
+
@AutoDelete = autodelete
|
912
|
+
@Internal = internal
|
913
|
+
@AlternateExchange = alternateexchange
|
914
|
+
@ExchangeType = exchangetype
|
915
|
+
@VirtualHost = virtualhost
|
916
|
+
@ExchangeCreator = exchangecreator
|
917
|
+
@Arguments = arguments
|
918
|
+
@RequestId = requestid
|
919
|
+
end
|
920
|
+
|
921
|
+
def deserialize(params)
|
922
|
+
@ExchangeName = params['ExchangeName']
|
923
|
+
@Remark = params['Remark']
|
924
|
+
@Durable = params['Durable']
|
925
|
+
@AutoDelete = params['AutoDelete']
|
926
|
+
@Internal = params['Internal']
|
927
|
+
@AlternateExchange = params['AlternateExchange']
|
928
|
+
@ExchangeType = params['ExchangeType']
|
929
|
+
@VirtualHost = params['VirtualHost']
|
930
|
+
@ExchangeCreator = params['ExchangeCreator']
|
931
|
+
@Arguments = params['Arguments']
|
932
|
+
@RequestId = params['RequestId']
|
933
|
+
end
|
934
|
+
end
|
935
|
+
|
936
|
+
# DescribeRabbitMQServerlessExchanges请求参数结构体
|
937
|
+
class DescribeRabbitMQServerlessExchangesRequest < TencentCloud::Common::AbstractModel
|
938
|
+
# @param InstanceId: 实例 id
|
939
|
+
# @type InstanceId: String
|
940
|
+
# @param VirtualHost: vhost 参数
|
941
|
+
# @type VirtualHost: String
|
942
|
+
# @param Offset: 分页 offset
|
943
|
+
# @type Offset: Integer
|
944
|
+
# @param Limit: 分页 limit
|
945
|
+
# @type Limit: Integer
|
946
|
+
# @param SearchWord: 搜索关键词, 支持模糊匹配
|
947
|
+
# @type SearchWord: String
|
948
|
+
# @param ExchangeTypeFilters: 筛选 exchange 类型, 数组中每个元素为选中的过滤类型
|
949
|
+
# @type ExchangeTypeFilters: Array
|
950
|
+
# @param ExchangeCreatorFilters: 筛选 exchange 创建来源, "system":"系统创建", "user":"用户创建"
|
951
|
+
# @type ExchangeCreatorFilters: Array
|
952
|
+
# @param ExchangeName: exchange 名称,用于精确匹配
|
953
|
+
# @type ExchangeName: String
|
954
|
+
# @param SortElement: 排序依据的字段:
|
955
|
+
# MessageRateInOut - 生产消费速率之和;
|
956
|
+
# MessageRateIn - 生产速率;
|
957
|
+
# MessageRateOut - 消费速率;
|
958
|
+
# @type SortElement: String
|
959
|
+
# @param SortOrder: 排序顺序,ascend 或 descend
|
960
|
+
# @type SortOrder: String
|
961
|
+
|
962
|
+
attr_accessor :InstanceId, :VirtualHost, :Offset, :Limit, :SearchWord, :ExchangeTypeFilters, :ExchangeCreatorFilters, :ExchangeName, :SortElement, :SortOrder
|
963
|
+
|
964
|
+
def initialize(instanceid=nil, virtualhost=nil, offset=nil, limit=nil, searchword=nil, exchangetypefilters=nil, exchangecreatorfilters=nil, exchangename=nil, sortelement=nil, sortorder=nil)
|
965
|
+
@InstanceId = instanceid
|
966
|
+
@VirtualHost = virtualhost
|
967
|
+
@Offset = offset
|
968
|
+
@Limit = limit
|
969
|
+
@SearchWord = searchword
|
970
|
+
@ExchangeTypeFilters = exchangetypefilters
|
971
|
+
@ExchangeCreatorFilters = exchangecreatorfilters
|
972
|
+
@ExchangeName = exchangename
|
973
|
+
@SortElement = sortelement
|
974
|
+
@SortOrder = sortorder
|
975
|
+
end
|
976
|
+
|
977
|
+
def deserialize(params)
|
978
|
+
@InstanceId = params['InstanceId']
|
979
|
+
@VirtualHost = params['VirtualHost']
|
980
|
+
@Offset = params['Offset']
|
981
|
+
@Limit = params['Limit']
|
982
|
+
@SearchWord = params['SearchWord']
|
983
|
+
@ExchangeTypeFilters = params['ExchangeTypeFilters']
|
984
|
+
@ExchangeCreatorFilters = params['ExchangeCreatorFilters']
|
985
|
+
@ExchangeName = params['ExchangeName']
|
986
|
+
@SortElement = params['SortElement']
|
987
|
+
@SortOrder = params['SortOrder']
|
988
|
+
end
|
989
|
+
end
|
990
|
+
|
991
|
+
# DescribeRabbitMQServerlessExchanges返回参数结构体
|
992
|
+
class DescribeRabbitMQServerlessExchangesResponse < TencentCloud::Common::AbstractModel
|
993
|
+
# @param ExchangeInfoList: 交换机列表
|
994
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
995
|
+
# @type ExchangeInfoList: Array
|
996
|
+
# @param TotalCount: 交换机总数
|
997
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
998
|
+
# @type TotalCount: Integer
|
999
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1000
|
+
# @type RequestId: String
|
1001
|
+
|
1002
|
+
attr_accessor :ExchangeInfoList, :TotalCount, :RequestId
|
1003
|
+
|
1004
|
+
def initialize(exchangeinfolist=nil, totalcount=nil, requestid=nil)
|
1005
|
+
@ExchangeInfoList = exchangeinfolist
|
1006
|
+
@TotalCount = totalcount
|
1007
|
+
@RequestId = requestid
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
def deserialize(params)
|
1011
|
+
unless params['ExchangeInfoList'].nil?
|
1012
|
+
@ExchangeInfoList = []
|
1013
|
+
params['ExchangeInfoList'].each do |i|
|
1014
|
+
rabbitmqexchangelistinfo_tmp = RabbitMQExchangeListInfo.new
|
1015
|
+
rabbitmqexchangelistinfo_tmp.deserialize(i)
|
1016
|
+
@ExchangeInfoList << rabbitmqexchangelistinfo_tmp
|
1017
|
+
end
|
1018
|
+
end
|
1019
|
+
@TotalCount = params['TotalCount']
|
1020
|
+
@RequestId = params['RequestId']
|
1021
|
+
end
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
# DescribeRabbitMQServerlessInstance请求参数结构体
|
1025
|
+
class DescribeRabbitMQServerlessInstanceRequest < TencentCloud::Common::AbstractModel
|
1026
|
+
# @param InstanceId: 集群ID
|
1027
|
+
# @type InstanceId: String
|
1028
|
+
|
1029
|
+
attr_accessor :InstanceId
|
1030
|
+
|
1031
|
+
def initialize(instanceid=nil)
|
1032
|
+
@InstanceId = instanceid
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
def deserialize(params)
|
1036
|
+
@InstanceId = params['InstanceId']
|
1037
|
+
end
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
# DescribeRabbitMQServerlessInstance返回参数结构体
|
1041
|
+
class DescribeRabbitMQServerlessInstanceResponse < TencentCloud::Common::AbstractModel
|
1042
|
+
# @param ClusterInfo: 集群信息
|
1043
|
+
# @type ClusterInfo: :class:`Tencentcloud::Trabbit.v20230418.models.RabbitMQClusterInfo`
|
1044
|
+
# @param ClusterSpecInfo: 集群规格信息
|
1045
|
+
# @type ClusterSpecInfo: :class:`Tencentcloud::Trabbit.v20230418.models.RabbitMQClusterSpecInfo`
|
1046
|
+
# @param VirtualHostQuota: vhost配额信息
|
1047
|
+
# @type VirtualHostQuota: :class:`Tencentcloud::Trabbit.v20230418.models.VirtualHostQuota`
|
1048
|
+
# @param ExchangeQuota: exchange配额信息
|
1049
|
+
# @type ExchangeQuota: :class:`Tencentcloud::Trabbit.v20230418.models.ExchangeQuota`
|
1050
|
+
# @param QueueQuota: queue配额信息
|
1051
|
+
# @type QueueQuota: :class:`Tencentcloud::Trabbit.v20230418.models.QueueQuota`
|
1052
|
+
# @param ClusterNetInfo: 网络信息
|
1053
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1054
|
+
# @type ClusterNetInfo: :class:`Tencentcloud::Trabbit.v20230418.models.RabbitMQServerlessAccessInfo`
|
1055
|
+
# @param ClusterWhiteListInfo: 公网白名单信息
|
1056
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1057
|
+
# @type ClusterWhiteListInfo: :class:`Tencentcloud::Trabbit.v20230418.models.RabbitMQServerlessWhiteListInfo`
|
1058
|
+
# @param UserQuota: user配额信息
|
1059
|
+
# @type UserQuota: :class:`Tencentcloud::Trabbit.v20230418.models.UserQuota`
|
1060
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1061
|
+
# @type RequestId: String
|
1062
|
+
|
1063
|
+
attr_accessor :ClusterInfo, :ClusterSpecInfo, :VirtualHostQuota, :ExchangeQuota, :QueueQuota, :ClusterNetInfo, :ClusterWhiteListInfo, :UserQuota, :RequestId
|
1064
|
+
|
1065
|
+
def initialize(clusterinfo=nil, clusterspecinfo=nil, virtualhostquota=nil, exchangequota=nil, queuequota=nil, clusternetinfo=nil, clusterwhitelistinfo=nil, userquota=nil, requestid=nil)
|
1066
|
+
@ClusterInfo = clusterinfo
|
1067
|
+
@ClusterSpecInfo = clusterspecinfo
|
1068
|
+
@VirtualHostQuota = virtualhostquota
|
1069
|
+
@ExchangeQuota = exchangequota
|
1070
|
+
@QueueQuota = queuequota
|
1071
|
+
@ClusterNetInfo = clusternetinfo
|
1072
|
+
@ClusterWhiteListInfo = clusterwhitelistinfo
|
1073
|
+
@UserQuota = userquota
|
1074
|
+
@RequestId = requestid
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
def deserialize(params)
|
1078
|
+
unless params['ClusterInfo'].nil?
|
1079
|
+
@ClusterInfo = RabbitMQClusterInfo.new
|
1080
|
+
@ClusterInfo.deserialize(params['ClusterInfo'])
|
1081
|
+
end
|
1082
|
+
unless params['ClusterSpecInfo'].nil?
|
1083
|
+
@ClusterSpecInfo = RabbitMQClusterSpecInfo.new
|
1084
|
+
@ClusterSpecInfo.deserialize(params['ClusterSpecInfo'])
|
1085
|
+
end
|
1086
|
+
unless params['VirtualHostQuota'].nil?
|
1087
|
+
@VirtualHostQuota = VirtualHostQuota.new
|
1088
|
+
@VirtualHostQuota.deserialize(params['VirtualHostQuota'])
|
1089
|
+
end
|
1090
|
+
unless params['ExchangeQuota'].nil?
|
1091
|
+
@ExchangeQuota = ExchangeQuota.new
|
1092
|
+
@ExchangeQuota.deserialize(params['ExchangeQuota'])
|
1093
|
+
end
|
1094
|
+
unless params['QueueQuota'].nil?
|
1095
|
+
@QueueQuota = QueueQuota.new
|
1096
|
+
@QueueQuota.deserialize(params['QueueQuota'])
|
1097
|
+
end
|
1098
|
+
unless params['ClusterNetInfo'].nil?
|
1099
|
+
@ClusterNetInfo = RabbitMQServerlessAccessInfo.new
|
1100
|
+
@ClusterNetInfo.deserialize(params['ClusterNetInfo'])
|
1101
|
+
end
|
1102
|
+
unless params['ClusterWhiteListInfo'].nil?
|
1103
|
+
@ClusterWhiteListInfo = RabbitMQServerlessWhiteListInfo.new
|
1104
|
+
@ClusterWhiteListInfo.deserialize(params['ClusterWhiteListInfo'])
|
1105
|
+
end
|
1106
|
+
unless params['UserQuota'].nil?
|
1107
|
+
@UserQuota = UserQuota.new
|
1108
|
+
@UserQuota.deserialize(params['UserQuota'])
|
1109
|
+
end
|
1110
|
+
@RequestId = params['RequestId']
|
1111
|
+
end
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
# DescribeRabbitMQServerlessPermission请求参数结构体
|
1115
|
+
class DescribeRabbitMQServerlessPermissionRequest < TencentCloud::Common::AbstractModel
|
1116
|
+
# @param InstanceId: 集群实例id
|
1117
|
+
# @type InstanceId: String
|
1118
|
+
# @param User: 用户名,用于查询过滤,不传则查询全部
|
1119
|
+
# @type User: String
|
1120
|
+
# @param VirtualHost: vhost名,用于查询过滤,不传则查询全部
|
1121
|
+
# @type VirtualHost: String
|
1122
|
+
# @param Offset: 分页Offset
|
1123
|
+
# @type Offset: Integer
|
1124
|
+
# @param Limit: 分页Limit
|
1125
|
+
# @type Limit: Integer
|
1126
|
+
|
1127
|
+
attr_accessor :InstanceId, :User, :VirtualHost, :Offset, :Limit
|
1128
|
+
|
1129
|
+
def initialize(instanceid=nil, user=nil, virtualhost=nil, offset=nil, limit=nil)
|
1130
|
+
@InstanceId = instanceid
|
1131
|
+
@User = user
|
1132
|
+
@VirtualHost = virtualhost
|
1133
|
+
@Offset = offset
|
1134
|
+
@Limit = limit
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
def deserialize(params)
|
1138
|
+
@InstanceId = params['InstanceId']
|
1139
|
+
@User = params['User']
|
1140
|
+
@VirtualHost = params['VirtualHost']
|
1141
|
+
@Offset = params['Offset']
|
1142
|
+
@Limit = params['Limit']
|
1143
|
+
end
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# DescribeRabbitMQServerlessPermission返回参数结构体
|
1147
|
+
class DescribeRabbitMQServerlessPermissionResponse < TencentCloud::Common::AbstractModel
|
1148
|
+
# @param TotalCount: 返回权限数量
|
1149
|
+
# @type TotalCount: Integer
|
1150
|
+
# @param RabbitMQPermissionList: 权限详情列表
|
1151
|
+
# @type RabbitMQPermissionList: Array
|
1152
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1153
|
+
# @type RequestId: String
|
1154
|
+
|
1155
|
+
attr_accessor :TotalCount, :RabbitMQPermissionList, :RequestId
|
1156
|
+
|
1157
|
+
def initialize(totalcount=nil, rabbitmqpermissionlist=nil, requestid=nil)
|
1158
|
+
@TotalCount = totalcount
|
1159
|
+
@RabbitMQPermissionList = rabbitmqpermissionlist
|
1160
|
+
@RequestId = requestid
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
def deserialize(params)
|
1164
|
+
@TotalCount = params['TotalCount']
|
1165
|
+
unless params['RabbitMQPermissionList'].nil?
|
1166
|
+
@RabbitMQPermissionList = []
|
1167
|
+
params['RabbitMQPermissionList'].each do |i|
|
1168
|
+
rabbitmqpermission_tmp = RabbitMQPermission.new
|
1169
|
+
rabbitmqpermission_tmp.deserialize(i)
|
1170
|
+
@RabbitMQPermissionList << rabbitmqpermission_tmp
|
1171
|
+
end
|
1172
|
+
end
|
1173
|
+
@RequestId = params['RequestId']
|
1174
|
+
end
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
# DescribeRabbitMQServerlessQueueDetail请求参数结构体
|
1178
|
+
class DescribeRabbitMQServerlessQueueDetailRequest < TencentCloud::Common::AbstractModel
|
1179
|
+
# @param InstanceId: 实例Id
|
1180
|
+
# @type InstanceId: String
|
1181
|
+
# @param VirtualHost: Vhost参数
|
1182
|
+
# @type VirtualHost: String
|
1183
|
+
# @param QueueName: 队列名称
|
1184
|
+
# @type QueueName: String
|
1185
|
+
|
1186
|
+
attr_accessor :InstanceId, :VirtualHost, :QueueName
|
1187
|
+
|
1188
|
+
def initialize(instanceid=nil, virtualhost=nil, queuename=nil)
|
1189
|
+
@InstanceId = instanceid
|
1190
|
+
@VirtualHost = virtualhost
|
1191
|
+
@QueueName = queuename
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
def deserialize(params)
|
1195
|
+
@InstanceId = params['InstanceId']
|
1196
|
+
@VirtualHost = params['VirtualHost']
|
1197
|
+
@QueueName = params['QueueName']
|
1198
|
+
end
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
# DescribeRabbitMQServerlessQueueDetail返回参数结构体
|
1202
|
+
class DescribeRabbitMQServerlessQueueDetailResponse < TencentCloud::Common::AbstractModel
|
1203
|
+
# @param InstanceId: 实例id
|
1204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1205
|
+
# @type InstanceId: String
|
1206
|
+
# @param VirtualHost: Vhost参数
|
1207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1208
|
+
# @type VirtualHost: String
|
1209
|
+
# @param QueueName: 队列名称
|
1210
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1211
|
+
# @type QueueName: String
|
1212
|
+
# @param QueueType: 队列类型,取值classic或quorum
|
1213
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1214
|
+
# @type QueueType: String
|
1215
|
+
# @param Consumers: 在线消费者数量
|
1216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1217
|
+
# @type Consumers: Integer
|
1218
|
+
# @param Durable: 持久标记
|
1219
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1220
|
+
# @type Durable: Boolean
|
1221
|
+
# @param AutoDelete: 自动清除
|
1222
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1223
|
+
# @type AutoDelete: Boolean
|
1224
|
+
# @param Remark: 备注
|
1225
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1226
|
+
# @type Remark: String
|
1227
|
+
# @param MessageTTL: MessageTTL参数,classic类型专用
|
1228
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1229
|
+
# @type MessageTTL: Integer
|
1230
|
+
# @param AutoExpire: AutoExpire参数
|
1231
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1232
|
+
# @type AutoExpire: Integer
|
1233
|
+
# @param MaxLength: MaxLength参数
|
1234
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1235
|
+
# @type MaxLength: Integer
|
1236
|
+
# @param MaxLengthBytes: MaxLengthBytes参数
|
1237
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1238
|
+
# @type MaxLengthBytes: Integer
|
1239
|
+
# @param DeliveryLimit: DeliveryLimit参数,quorum类型专用
|
1240
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1241
|
+
# @type DeliveryLimit: Integer
|
1242
|
+
# @param OverflowBehaviour: OverflowBehaviour参数,取值为drop-head, reject-publish或reject-publish-dlx
|
1243
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1244
|
+
# @type OverflowBehaviour: String
|
1245
|
+
# @param DeadLetterExchange: DeadLetterExchange参数
|
1246
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1247
|
+
# @type DeadLetterExchange: String
|
1248
|
+
# @param DeadLetterRoutingKey: DeadLetterRoutingKey参数
|
1249
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1250
|
+
# @type DeadLetterRoutingKey: String
|
1251
|
+
# @param SingleActiveConsumer: SingleActiveConsumer参数
|
1252
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1253
|
+
# @type SingleActiveConsumer: Boolean
|
1254
|
+
# @param MaximumPriority: MaximumPriority参数,classic类型专用
|
1255
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1256
|
+
# @type MaximumPriority: Integer
|
1257
|
+
# @param LazyMode: LazyMode参数,classic类型专用
|
1258
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1259
|
+
# @type LazyMode: Boolean
|
1260
|
+
# @param MasterLocator: MasterLocator参数,classic类型专用
|
1261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1262
|
+
# @type MasterLocator: String
|
1263
|
+
# @param MaxInMemoryLength: MaxInMemoryLength参数,quorum类型专用
|
1264
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1265
|
+
# @type MaxInMemoryLength: Integer
|
1266
|
+
# @param MaxInMemoryBytes: MaxInMemoryBytes参数,quorum类型专用
|
1267
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1268
|
+
# @type MaxInMemoryBytes: Integer
|
1269
|
+
# @param CreateTime: 创建时间戳,单位秒
|
1270
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1271
|
+
# @type CreateTime: Integer
|
1272
|
+
# @param Node: 节点
|
1273
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1274
|
+
# @type Node: String
|
1275
|
+
# @param DeadLetterStrategy: 仲裁队列死信一致性策略
|
1276
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1277
|
+
# @type DeadLetterStrategy: String
|
1278
|
+
# @param QueueLeaderLocator: 仲裁队列的领导者选举策略
|
1279
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1280
|
+
# @type QueueLeaderLocator: String
|
1281
|
+
# @param QuorumInitialGroupSize: 仲裁队列的初始副本组大小
|
1282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1283
|
+
# @type QuorumInitialGroupSize: Integer
|
1284
|
+
# @param Exclusive: 是否为独占队列
|
1285
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1286
|
+
# @type Exclusive: Boolean
|
1287
|
+
# @param Policy: 生效的策略名
|
1288
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1289
|
+
# @type Policy: String
|
1290
|
+
# @param Arguments: 扩展参数 key-value
|
1291
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1292
|
+
# @type Arguments: String
|
1293
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1294
|
+
# @type RequestId: String
|
1295
|
+
|
1296
|
+
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, :DeadLetterStrategy, :QueueLeaderLocator, :QuorumInitialGroupSize, :Exclusive, :Policy, :Arguments, :RequestId
|
1297
|
+
|
1298
|
+
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, deadletterstrategy=nil, queueleaderlocator=nil, quoruminitialgroupsize=nil, exclusive=nil, policy=nil, arguments=nil, requestid=nil)
|
1299
|
+
@InstanceId = instanceid
|
1300
|
+
@VirtualHost = virtualhost
|
1301
|
+
@QueueName = queuename
|
1302
|
+
@QueueType = queuetype
|
1303
|
+
@Consumers = consumers
|
1304
|
+
@Durable = durable
|
1305
|
+
@AutoDelete = autodelete
|
1306
|
+
@Remark = remark
|
1307
|
+
@MessageTTL = messagettl
|
1308
|
+
@AutoExpire = autoexpire
|
1309
|
+
@MaxLength = maxlength
|
1310
|
+
@MaxLengthBytes = maxlengthbytes
|
1311
|
+
@DeliveryLimit = deliverylimit
|
1312
|
+
@OverflowBehaviour = overflowbehaviour
|
1313
|
+
@DeadLetterExchange = deadletterexchange
|
1314
|
+
@DeadLetterRoutingKey = deadletterroutingkey
|
1315
|
+
@SingleActiveConsumer = singleactiveconsumer
|
1316
|
+
@MaximumPriority = maximumpriority
|
1317
|
+
@LazyMode = lazymode
|
1318
|
+
@MasterLocator = masterlocator
|
1319
|
+
@MaxInMemoryLength = maxinmemorylength
|
1320
|
+
@MaxInMemoryBytes = maxinmemorybytes
|
1321
|
+
@CreateTime = createtime
|
1322
|
+
@Node = node
|
1323
|
+
@DeadLetterStrategy = deadletterstrategy
|
1324
|
+
@QueueLeaderLocator = queueleaderlocator
|
1325
|
+
@QuorumInitialGroupSize = quoruminitialgroupsize
|
1326
|
+
@Exclusive = exclusive
|
1327
|
+
@Policy = policy
|
1328
|
+
@Arguments = arguments
|
1329
|
+
@RequestId = requestid
|
1330
|
+
end
|
1331
|
+
|
1332
|
+
def deserialize(params)
|
1333
|
+
@InstanceId = params['InstanceId']
|
1334
|
+
@VirtualHost = params['VirtualHost']
|
1335
|
+
@QueueName = params['QueueName']
|
1336
|
+
@QueueType = params['QueueType']
|
1337
|
+
@Consumers = params['Consumers']
|
1338
|
+
@Durable = params['Durable']
|
1339
|
+
@AutoDelete = params['AutoDelete']
|
1340
|
+
@Remark = params['Remark']
|
1341
|
+
@MessageTTL = params['MessageTTL']
|
1342
|
+
@AutoExpire = params['AutoExpire']
|
1343
|
+
@MaxLength = params['MaxLength']
|
1344
|
+
@MaxLengthBytes = params['MaxLengthBytes']
|
1345
|
+
@DeliveryLimit = params['DeliveryLimit']
|
1346
|
+
@OverflowBehaviour = params['OverflowBehaviour']
|
1347
|
+
@DeadLetterExchange = params['DeadLetterExchange']
|
1348
|
+
@DeadLetterRoutingKey = params['DeadLetterRoutingKey']
|
1349
|
+
@SingleActiveConsumer = params['SingleActiveConsumer']
|
1350
|
+
@MaximumPriority = params['MaximumPriority']
|
1351
|
+
@LazyMode = params['LazyMode']
|
1352
|
+
@MasterLocator = params['MasterLocator']
|
1353
|
+
@MaxInMemoryLength = params['MaxInMemoryLength']
|
1354
|
+
@MaxInMemoryBytes = params['MaxInMemoryBytes']
|
1355
|
+
@CreateTime = params['CreateTime']
|
1356
|
+
@Node = params['Node']
|
1357
|
+
@DeadLetterStrategy = params['DeadLetterStrategy']
|
1358
|
+
@QueueLeaderLocator = params['QueueLeaderLocator']
|
1359
|
+
@QuorumInitialGroupSize = params['QuorumInitialGroupSize']
|
1360
|
+
@Exclusive = params['Exclusive']
|
1361
|
+
@Policy = params['Policy']
|
1362
|
+
@Arguments = params['Arguments']
|
1363
|
+
@RequestId = params['RequestId']
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1367
|
+
# DescribeRabbitMQServerlessQueues请求参数结构体
|
1368
|
+
class DescribeRabbitMQServerlessQueuesRequest < TencentCloud::Common::AbstractModel
|
1369
|
+
# @param InstanceId: 实例Id
|
1370
|
+
# @type InstanceId: String
|
1371
|
+
# @param VirtualHost: Vhost参数
|
1372
|
+
# @type VirtualHost: String
|
1373
|
+
# @param Offset: 分页Offset
|
1374
|
+
# @type Offset: Integer
|
1375
|
+
# @param Limit: 分页Limit
|
1376
|
+
# @type Limit: Integer
|
1377
|
+
# @param SearchWord: 搜索关键词
|
1378
|
+
# @type SearchWord: String
|
1379
|
+
# @param QueueType: 队列类型筛选,不填或 "all":classic 和 quorum 队列;"classic":筛选 classic 队列;"quorum":筛选 quorum 队列
|
1380
|
+
# @type QueueType: String
|
1381
|
+
# @param SortElement: 排序依据的字段:
|
1382
|
+
# ConsumerNumber - 在线消费者数量;
|
1383
|
+
# MessageHeapCount - 消息堆积数;
|
1384
|
+
# MessageRateInOut - 生产消费速率之和;
|
1385
|
+
# MessageRateIn - 生产速率;
|
1386
|
+
# MessageRateOut - 消费速率;
|
1387
|
+
# @type SortElement: String
|
1388
|
+
# @param SortOrder: 排序顺序,ascend 或 descend
|
1389
|
+
# @type SortOrder: String
|
1390
|
+
|
1391
|
+
attr_accessor :InstanceId, :VirtualHost, :Offset, :Limit, :SearchWord, :QueueType, :SortElement, :SortOrder
|
1392
|
+
|
1393
|
+
def initialize(instanceid=nil, virtualhost=nil, offset=nil, limit=nil, searchword=nil, queuetype=nil, sortelement=nil, sortorder=nil)
|
1394
|
+
@InstanceId = instanceid
|
1395
|
+
@VirtualHost = virtualhost
|
1396
|
+
@Offset = offset
|
1397
|
+
@Limit = limit
|
1398
|
+
@SearchWord = searchword
|
1399
|
+
@QueueType = queuetype
|
1400
|
+
@SortElement = sortelement
|
1401
|
+
@SortOrder = sortorder
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
def deserialize(params)
|
1405
|
+
@InstanceId = params['InstanceId']
|
1406
|
+
@VirtualHost = params['VirtualHost']
|
1407
|
+
@Offset = params['Offset']
|
1408
|
+
@Limit = params['Limit']
|
1409
|
+
@SearchWord = params['SearchWord']
|
1410
|
+
@QueueType = params['QueueType']
|
1411
|
+
@SortElement = params['SortElement']
|
1412
|
+
@SortOrder = params['SortOrder']
|
1413
|
+
end
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
# DescribeRabbitMQServerlessQueues返回参数结构体
|
1417
|
+
class DescribeRabbitMQServerlessQueuesResponse < TencentCloud::Common::AbstractModel
|
1418
|
+
# @param QueueInfoList: 队列列表信息
|
1419
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1420
|
+
# @type QueueInfoList: Array
|
1421
|
+
# @param TotalCount: 数量
|
1422
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1423
|
+
# @type TotalCount: Integer
|
1424
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1425
|
+
# @type RequestId: String
|
1426
|
+
|
1427
|
+
attr_accessor :QueueInfoList, :TotalCount, :RequestId
|
1428
|
+
|
1429
|
+
def initialize(queueinfolist=nil, totalcount=nil, requestid=nil)
|
1430
|
+
@QueueInfoList = queueinfolist
|
1431
|
+
@TotalCount = totalcount
|
1432
|
+
@RequestId = requestid
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
def deserialize(params)
|
1436
|
+
unless params['QueueInfoList'].nil?
|
1437
|
+
@QueueInfoList = []
|
1438
|
+
params['QueueInfoList'].each do |i|
|
1439
|
+
rabbitmqqueuelistinfo_tmp = RabbitMQQueueListInfo.new
|
1440
|
+
rabbitmqqueuelistinfo_tmp.deserialize(i)
|
1441
|
+
@QueueInfoList << rabbitmqqueuelistinfo_tmp
|
1442
|
+
end
|
1443
|
+
end
|
1444
|
+
@TotalCount = params['TotalCount']
|
1445
|
+
@RequestId = params['RequestId']
|
1446
|
+
end
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# DescribeRabbitMQServerlessUser请求参数结构体
|
1450
|
+
class DescribeRabbitMQServerlessUserRequest < TencentCloud::Common::AbstractModel
|
1451
|
+
# @param InstanceId: 集群实例Id
|
1452
|
+
# @type InstanceId: String
|
1453
|
+
# @param SearchUser: 用户名检索,支持前缀匹配,后缀匹配
|
1454
|
+
# @type SearchUser: String
|
1455
|
+
# @param Offset: 分页Offset
|
1456
|
+
# @type Offset: Integer
|
1457
|
+
# @param Limit: 分页Limit
|
1458
|
+
# @type Limit: Integer
|
1459
|
+
# @param User: 用户名,精确查询
|
1460
|
+
# @type User: String
|
1461
|
+
# @param Tags: 用户标签,根据标签过滤列表
|
1462
|
+
# @type Tags: Array
|
1463
|
+
|
1464
|
+
attr_accessor :InstanceId, :SearchUser, :Offset, :Limit, :User, :Tags
|
1465
|
+
|
1466
|
+
def initialize(instanceid=nil, searchuser=nil, offset=nil, limit=nil, user=nil, tags=nil)
|
1467
|
+
@InstanceId = instanceid
|
1468
|
+
@SearchUser = searchuser
|
1469
|
+
@Offset = offset
|
1470
|
+
@Limit = limit
|
1471
|
+
@User = user
|
1472
|
+
@Tags = tags
|
1473
|
+
end
|
1474
|
+
|
1475
|
+
def deserialize(params)
|
1476
|
+
@InstanceId = params['InstanceId']
|
1477
|
+
@SearchUser = params['SearchUser']
|
1478
|
+
@Offset = params['Offset']
|
1479
|
+
@Limit = params['Limit']
|
1480
|
+
@User = params['User']
|
1481
|
+
@Tags = params['Tags']
|
1482
|
+
end
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
# DescribeRabbitMQServerlessUser返回参数结构体
|
1486
|
+
class DescribeRabbitMQServerlessUserResponse < TencentCloud::Common::AbstractModel
|
1487
|
+
# @param TotalCount: 返回的User数量
|
1488
|
+
# @type TotalCount: Integer
|
1489
|
+
# @param RabbitMQUserList: 当前已创建的RabbitMQ用户列表
|
1490
|
+
# @type RabbitMQUserList: Array
|
1491
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1492
|
+
# @type RequestId: String
|
1493
|
+
|
1494
|
+
attr_accessor :TotalCount, :RabbitMQUserList, :RequestId
|
1495
|
+
|
1496
|
+
def initialize(totalcount=nil, rabbitmquserlist=nil, requestid=nil)
|
1497
|
+
@TotalCount = totalcount
|
1498
|
+
@RabbitMQUserList = rabbitmquserlist
|
1499
|
+
@RequestId = requestid
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
def deserialize(params)
|
1503
|
+
@TotalCount = params['TotalCount']
|
1504
|
+
unless params['RabbitMQUserList'].nil?
|
1505
|
+
@RabbitMQUserList = []
|
1506
|
+
params['RabbitMQUserList'].each do |i|
|
1507
|
+
rabbitmquser_tmp = RabbitMQUser.new
|
1508
|
+
rabbitmquser_tmp.deserialize(i)
|
1509
|
+
@RabbitMQUserList << rabbitmquser_tmp
|
1510
|
+
end
|
1511
|
+
end
|
1512
|
+
@RequestId = params['RequestId']
|
1513
|
+
end
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
# DescribeRabbitMQServerlessVirtualHost请求参数结构体
|
1517
|
+
class DescribeRabbitMQServerlessVirtualHostRequest < TencentCloud::Common::AbstractModel
|
1518
|
+
# @param InstanceId: 集群实例Id
|
1519
|
+
# @type InstanceId: String
|
1520
|
+
# @param VirtualHost: vhost名,不传则查询全部
|
1521
|
+
# @type VirtualHost: String
|
1522
|
+
# @param Offset: 分页Offset
|
1523
|
+
# @type Offset: Integer
|
1524
|
+
# @param Limit: 分页Limit
|
1525
|
+
# @type Limit: Integer
|
1526
|
+
# @param Filters: search-virtual-host:vhost名称模糊查询,之前前缀和后缀匹配
|
1527
|
+
# @type Filters: :class:`Tencentcloud::Trabbit.v20230418.models.Filter`
|
1528
|
+
# @param SortElement: 排序依据的字段:
|
1529
|
+
# MessageHeapCount - 消息堆积数;
|
1530
|
+
# MessageRateInOut - 生产消费速率之和;
|
1531
|
+
# MessageRateIn - 生产速率;
|
1532
|
+
# MessageRateOut - 消费速率;
|
1533
|
+
# @type SortElement: String
|
1534
|
+
# @param SortOrder: 排序顺序,ascend 或 descend
|
1535
|
+
# @type SortOrder: String
|
1536
|
+
|
1537
|
+
attr_accessor :InstanceId, :VirtualHost, :Offset, :Limit, :Filters, :SortElement, :SortOrder
|
1538
|
+
|
1539
|
+
def initialize(instanceid=nil, virtualhost=nil, offset=nil, limit=nil, filters=nil, sortelement=nil, sortorder=nil)
|
1540
|
+
@InstanceId = instanceid
|
1541
|
+
@VirtualHost = virtualhost
|
1542
|
+
@Offset = offset
|
1543
|
+
@Limit = limit
|
1544
|
+
@Filters = filters
|
1545
|
+
@SortElement = sortelement
|
1546
|
+
@SortOrder = sortorder
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
def deserialize(params)
|
1550
|
+
@InstanceId = params['InstanceId']
|
1551
|
+
@VirtualHost = params['VirtualHost']
|
1552
|
+
@Offset = params['Offset']
|
1553
|
+
@Limit = params['Limit']
|
1554
|
+
unless params['Filters'].nil?
|
1555
|
+
@Filters = Filter.new
|
1556
|
+
@Filters.deserialize(params['Filters'])
|
1557
|
+
end
|
1558
|
+
@SortElement = params['SortElement']
|
1559
|
+
@SortOrder = params['SortOrder']
|
1560
|
+
end
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
# DescribeRabbitMQServerlessVirtualHost返回参数结构体
|
1564
|
+
class DescribeRabbitMQServerlessVirtualHostResponse < TencentCloud::Common::AbstractModel
|
1565
|
+
# @param TotalCount: 返回vhost数量
|
1566
|
+
# @type TotalCount: Integer
|
1567
|
+
# @param VirtualHostList: vhost详情列表
|
1568
|
+
# @type VirtualHostList: Array
|
1569
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1570
|
+
# @type RequestId: String
|
1571
|
+
|
1572
|
+
attr_accessor :TotalCount, :VirtualHostList, :RequestId
|
1573
|
+
|
1574
|
+
def initialize(totalcount=nil, virtualhostlist=nil, requestid=nil)
|
1575
|
+
@TotalCount = totalcount
|
1576
|
+
@VirtualHostList = virtualhostlist
|
1577
|
+
@RequestId = requestid
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
def deserialize(params)
|
1581
|
+
@TotalCount = params['TotalCount']
|
1582
|
+
unless params['VirtualHostList'].nil?
|
1583
|
+
@VirtualHostList = []
|
1584
|
+
params['VirtualHostList'].each do |i|
|
1585
|
+
rabbitmqvirtualhostinfo_tmp = RabbitMQVirtualHostInfo.new
|
1586
|
+
rabbitmqvirtualhostinfo_tmp.deserialize(i)
|
1587
|
+
@VirtualHostList << rabbitmqvirtualhostinfo_tmp
|
1588
|
+
end
|
1589
|
+
end
|
1590
|
+
@RequestId = params['RequestId']
|
1591
|
+
end
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
# exchange使用配额信息
|
1595
|
+
class ExchangeQuota < TencentCloud::Common::AbstractModel
|
1596
|
+
# @param MaxExchange: 可创建最大exchange数
|
1597
|
+
# @type MaxExchange: Integer
|
1598
|
+
# @param UsedExchange: 已创建exchange数
|
1599
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1600
|
+
# @type UsedExchange: Integer
|
1601
|
+
|
1602
|
+
attr_accessor :MaxExchange, :UsedExchange
|
1603
|
+
|
1604
|
+
def initialize(maxexchange=nil, usedexchange=nil)
|
1605
|
+
@MaxExchange = maxexchange
|
1606
|
+
@UsedExchange = usedexchange
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
def deserialize(params)
|
1610
|
+
@MaxExchange = params['MaxExchange']
|
1611
|
+
@UsedExchange = params['UsedExchange']
|
1612
|
+
end
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
# 过滤参数
|
1616
|
+
class Filter < TencentCloud::Common::AbstractModel
|
1617
|
+
# @param Name: 过滤参数的名字
|
1618
|
+
# @type Name: String
|
1619
|
+
# @param Values: 数值
|
1620
|
+
# @type Values: Array
|
1621
|
+
|
1622
|
+
attr_accessor :Name, :Values
|
1623
|
+
|
1624
|
+
def initialize(name=nil, values=nil)
|
1625
|
+
@Name = name
|
1626
|
+
@Values = values
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
def deserialize(params)
|
1630
|
+
@Name = params['Name']
|
1631
|
+
@Values = params['Values']
|
1632
|
+
end
|
1633
|
+
end
|
1634
|
+
|
1635
|
+
# ListRabbitMQServerlessInstances请求参数结构体
|
1636
|
+
class ListRabbitMQServerlessInstancesRequest < TencentCloud::Common::AbstractModel
|
1637
|
+
# @param Filters: 过滤条件
|
1638
|
+
# @type Filters: Array
|
1639
|
+
# @param Limit: 翻页大小
|
1640
|
+
# @type Limit: Integer
|
1641
|
+
# @param Offset: 翻页的起始索引值
|
1642
|
+
# @type Offset: Integer
|
1643
|
+
|
1644
|
+
attr_accessor :Filters, :Limit, :Offset
|
1645
|
+
|
1646
|
+
def initialize(filters=nil, limit=nil, offset=nil)
|
1647
|
+
@Filters = filters
|
1648
|
+
@Limit = limit
|
1649
|
+
@Offset = offset
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
def deserialize(params)
|
1653
|
+
unless params['Filters'].nil?
|
1654
|
+
@Filters = []
|
1655
|
+
params['Filters'].each do |i|
|
1656
|
+
filter_tmp = Filter.new
|
1657
|
+
filter_tmp.deserialize(i)
|
1658
|
+
@Filters << filter_tmp
|
1659
|
+
end
|
1660
|
+
end
|
1661
|
+
@Limit = params['Limit']
|
1662
|
+
@Offset = params['Offset']
|
1663
|
+
end
|
1664
|
+
end
|
1665
|
+
|
1666
|
+
# ListRabbitMQServerlessInstances返回参数结构体
|
1667
|
+
class ListRabbitMQServerlessInstancesResponse < TencentCloud::Common::AbstractModel
|
1668
|
+
# @param Instances: 实例列表
|
1669
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1670
|
+
# @type Instances: Array
|
1671
|
+
# @param TotalCount: 总数
|
1672
|
+
# @type TotalCount: Integer
|
1673
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1674
|
+
# @type RequestId: String
|
1675
|
+
|
1676
|
+
attr_accessor :Instances, :TotalCount, :RequestId
|
1677
|
+
|
1678
|
+
def initialize(instances=nil, totalcount=nil, requestid=nil)
|
1679
|
+
@Instances = instances
|
1680
|
+
@TotalCount = totalcount
|
1681
|
+
@RequestId = requestid
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
def deserialize(params)
|
1685
|
+
unless params['Instances'].nil?
|
1686
|
+
@Instances = []
|
1687
|
+
params['Instances'].each do |i|
|
1688
|
+
rabbitmqserverlessinstance_tmp = RabbitMQServerlessInstance.new
|
1689
|
+
rabbitmqserverlessinstance_tmp.deserialize(i)
|
1690
|
+
@Instances << rabbitmqserverlessinstance_tmp
|
1691
|
+
end
|
1692
|
+
end
|
1693
|
+
@TotalCount = params['TotalCount']
|
1694
|
+
@RequestId = params['RequestId']
|
1695
|
+
end
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
# ModifyRabbitMQServerlessExchange请求参数结构体
|
1699
|
+
class ModifyRabbitMQServerlessExchangeRequest < TencentCloud::Common::AbstractModel
|
1700
|
+
# @param InstanceId: 实例 id
|
1701
|
+
# @type InstanceId: String
|
1702
|
+
# @param VirtualHost: vhost 参数
|
1703
|
+
# @type VirtualHost: String
|
1704
|
+
# @param ExchangeName: exchange 名称
|
1705
|
+
# @type ExchangeName: String
|
1706
|
+
# @param Remark: 备注信息
|
1707
|
+
# @type Remark: String
|
1708
|
+
|
1709
|
+
attr_accessor :InstanceId, :VirtualHost, :ExchangeName, :Remark
|
1710
|
+
|
1711
|
+
def initialize(instanceid=nil, virtualhost=nil, exchangename=nil, remark=nil)
|
1712
|
+
@InstanceId = instanceid
|
1713
|
+
@VirtualHost = virtualhost
|
1714
|
+
@ExchangeName = exchangename
|
1715
|
+
@Remark = remark
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
def deserialize(params)
|
1719
|
+
@InstanceId = params['InstanceId']
|
1720
|
+
@VirtualHost = params['VirtualHost']
|
1721
|
+
@ExchangeName = params['ExchangeName']
|
1722
|
+
@Remark = params['Remark']
|
1723
|
+
end
|
1724
|
+
end
|
1725
|
+
|
1726
|
+
# ModifyRabbitMQServerlessExchange返回参数结构体
|
1727
|
+
class ModifyRabbitMQServerlessExchangeResponse < TencentCloud::Common::AbstractModel
|
1728
|
+
# @param ExchangeName: exchange 名称
|
1729
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1730
|
+
# @type ExchangeName: String
|
1731
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1732
|
+
# @type RequestId: String
|
1733
|
+
|
1734
|
+
attr_accessor :ExchangeName, :RequestId
|
1735
|
+
|
1736
|
+
def initialize(exchangename=nil, requestid=nil)
|
1737
|
+
@ExchangeName = exchangename
|
1738
|
+
@RequestId = requestid
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
def deserialize(params)
|
1742
|
+
@ExchangeName = params['ExchangeName']
|
1743
|
+
@RequestId = params['RequestId']
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
# ModifyRabbitMQServerlessInstance请求参数结构体
|
1748
|
+
class ModifyRabbitMQServerlessInstanceRequest < TencentCloud::Common::AbstractModel
|
1749
|
+
# @param InstanceId: 实例id
|
1750
|
+
# @type InstanceId: String
|
1751
|
+
# @param ClusterName: 集群名
|
1752
|
+
# @type ClusterName: String
|
1753
|
+
# @param Remark: 备注信息
|
1754
|
+
# @type Remark: String
|
1755
|
+
# @param TraceFlag: 是否开启trace
|
1756
|
+
# @type TraceFlag: Boolean
|
1757
|
+
|
1758
|
+
attr_accessor :InstanceId, :ClusterName, :Remark, :TraceFlag
|
1759
|
+
|
1760
|
+
def initialize(instanceid=nil, clustername=nil, remark=nil, traceflag=nil)
|
1761
|
+
@InstanceId = instanceid
|
1762
|
+
@ClusterName = clustername
|
1763
|
+
@Remark = remark
|
1764
|
+
@TraceFlag = traceflag
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
def deserialize(params)
|
1768
|
+
@InstanceId = params['InstanceId']
|
1769
|
+
@ClusterName = params['ClusterName']
|
1770
|
+
@Remark = params['Remark']
|
1771
|
+
@TraceFlag = params['TraceFlag']
|
1772
|
+
end
|
1773
|
+
end
|
1774
|
+
|
1775
|
+
# ModifyRabbitMQServerlessInstance返回参数结构体
|
1776
|
+
class ModifyRabbitMQServerlessInstanceResponse < TencentCloud::Common::AbstractModel
|
1777
|
+
# @param InstanceId: 实例id
|
1778
|
+
# @type InstanceId: String
|
1779
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1780
|
+
# @type RequestId: String
|
1781
|
+
|
1782
|
+
attr_accessor :InstanceId, :RequestId
|
1783
|
+
|
1784
|
+
def initialize(instanceid=nil, requestid=nil)
|
1785
|
+
@InstanceId = instanceid
|
1786
|
+
@RequestId = requestid
|
1787
|
+
end
|
1788
|
+
|
1789
|
+
def deserialize(params)
|
1790
|
+
@InstanceId = params['InstanceId']
|
1791
|
+
@RequestId = params['RequestId']
|
1792
|
+
end
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
# ModifyRabbitMQServerlessPermission请求参数结构体
|
1796
|
+
class ModifyRabbitMQServerlessPermissionRequest < TencentCloud::Common::AbstractModel
|
1797
|
+
# @param InstanceId: 集群实例Id
|
1798
|
+
# @type InstanceId: String
|
1799
|
+
# @param User: 用户名,权限关联的用户
|
1800
|
+
# @type User: String
|
1801
|
+
# @param VirtualHost: vhost名
|
1802
|
+
# @type VirtualHost: String
|
1803
|
+
# @param ConfigRegexp: 权限类型,declare相关操作,该用户可操作该vhost下的资源名称正则表达式
|
1804
|
+
# @type ConfigRegexp: String
|
1805
|
+
# @param WriteRegexp: 权限类型,消息写入相关操作,该用户可操作该vhost下的资源名称正则表达式
|
1806
|
+
# @type WriteRegexp: String
|
1807
|
+
# @param ReadRegexp: 权限类型,消息读取相关操作,该用户可操作该vhost下的资源名称正则表达式
|
1808
|
+
# @type ReadRegexp: String
|
1809
|
+
|
1810
|
+
attr_accessor :InstanceId, :User, :VirtualHost, :ConfigRegexp, :WriteRegexp, :ReadRegexp
|
1811
|
+
|
1812
|
+
def initialize(instanceid=nil, user=nil, virtualhost=nil, configregexp=nil, writeregexp=nil, readregexp=nil)
|
1813
|
+
@InstanceId = instanceid
|
1814
|
+
@User = user
|
1815
|
+
@VirtualHost = virtualhost
|
1816
|
+
@ConfigRegexp = configregexp
|
1817
|
+
@WriteRegexp = writeregexp
|
1818
|
+
@ReadRegexp = readregexp
|
1819
|
+
end
|
1820
|
+
|
1821
|
+
def deserialize(params)
|
1822
|
+
@InstanceId = params['InstanceId']
|
1823
|
+
@User = params['User']
|
1824
|
+
@VirtualHost = params['VirtualHost']
|
1825
|
+
@ConfigRegexp = params['ConfigRegexp']
|
1826
|
+
@WriteRegexp = params['WriteRegexp']
|
1827
|
+
@ReadRegexp = params['ReadRegexp']
|
1828
|
+
end
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
# ModifyRabbitMQServerlessPermission返回参数结构体
|
1832
|
+
class ModifyRabbitMQServerlessPermissionResponse < TencentCloud::Common::AbstractModel
|
1833
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1834
|
+
# @type RequestId: String
|
1835
|
+
|
1836
|
+
attr_accessor :RequestId
|
1837
|
+
|
1838
|
+
def initialize(requestid=nil)
|
1839
|
+
@RequestId = requestid
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
def deserialize(params)
|
1843
|
+
@RequestId = params['RequestId']
|
1844
|
+
end
|
1845
|
+
end
|
1846
|
+
|
1847
|
+
# ModifyRabbitMQServerlessQueue请求参数结构体
|
1848
|
+
class ModifyRabbitMQServerlessQueueRequest < TencentCloud::Common::AbstractModel
|
1849
|
+
# @param InstanceId: 实例Id
|
1850
|
+
# @type InstanceId: String
|
1851
|
+
# @param VirtualHost: Vhost参数
|
1852
|
+
# @type VirtualHost: String
|
1853
|
+
# @param QueueName: 队列名称
|
1854
|
+
# @type QueueName: String
|
1855
|
+
# @param Remark: 新修改的备注
|
1856
|
+
# @type Remark: String
|
1857
|
+
|
1858
|
+
attr_accessor :InstanceId, :VirtualHost, :QueueName, :Remark
|
1859
|
+
|
1860
|
+
def initialize(instanceid=nil, virtualhost=nil, queuename=nil, remark=nil)
|
1861
|
+
@InstanceId = instanceid
|
1862
|
+
@VirtualHost = virtualhost
|
1863
|
+
@QueueName = queuename
|
1864
|
+
@Remark = remark
|
1865
|
+
end
|
1866
|
+
|
1867
|
+
def deserialize(params)
|
1868
|
+
@InstanceId = params['InstanceId']
|
1869
|
+
@VirtualHost = params['VirtualHost']
|
1870
|
+
@QueueName = params['QueueName']
|
1871
|
+
@Remark = params['Remark']
|
1872
|
+
end
|
1873
|
+
end
|
1874
|
+
|
1875
|
+
# ModifyRabbitMQServerlessQueue返回参数结构体
|
1876
|
+
class ModifyRabbitMQServerlessQueueResponse < TencentCloud::Common::AbstractModel
|
1877
|
+
# @param QueueName: 队列名称
|
1878
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1879
|
+
# @type QueueName: String
|
1880
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1881
|
+
# @type RequestId: String
|
1882
|
+
|
1883
|
+
attr_accessor :QueueName, :RequestId
|
1884
|
+
|
1885
|
+
def initialize(queuename=nil, requestid=nil)
|
1886
|
+
@QueueName = queuename
|
1887
|
+
@RequestId = requestid
|
1888
|
+
end
|
1889
|
+
|
1890
|
+
def deserialize(params)
|
1891
|
+
@QueueName = params['QueueName']
|
1892
|
+
@RequestId = params['RequestId']
|
1893
|
+
end
|
1894
|
+
end
|
1895
|
+
|
1896
|
+
# ModifyRabbitMQServerlessUser请求参数结构体
|
1897
|
+
class ModifyRabbitMQServerlessUserRequest < TencentCloud::Common::AbstractModel
|
1898
|
+
# @param InstanceId: 集群实例Id
|
1899
|
+
# @type InstanceId: String
|
1900
|
+
# @param User: 用户名
|
1901
|
+
# @type User: String
|
1902
|
+
# @param Password: 密码
|
1903
|
+
# @type Password: String
|
1904
|
+
# @param Description: 描述,不传则不修改
|
1905
|
+
# @type Description: String
|
1906
|
+
# @param Tags: 用户标签,用于决定改用户访问RabbitMQ Management的权限范围,不传则不修改
|
1907
|
+
# @type Tags: Array
|
1908
|
+
# @param MaxConnections: 该用户的最大连接数,不传则不修改
|
1909
|
+
# @type MaxConnections: Integer
|
1910
|
+
# @param MaxChannels: 该用户的最大channel数,不传则不修改
|
1911
|
+
# @type MaxChannels: Integer
|
1912
|
+
|
1913
|
+
attr_accessor :InstanceId, :User, :Password, :Description, :Tags, :MaxConnections, :MaxChannels
|
1914
|
+
|
1915
|
+
def initialize(instanceid=nil, user=nil, password=nil, description=nil, tags=nil, maxconnections=nil, maxchannels=nil)
|
1916
|
+
@InstanceId = instanceid
|
1917
|
+
@User = user
|
1918
|
+
@Password = password
|
1919
|
+
@Description = description
|
1920
|
+
@Tags = tags
|
1921
|
+
@MaxConnections = maxconnections
|
1922
|
+
@MaxChannels = maxchannels
|
1923
|
+
end
|
1924
|
+
|
1925
|
+
def deserialize(params)
|
1926
|
+
@InstanceId = params['InstanceId']
|
1927
|
+
@User = params['User']
|
1928
|
+
@Password = params['Password']
|
1929
|
+
@Description = params['Description']
|
1930
|
+
@Tags = params['Tags']
|
1931
|
+
@MaxConnections = params['MaxConnections']
|
1932
|
+
@MaxChannels = params['MaxChannels']
|
1933
|
+
end
|
1934
|
+
end
|
1935
|
+
|
1936
|
+
# ModifyRabbitMQServerlessUser返回参数结构体
|
1937
|
+
class ModifyRabbitMQServerlessUserResponse < TencentCloud::Common::AbstractModel
|
1938
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1939
|
+
# @type RequestId: String
|
1940
|
+
|
1941
|
+
attr_accessor :RequestId
|
1942
|
+
|
1943
|
+
def initialize(requestid=nil)
|
1944
|
+
@RequestId = requestid
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
def deserialize(params)
|
1948
|
+
@RequestId = params['RequestId']
|
1949
|
+
end
|
1950
|
+
end
|
1951
|
+
|
1952
|
+
# ModifyRabbitMQServerlessVirtualHost请求参数结构体
|
1953
|
+
class ModifyRabbitMQServerlessVirtualHostRequest < TencentCloud::Common::AbstractModel
|
1954
|
+
# @param InstanceId: 集群实例Id
|
1955
|
+
# @type InstanceId: String
|
1956
|
+
# @param VirtualHost: vhost名
|
1957
|
+
# @type VirtualHost: String
|
1958
|
+
# @param Description: vhost描述信息
|
1959
|
+
# @type Description: String
|
1960
|
+
# @param TraceFlag: 消息轨迹开关,true打开,false关闭
|
1961
|
+
# @type TraceFlag: Boolean
|
1962
|
+
|
1963
|
+
attr_accessor :InstanceId, :VirtualHost, :Description, :TraceFlag
|
1964
|
+
|
1965
|
+
def initialize(instanceid=nil, virtualhost=nil, description=nil, traceflag=nil)
|
1966
|
+
@InstanceId = instanceid
|
1967
|
+
@VirtualHost = virtualhost
|
1968
|
+
@Description = description
|
1969
|
+
@TraceFlag = traceflag
|
1970
|
+
end
|
1971
|
+
|
1972
|
+
def deserialize(params)
|
1973
|
+
@InstanceId = params['InstanceId']
|
1974
|
+
@VirtualHost = params['VirtualHost']
|
1975
|
+
@Description = params['Description']
|
1976
|
+
@TraceFlag = params['TraceFlag']
|
1977
|
+
end
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
# ModifyRabbitMQServerlessVirtualHost返回参数结构体
|
1981
|
+
class ModifyRabbitMQServerlessVirtualHostResponse < TencentCloud::Common::AbstractModel
|
1982
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1983
|
+
# @type RequestId: String
|
1984
|
+
|
1985
|
+
attr_accessor :RequestId
|
1986
|
+
|
1987
|
+
def initialize(requestid=nil)
|
1988
|
+
@RequestId = requestid
|
1989
|
+
end
|
1990
|
+
|
1991
|
+
def deserialize(params)
|
1992
|
+
@RequestId = params['RequestId']
|
1993
|
+
end
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
# queue使用配额信息
|
1997
|
+
class QueueQuota < TencentCloud::Common::AbstractModel
|
1998
|
+
# @param MaxQueue: 可创建最大Queue数
|
1999
|
+
# @type MaxQueue: Integer
|
2000
|
+
# @param UsedQueue: 已创建Queue数
|
2001
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2002
|
+
# @type UsedQueue: Integer
|
2003
|
+
|
2004
|
+
attr_accessor :MaxQueue, :UsedQueue
|
2005
|
+
|
2006
|
+
def initialize(maxqueue=nil, usedqueue=nil)
|
2007
|
+
@MaxQueue = maxqueue
|
2008
|
+
@UsedQueue = usedqueue
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
def deserialize(params)
|
2012
|
+
@MaxQueue = params['MaxQueue']
|
2013
|
+
@UsedQueue = params['UsedQueue']
|
2014
|
+
end
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
# Rabbitmq路由关系列表成员
|
2018
|
+
class RabbitMQBindingListInfo < TencentCloud::Common::AbstractModel
|
2019
|
+
# @param BindingId: 路由关系id
|
2020
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2021
|
+
# @type BindingId: Integer
|
2022
|
+
# @param VirtualHost: Vhost参数
|
2023
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2024
|
+
# @type VirtualHost: String
|
2025
|
+
# @param Source: 源exchange名称
|
2026
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2027
|
+
# @type Source: String
|
2028
|
+
# @param DestinationType: 目标类型,queue或exchange
|
2029
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2030
|
+
# @type DestinationType: String
|
2031
|
+
# @param Destination: 目标资源名称
|
2032
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2033
|
+
# @type Destination: String
|
2034
|
+
# @param RoutingKey: 绑定key
|
2035
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2036
|
+
# @type RoutingKey: String
|
2037
|
+
# @param SourceExchangeType: 源exchange类型
|
2038
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2039
|
+
# @type SourceExchangeType: String
|
2040
|
+
# @param CreateTime: 创建时间
|
2041
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2042
|
+
# @type CreateTime: String
|
2043
|
+
# @param ModifyTime: 修改时间
|
2044
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2045
|
+
# @type ModifyTime: String
|
2046
|
+
|
2047
|
+
attr_accessor :BindingId, :VirtualHost, :Source, :DestinationType, :Destination, :RoutingKey, :SourceExchangeType, :CreateTime, :ModifyTime
|
2048
|
+
|
2049
|
+
def initialize(bindingid=nil, virtualhost=nil, source=nil, destinationtype=nil, destination=nil, routingkey=nil, sourceexchangetype=nil, createtime=nil, modifytime=nil)
|
2050
|
+
@BindingId = bindingid
|
2051
|
+
@VirtualHost = virtualhost
|
2052
|
+
@Source = source
|
2053
|
+
@DestinationType = destinationtype
|
2054
|
+
@Destination = destination
|
2055
|
+
@RoutingKey = routingkey
|
2056
|
+
@SourceExchangeType = sourceexchangetype
|
2057
|
+
@CreateTime = createtime
|
2058
|
+
@ModifyTime = modifytime
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
def deserialize(params)
|
2062
|
+
@BindingId = params['BindingId']
|
2063
|
+
@VirtualHost = params['VirtualHost']
|
2064
|
+
@Source = params['Source']
|
2065
|
+
@DestinationType = params['DestinationType']
|
2066
|
+
@Destination = params['Destination']
|
2067
|
+
@RoutingKey = params['RoutingKey']
|
2068
|
+
@SourceExchangeType = params['SourceExchangeType']
|
2069
|
+
@CreateTime = params['CreateTime']
|
2070
|
+
@ModifyTime = params['ModifyTime']
|
2071
|
+
end
|
2072
|
+
end
|
2073
|
+
|
2074
|
+
# RabbiteMQ集群基本信息
|
2075
|
+
class RabbitMQClusterInfo < TencentCloud::Common::AbstractModel
|
2076
|
+
# @param ClusterId: 集群ID
|
2077
|
+
# @type ClusterId: String
|
2078
|
+
# @param ClusterName: 集群名称
|
2079
|
+
# @type ClusterName: String
|
2080
|
+
# @param Region: 地域信息
|
2081
|
+
# @type Region: String
|
2082
|
+
# @param CreateTime: 创建时间,毫秒为单位
|
2083
|
+
# @type CreateTime: Integer
|
2084
|
+
# @param Remark: 集群说明信息
|
2085
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2086
|
+
# @type Remark: String
|
2087
|
+
# @param Vpcs: VPC及网络信息
|
2088
|
+
# @type Vpcs: Array
|
2089
|
+
# @param ZoneIds: 可用区信息
|
2090
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2091
|
+
# @type ZoneIds: Array
|
2092
|
+
# @param VirtualHostNumber: 虚拟主机数量
|
2093
|
+
# @type VirtualHostNumber: Integer
|
2094
|
+
# @param QueueNumber: 队列数量
|
2095
|
+
# @type QueueNumber: Integer
|
2096
|
+
# @param MessagePublishRate: 每秒生产消息数 单位:条/秒
|
2097
|
+
# @type MessagePublishRate: Float
|
2098
|
+
# @param MessageStackNumber: 堆积消息数 单位:条
|
2099
|
+
# @type MessageStackNumber: Integer
|
2100
|
+
# @param ExpireTime: 过期时间
|
2101
|
+
# @type ExpireTime: Integer
|
2102
|
+
# @param ChannelNumber: Channel数量
|
2103
|
+
# @type ChannelNumber: Integer
|
2104
|
+
# @param ConnectionNumber: Connection数量
|
2105
|
+
# @type ConnectionNumber: Integer
|
2106
|
+
# @param ConsumerNumber: Consumer数量
|
2107
|
+
# @type ConsumerNumber: Integer
|
2108
|
+
# @param ExchangeNumber: Exchang数量
|
2109
|
+
# @type ExchangeNumber: Integer
|
2110
|
+
# @param ExceptionInformation: 集群异常信息
|
2111
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2112
|
+
# @type ExceptionInformation: String
|
2113
|
+
# @param ClusterStatus: 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
|
2114
|
+
# @type ClusterStatus: Integer
|
2115
|
+
# @param AutoRenewFlag: 自动续费标记,0表示默认状态(用户未设置,即初始状态即手动续费), 1表示自动续费,2表示明确不自动续费(用户设置)
|
2116
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2117
|
+
# @type AutoRenewFlag: Integer
|
2118
|
+
# @param MirrorQueuePolicyFlag: 是否开启镜像队列策略。1表示开启,0表示没开启。
|
2119
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2120
|
+
# @type MirrorQueuePolicyFlag: Integer
|
2121
|
+
# @param MessageConsumeRate: 每秒消费消息数 单位:条/秒
|
2122
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2123
|
+
# @type MessageConsumeRate: Float
|
2124
|
+
# @param ClusterVersion: 集群版本信息
|
2125
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2126
|
+
# @type ClusterVersion: String
|
2127
|
+
# @param PayMode: 计费模式,0-后付费,1-预付费
|
2128
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2129
|
+
# @type PayMode: Integer
|
2130
|
+
# @param InstanceType: 集群类型
|
2131
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2132
|
+
# @type InstanceType: Integer
|
2133
|
+
# @param MessageRetainTime: 消息保留时间,单位小时
|
2134
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2135
|
+
# @type MessageRetainTime: Integer
|
2136
|
+
|
2137
|
+
attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :Vpcs, :ZoneIds, :VirtualHostNumber, :QueueNumber, :MessagePublishRate, :MessageStackNumber, :ExpireTime, :ChannelNumber, :ConnectionNumber, :ConsumerNumber, :ExchangeNumber, :ExceptionInformation, :ClusterStatus, :AutoRenewFlag, :MirrorQueuePolicyFlag, :MessageConsumeRate, :ClusterVersion, :PayMode, :InstanceType, :MessageRetainTime
|
2138
|
+
|
2139
|
+
def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, vpcs=nil, zoneids=nil, virtualhostnumber=nil, queuenumber=nil, messagepublishrate=nil, messagestacknumber=nil, expiretime=nil, channelnumber=nil, connectionnumber=nil, consumernumber=nil, exchangenumber=nil, exceptioninformation=nil, clusterstatus=nil, autorenewflag=nil, mirrorqueuepolicyflag=nil, messageconsumerate=nil, clusterversion=nil, paymode=nil, instancetype=nil, messageretaintime=nil)
|
2140
|
+
@ClusterId = clusterid
|
2141
|
+
@ClusterName = clustername
|
2142
|
+
@Region = region
|
2143
|
+
@CreateTime = createtime
|
2144
|
+
@Remark = remark
|
2145
|
+
@Vpcs = vpcs
|
2146
|
+
@ZoneIds = zoneids
|
2147
|
+
@VirtualHostNumber = virtualhostnumber
|
2148
|
+
@QueueNumber = queuenumber
|
2149
|
+
@MessagePublishRate = messagepublishrate
|
2150
|
+
@MessageStackNumber = messagestacknumber
|
2151
|
+
@ExpireTime = expiretime
|
2152
|
+
@ChannelNumber = channelnumber
|
2153
|
+
@ConnectionNumber = connectionnumber
|
2154
|
+
@ConsumerNumber = consumernumber
|
2155
|
+
@ExchangeNumber = exchangenumber
|
2156
|
+
@ExceptionInformation = exceptioninformation
|
2157
|
+
@ClusterStatus = clusterstatus
|
2158
|
+
@AutoRenewFlag = autorenewflag
|
2159
|
+
@MirrorQueuePolicyFlag = mirrorqueuepolicyflag
|
2160
|
+
@MessageConsumeRate = messageconsumerate
|
2161
|
+
@ClusterVersion = clusterversion
|
2162
|
+
@PayMode = paymode
|
2163
|
+
@InstanceType = instancetype
|
2164
|
+
@MessageRetainTime = messageretaintime
|
2165
|
+
end
|
2166
|
+
|
2167
|
+
def deserialize(params)
|
2168
|
+
@ClusterId = params['ClusterId']
|
2169
|
+
@ClusterName = params['ClusterName']
|
2170
|
+
@Region = params['Region']
|
2171
|
+
@CreateTime = params['CreateTime']
|
2172
|
+
@Remark = params['Remark']
|
2173
|
+
unless params['Vpcs'].nil?
|
2174
|
+
@Vpcs = []
|
2175
|
+
params['Vpcs'].each do |i|
|
2176
|
+
vpcendpointinfo_tmp = VpcEndpointInfo.new
|
2177
|
+
vpcendpointinfo_tmp.deserialize(i)
|
2178
|
+
@Vpcs << vpcendpointinfo_tmp
|
2179
|
+
end
|
2180
|
+
end
|
2181
|
+
@ZoneIds = params['ZoneIds']
|
2182
|
+
@VirtualHostNumber = params['VirtualHostNumber']
|
2183
|
+
@QueueNumber = params['QueueNumber']
|
2184
|
+
@MessagePublishRate = params['MessagePublishRate']
|
2185
|
+
@MessageStackNumber = params['MessageStackNumber']
|
2186
|
+
@ExpireTime = params['ExpireTime']
|
2187
|
+
@ChannelNumber = params['ChannelNumber']
|
2188
|
+
@ConnectionNumber = params['ConnectionNumber']
|
2189
|
+
@ConsumerNumber = params['ConsumerNumber']
|
2190
|
+
@ExchangeNumber = params['ExchangeNumber']
|
2191
|
+
@ExceptionInformation = params['ExceptionInformation']
|
2192
|
+
@ClusterStatus = params['ClusterStatus']
|
2193
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
2194
|
+
@MirrorQueuePolicyFlag = params['MirrorQueuePolicyFlag']
|
2195
|
+
@MessageConsumeRate = params['MessageConsumeRate']
|
2196
|
+
@ClusterVersion = params['ClusterVersion']
|
2197
|
+
@PayMode = params['PayMode']
|
2198
|
+
@InstanceType = params['InstanceType']
|
2199
|
+
@MessageRetainTime = params['MessageRetainTime']
|
2200
|
+
end
|
2201
|
+
end
|
2202
|
+
|
2203
|
+
# RabbitMQ集群规格信息
|
2204
|
+
class RabbitMQClusterSpecInfo < TencentCloud::Common::AbstractModel
|
2205
|
+
# @param SpecName: 集群规格名称
|
2206
|
+
# @type SpecName: String
|
2207
|
+
# @param MaxTps: 峰值tps
|
2208
|
+
# @type MaxTps: Integer
|
2209
|
+
# @param MaxQueueNum: 最大队列数
|
2210
|
+
# @type MaxQueueNum: Integer
|
2211
|
+
# @param MaxExchangeNum: 最大交换机数
|
2212
|
+
# @type MaxExchangeNum: Integer
|
2213
|
+
# @param MaxVhostNum: 最大vhost数
|
2214
|
+
# @type MaxVhostNum: Integer
|
2215
|
+
# @param MaxConnNum: 最大连接数
|
2216
|
+
# @type MaxConnNum: Integer
|
2217
|
+
# @param MaxUserNum: 最大用户数
|
2218
|
+
# @type MaxUserNum: Integer
|
2219
|
+
# @param MaxBandWidth: 峰值带宽,已废弃
|
2220
|
+
# @type MaxBandWidth: Integer
|
2221
|
+
# @param PublicNetworkTps: 公网带宽,已废弃
|
2222
|
+
# @type PublicNetworkTps: Integer
|
2223
|
+
|
2224
|
+
attr_accessor :SpecName, :MaxTps, :MaxQueueNum, :MaxExchangeNum, :MaxVhostNum, :MaxConnNum, :MaxUserNum, :MaxBandWidth, :PublicNetworkTps
|
2225
|
+
|
2226
|
+
def initialize(specname=nil, maxtps=nil, maxqueuenum=nil, maxexchangenum=nil, maxvhostnum=nil, maxconnnum=nil, maxusernum=nil, maxbandwidth=nil, publicnetworktps=nil)
|
2227
|
+
@SpecName = specname
|
2228
|
+
@MaxTps = maxtps
|
2229
|
+
@MaxQueueNum = maxqueuenum
|
2230
|
+
@MaxExchangeNum = maxexchangenum
|
2231
|
+
@MaxVhostNum = maxvhostnum
|
2232
|
+
@MaxConnNum = maxconnnum
|
2233
|
+
@MaxUserNum = maxusernum
|
2234
|
+
@MaxBandWidth = maxbandwidth
|
2235
|
+
@PublicNetworkTps = publicnetworktps
|
2236
|
+
end
|
2237
|
+
|
2238
|
+
def deserialize(params)
|
2239
|
+
@SpecName = params['SpecName']
|
2240
|
+
@MaxTps = params['MaxTps']
|
2241
|
+
@MaxQueueNum = params['MaxQueueNum']
|
2242
|
+
@MaxExchangeNum = params['MaxExchangeNum']
|
2243
|
+
@MaxVhostNum = params['MaxVhostNum']
|
2244
|
+
@MaxConnNum = params['MaxConnNum']
|
2245
|
+
@MaxUserNum = params['MaxUserNum']
|
2246
|
+
@MaxBandWidth = params['MaxBandWidth']
|
2247
|
+
@PublicNetworkTps = params['PublicNetworkTps']
|
2248
|
+
end
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
# RabbitMQ连接详情
|
2252
|
+
class RabbitMQConnection < TencentCloud::Common::AbstractModel
|
2253
|
+
# @param ConnectionName: 连接名称
|
2254
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2255
|
+
# @type ConnectionName: String
|
2256
|
+
# @param PeerHost: 客户端ip
|
2257
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2258
|
+
# @type PeerHost: String
|
2259
|
+
# @param State: 连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed
|
2260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2261
|
+
# @type State: String
|
2262
|
+
# @param User: 连接使用用户
|
2263
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2264
|
+
# @type User: String
|
2265
|
+
# @param SSL: 是否开启ssl
|
2266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2267
|
+
# @type SSL: Boolean
|
2268
|
+
# @param Protocol: 连接协议
|
2269
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2270
|
+
# @type Protocol: String
|
2271
|
+
# @param Channels: 连接下的channel数
|
2272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2273
|
+
# @type Channels: Integer
|
2274
|
+
|
2275
|
+
attr_accessor :ConnectionName, :PeerHost, :State, :User, :SSL, :Protocol, :Channels
|
2276
|
+
|
2277
|
+
def initialize(connectionname=nil, peerhost=nil, state=nil, user=nil, ssl=nil, protocol=nil, channels=nil)
|
2278
|
+
@ConnectionName = connectionname
|
2279
|
+
@PeerHost = peerhost
|
2280
|
+
@State = state
|
2281
|
+
@User = user
|
2282
|
+
@SSL = ssl
|
2283
|
+
@Protocol = protocol
|
2284
|
+
@Channels = channels
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
def deserialize(params)
|
2288
|
+
@ConnectionName = params['ConnectionName']
|
2289
|
+
@PeerHost = params['PeerHost']
|
2290
|
+
@State = params['State']
|
2291
|
+
@User = params['User']
|
2292
|
+
@SSL = params['SSL']
|
2293
|
+
@Protocol = params['Protocol']
|
2294
|
+
@Channels = params['Channels']
|
2295
|
+
end
|
2296
|
+
end
|
2297
|
+
|
2298
|
+
# 队列消费者列表信息
|
2299
|
+
class RabbitMQConsumersListInfo < TencentCloud::Common::AbstractModel
|
2300
|
+
# @param ClientIp: 客户端Ip
|
2301
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2302
|
+
# @type ClientIp: String
|
2303
|
+
# @param ConsumerTag: 消费者Tag
|
2304
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2305
|
+
# @type ConsumerTag: String
|
2306
|
+
|
2307
|
+
attr_accessor :ClientIp, :ConsumerTag
|
2308
|
+
|
2309
|
+
def initialize(clientip=nil, consumertag=nil)
|
2310
|
+
@ClientIp = clientip
|
2311
|
+
@ConsumerTag = consumertag
|
2312
|
+
end
|
2313
|
+
|
2314
|
+
def deserialize(params)
|
2315
|
+
@ClientIp = params['ClientIp']
|
2316
|
+
@ConsumerTag = params['ConsumerTag']
|
2317
|
+
end
|
2318
|
+
end
|
2319
|
+
|
2320
|
+
# RabbitMQ exchange列表成员信息
|
2321
|
+
class RabbitMQExchangeListInfo < TencentCloud::Common::AbstractModel
|
2322
|
+
# @param ExchangeName: exchange 名
|
2323
|
+
# @type ExchangeName: String
|
2324
|
+
# @param Remark: 备注说明
|
2325
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2326
|
+
# @type Remark: String
|
2327
|
+
# @param ExchangeType: exchange 类型, 支持 "fanout","direct","topic","headers"
|
2328
|
+
# @type ExchangeType: String
|
2329
|
+
# @param VirtualHost: VHost参数
|
2330
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2331
|
+
# @type VirtualHost: String
|
2332
|
+
# @param ExchangeCreator: exchange 创建者, "system":"系统创建", "user":"用户创建"
|
2333
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2334
|
+
# @type ExchangeCreator: String
|
2335
|
+
# @param CreateTimeStamp: exchange 创建时间
|
2336
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2337
|
+
# @type CreateTimeStamp: String
|
2338
|
+
# @param ModTimeStamp: exchange 修改时间
|
2339
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2340
|
+
# @type ModTimeStamp: String
|
2341
|
+
# @param MessageRateIn: 输入消息速率
|
2342
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2343
|
+
# @type MessageRateIn: Float
|
2344
|
+
# @param MessageRateOut: 输出消息速率
|
2345
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2346
|
+
# @type MessageRateOut: Float
|
2347
|
+
# @param Durable: 是否为持久化交换机,true 为持久化,false 为非持久化
|
2348
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2349
|
+
# @type Durable: Boolean
|
2350
|
+
# @param AutoDelete: 是否为自动删除交换机,true 为自动删除,false 为非自动删除
|
2351
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2352
|
+
# @type AutoDelete: Boolean
|
2353
|
+
# @param Internal: 是否为内部交换机,true 为内部交换机
|
2354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2355
|
+
# @type Internal: Boolean
|
2356
|
+
# @param InstanceId: 交换机所属实例 ID
|
2357
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2358
|
+
# @type InstanceId: String
|
2359
|
+
# @param Policy: 生效的策略名称
|
2360
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2361
|
+
# @type Policy: String
|
2362
|
+
# @param Arguments: 扩展参数 key-value 对象
|
2363
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2364
|
+
# @type Arguments: String
|
2365
|
+
# @param MessagesDelayed: 未调度的延时消息数量
|
2366
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2367
|
+
# @type MessagesDelayed: Integer
|
2368
|
+
|
2369
|
+
attr_accessor :ExchangeName, :Remark, :ExchangeType, :VirtualHost, :ExchangeCreator, :CreateTimeStamp, :ModTimeStamp, :MessageRateIn, :MessageRateOut, :Durable, :AutoDelete, :Internal, :InstanceId, :Policy, :Arguments, :MessagesDelayed
|
2370
|
+
|
2371
|
+
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)
|
2372
|
+
@ExchangeName = exchangename
|
2373
|
+
@Remark = remark
|
2374
|
+
@ExchangeType = exchangetype
|
2375
|
+
@VirtualHost = virtualhost
|
2376
|
+
@ExchangeCreator = exchangecreator
|
2377
|
+
@CreateTimeStamp = createtimestamp
|
2378
|
+
@ModTimeStamp = modtimestamp
|
2379
|
+
@MessageRateIn = messageratein
|
2380
|
+
@MessageRateOut = messagerateout
|
2381
|
+
@Durable = durable
|
2382
|
+
@AutoDelete = autodelete
|
2383
|
+
@Internal = internal
|
2384
|
+
@InstanceId = instanceid
|
2385
|
+
@Policy = policy
|
2386
|
+
@Arguments = arguments
|
2387
|
+
@MessagesDelayed = messagesdelayed
|
2388
|
+
end
|
2389
|
+
|
2390
|
+
def deserialize(params)
|
2391
|
+
@ExchangeName = params['ExchangeName']
|
2392
|
+
@Remark = params['Remark']
|
2393
|
+
@ExchangeType = params['ExchangeType']
|
2394
|
+
@VirtualHost = params['VirtualHost']
|
2395
|
+
@ExchangeCreator = params['ExchangeCreator']
|
2396
|
+
@CreateTimeStamp = params['CreateTimeStamp']
|
2397
|
+
@ModTimeStamp = params['ModTimeStamp']
|
2398
|
+
@MessageRateIn = params['MessageRateIn']
|
2399
|
+
@MessageRateOut = params['MessageRateOut']
|
2400
|
+
@Durable = params['Durable']
|
2401
|
+
@AutoDelete = params['AutoDelete']
|
2402
|
+
@Internal = params['Internal']
|
2403
|
+
@InstanceId = params['InstanceId']
|
2404
|
+
@Policy = params['Policy']
|
2405
|
+
@Arguments = params['Arguments']
|
2406
|
+
@MessagesDelayed = params['MessagesDelayed']
|
2407
|
+
end
|
2408
|
+
end
|
2409
|
+
|
2410
|
+
# RabbitMQ权限详情
|
2411
|
+
class RabbitMQPermission < TencentCloud::Common::AbstractModel
|
2412
|
+
# @param InstanceId: 集群实例Id
|
2413
|
+
# @type InstanceId: String
|
2414
|
+
# @param User: 用户名,权限关联的用户
|
2415
|
+
# @type User: String
|
2416
|
+
# @param VirtualHost: vhost名
|
2417
|
+
# @type VirtualHost: String
|
2418
|
+
# @param ConfigRegexp: 权限类型,declare相关操作,该用户可操作该vhost下的资源名称正则表达式
|
2419
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2420
|
+
# @type ConfigRegexp: String
|
2421
|
+
# @param WriteRegexp: 权限类型,消息写入相关操作,该用户可操作该vhost下的资源名称正则表达式
|
2422
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2423
|
+
# @type WriteRegexp: String
|
2424
|
+
# @param ReadRegexp: 权限类型,消息读取相关操作,该用户可操作该vhost下的资源名称正则表达式
|
2425
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2426
|
+
# @type ReadRegexp: String
|
2427
|
+
# @param CreateTime: 创建时间
|
2428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2429
|
+
# @type CreateTime: String
|
2430
|
+
# @param ModifyTime: 修改时间
|
2431
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2432
|
+
# @type ModifyTime: String
|
2433
|
+
|
2434
|
+
attr_accessor :InstanceId, :User, :VirtualHost, :ConfigRegexp, :WriteRegexp, :ReadRegexp, :CreateTime, :ModifyTime
|
2435
|
+
|
2436
|
+
def initialize(instanceid=nil, user=nil, virtualhost=nil, configregexp=nil, writeregexp=nil, readregexp=nil, createtime=nil, modifytime=nil)
|
2437
|
+
@InstanceId = instanceid
|
2438
|
+
@User = user
|
2439
|
+
@VirtualHost = virtualhost
|
2440
|
+
@ConfigRegexp = configregexp
|
2441
|
+
@WriteRegexp = writeregexp
|
2442
|
+
@ReadRegexp = readregexp
|
2443
|
+
@CreateTime = createtime
|
2444
|
+
@ModifyTime = modifytime
|
2445
|
+
end
|
2446
|
+
|
2447
|
+
def deserialize(params)
|
2448
|
+
@InstanceId = params['InstanceId']
|
2449
|
+
@User = params['User']
|
2450
|
+
@VirtualHost = params['VirtualHost']
|
2451
|
+
@ConfigRegexp = params['ConfigRegexp']
|
2452
|
+
@WriteRegexp = params['WriteRegexp']
|
2453
|
+
@ReadRegexp = params['ReadRegexp']
|
2454
|
+
@CreateTime = params['CreateTime']
|
2455
|
+
@ModifyTime = params['ModifyTime']
|
2456
|
+
end
|
2457
|
+
end
|
2458
|
+
|
2459
|
+
# RabbitMQ队列列表消费者信息
|
2460
|
+
class RabbitMQQueueListConsumerDetailInfo < TencentCloud::Common::AbstractModel
|
2461
|
+
# @param ConsumersNumber: 消费者数量
|
2462
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2463
|
+
# @type ConsumersNumber: Integer
|
2464
|
+
|
2465
|
+
attr_accessor :ConsumersNumber
|
2466
|
+
|
2467
|
+
def initialize(consumersnumber=nil)
|
2468
|
+
@ConsumersNumber = consumersnumber
|
2469
|
+
end
|
2470
|
+
|
2471
|
+
def deserialize(params)
|
2472
|
+
@ConsumersNumber = params['ConsumersNumber']
|
2473
|
+
end
|
2474
|
+
end
|
2475
|
+
|
2476
|
+
# RabbitMQ队列列表成员信息
|
2477
|
+
class RabbitMQQueueListInfo < TencentCloud::Common::AbstractModel
|
2478
|
+
# @param QueueName: 队列名
|
2479
|
+
# @type QueueName: String
|
2480
|
+
# @param Remark: 备注说明
|
2481
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2482
|
+
# @type Remark: String
|
2483
|
+
# @param ConsumerDetail: 消费者信息
|
2484
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2485
|
+
# @type ConsumerDetail: :class:`Tencentcloud::Trabbit.v20230418.models.RabbitMQQueueListConsumerDetailInfo`
|
2486
|
+
# @param QueueType: 队列类型,取值 "classic","quorum"
|
2487
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2488
|
+
# @type QueueType: String
|
2489
|
+
# @param MessageHeapCount: 消息堆积数
|
2490
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2491
|
+
# @type MessageHeapCount: Integer
|
2492
|
+
# @param MessageRateIn: 消息生产速率,每秒
|
2493
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2494
|
+
# @type MessageRateIn: Float
|
2495
|
+
# @param MessageRateOut: 消息消费速率,每秒
|
2496
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2497
|
+
# @type MessageRateOut: Float
|
2498
|
+
# @param CreateTime: 创建时间
|
2499
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2500
|
+
# @type CreateTime: String
|
2501
|
+
# @param ModifyTime: 修改时间
|
2502
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2503
|
+
# @type ModifyTime: String
|
2504
|
+
# @param Durable: 队列是否持久化,true 为持久化,false 为非持久化
|
2505
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2506
|
+
# @type Durable: Boolean
|
2507
|
+
# @param AutoDelete: 队列是否为自动删除队列,true 为自动删除,false 为非自动删除
|
2508
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2509
|
+
# @type AutoDelete: Boolean
|
2510
|
+
# @param InstanceId: 队列所属实例 ID
|
2511
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2512
|
+
# @type InstanceId: String
|
2513
|
+
# @param VirtualHost: 队列所属虚拟主机名称
|
2514
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2515
|
+
# @type VirtualHost: String
|
2516
|
+
# @param Node: 队列所在主节点名称
|
2517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2518
|
+
# @type Node: String
|
2519
|
+
# @param Policy: 生效的策略名称
|
2520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2521
|
+
# @type Policy: String
|
2522
|
+
# @param Arguments: 扩展参数 key-value 对象
|
2523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2524
|
+
# @type Arguments: String
|
2525
|
+
# @param Exclusive: 是否独占队列
|
2526
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2527
|
+
# @type Exclusive: Boolean
|
2528
|
+
|
2529
|
+
attr_accessor :QueueName, :Remark, :ConsumerDetail, :QueueType, :MessageHeapCount, :MessageRateIn, :MessageRateOut, :CreateTime, :ModifyTime, :Durable, :AutoDelete, :InstanceId, :VirtualHost, :Node, :Policy, :Arguments, :Exclusive
|
2530
|
+
|
2531
|
+
def initialize(queuename=nil, remark=nil, consumerdetail=nil, queuetype=nil, messageheapcount=nil, messageratein=nil, messagerateout=nil, createtime=nil, modifytime=nil, durable=nil, autodelete=nil, instanceid=nil, virtualhost=nil, node=nil, policy=nil, arguments=nil, exclusive=nil)
|
2532
|
+
@QueueName = queuename
|
2533
|
+
@Remark = remark
|
2534
|
+
@ConsumerDetail = consumerdetail
|
2535
|
+
@QueueType = queuetype
|
2536
|
+
@MessageHeapCount = messageheapcount
|
2537
|
+
@MessageRateIn = messageratein
|
2538
|
+
@MessageRateOut = messagerateout
|
2539
|
+
@CreateTime = createtime
|
2540
|
+
@ModifyTime = modifytime
|
2541
|
+
@Durable = durable
|
2542
|
+
@AutoDelete = autodelete
|
2543
|
+
@InstanceId = instanceid
|
2544
|
+
@VirtualHost = virtualhost
|
2545
|
+
@Node = node
|
2546
|
+
@Policy = policy
|
2547
|
+
@Arguments = arguments
|
2548
|
+
@Exclusive = exclusive
|
2549
|
+
end
|
2550
|
+
|
2551
|
+
def deserialize(params)
|
2552
|
+
@QueueName = params['QueueName']
|
2553
|
+
@Remark = params['Remark']
|
2554
|
+
unless params['ConsumerDetail'].nil?
|
2555
|
+
@ConsumerDetail = RabbitMQQueueListConsumerDetailInfo.new
|
2556
|
+
@ConsumerDetail.deserialize(params['ConsumerDetail'])
|
2557
|
+
end
|
2558
|
+
@QueueType = params['QueueType']
|
2559
|
+
@MessageHeapCount = params['MessageHeapCount']
|
2560
|
+
@MessageRateIn = params['MessageRateIn']
|
2561
|
+
@MessageRateOut = params['MessageRateOut']
|
2562
|
+
@CreateTime = params['CreateTime']
|
2563
|
+
@ModifyTime = params['ModifyTime']
|
2564
|
+
@Durable = params['Durable']
|
2565
|
+
@AutoDelete = params['AutoDelete']
|
2566
|
+
@InstanceId = params['InstanceId']
|
2567
|
+
@VirtualHost = params['VirtualHost']
|
2568
|
+
@Node = params['Node']
|
2569
|
+
@Policy = params['Policy']
|
2570
|
+
@Arguments = params['Arguments']
|
2571
|
+
@Exclusive = params['Exclusive']
|
2572
|
+
end
|
2573
|
+
end
|
2574
|
+
|
2575
|
+
# 公网访问信息
|
2576
|
+
class RabbitMQServerlessAccessInfo < TencentCloud::Common::AbstractModel
|
2577
|
+
# @param PublicAccessEndpoint: 公网域名
|
2578
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2579
|
+
# @type PublicAccessEndpoint: String
|
2580
|
+
# @param PublicDataStreamStatus: 公网状态
|
2581
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2582
|
+
# @type PublicDataStreamStatus: String
|
2583
|
+
|
2584
|
+
attr_accessor :PublicAccessEndpoint, :PublicDataStreamStatus
|
2585
|
+
|
2586
|
+
def initialize(publicaccessendpoint=nil, publicdatastreamstatus=nil)
|
2587
|
+
@PublicAccessEndpoint = publicaccessendpoint
|
2588
|
+
@PublicDataStreamStatus = publicdatastreamstatus
|
2589
|
+
end
|
2590
|
+
|
2591
|
+
def deserialize(params)
|
2592
|
+
@PublicAccessEndpoint = params['PublicAccessEndpoint']
|
2593
|
+
@PublicDataStreamStatus = params['PublicDataStreamStatus']
|
2594
|
+
end
|
2595
|
+
end
|
2596
|
+
|
2597
|
+
# 接入点
|
2598
|
+
class RabbitMQServerlessEndpoint < TencentCloud::Common::AbstractModel
|
2599
|
+
# @param VpcId: vpc id
|
2600
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2601
|
+
# @type VpcId: String
|
2602
|
+
# @param SubnetId: subnet id
|
2603
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2604
|
+
# @type SubnetId: String
|
2605
|
+
# @param VpcEndpoint: 接入地址
|
2606
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2607
|
+
# @type VpcEndpoint: String
|
2608
|
+
# @param VpcDataStreamEndpointStatus: 接入地址状态
|
2609
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2610
|
+
# @type VpcDataStreamEndpointStatus: String
|
2611
|
+
# @param PublicNetwork: 是否是公网
|
2612
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2613
|
+
# @type PublicNetwork: Boolean
|
2614
|
+
# @param AccessStrategy: 访问策略
|
2615
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2616
|
+
# @type AccessStrategy: String
|
2617
|
+
# @param Bandwidth: 带宽
|
2618
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2619
|
+
# @type Bandwidth: Integer
|
2620
|
+
|
2621
|
+
attr_accessor :VpcId, :SubnetId, :VpcEndpoint, :VpcDataStreamEndpointStatus, :PublicNetwork, :AccessStrategy, :Bandwidth
|
2622
|
+
|
2623
|
+
def initialize(vpcid=nil, subnetid=nil, vpcendpoint=nil, vpcdatastreamendpointstatus=nil, publicnetwork=nil, accessstrategy=nil, bandwidth=nil)
|
2624
|
+
@VpcId = vpcid
|
2625
|
+
@SubnetId = subnetid
|
2626
|
+
@VpcEndpoint = vpcendpoint
|
2627
|
+
@VpcDataStreamEndpointStatus = vpcdatastreamendpointstatus
|
2628
|
+
@PublicNetwork = publicnetwork
|
2629
|
+
@AccessStrategy = accessstrategy
|
2630
|
+
@Bandwidth = bandwidth
|
2631
|
+
end
|
2632
|
+
|
2633
|
+
def deserialize(params)
|
2634
|
+
@VpcId = params['VpcId']
|
2635
|
+
@SubnetId = params['SubnetId']
|
2636
|
+
@VpcEndpoint = params['VpcEndpoint']
|
2637
|
+
@VpcDataStreamEndpointStatus = params['VpcDataStreamEndpointStatus']
|
2638
|
+
@PublicNetwork = params['PublicNetwork']
|
2639
|
+
@AccessStrategy = params['AccessStrategy']
|
2640
|
+
@Bandwidth = params['Bandwidth']
|
2641
|
+
end
|
2642
|
+
end
|
2643
|
+
|
2644
|
+
# rabbitmq serverless 实例
|
2645
|
+
class RabbitMQServerlessInstance < TencentCloud::Common::AbstractModel
|
2646
|
+
# @param InstanceId: 实例Id
|
2647
|
+
# @type InstanceId: String
|
2648
|
+
# @param InstanceName: 实例名称
|
2649
|
+
# @type InstanceName: String
|
2650
|
+
# @param InstanceVersion: 实例版本号
|
2651
|
+
# @type InstanceVersion: String
|
2652
|
+
# @param Status: 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
|
2653
|
+
# @type Status: Integer
|
2654
|
+
# @param MaxTps: TPS
|
2655
|
+
# @type MaxTps: Integer
|
2656
|
+
# @param MaxBandWidth: 带宽
|
2657
|
+
# @type MaxBandWidth: Integer
|
2658
|
+
# @param ExpireTime: 集群过期时间
|
2659
|
+
# @type ExpireTime: Integer
|
2660
|
+
# @param AutoRenewFlag: 自动续费标记,0表示默认状态(用户未设置,即初始状态即手动续费), 1表示自动续费,2表示明确不自动续费(用户设置)
|
2661
|
+
# @type AutoRenewFlag: Integer
|
2662
|
+
# @param PayMode: 0-后付费,1-预付费
|
2663
|
+
# @type PayMode: Integer
|
2664
|
+
# @param Remark: 备注
|
2665
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2666
|
+
# @type Remark: String
|
2667
|
+
# @param SpecName: 集群规格
|
2668
|
+
# @type SpecName: String
|
2669
|
+
# @param ExceptionInformation: 异常信息
|
2670
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2671
|
+
# @type ExceptionInformation: String
|
2672
|
+
# @param PublicAccessEndpoint: 公网接入点
|
2673
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2674
|
+
# @type PublicAccessEndpoint: String
|
2675
|
+
# @param Vpcs: 私有网络接入点
|
2676
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2677
|
+
# @type Vpcs: Array
|
2678
|
+
# @param ClusterStatus: 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
|
2679
|
+
# @type ClusterStatus: Integer
|
2680
|
+
# @param InstanceType: 集群类型:1
|
2681
|
+
# @type InstanceType: Integer
|
2682
|
+
# @param CreateTime: 过期时间
|
2683
|
+
# @type CreateTime: Integer
|
2684
|
+
# @param NodeCount: 为了兼容托管版,固定值 0
|
2685
|
+
# @type NodeCount: Integer
|
2686
|
+
# @param MaxStorage: 为了兼容托管版,固定值 0
|
2687
|
+
# @type MaxStorage: Integer
|
2688
|
+
|
2689
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :MaxTps, :MaxBandWidth, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ExceptionInformation, :PublicAccessEndpoint, :Vpcs, :ClusterStatus, :InstanceType, :CreateTime, :NodeCount, :MaxStorage
|
2690
|
+
|
2691
|
+
def initialize(instanceid=nil, instancename=nil, instanceversion=nil, status=nil, maxtps=nil, maxbandwidth=nil, expiretime=nil, autorenewflag=nil, paymode=nil, remark=nil, specname=nil, exceptioninformation=nil, publicaccessendpoint=nil, vpcs=nil, clusterstatus=nil, instancetype=nil, createtime=nil, nodecount=nil, maxstorage=nil)
|
2692
|
+
@InstanceId = instanceid
|
2693
|
+
@InstanceName = instancename
|
2694
|
+
@InstanceVersion = instanceversion
|
2695
|
+
@Status = status
|
2696
|
+
@MaxTps = maxtps
|
2697
|
+
@MaxBandWidth = maxbandwidth
|
2698
|
+
@ExpireTime = expiretime
|
2699
|
+
@AutoRenewFlag = autorenewflag
|
2700
|
+
@PayMode = paymode
|
2701
|
+
@Remark = remark
|
2702
|
+
@SpecName = specname
|
2703
|
+
@ExceptionInformation = exceptioninformation
|
2704
|
+
@PublicAccessEndpoint = publicaccessendpoint
|
2705
|
+
@Vpcs = vpcs
|
2706
|
+
@ClusterStatus = clusterstatus
|
2707
|
+
@InstanceType = instancetype
|
2708
|
+
@CreateTime = createtime
|
2709
|
+
@NodeCount = nodecount
|
2710
|
+
@MaxStorage = maxstorage
|
2711
|
+
end
|
2712
|
+
|
2713
|
+
def deserialize(params)
|
2714
|
+
@InstanceId = params['InstanceId']
|
2715
|
+
@InstanceName = params['InstanceName']
|
2716
|
+
@InstanceVersion = params['InstanceVersion']
|
2717
|
+
@Status = params['Status']
|
2718
|
+
@MaxTps = params['MaxTps']
|
2719
|
+
@MaxBandWidth = params['MaxBandWidth']
|
2720
|
+
@ExpireTime = params['ExpireTime']
|
2721
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
2722
|
+
@PayMode = params['PayMode']
|
2723
|
+
@Remark = params['Remark']
|
2724
|
+
@SpecName = params['SpecName']
|
2725
|
+
@ExceptionInformation = params['ExceptionInformation']
|
2726
|
+
@PublicAccessEndpoint = params['PublicAccessEndpoint']
|
2727
|
+
unless params['Vpcs'].nil?
|
2728
|
+
@Vpcs = []
|
2729
|
+
params['Vpcs'].each do |i|
|
2730
|
+
rabbitmqserverlessendpoint_tmp = RabbitMQServerlessEndpoint.new
|
2731
|
+
rabbitmqserverlessendpoint_tmp.deserialize(i)
|
2732
|
+
@Vpcs << rabbitmqserverlessendpoint_tmp
|
2733
|
+
end
|
2734
|
+
end
|
2735
|
+
@ClusterStatus = params['ClusterStatus']
|
2736
|
+
@InstanceType = params['InstanceType']
|
2737
|
+
@CreateTime = params['CreateTime']
|
2738
|
+
@NodeCount = params['NodeCount']
|
2739
|
+
@MaxStorage = params['MaxStorage']
|
2740
|
+
end
|
2741
|
+
end
|
2742
|
+
|
2743
|
+
# 公网白名单信息
|
2744
|
+
class RabbitMQServerlessWhiteListInfo < TencentCloud::Common::AbstractModel
|
2745
|
+
# @param PublicDataStreamWhiteList: 公网数据流白名单
|
2746
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2747
|
+
# @type PublicDataStreamWhiteList: String
|
2748
|
+
# @param PublicDataStreamWhiteListStatus: 公网数据流白名单状态
|
2749
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2750
|
+
# @type PublicDataStreamWhiteListStatus: String
|
2751
|
+
|
2752
|
+
attr_accessor :PublicDataStreamWhiteList, :PublicDataStreamWhiteListStatus
|
2753
|
+
|
2754
|
+
def initialize(publicdatastreamwhitelist=nil, publicdatastreamwhiteliststatus=nil)
|
2755
|
+
@PublicDataStreamWhiteList = publicdatastreamwhitelist
|
2756
|
+
@PublicDataStreamWhiteListStatus = publicdatastreamwhiteliststatus
|
2757
|
+
end
|
2758
|
+
|
2759
|
+
def deserialize(params)
|
2760
|
+
@PublicDataStreamWhiteList = params['PublicDataStreamWhiteList']
|
2761
|
+
@PublicDataStreamWhiteListStatus = params['PublicDataStreamWhiteListStatus']
|
2762
|
+
end
|
2763
|
+
end
|
2764
|
+
|
2765
|
+
# RabbitMQ用户实体详情
|
2766
|
+
class RabbitMQUser < TencentCloud::Common::AbstractModel
|
2767
|
+
# @param InstanceId: 集群实例Id
|
2768
|
+
# @type InstanceId: String
|
2769
|
+
# @param User: 用户名,登录时使用
|
2770
|
+
# @type User: String
|
2771
|
+
# @param Password: 密码,登录时使用
|
2772
|
+
# @type Password: String
|
2773
|
+
# @param Description: 用户描述
|
2774
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2775
|
+
# @type Description: String
|
2776
|
+
# @param Tags: 用户标签,用于决定改用户访问RabbitMQ Management的权限范围
|
2777
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2778
|
+
# @type Tags: Array
|
2779
|
+
# @param CreateTime: 用户创建时间
|
2780
|
+
# @type CreateTime: String
|
2781
|
+
# @param ModifyTime: 用户最后修改时间
|
2782
|
+
# @type ModifyTime: String
|
2783
|
+
# @param Type: 用户类型,System:系统创建,User:用户创建
|
2784
|
+
# @type Type: String
|
2785
|
+
# @param MaxConnections: 该用户所能允许的最大连接数
|
2786
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2787
|
+
# @type MaxConnections: Integer
|
2788
|
+
# @param MaxChannels: 该用户所能允许的最大通道数
|
2789
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2790
|
+
# @type MaxChannels: Integer
|
2791
|
+
|
2792
|
+
attr_accessor :InstanceId, :User, :Password, :Description, :Tags, :CreateTime, :ModifyTime, :Type, :MaxConnections, :MaxChannels
|
2793
|
+
|
2794
|
+
def initialize(instanceid=nil, user=nil, password=nil, description=nil, tags=nil, createtime=nil, modifytime=nil, type=nil, maxconnections=nil, maxchannels=nil)
|
2795
|
+
@InstanceId = instanceid
|
2796
|
+
@User = user
|
2797
|
+
@Password = password
|
2798
|
+
@Description = description
|
2799
|
+
@Tags = tags
|
2800
|
+
@CreateTime = createtime
|
2801
|
+
@ModifyTime = modifytime
|
2802
|
+
@Type = type
|
2803
|
+
@MaxConnections = maxconnections
|
2804
|
+
@MaxChannels = maxchannels
|
2805
|
+
end
|
2806
|
+
|
2807
|
+
def deserialize(params)
|
2808
|
+
@InstanceId = params['InstanceId']
|
2809
|
+
@User = params['User']
|
2810
|
+
@Password = params['Password']
|
2811
|
+
@Description = params['Description']
|
2812
|
+
@Tags = params['Tags']
|
2813
|
+
@CreateTime = params['CreateTime']
|
2814
|
+
@ModifyTime = params['ModifyTime']
|
2815
|
+
@Type = params['Type']
|
2816
|
+
@MaxConnections = params['MaxConnections']
|
2817
|
+
@MaxChannels = params['MaxChannels']
|
2818
|
+
end
|
2819
|
+
end
|
2820
|
+
|
2821
|
+
# RabbitMQ的vhost详情
|
2822
|
+
class RabbitMQVirtualHostInfo < TencentCloud::Common::AbstractModel
|
2823
|
+
# @param InstanceId: 集群实例Id
|
2824
|
+
# @type InstanceId: String
|
2825
|
+
# @param VirtualHost: vhost名
|
2826
|
+
# @type VirtualHost: String
|
2827
|
+
# @param Description: vhost描述信息
|
2828
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2829
|
+
# @type Description: String
|
2830
|
+
# @param Tags: vhost标签
|
2831
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2832
|
+
# @type Tags: Array
|
2833
|
+
# @param CreateTime: 创建时间
|
2834
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2835
|
+
# @type CreateTime: String
|
2836
|
+
# @param ModifyTime: 修改时间
|
2837
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2838
|
+
# @type ModifyTime: String
|
2839
|
+
# @param VirtualHostStatistics: vhost概览统计信息
|
2840
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2841
|
+
# @type VirtualHostStatistics: :class:`Tencentcloud::Trabbit.v20230418.models.RabbitMQVirtualHostStatistics`
|
2842
|
+
# @param Status: vhost状态,与原生控制台对应,有running、partial、stopped、unknown
|
2843
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2844
|
+
# @type Status: String
|
2845
|
+
# @param MessageHeapCount: 消息堆积数
|
2846
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2847
|
+
# @type MessageHeapCount: Integer
|
2848
|
+
# @param MessageRateIn: 输入消息速率
|
2849
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2850
|
+
# @type MessageRateIn: Float
|
2851
|
+
# @param MessageRateOut: 输出消息速率
|
2852
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2853
|
+
# @type MessageRateOut: Float
|
2854
|
+
# @param MirrorQueuePolicyFlag: 是否存在镜像队列策略,true 为存在,false 为不存
|
2855
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2856
|
+
# @type MirrorQueuePolicyFlag: Boolean
|
2857
|
+
|
2858
|
+
attr_accessor :InstanceId, :VirtualHost, :Description, :Tags, :CreateTime, :ModifyTime, :VirtualHostStatistics, :Status, :MessageHeapCount, :MessageRateIn, :MessageRateOut, :MirrorQueuePolicyFlag
|
2859
|
+
|
2860
|
+
def initialize(instanceid=nil, virtualhost=nil, description=nil, tags=nil, createtime=nil, modifytime=nil, virtualhoststatistics=nil, status=nil, messageheapcount=nil, messageratein=nil, messagerateout=nil, mirrorqueuepolicyflag=nil)
|
2861
|
+
@InstanceId = instanceid
|
2862
|
+
@VirtualHost = virtualhost
|
2863
|
+
@Description = description
|
2864
|
+
@Tags = tags
|
2865
|
+
@CreateTime = createtime
|
2866
|
+
@ModifyTime = modifytime
|
2867
|
+
@VirtualHostStatistics = virtualhoststatistics
|
2868
|
+
@Status = status
|
2869
|
+
@MessageHeapCount = messageheapcount
|
2870
|
+
@MessageRateIn = messageratein
|
2871
|
+
@MessageRateOut = messagerateout
|
2872
|
+
@MirrorQueuePolicyFlag = mirrorqueuepolicyflag
|
2873
|
+
end
|
2874
|
+
|
2875
|
+
def deserialize(params)
|
2876
|
+
@InstanceId = params['InstanceId']
|
2877
|
+
@VirtualHost = params['VirtualHost']
|
2878
|
+
@Description = params['Description']
|
2879
|
+
@Tags = params['Tags']
|
2880
|
+
@CreateTime = params['CreateTime']
|
2881
|
+
@ModifyTime = params['ModifyTime']
|
2882
|
+
unless params['VirtualHostStatistics'].nil?
|
2883
|
+
@VirtualHostStatistics = RabbitMQVirtualHostStatistics.new
|
2884
|
+
@VirtualHostStatistics.deserialize(params['VirtualHostStatistics'])
|
2885
|
+
end
|
2886
|
+
@Status = params['Status']
|
2887
|
+
@MessageHeapCount = params['MessageHeapCount']
|
2888
|
+
@MessageRateIn = params['MessageRateIn']
|
2889
|
+
@MessageRateOut = params['MessageRateOut']
|
2890
|
+
@MirrorQueuePolicyFlag = params['MirrorQueuePolicyFlag']
|
2891
|
+
end
|
2892
|
+
end
|
2893
|
+
|
2894
|
+
# vhost概览统计信息
|
2895
|
+
class RabbitMQVirtualHostStatistics < TencentCloud::Common::AbstractModel
|
2896
|
+
# @param CurrentQueues: 当前vhost的queue数量
|
2897
|
+
# @type CurrentQueues: Integer
|
2898
|
+
# @param CurrentExchanges: 当前vhost的exchange数量
|
2899
|
+
# @type CurrentExchanges: Integer
|
2900
|
+
# @param CurrentConnections: 当前vhost的连接数量
|
2901
|
+
# @type CurrentConnections: Integer
|
2902
|
+
# @param CurrentChannels: 当前vhost的channel数量
|
2903
|
+
# @type CurrentChannels: Integer
|
2904
|
+
# @param CurrentUsers: 当前vhost的用户数量
|
2905
|
+
# @type CurrentUsers: Integer
|
2906
|
+
|
2907
|
+
attr_accessor :CurrentQueues, :CurrentExchanges, :CurrentConnections, :CurrentChannels, :CurrentUsers
|
2908
|
+
|
2909
|
+
def initialize(currentqueues=nil, currentexchanges=nil, currentconnections=nil, currentchannels=nil, currentusers=nil)
|
2910
|
+
@CurrentQueues = currentqueues
|
2911
|
+
@CurrentExchanges = currentexchanges
|
2912
|
+
@CurrentConnections = currentconnections
|
2913
|
+
@CurrentChannels = currentchannels
|
2914
|
+
@CurrentUsers = currentusers
|
2915
|
+
end
|
2916
|
+
|
2917
|
+
def deserialize(params)
|
2918
|
+
@CurrentQueues = params['CurrentQueues']
|
2919
|
+
@CurrentExchanges = params['CurrentExchanges']
|
2920
|
+
@CurrentConnections = params['CurrentConnections']
|
2921
|
+
@CurrentChannels = params['CurrentChannels']
|
2922
|
+
@CurrentUsers = params['CurrentUsers']
|
2923
|
+
end
|
2924
|
+
end
|
2925
|
+
|
2926
|
+
# 用户数配额
|
2927
|
+
class UserQuota < TencentCloud::Common::AbstractModel
|
2928
|
+
# @param MaxUser: 最大用户数
|
2929
|
+
# @type MaxUser: Integer
|
2930
|
+
# @param UsedUser: 已用用户数
|
2931
|
+
# @type UsedUser: Integer
|
2932
|
+
|
2933
|
+
attr_accessor :MaxUser, :UsedUser
|
2934
|
+
|
2935
|
+
def initialize(maxuser=nil, useduser=nil)
|
2936
|
+
@MaxUser = maxuser
|
2937
|
+
@UsedUser = useduser
|
2938
|
+
end
|
2939
|
+
|
2940
|
+
def deserialize(params)
|
2941
|
+
@MaxUser = params['MaxUser']
|
2942
|
+
@UsedUser = params['UsedUser']
|
2943
|
+
end
|
2944
|
+
end
|
2945
|
+
|
2946
|
+
# 虚拟主机配额
|
2947
|
+
class VirtualHostQuota < TencentCloud::Common::AbstractModel
|
2948
|
+
# @param MaxVirtualHost: 最大虚拟主机数
|
2949
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2950
|
+
# @type MaxVirtualHost: Integer
|
2951
|
+
# @param UsedVirtualHost: 已经使用的虚拟主机数
|
2952
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2953
|
+
# @type UsedVirtualHost: Integer
|
2954
|
+
|
2955
|
+
attr_accessor :MaxVirtualHost, :UsedVirtualHost
|
2956
|
+
|
2957
|
+
def initialize(maxvirtualhost=nil, usedvirtualhost=nil)
|
2958
|
+
@MaxVirtualHost = maxvirtualhost
|
2959
|
+
@UsedVirtualHost = usedvirtualhost
|
2960
|
+
end
|
2961
|
+
|
2962
|
+
def deserialize(params)
|
2963
|
+
@MaxVirtualHost = params['MaxVirtualHost']
|
2964
|
+
@UsedVirtualHost = params['UsedVirtualHost']
|
2965
|
+
end
|
2966
|
+
end
|
2967
|
+
|
2968
|
+
# VPC接入点信息
|
2969
|
+
class VpcEndpointInfo < TencentCloud::Common::AbstractModel
|
2970
|
+
# @param VpcId: vpc的id
|
2971
|
+
# @type VpcId: String
|
2972
|
+
# @param SubnetId: 子网id
|
2973
|
+
# @type SubnetId: String
|
2974
|
+
# @param VpcEndpoint: vpc接入点信息
|
2975
|
+
# @type VpcEndpoint: String
|
2976
|
+
# @param VpcDataStreamEndpointStatus: vpc接入点状态
|
2977
|
+
# OFF/ON/CREATING/DELETING
|
2978
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2979
|
+
# @type VpcDataStreamEndpointStatus: String
|
2980
|
+
|
2981
|
+
attr_accessor :VpcId, :SubnetId, :VpcEndpoint, :VpcDataStreamEndpointStatus
|
2982
|
+
|
2983
|
+
def initialize(vpcid=nil, subnetid=nil, vpcendpoint=nil, vpcdatastreamendpointstatus=nil)
|
2984
|
+
@VpcId = vpcid
|
2985
|
+
@SubnetId = subnetid
|
2986
|
+
@VpcEndpoint = vpcendpoint
|
2987
|
+
@VpcDataStreamEndpointStatus = vpcdatastreamendpointstatus
|
2988
|
+
end
|
2989
|
+
|
2990
|
+
def deserialize(params)
|
2991
|
+
@VpcId = params['VpcId']
|
2992
|
+
@SubnetId = params['SubnetId']
|
2993
|
+
@VpcEndpoint = params['VpcEndpoint']
|
2994
|
+
@VpcDataStreamEndpointStatus = params['VpcDataStreamEndpointStatus']
|
2995
|
+
end
|
2996
|
+
end
|
2997
|
+
|
2998
|
+
end
|
2999
|
+
end
|
3000
|
+
end
|
3001
|
+
|