tencentcloud-sdk-tdmq 1.0.208 → 1.0.209
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +504 -0
- data/lib/v20200217/models.rb +1631 -197
- metadata +2 -2
data/lib/v20200217/models.rb
CHANGED
@@ -17,6 +17,364 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Tdmq
|
19
19
|
module V20200217
|
20
|
+
# AMQP集群配置
|
21
|
+
class AMQPClusterConfig < TencentCloud::Common::AbstractModel
|
22
|
+
# @param MaxTpsPerVHost: 单Vhost TPS上限
|
23
|
+
# @type MaxTpsPerVHost: Integer
|
24
|
+
# @param MaxConnNumPerVHost: 单Vhost客户端连接数上限
|
25
|
+
# @type MaxConnNumPerVHost: Integer
|
26
|
+
# @param MaxVHostNum: 最大Vhost数量
|
27
|
+
# @type MaxVHostNum: Integer
|
28
|
+
# @param MaxExchangeNum: 最大exchange数量
|
29
|
+
# @type MaxExchangeNum: Integer
|
30
|
+
# @param MaxQueueNum: 最大Queue数量
|
31
|
+
# @type MaxQueueNum: Integer
|
32
|
+
# @param MaxRetentionTime: 消息最大保留时间,以毫秒为单位
|
33
|
+
# @type MaxRetentionTime: Integer
|
34
|
+
# @param UsedVHostNum: 已使用Vhost数量
|
35
|
+
# @type UsedVHostNum: Integer
|
36
|
+
# @param UsedExchangeNum: 已使用exchange数量
|
37
|
+
# @type UsedExchangeNum: Integer
|
38
|
+
# @param UsedQueueNum: 已使用queue数量
|
39
|
+
# @type UsedQueueNum: Integer
|
40
|
+
|
41
|
+
attr_accessor :MaxTpsPerVHost, :MaxConnNumPerVHost, :MaxVHostNum, :MaxExchangeNum, :MaxQueueNum, :MaxRetentionTime, :UsedVHostNum, :UsedExchangeNum, :UsedQueueNum
|
42
|
+
|
43
|
+
def initialize(maxtpspervhost=nil, maxconnnumpervhost=nil, maxvhostnum=nil, maxexchangenum=nil, maxqueuenum=nil, maxretentiontime=nil, usedvhostnum=nil, usedexchangenum=nil, usedqueuenum=nil)
|
44
|
+
@MaxTpsPerVHost = maxtpspervhost
|
45
|
+
@MaxConnNumPerVHost = maxconnnumpervhost
|
46
|
+
@MaxVHostNum = maxvhostnum
|
47
|
+
@MaxExchangeNum = maxexchangenum
|
48
|
+
@MaxQueueNum = maxqueuenum
|
49
|
+
@MaxRetentionTime = maxretentiontime
|
50
|
+
@UsedVHostNum = usedvhostnum
|
51
|
+
@UsedExchangeNum = usedexchangenum
|
52
|
+
@UsedQueueNum = usedqueuenum
|
53
|
+
end
|
54
|
+
|
55
|
+
def deserialize(params)
|
56
|
+
@MaxTpsPerVHost = params['MaxTpsPerVHost']
|
57
|
+
@MaxConnNumPerVHost = params['MaxConnNumPerVHost']
|
58
|
+
@MaxVHostNum = params['MaxVHostNum']
|
59
|
+
@MaxExchangeNum = params['MaxExchangeNum']
|
60
|
+
@MaxQueueNum = params['MaxQueueNum']
|
61
|
+
@MaxRetentionTime = params['MaxRetentionTime']
|
62
|
+
@UsedVHostNum = params['UsedVHostNum']
|
63
|
+
@UsedExchangeNum = params['UsedExchangeNum']
|
64
|
+
@UsedQueueNum = params['UsedQueueNum']
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# 租户AMQP集群详细信息
|
69
|
+
class AMQPClusterDetail < TencentCloud::Common::AbstractModel
|
70
|
+
# @param Info: 集群基本信息
|
71
|
+
# @type Info: :class:`Tencentcloud::Tdmq.v20200217.models.AMQPClusterInfo`
|
72
|
+
# @param Config: 集群配置信息
|
73
|
+
# @type Config: :class:`Tencentcloud::Tdmq.v20200217.models.AMQPClusterConfig`
|
74
|
+
# @param Tags: 标签
|
75
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
76
|
+
# @type Tags: Array
|
77
|
+
|
78
|
+
attr_accessor :Info, :Config, :Tags
|
79
|
+
|
80
|
+
def initialize(info=nil, config=nil, tags=nil)
|
81
|
+
@Info = info
|
82
|
+
@Config = config
|
83
|
+
@Tags = tags
|
84
|
+
end
|
85
|
+
|
86
|
+
def deserialize(params)
|
87
|
+
unless params['Info'].nil?
|
88
|
+
@Info = AMQPClusterInfo.new
|
89
|
+
@Info.deserialize(params['Info'])
|
90
|
+
end
|
91
|
+
unless params['Config'].nil?
|
92
|
+
@Config = AMQPClusterConfig.new
|
93
|
+
@Config.deserialize(params['Config'])
|
94
|
+
end
|
95
|
+
unless params['Tags'].nil?
|
96
|
+
@Tags = []
|
97
|
+
params['Tags'].each do |i|
|
98
|
+
tag_tmp = Tag.new
|
99
|
+
tag_tmp.deserialize(i)
|
100
|
+
@Tags << tag_tmp
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
# AMQP集群基本信息
|
107
|
+
class AMQPClusterInfo < TencentCloud::Common::AbstractModel
|
108
|
+
# @param ClusterId: 集群ID
|
109
|
+
# @type ClusterId: String
|
110
|
+
# @param ClusterName: 集群名称
|
111
|
+
# @type ClusterName: String
|
112
|
+
# @param Region: 地域信息
|
113
|
+
# @type Region: String
|
114
|
+
# @param CreateTime: 创建时间,毫秒为单位
|
115
|
+
# @type CreateTime: Integer
|
116
|
+
# @param Remark: 集群说明信息
|
117
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
118
|
+
# @type Remark: String
|
119
|
+
# @param PublicEndPoint: 公网接入地址
|
120
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
121
|
+
# @type PublicEndPoint: String
|
122
|
+
# @param VpcEndPoint: VPC接入地址
|
123
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
124
|
+
# @type VpcEndPoint: String
|
125
|
+
|
126
|
+
attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :PublicEndPoint, :VpcEndPoint
|
127
|
+
|
128
|
+
def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, publicendpoint=nil, vpcendpoint=nil)
|
129
|
+
@ClusterId = clusterid
|
130
|
+
@ClusterName = clustername
|
131
|
+
@Region = region
|
132
|
+
@CreateTime = createtime
|
133
|
+
@Remark = remark
|
134
|
+
@PublicEndPoint = publicendpoint
|
135
|
+
@VpcEndPoint = vpcendpoint
|
136
|
+
end
|
137
|
+
|
138
|
+
def deserialize(params)
|
139
|
+
@ClusterId = params['ClusterId']
|
140
|
+
@ClusterName = params['ClusterName']
|
141
|
+
@Region = params['Region']
|
142
|
+
@CreateTime = params['CreateTime']
|
143
|
+
@Remark = params['Remark']
|
144
|
+
@PublicEndPoint = params['PublicEndPoint']
|
145
|
+
@VpcEndPoint = params['VpcEndPoint']
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# AMQP集群近期使用量
|
150
|
+
class AMQPClusterRecentStats < TencentCloud::Common::AbstractModel
|
151
|
+
# @param QueueNum: Queue数量
|
152
|
+
# @type QueueNum: Integer
|
153
|
+
# @param ProducedMsgNum: 消息生产数
|
154
|
+
# @type ProducedMsgNum: Integer
|
155
|
+
# @param AccumulativeMsgNum: 消息堆积数
|
156
|
+
# @type AccumulativeMsgNum: Integer
|
157
|
+
# @param ExchangeNum: Exchange数量
|
158
|
+
# @type ExchangeNum: Integer
|
159
|
+
|
160
|
+
attr_accessor :QueueNum, :ProducedMsgNum, :AccumulativeMsgNum, :ExchangeNum
|
161
|
+
|
162
|
+
def initialize(queuenum=nil, producedmsgnum=nil, accumulativemsgnum=nil, exchangenum=nil)
|
163
|
+
@QueueNum = queuenum
|
164
|
+
@ProducedMsgNum = producedmsgnum
|
165
|
+
@AccumulativeMsgNum = accumulativemsgnum
|
166
|
+
@ExchangeNum = exchangenum
|
167
|
+
end
|
168
|
+
|
169
|
+
def deserialize(params)
|
170
|
+
@QueueNum = params['QueueNum']
|
171
|
+
@ProducedMsgNum = params['ProducedMsgNum']
|
172
|
+
@AccumulativeMsgNum = params['AccumulativeMsgNum']
|
173
|
+
@ExchangeNum = params['ExchangeNum']
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
# AMQP Exchange信息
|
178
|
+
class AMQPExchange < TencentCloud::Common::AbstractModel
|
179
|
+
# @param Name: Exchange名称
|
180
|
+
# @type Name: String
|
181
|
+
# @param Type: Exchange的类别,为枚举类型:Direct, Fanout, Topic
|
182
|
+
# @type Type: String
|
183
|
+
# @param SourceBindedNum: 主绑定数
|
184
|
+
# @type SourceBindedNum: Integer
|
185
|
+
# @param Remark: 说明
|
186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
187
|
+
# @type Remark: String
|
188
|
+
# @param DestBindedNum: 被绑定数
|
189
|
+
# @type DestBindedNum: Integer
|
190
|
+
# @param CreateTime: 创建时间,以毫秒为单位
|
191
|
+
# @type CreateTime: Integer
|
192
|
+
# @param UpdateTime: 创建时间,以毫秒为单位
|
193
|
+
# @type UpdateTime: Integer
|
194
|
+
# @param Internal: 是否为内部Exchange(以amq.前缀开头的)
|
195
|
+
# @type Internal: Boolean
|
196
|
+
|
197
|
+
attr_accessor :Name, :Type, :SourceBindedNum, :Remark, :DestBindedNum, :CreateTime, :UpdateTime, :Internal
|
198
|
+
|
199
|
+
def initialize(name=nil, type=nil, sourcebindednum=nil, remark=nil, destbindednum=nil, createtime=nil, updatetime=nil, internal=nil)
|
200
|
+
@Name = name
|
201
|
+
@Type = type
|
202
|
+
@SourceBindedNum = sourcebindednum
|
203
|
+
@Remark = remark
|
204
|
+
@DestBindedNum = destbindednum
|
205
|
+
@CreateTime = createtime
|
206
|
+
@UpdateTime = updatetime
|
207
|
+
@Internal = internal
|
208
|
+
end
|
209
|
+
|
210
|
+
def deserialize(params)
|
211
|
+
@Name = params['Name']
|
212
|
+
@Type = params['Type']
|
213
|
+
@SourceBindedNum = params['SourceBindedNum']
|
214
|
+
@Remark = params['Remark']
|
215
|
+
@DestBindedNum = params['DestBindedNum']
|
216
|
+
@CreateTime = params['CreateTime']
|
217
|
+
@UpdateTime = params['UpdateTime']
|
218
|
+
@Internal = params['Internal']
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
# AMQP 队列信息
|
223
|
+
class AMQPQueueDetail < TencentCloud::Common::AbstractModel
|
224
|
+
# @param Name: Queue名称
|
225
|
+
# @type Name: String
|
226
|
+
# @param Remark: 说明
|
227
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
228
|
+
# @type Remark: String
|
229
|
+
# @param DestBindedNum: 被绑定数
|
230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
231
|
+
# @type DestBindedNum: Integer
|
232
|
+
# @param CreateTime: 创建时间,以毫秒为单位
|
233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
234
|
+
# @type CreateTime: Integer
|
235
|
+
# @param UpdateTime: 创建时间,以毫秒为单位
|
236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
237
|
+
# @type UpdateTime: Integer
|
238
|
+
# @param OnlineConsumerNum: 在线消费者数
|
239
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
240
|
+
# @type OnlineConsumerNum: Integer
|
241
|
+
# @param Tps: 每秒钟的事务数
|
242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
243
|
+
# @type Tps: Integer
|
244
|
+
# @param AccumulativeMsgNum: 消息堆积数
|
245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
246
|
+
# @type AccumulativeMsgNum: Integer
|
247
|
+
# @param AutoDelete: 是否自动删除
|
248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
249
|
+
# @type AutoDelete: Boolean
|
250
|
+
# @param DeadLetterExchange: 死信交换机
|
251
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
252
|
+
# @type DeadLetterExchange: String
|
253
|
+
# @param DeadLetterRoutingKey: 死信交换机路由键
|
254
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
255
|
+
# @type DeadLetterRoutingKey: String
|
256
|
+
|
257
|
+
attr_accessor :Name, :Remark, :DestBindedNum, :CreateTime, :UpdateTime, :OnlineConsumerNum, :Tps, :AccumulativeMsgNum, :AutoDelete, :DeadLetterExchange, :DeadLetterRoutingKey
|
258
|
+
|
259
|
+
def initialize(name=nil, remark=nil, destbindednum=nil, createtime=nil, updatetime=nil, onlineconsumernum=nil, tps=nil, accumulativemsgnum=nil, autodelete=nil, deadletterexchange=nil, deadletterroutingkey=nil)
|
260
|
+
@Name = name
|
261
|
+
@Remark = remark
|
262
|
+
@DestBindedNum = destbindednum
|
263
|
+
@CreateTime = createtime
|
264
|
+
@UpdateTime = updatetime
|
265
|
+
@OnlineConsumerNum = onlineconsumernum
|
266
|
+
@Tps = tps
|
267
|
+
@AccumulativeMsgNum = accumulativemsgnum
|
268
|
+
@AutoDelete = autodelete
|
269
|
+
@DeadLetterExchange = deadletterexchange
|
270
|
+
@DeadLetterRoutingKey = deadletterroutingkey
|
271
|
+
end
|
272
|
+
|
273
|
+
def deserialize(params)
|
274
|
+
@Name = params['Name']
|
275
|
+
@Remark = params['Remark']
|
276
|
+
@DestBindedNum = params['DestBindedNum']
|
277
|
+
@CreateTime = params['CreateTime']
|
278
|
+
@UpdateTime = params['UpdateTime']
|
279
|
+
@OnlineConsumerNum = params['OnlineConsumerNum']
|
280
|
+
@Tps = params['Tps']
|
281
|
+
@AccumulativeMsgNum = params['AccumulativeMsgNum']
|
282
|
+
@AutoDelete = params['AutoDelete']
|
283
|
+
@DeadLetterExchange = params['DeadLetterExchange']
|
284
|
+
@DeadLetterRoutingKey = params['DeadLetterRoutingKey']
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
# AMQP路由关系
|
289
|
+
class AMQPRouteRelation < TencentCloud::Common::AbstractModel
|
290
|
+
# @param RouteRelationId: 路由关系ID
|
291
|
+
# @type RouteRelationId: String
|
292
|
+
# @param SourceExchange: 源Exchange
|
293
|
+
# @type SourceExchange: String
|
294
|
+
# @param DestType: 目标类型:Queue|Exchange
|
295
|
+
# @type DestType: String
|
296
|
+
# @param DestValue: 目标值
|
297
|
+
# @type DestValue: String
|
298
|
+
# @param RoutingKey: 绑定key
|
299
|
+
# @type RoutingKey: String
|
300
|
+
# @param SourceExchangeType: 源路由类型:Direct|Topic|Fanout
|
301
|
+
# @type SourceExchangeType: String
|
302
|
+
# @param CreateTime: 创建时间,以毫秒为单位
|
303
|
+
# @type CreateTime: Integer
|
304
|
+
# @param UpdateTime: 修改时间,以毫秒为单位
|
305
|
+
# @type UpdateTime: Integer
|
306
|
+
# @param Remark: 说明信息
|
307
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
308
|
+
# @type Remark: String
|
309
|
+
|
310
|
+
attr_accessor :RouteRelationId, :SourceExchange, :DestType, :DestValue, :RoutingKey, :SourceExchangeType, :CreateTime, :UpdateTime, :Remark
|
311
|
+
|
312
|
+
def initialize(routerelationid=nil, sourceexchange=nil, desttype=nil, destvalue=nil, routingkey=nil, sourceexchangetype=nil, createtime=nil, updatetime=nil, remark=nil)
|
313
|
+
@RouteRelationId = routerelationid
|
314
|
+
@SourceExchange = sourceexchange
|
315
|
+
@DestType = desttype
|
316
|
+
@DestValue = destvalue
|
317
|
+
@RoutingKey = routingkey
|
318
|
+
@SourceExchangeType = sourceexchangetype
|
319
|
+
@CreateTime = createtime
|
320
|
+
@UpdateTime = updatetime
|
321
|
+
@Remark = remark
|
322
|
+
end
|
323
|
+
|
324
|
+
def deserialize(params)
|
325
|
+
@RouteRelationId = params['RouteRelationId']
|
326
|
+
@SourceExchange = params['SourceExchange']
|
327
|
+
@DestType = params['DestType']
|
328
|
+
@DestValue = params['DestValue']
|
329
|
+
@RoutingKey = params['RoutingKey']
|
330
|
+
@SourceExchangeType = params['SourceExchangeType']
|
331
|
+
@CreateTime = params['CreateTime']
|
332
|
+
@UpdateTime = params['UpdateTime']
|
333
|
+
@Remark = params['Remark']
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
# vhostd信息
|
338
|
+
class AMQPVHost < TencentCloud::Common::AbstractModel
|
339
|
+
# @param VHostId: 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
340
|
+
# @type VHostId: String
|
341
|
+
# @param MsgTtl: 未消费消息的保留时间,以毫秒单位,范围60秒到15天
|
342
|
+
# @type MsgTtl: Integer
|
343
|
+
# @param Remark: 备注
|
344
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
345
|
+
# @type Remark: String
|
346
|
+
# @param CreateTime: 创建时间,以毫秒为单位
|
347
|
+
# @type CreateTime: Integer
|
348
|
+
# @param UpdateTime: 更新时间,以毫秒为单位
|
349
|
+
# @type UpdateTime: Integer
|
350
|
+
# @param Username: 用户名
|
351
|
+
# @type Username: String
|
352
|
+
# @param Password: 密码
|
353
|
+
# @type Password: String
|
354
|
+
|
355
|
+
attr_accessor :VHostId, :MsgTtl, :Remark, :CreateTime, :UpdateTime, :Username, :Password
|
356
|
+
|
357
|
+
def initialize(vhostid=nil, msgttl=nil, remark=nil, createtime=nil, updatetime=nil, username=nil, password=nil)
|
358
|
+
@VHostId = vhostid
|
359
|
+
@MsgTtl = msgttl
|
360
|
+
@Remark = remark
|
361
|
+
@CreateTime = createtime
|
362
|
+
@UpdateTime = updatetime
|
363
|
+
@Username = username
|
364
|
+
@Password = password
|
365
|
+
end
|
366
|
+
|
367
|
+
def deserialize(params)
|
368
|
+
@VHostId = params['VHostId']
|
369
|
+
@MsgTtl = params['MsgTtl']
|
370
|
+
@Remark = params['Remark']
|
371
|
+
@CreateTime = params['CreateTime']
|
372
|
+
@UpdateTime = params['UpdateTime']
|
373
|
+
@Username = params['Username']
|
374
|
+
@Password = params['Password']
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
20
378
|
# AcknowledgeMessage请求参数结构体
|
21
379
|
class AcknowledgeMessageRequest < TencentCloud::Common::AbstractModel
|
22
380
|
# @param MessageId: 用作标识消息的唯一的ID(可从 receiveMessage 的返回值中获得)
|
@@ -820,47 +1178,28 @@ module TencentCloud
|
|
820
1178
|
end
|
821
1179
|
end
|
822
1180
|
|
823
|
-
#
|
824
|
-
class
|
825
|
-
# @param
|
826
|
-
# @type
|
827
|
-
# @param
|
828
|
-
# @type BindClusterId: Integer
|
829
|
-
# @param Remark: 说明,128个字符以内。
|
1181
|
+
# CreateAMQPCluster请求参数结构体
|
1182
|
+
class CreateAMQPClusterRequest < TencentCloud::Common::AbstractModel
|
1183
|
+
# @param Name: 3-64个字符,只能包含字母、数字、“-”及“_”
|
1184
|
+
# @type Name: String
|
1185
|
+
# @param Remark: 集群描述,128个字符以内
|
830
1186
|
# @type Remark: String
|
831
|
-
# @param Tags: 集群的标签列表
|
832
|
-
# @type Tags: Array
|
833
|
-
# @param PublicAccessEnabled: 是否开启公网访问,不填时默认开启
|
834
|
-
# @type PublicAccessEnabled: Boolean
|
835
1187
|
|
836
|
-
attr_accessor :
|
1188
|
+
attr_accessor :Name, :Remark
|
837
1189
|
|
838
|
-
def initialize(
|
839
|
-
@
|
840
|
-
@BindClusterId = bindclusterid
|
1190
|
+
def initialize(name=nil, remark=nil)
|
1191
|
+
@Name = name
|
841
1192
|
@Remark = remark
|
842
|
-
@Tags = tags
|
843
|
-
@PublicAccessEnabled = publicaccessenabled
|
844
1193
|
end
|
845
1194
|
|
846
1195
|
def deserialize(params)
|
847
|
-
@
|
848
|
-
@BindClusterId = params['BindClusterId']
|
1196
|
+
@Name = params['Name']
|
849
1197
|
@Remark = params['Remark']
|
850
|
-
unless params['Tags'].nil?
|
851
|
-
@Tags = []
|
852
|
-
params['Tags'].each do |i|
|
853
|
-
tag_tmp = Tag.new
|
854
|
-
tag_tmp.deserialize(i)
|
855
|
-
@Tags << tag_tmp
|
856
|
-
end
|
857
|
-
end
|
858
|
-
@PublicAccessEnabled = params['PublicAccessEnabled']
|
859
1198
|
end
|
860
1199
|
end
|
861
1200
|
|
862
|
-
#
|
863
|
-
class
|
1201
|
+
# CreateAMQPCluster返回参数结构体
|
1202
|
+
class CreateAMQPClusterResponse < TencentCloud::Common::AbstractModel
|
864
1203
|
# @param ClusterId: 集群ID
|
865
1204
|
# @type ClusterId: String
|
866
1205
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
@@ -879,81 +1218,348 @@ module TencentCloud
|
|
879
1218
|
end
|
880
1219
|
end
|
881
1220
|
|
882
|
-
#
|
883
|
-
class
|
884
|
-
# @param
|
885
|
-
# @type
|
886
|
-
# @param
|
887
|
-
# @type
|
888
|
-
# @param
|
889
|
-
# @type
|
890
|
-
# @param
|
891
|
-
# @type
|
892
|
-
# @param
|
893
|
-
# @type
|
894
|
-
# @param
|
895
|
-
# @type
|
896
|
-
# @param RewindSeconds: 队列是否开启回溯消息能力,该参数取值范围0-msgRetentionSeconds,即最大的回溯时间为消息在队列中的保留周期,0表示不开启。
|
897
|
-
# @type RewindSeconds: Integer
|
898
|
-
# @param Transaction: 1 表示事务队列,0 表示普通队列
|
899
|
-
# @type Transaction: Integer
|
900
|
-
# @param FirstQueryInterval: 第一次回查间隔
|
901
|
-
# @type FirstQueryInterval: Integer
|
902
|
-
# @param MaxQueryCount: 最大回查次数
|
903
|
-
# @type MaxQueryCount: Integer
|
904
|
-
# @param DeadLetterQueueName: 死信队列名称
|
905
|
-
# @type DeadLetterQueueName: String
|
906
|
-
# @param Policy: 死信策略。0为消息被多次消费未删除,1为Time-To-Live过期
|
907
|
-
# @type Policy: Integer
|
908
|
-
# @param MaxReceiveCount: 最大接收次数 1-1000
|
909
|
-
# @type MaxReceiveCount: Integer
|
910
|
-
# @param MaxTimeToLive: policy为1时必选。最大未消费过期时间。范围300-43200,单位秒,需要小于消息最大保留时间msgRetentionSeconds
|
911
|
-
# @type MaxTimeToLive: Integer
|
912
|
-
# @param Trace: 是否开启消息轨迹追踪,当不设置字段时,默认为不开启,该字段为true表示开启,为false表示不开启
|
913
|
-
# @type Trace: Boolean
|
1221
|
+
# CreateAMQPExchange请求参数结构体
|
1222
|
+
class CreateAMQPExchangeRequest < TencentCloud::Common::AbstractModel
|
1223
|
+
# @param Exchange: 交换机名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
1224
|
+
# @type Exchange: String
|
1225
|
+
# @param VHosts: 交换机所在的vhost,目前支持在单个vhost下创建主题
|
1226
|
+
# @type VHosts: Array
|
1227
|
+
# @param Type: 交换机类型,可选值为Direct, Fanout, Topic
|
1228
|
+
# @type Type: String
|
1229
|
+
# @param ClusterId: 集群ID
|
1230
|
+
# @type ClusterId: String
|
1231
|
+
# @param Remark: 交换机说明,最大128个字符
|
1232
|
+
# @type Remark: String
|
1233
|
+
# @param AlternateExchange: 备用交换机名称
|
1234
|
+
# @type AlternateExchange: String
|
914
1235
|
|
915
|
-
attr_accessor :
|
1236
|
+
attr_accessor :Exchange, :VHosts, :Type, :ClusterId, :Remark, :AlternateExchange
|
916
1237
|
|
917
|
-
def initialize(
|
918
|
-
@
|
919
|
-
@
|
920
|
-
@
|
921
|
-
@
|
922
|
-
@
|
923
|
-
@
|
924
|
-
@RewindSeconds = rewindseconds
|
925
|
-
@Transaction = transaction
|
926
|
-
@FirstQueryInterval = firstqueryinterval
|
927
|
-
@MaxQueryCount = maxquerycount
|
928
|
-
@DeadLetterQueueName = deadletterqueuename
|
929
|
-
@Policy = policy
|
930
|
-
@MaxReceiveCount = maxreceivecount
|
931
|
-
@MaxTimeToLive = maxtimetolive
|
932
|
-
@Trace = trace
|
1238
|
+
def initialize(exchange=nil, vhosts=nil, type=nil, clusterid=nil, remark=nil, alternateexchange=nil)
|
1239
|
+
@Exchange = exchange
|
1240
|
+
@VHosts = vhosts
|
1241
|
+
@Type = type
|
1242
|
+
@ClusterId = clusterid
|
1243
|
+
@Remark = remark
|
1244
|
+
@AlternateExchange = alternateexchange
|
933
1245
|
end
|
934
1246
|
|
935
1247
|
def deserialize(params)
|
936
|
-
@
|
937
|
-
@
|
938
|
-
@
|
939
|
-
@
|
940
|
-
@
|
941
|
-
@
|
942
|
-
@RewindSeconds = params['RewindSeconds']
|
943
|
-
@Transaction = params['Transaction']
|
944
|
-
@FirstQueryInterval = params['FirstQueryInterval']
|
945
|
-
@MaxQueryCount = params['MaxQueryCount']
|
946
|
-
@DeadLetterQueueName = params['DeadLetterQueueName']
|
947
|
-
@Policy = params['Policy']
|
948
|
-
@MaxReceiveCount = params['MaxReceiveCount']
|
949
|
-
@MaxTimeToLive = params['MaxTimeToLive']
|
950
|
-
@Trace = params['Trace']
|
1248
|
+
@Exchange = params['Exchange']
|
1249
|
+
@VHosts = params['VHosts']
|
1250
|
+
@Type = params['Type']
|
1251
|
+
@ClusterId = params['ClusterId']
|
1252
|
+
@Remark = params['Remark']
|
1253
|
+
@AlternateExchange = params['AlternateExchange']
|
951
1254
|
end
|
952
1255
|
end
|
953
1256
|
|
954
|
-
#
|
955
|
-
class
|
956
|
-
# @param
|
1257
|
+
# CreateAMQPExchange返回参数结构体
|
1258
|
+
class CreateAMQPExchangeResponse < TencentCloud::Common::AbstractModel
|
1259
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1260
|
+
# @type RequestId: String
|
1261
|
+
|
1262
|
+
attr_accessor :RequestId
|
1263
|
+
|
1264
|
+
def initialize(requestid=nil)
|
1265
|
+
@RequestId = requestid
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
def deserialize(params)
|
1269
|
+
@RequestId = params['RequestId']
|
1270
|
+
end
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
# CreateAMQPQueue请求参数结构体
|
1274
|
+
class CreateAMQPQueueRequest < TencentCloud::Common::AbstractModel
|
1275
|
+
# @param Queue: 队列名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
1276
|
+
# @type Queue: String
|
1277
|
+
# @param VHostId: 队列所在的vhost名称
|
1278
|
+
# @type VHostId: String
|
1279
|
+
# @param AutoDelete: 是否自动清除
|
1280
|
+
# @type AutoDelete: Boolean
|
1281
|
+
# @param ClusterId: 集群ID
|
1282
|
+
# @type ClusterId: String
|
1283
|
+
# @param Remark: 队列说明,最大128个字符
|
1284
|
+
# @type Remark: String
|
1285
|
+
# @param DeadLetterExchange: 死信exchange
|
1286
|
+
# @type DeadLetterExchange: String
|
1287
|
+
# @param DeadLetterRoutingKey: 路由键
|
1288
|
+
# @type DeadLetterRoutingKey: String
|
1289
|
+
|
1290
|
+
attr_accessor :Queue, :VHostId, :AutoDelete, :ClusterId, :Remark, :DeadLetterExchange, :DeadLetterRoutingKey
|
1291
|
+
|
1292
|
+
def initialize(queue=nil, vhostid=nil, autodelete=nil, clusterid=nil, remark=nil, deadletterexchange=nil, deadletterroutingkey=nil)
|
1293
|
+
@Queue = queue
|
1294
|
+
@VHostId = vhostid
|
1295
|
+
@AutoDelete = autodelete
|
1296
|
+
@ClusterId = clusterid
|
1297
|
+
@Remark = remark
|
1298
|
+
@DeadLetterExchange = deadletterexchange
|
1299
|
+
@DeadLetterRoutingKey = deadletterroutingkey
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
def deserialize(params)
|
1303
|
+
@Queue = params['Queue']
|
1304
|
+
@VHostId = params['VHostId']
|
1305
|
+
@AutoDelete = params['AutoDelete']
|
1306
|
+
@ClusterId = params['ClusterId']
|
1307
|
+
@Remark = params['Remark']
|
1308
|
+
@DeadLetterExchange = params['DeadLetterExchange']
|
1309
|
+
@DeadLetterRoutingKey = params['DeadLetterRoutingKey']
|
1310
|
+
end
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
# CreateAMQPQueue返回参数结构体
|
1314
|
+
class CreateAMQPQueueResponse < TencentCloud::Common::AbstractModel
|
1315
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1316
|
+
# @type RequestId: String
|
1317
|
+
|
1318
|
+
attr_accessor :RequestId
|
1319
|
+
|
1320
|
+
def initialize(requestid=nil)
|
1321
|
+
@RequestId = requestid
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
def deserialize(params)
|
1325
|
+
@RequestId = params['RequestId']
|
1326
|
+
end
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
# CreateAMQPRouteRelation请求参数结构体
|
1330
|
+
class CreateAMQPRouteRelationRequest < TencentCloud::Common::AbstractModel
|
1331
|
+
# @param ClusterId: 集群ID
|
1332
|
+
# @type ClusterId: String
|
1333
|
+
# @param VHostId: 交换机所在的vhost
|
1334
|
+
# @type VHostId: String
|
1335
|
+
# @param SourceExchange: 源Exchange名称
|
1336
|
+
# @type SourceExchange: String
|
1337
|
+
# @param DestType: 目标类型:Queue|Exchange
|
1338
|
+
# @type DestType: String
|
1339
|
+
# @param DestValue: 目标值
|
1340
|
+
# @type DestValue: String
|
1341
|
+
# @param Remark: 交换机说明,最大128个字符
|
1342
|
+
# @type Remark: String
|
1343
|
+
# @param RoutingKey: 绑定key,缺省值为default
|
1344
|
+
# @type RoutingKey: String
|
1345
|
+
|
1346
|
+
attr_accessor :ClusterId, :VHostId, :SourceExchange, :DestType, :DestValue, :Remark, :RoutingKey
|
1347
|
+
|
1348
|
+
def initialize(clusterid=nil, vhostid=nil, sourceexchange=nil, desttype=nil, destvalue=nil, remark=nil, routingkey=nil)
|
1349
|
+
@ClusterId = clusterid
|
1350
|
+
@VHostId = vhostid
|
1351
|
+
@SourceExchange = sourceexchange
|
1352
|
+
@DestType = desttype
|
1353
|
+
@DestValue = destvalue
|
1354
|
+
@Remark = remark
|
1355
|
+
@RoutingKey = routingkey
|
1356
|
+
end
|
1357
|
+
|
1358
|
+
def deserialize(params)
|
1359
|
+
@ClusterId = params['ClusterId']
|
1360
|
+
@VHostId = params['VHostId']
|
1361
|
+
@SourceExchange = params['SourceExchange']
|
1362
|
+
@DestType = params['DestType']
|
1363
|
+
@DestValue = params['DestValue']
|
1364
|
+
@Remark = params['Remark']
|
1365
|
+
@RoutingKey = params['RoutingKey']
|
1366
|
+
end
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
# CreateAMQPRouteRelation返回参数结构体
|
1370
|
+
class CreateAMQPRouteRelationResponse < TencentCloud::Common::AbstractModel
|
1371
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1372
|
+
# @type RequestId: String
|
1373
|
+
|
1374
|
+
attr_accessor :RequestId
|
1375
|
+
|
1376
|
+
def initialize(requestid=nil)
|
1377
|
+
@RequestId = requestid
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
def deserialize(params)
|
1381
|
+
@RequestId = params['RequestId']
|
1382
|
+
end
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
# CreateAMQPVHost请求参数结构体
|
1386
|
+
class CreateAMQPVHostRequest < TencentCloud::Common::AbstractModel
|
1387
|
+
# @param ClusterId: 集群ID
|
1388
|
+
# @type ClusterId: String
|
1389
|
+
# @param VHostId: vhost名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
1390
|
+
# @type VHostId: String
|
1391
|
+
# @param MsgTtl: 未消费消息的保留时间,以毫秒为单位,60秒-15天
|
1392
|
+
# @type MsgTtl: Integer
|
1393
|
+
# @param Remark: 说明,最大128个字符
|
1394
|
+
# @type Remark: String
|
1395
|
+
|
1396
|
+
attr_accessor :ClusterId, :VHostId, :MsgTtl, :Remark
|
1397
|
+
|
1398
|
+
def initialize(clusterid=nil, vhostid=nil, msgttl=nil, remark=nil)
|
1399
|
+
@ClusterId = clusterid
|
1400
|
+
@VHostId = vhostid
|
1401
|
+
@MsgTtl = msgttl
|
1402
|
+
@Remark = remark
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
def deserialize(params)
|
1406
|
+
@ClusterId = params['ClusterId']
|
1407
|
+
@VHostId = params['VHostId']
|
1408
|
+
@MsgTtl = params['MsgTtl']
|
1409
|
+
@Remark = params['Remark']
|
1410
|
+
end
|
1411
|
+
end
|
1412
|
+
|
1413
|
+
# CreateAMQPVHost返回参数结构体
|
1414
|
+
class CreateAMQPVHostResponse < TencentCloud::Common::AbstractModel
|
1415
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1416
|
+
# @type RequestId: String
|
1417
|
+
|
1418
|
+
attr_accessor :RequestId
|
1419
|
+
|
1420
|
+
def initialize(requestid=nil)
|
1421
|
+
@RequestId = requestid
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
def deserialize(params)
|
1425
|
+
@RequestId = params['RequestId']
|
1426
|
+
end
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
# CreateCluster请求参数结构体
|
1430
|
+
class CreateClusterRequest < TencentCloud::Common::AbstractModel
|
1431
|
+
# @param ClusterName: 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过16个字符。
|
1432
|
+
# @type ClusterName: String
|
1433
|
+
# @param BindClusterId: 用户专享物理集群ID,如果不传,则默认在公共集群上创建用户集群资源。
|
1434
|
+
# @type BindClusterId: Integer
|
1435
|
+
# @param Remark: 说明,128个字符以内。
|
1436
|
+
# @type Remark: String
|
1437
|
+
# @param Tags: 集群的标签列表
|
1438
|
+
# @type Tags: Array
|
1439
|
+
# @param PublicAccessEnabled: 是否开启公网访问,不填时默认开启
|
1440
|
+
# @type PublicAccessEnabled: Boolean
|
1441
|
+
|
1442
|
+
attr_accessor :ClusterName, :BindClusterId, :Remark, :Tags, :PublicAccessEnabled
|
1443
|
+
|
1444
|
+
def initialize(clustername=nil, bindclusterid=nil, remark=nil, tags=nil, publicaccessenabled=nil)
|
1445
|
+
@ClusterName = clustername
|
1446
|
+
@BindClusterId = bindclusterid
|
1447
|
+
@Remark = remark
|
1448
|
+
@Tags = tags
|
1449
|
+
@PublicAccessEnabled = publicaccessenabled
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
def deserialize(params)
|
1453
|
+
@ClusterName = params['ClusterName']
|
1454
|
+
@BindClusterId = params['BindClusterId']
|
1455
|
+
@Remark = params['Remark']
|
1456
|
+
unless params['Tags'].nil?
|
1457
|
+
@Tags = []
|
1458
|
+
params['Tags'].each do |i|
|
1459
|
+
tag_tmp = Tag.new
|
1460
|
+
tag_tmp.deserialize(i)
|
1461
|
+
@Tags << tag_tmp
|
1462
|
+
end
|
1463
|
+
end
|
1464
|
+
@PublicAccessEnabled = params['PublicAccessEnabled']
|
1465
|
+
end
|
1466
|
+
end
|
1467
|
+
|
1468
|
+
# CreateCluster返回参数结构体
|
1469
|
+
class CreateClusterResponse < TencentCloud::Common::AbstractModel
|
1470
|
+
# @param ClusterId: 集群ID
|
1471
|
+
# @type ClusterId: String
|
1472
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1473
|
+
# @type RequestId: String
|
1474
|
+
|
1475
|
+
attr_accessor :ClusterId, :RequestId
|
1476
|
+
|
1477
|
+
def initialize(clusterid=nil, requestid=nil)
|
1478
|
+
@ClusterId = clusterid
|
1479
|
+
@RequestId = requestid
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
def deserialize(params)
|
1483
|
+
@ClusterId = params['ClusterId']
|
1484
|
+
@RequestId = params['RequestId']
|
1485
|
+
end
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
# CreateCmqQueue请求参数结构体
|
1489
|
+
class CreateCmqQueueRequest < TencentCloud::Common::AbstractModel
|
1490
|
+
# @param QueueName: 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
1491
|
+
# @type QueueName: String
|
1492
|
+
# @param MaxMsgHeapNum: 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。
|
1493
|
+
# @type MaxMsgHeapNum: Integer
|
1494
|
+
# @param PollingWaitSeconds: 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。
|
1495
|
+
# @type PollingWaitSeconds: Integer
|
1496
|
+
# @param VisibilityTimeout: 消息可见性超时。取值范围 1-43200 秒(即12小时内),默认值 30。
|
1497
|
+
# @type VisibilityTimeout: Integer
|
1498
|
+
# @param MaxMsgSize: 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。
|
1499
|
+
# @type MaxMsgSize: Integer
|
1500
|
+
# @param MsgRetentionSeconds: 消息保留周期。取值范围 60-1296000 秒(1min-15天),默认值 345600 (4 天)。
|
1501
|
+
# @type MsgRetentionSeconds: Integer
|
1502
|
+
# @param RewindSeconds: 队列是否开启回溯消息能力,该参数取值范围0-msgRetentionSeconds,即最大的回溯时间为消息在队列中的保留周期,0表示不开启。
|
1503
|
+
# @type RewindSeconds: Integer
|
1504
|
+
# @param Transaction: 1 表示事务队列,0 表示普通队列
|
1505
|
+
# @type Transaction: Integer
|
1506
|
+
# @param FirstQueryInterval: 第一次回查间隔
|
1507
|
+
# @type FirstQueryInterval: Integer
|
1508
|
+
# @param MaxQueryCount: 最大回查次数
|
1509
|
+
# @type MaxQueryCount: Integer
|
1510
|
+
# @param DeadLetterQueueName: 死信队列名称
|
1511
|
+
# @type DeadLetterQueueName: String
|
1512
|
+
# @param Policy: 死信策略。0为消息被多次消费未删除,1为Time-To-Live过期
|
1513
|
+
# @type Policy: Integer
|
1514
|
+
# @param MaxReceiveCount: 最大接收次数 1-1000
|
1515
|
+
# @type MaxReceiveCount: Integer
|
1516
|
+
# @param MaxTimeToLive: policy为1时必选。最大未消费过期时间。范围300-43200,单位秒,需要小于消息最大保留时间msgRetentionSeconds
|
1517
|
+
# @type MaxTimeToLive: Integer
|
1518
|
+
# @param Trace: 是否开启消息轨迹追踪,当不设置字段时,默认为不开启,该字段为true表示开启,为false表示不开启
|
1519
|
+
# @type Trace: Boolean
|
1520
|
+
|
1521
|
+
attr_accessor :QueueName, :MaxMsgHeapNum, :PollingWaitSeconds, :VisibilityTimeout, :MaxMsgSize, :MsgRetentionSeconds, :RewindSeconds, :Transaction, :FirstQueryInterval, :MaxQueryCount, :DeadLetterQueueName, :Policy, :MaxReceiveCount, :MaxTimeToLive, :Trace
|
1522
|
+
|
1523
|
+
def initialize(queuename=nil, maxmsgheapnum=nil, pollingwaitseconds=nil, visibilitytimeout=nil, maxmsgsize=nil, msgretentionseconds=nil, rewindseconds=nil, transaction=nil, firstqueryinterval=nil, maxquerycount=nil, deadletterqueuename=nil, policy=nil, maxreceivecount=nil, maxtimetolive=nil, trace=nil)
|
1524
|
+
@QueueName = queuename
|
1525
|
+
@MaxMsgHeapNum = maxmsgheapnum
|
1526
|
+
@PollingWaitSeconds = pollingwaitseconds
|
1527
|
+
@VisibilityTimeout = visibilitytimeout
|
1528
|
+
@MaxMsgSize = maxmsgsize
|
1529
|
+
@MsgRetentionSeconds = msgretentionseconds
|
1530
|
+
@RewindSeconds = rewindseconds
|
1531
|
+
@Transaction = transaction
|
1532
|
+
@FirstQueryInterval = firstqueryinterval
|
1533
|
+
@MaxQueryCount = maxquerycount
|
1534
|
+
@DeadLetterQueueName = deadletterqueuename
|
1535
|
+
@Policy = policy
|
1536
|
+
@MaxReceiveCount = maxreceivecount
|
1537
|
+
@MaxTimeToLive = maxtimetolive
|
1538
|
+
@Trace = trace
|
1539
|
+
end
|
1540
|
+
|
1541
|
+
def deserialize(params)
|
1542
|
+
@QueueName = params['QueueName']
|
1543
|
+
@MaxMsgHeapNum = params['MaxMsgHeapNum']
|
1544
|
+
@PollingWaitSeconds = params['PollingWaitSeconds']
|
1545
|
+
@VisibilityTimeout = params['VisibilityTimeout']
|
1546
|
+
@MaxMsgSize = params['MaxMsgSize']
|
1547
|
+
@MsgRetentionSeconds = params['MsgRetentionSeconds']
|
1548
|
+
@RewindSeconds = params['RewindSeconds']
|
1549
|
+
@Transaction = params['Transaction']
|
1550
|
+
@FirstQueryInterval = params['FirstQueryInterval']
|
1551
|
+
@MaxQueryCount = params['MaxQueryCount']
|
1552
|
+
@DeadLetterQueueName = params['DeadLetterQueueName']
|
1553
|
+
@Policy = params['Policy']
|
1554
|
+
@MaxReceiveCount = params['MaxReceiveCount']
|
1555
|
+
@MaxTimeToLive = params['MaxTimeToLive']
|
1556
|
+
@Trace = params['Trace']
|
1557
|
+
end
|
1558
|
+
end
|
1559
|
+
|
1560
|
+
# CreateCmqQueue返回参数结构体
|
1561
|
+
class CreateCmqQueueResponse < TencentCloud::Common::AbstractModel
|
1562
|
+
# @param QueueId: 创建成功的queueId
|
957
1563
|
# @type QueueId: String
|
958
1564
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
959
1565
|
# @type RequestId: String
|
@@ -1587,9 +2193,9 @@ module TencentCloud
|
|
1587
2193
|
end
|
1588
2194
|
end
|
1589
2195
|
|
1590
|
-
#
|
1591
|
-
class
|
1592
|
-
# @param ClusterId:
|
2196
|
+
# DeleteAMQPCluster请求参数结构体
|
2197
|
+
class DeleteAMQPClusterRequest < TencentCloud::Common::AbstractModel
|
2198
|
+
# @param ClusterId: 待删除的集群Id。
|
1593
2199
|
# @type ClusterId: String
|
1594
2200
|
|
1595
2201
|
attr_accessor :ClusterId
|
@@ -1603,30 +2209,218 @@ module TencentCloud
|
|
1603
2209
|
end
|
1604
2210
|
end
|
1605
2211
|
|
1606
|
-
#
|
1607
|
-
class
|
1608
|
-
# @param ClusterId: 集群的ID
|
1609
|
-
# @type ClusterId: String
|
2212
|
+
# DeleteAMQPCluster返回参数结构体
|
2213
|
+
class DeleteAMQPClusterResponse < TencentCloud::Common::AbstractModel
|
1610
2214
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1611
2215
|
# @type RequestId: String
|
1612
2216
|
|
1613
|
-
attr_accessor :
|
2217
|
+
attr_accessor :RequestId
|
1614
2218
|
|
1615
|
-
def initialize(
|
1616
|
-
@ClusterId = clusterid
|
2219
|
+
def initialize(requestid=nil)
|
1617
2220
|
@RequestId = requestid
|
1618
2221
|
end
|
1619
2222
|
|
1620
2223
|
def deserialize(params)
|
1621
|
-
@ClusterId = params['ClusterId']
|
1622
2224
|
@RequestId = params['RequestId']
|
1623
2225
|
end
|
1624
2226
|
end
|
1625
2227
|
|
1626
|
-
#
|
1627
|
-
class
|
1628
|
-
# @param
|
1629
|
-
# @type
|
2228
|
+
# DeleteAMQPExchange请求参数结构体
|
2229
|
+
class DeleteAMQPExchangeRequest < TencentCloud::Common::AbstractModel
|
2230
|
+
# @param ClusterId: 集群ID
|
2231
|
+
# @type ClusterId: String
|
2232
|
+
# @param VHostId: Vhost名称
|
2233
|
+
# @type VHostId: String
|
2234
|
+
# @param Exchange: 交换机名称
|
2235
|
+
# @type Exchange: String
|
2236
|
+
|
2237
|
+
attr_accessor :ClusterId, :VHostId, :Exchange
|
2238
|
+
|
2239
|
+
def initialize(clusterid=nil, vhostid=nil, exchange=nil)
|
2240
|
+
@ClusterId = clusterid
|
2241
|
+
@VHostId = vhostid
|
2242
|
+
@Exchange = exchange
|
2243
|
+
end
|
2244
|
+
|
2245
|
+
def deserialize(params)
|
2246
|
+
@ClusterId = params['ClusterId']
|
2247
|
+
@VHostId = params['VHostId']
|
2248
|
+
@Exchange = params['Exchange']
|
2249
|
+
end
|
2250
|
+
end
|
2251
|
+
|
2252
|
+
# DeleteAMQPExchange返回参数结构体
|
2253
|
+
class DeleteAMQPExchangeResponse < TencentCloud::Common::AbstractModel
|
2254
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2255
|
+
# @type RequestId: String
|
2256
|
+
|
2257
|
+
attr_accessor :RequestId
|
2258
|
+
|
2259
|
+
def initialize(requestid=nil)
|
2260
|
+
@RequestId = requestid
|
2261
|
+
end
|
2262
|
+
|
2263
|
+
def deserialize(params)
|
2264
|
+
@RequestId = params['RequestId']
|
2265
|
+
end
|
2266
|
+
end
|
2267
|
+
|
2268
|
+
# DeleteAMQPQueue请求参数结构体
|
2269
|
+
class DeleteAMQPQueueRequest < TencentCloud::Common::AbstractModel
|
2270
|
+
# @param ClusterId: 集群ID
|
2271
|
+
# @type ClusterId: String
|
2272
|
+
# @param VHostId: Vhost名称
|
2273
|
+
# @type VHostId: String
|
2274
|
+
# @param Queue: 队列名称
|
2275
|
+
# @type Queue: String
|
2276
|
+
|
2277
|
+
attr_accessor :ClusterId, :VHostId, :Queue
|
2278
|
+
|
2279
|
+
def initialize(clusterid=nil, vhostid=nil, queue=nil)
|
2280
|
+
@ClusterId = clusterid
|
2281
|
+
@VHostId = vhostid
|
2282
|
+
@Queue = queue
|
2283
|
+
end
|
2284
|
+
|
2285
|
+
def deserialize(params)
|
2286
|
+
@ClusterId = params['ClusterId']
|
2287
|
+
@VHostId = params['VHostId']
|
2288
|
+
@Queue = params['Queue']
|
2289
|
+
end
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
# DeleteAMQPQueue返回参数结构体
|
2293
|
+
class DeleteAMQPQueueResponse < TencentCloud::Common::AbstractModel
|
2294
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2295
|
+
# @type RequestId: String
|
2296
|
+
|
2297
|
+
attr_accessor :RequestId
|
2298
|
+
|
2299
|
+
def initialize(requestid=nil)
|
2300
|
+
@RequestId = requestid
|
2301
|
+
end
|
2302
|
+
|
2303
|
+
def deserialize(params)
|
2304
|
+
@RequestId = params['RequestId']
|
2305
|
+
end
|
2306
|
+
end
|
2307
|
+
|
2308
|
+
# DeleteAMQPRouteRelation请求参数结构体
|
2309
|
+
class DeleteAMQPRouteRelationRequest < TencentCloud::Common::AbstractModel
|
2310
|
+
# @param ClusterId: 集群ID
|
2311
|
+
# @type ClusterId: String
|
2312
|
+
# @param VHostId: Vhost名称
|
2313
|
+
# @type VHostId: String
|
2314
|
+
# @param RouteRelationId: 路由关系ID
|
2315
|
+
# @type RouteRelationId: String
|
2316
|
+
|
2317
|
+
attr_accessor :ClusterId, :VHostId, :RouteRelationId
|
2318
|
+
|
2319
|
+
def initialize(clusterid=nil, vhostid=nil, routerelationid=nil)
|
2320
|
+
@ClusterId = clusterid
|
2321
|
+
@VHostId = vhostid
|
2322
|
+
@RouteRelationId = routerelationid
|
2323
|
+
end
|
2324
|
+
|
2325
|
+
def deserialize(params)
|
2326
|
+
@ClusterId = params['ClusterId']
|
2327
|
+
@VHostId = params['VHostId']
|
2328
|
+
@RouteRelationId = params['RouteRelationId']
|
2329
|
+
end
|
2330
|
+
end
|
2331
|
+
|
2332
|
+
# DeleteAMQPRouteRelation返回参数结构体
|
2333
|
+
class DeleteAMQPRouteRelationResponse < TencentCloud::Common::AbstractModel
|
2334
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2335
|
+
# @type RequestId: String
|
2336
|
+
|
2337
|
+
attr_accessor :RequestId
|
2338
|
+
|
2339
|
+
def initialize(requestid=nil)
|
2340
|
+
@RequestId = requestid
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
def deserialize(params)
|
2344
|
+
@RequestId = params['RequestId']
|
2345
|
+
end
|
2346
|
+
end
|
2347
|
+
|
2348
|
+
# DeleteAMQPVHost请求参数结构体
|
2349
|
+
class DeleteAMQPVHostRequest < TencentCloud::Common::AbstractModel
|
2350
|
+
# @param ClusterId: 集群ID
|
2351
|
+
# @type ClusterId: String
|
2352
|
+
# @param VHostId: vhost名称
|
2353
|
+
# @type VHostId: String
|
2354
|
+
|
2355
|
+
attr_accessor :ClusterId, :VHostId
|
2356
|
+
|
2357
|
+
def initialize(clusterid=nil, vhostid=nil)
|
2358
|
+
@ClusterId = clusterid
|
2359
|
+
@VHostId = vhostid
|
2360
|
+
end
|
2361
|
+
|
2362
|
+
def deserialize(params)
|
2363
|
+
@ClusterId = params['ClusterId']
|
2364
|
+
@VHostId = params['VHostId']
|
2365
|
+
end
|
2366
|
+
end
|
2367
|
+
|
2368
|
+
# DeleteAMQPVHost返回参数结构体
|
2369
|
+
class DeleteAMQPVHostResponse < TencentCloud::Common::AbstractModel
|
2370
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2371
|
+
# @type RequestId: String
|
2372
|
+
|
2373
|
+
attr_accessor :RequestId
|
2374
|
+
|
2375
|
+
def initialize(requestid=nil)
|
2376
|
+
@RequestId = requestid
|
2377
|
+
end
|
2378
|
+
|
2379
|
+
def deserialize(params)
|
2380
|
+
@RequestId = params['RequestId']
|
2381
|
+
end
|
2382
|
+
end
|
2383
|
+
|
2384
|
+
# DeleteCluster请求参数结构体
|
2385
|
+
class DeleteClusterRequest < TencentCloud::Common::AbstractModel
|
2386
|
+
# @param ClusterId: 集群Id,传入需要删除的集群Id。
|
2387
|
+
# @type ClusterId: String
|
2388
|
+
|
2389
|
+
attr_accessor :ClusterId
|
2390
|
+
|
2391
|
+
def initialize(clusterid=nil)
|
2392
|
+
@ClusterId = clusterid
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
def deserialize(params)
|
2396
|
+
@ClusterId = params['ClusterId']
|
2397
|
+
end
|
2398
|
+
end
|
2399
|
+
|
2400
|
+
# DeleteCluster返回参数结构体
|
2401
|
+
class DeleteClusterResponse < TencentCloud::Common::AbstractModel
|
2402
|
+
# @param ClusterId: 集群的ID
|
2403
|
+
# @type ClusterId: String
|
2404
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2405
|
+
# @type RequestId: String
|
2406
|
+
|
2407
|
+
attr_accessor :ClusterId, :RequestId
|
2408
|
+
|
2409
|
+
def initialize(clusterid=nil, requestid=nil)
|
2410
|
+
@ClusterId = clusterid
|
2411
|
+
@RequestId = requestid
|
2412
|
+
end
|
2413
|
+
|
2414
|
+
def deserialize(params)
|
2415
|
+
@ClusterId = params['ClusterId']
|
2416
|
+
@RequestId = params['RequestId']
|
2417
|
+
end
|
2418
|
+
end
|
2419
|
+
|
2420
|
+
# DeleteCmqQueue请求参数结构体
|
2421
|
+
class DeleteCmqQueueRequest < TencentCloud::Common::AbstractModel
|
2422
|
+
# @param QueueName: 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
2423
|
+
# @type QueueName: String
|
1630
2424
|
|
1631
2425
|
attr_accessor :QueueName
|
1632
2426
|
|
@@ -1966,151 +2760,607 @@ module TencentCloud
|
|
1966
2760
|
end
|
1967
2761
|
|
1968
2762
|
def deserialize(params)
|
1969
|
-
@RoleNames = params['RoleNames']
|
2763
|
+
@RoleNames = params['RoleNames']
|
2764
|
+
@ClusterId = params['ClusterId']
|
2765
|
+
end
|
2766
|
+
end
|
2767
|
+
|
2768
|
+
# DeleteRoles返回参数结构体
|
2769
|
+
class DeleteRolesResponse < TencentCloud::Common::AbstractModel
|
2770
|
+
# @param RoleNames: 成功删除的角色名称数组。
|
2771
|
+
# @type RoleNames: Array
|
2772
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2773
|
+
# @type RequestId: String
|
2774
|
+
|
2775
|
+
attr_accessor :RoleNames, :RequestId
|
2776
|
+
|
2777
|
+
def initialize(rolenames=nil, requestid=nil)
|
2778
|
+
@RoleNames = rolenames
|
2779
|
+
@RequestId = requestid
|
2780
|
+
end
|
2781
|
+
|
2782
|
+
def deserialize(params)
|
2783
|
+
@RoleNames = params['RoleNames']
|
2784
|
+
@RequestId = params['RequestId']
|
2785
|
+
end
|
2786
|
+
end
|
2787
|
+
|
2788
|
+
# DeleteSubscriptions请求参数结构体
|
2789
|
+
class DeleteSubscriptionsRequest < TencentCloud::Common::AbstractModel
|
2790
|
+
# @param SubscriptionTopicSets: 订阅关系集合,每次最多删除20个。
|
2791
|
+
# @type SubscriptionTopicSets: Array
|
2792
|
+
# @param ClusterId: pulsar集群Id。
|
2793
|
+
# @type ClusterId: String
|
2794
|
+
# @param EnvironmentId: 环境(命名空间)名称。
|
2795
|
+
# @type EnvironmentId: String
|
2796
|
+
# @param Force: 是否强制删除,默认为false
|
2797
|
+
# @type Force: Boolean
|
2798
|
+
|
2799
|
+
attr_accessor :SubscriptionTopicSets, :ClusterId, :EnvironmentId, :Force
|
2800
|
+
|
2801
|
+
def initialize(subscriptiontopicsets=nil, clusterid=nil, environmentid=nil, force=nil)
|
2802
|
+
@SubscriptionTopicSets = subscriptiontopicsets
|
2803
|
+
@ClusterId = clusterid
|
2804
|
+
@EnvironmentId = environmentid
|
2805
|
+
@Force = force
|
2806
|
+
end
|
2807
|
+
|
2808
|
+
def deserialize(params)
|
2809
|
+
unless params['SubscriptionTopicSets'].nil?
|
2810
|
+
@SubscriptionTopicSets = []
|
2811
|
+
params['SubscriptionTopicSets'].each do |i|
|
2812
|
+
subscriptiontopic_tmp = SubscriptionTopic.new
|
2813
|
+
subscriptiontopic_tmp.deserialize(i)
|
2814
|
+
@SubscriptionTopicSets << subscriptiontopic_tmp
|
2815
|
+
end
|
2816
|
+
end
|
2817
|
+
@ClusterId = params['ClusterId']
|
2818
|
+
@EnvironmentId = params['EnvironmentId']
|
2819
|
+
@Force = params['Force']
|
2820
|
+
end
|
2821
|
+
end
|
2822
|
+
|
2823
|
+
# DeleteSubscriptions返回参数结构体
|
2824
|
+
class DeleteSubscriptionsResponse < TencentCloud::Common::AbstractModel
|
2825
|
+
# @param SubscriptionTopicSets: 成功删除的订阅关系数组。
|
2826
|
+
# @type SubscriptionTopicSets: Array
|
2827
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2828
|
+
# @type RequestId: String
|
2829
|
+
|
2830
|
+
attr_accessor :SubscriptionTopicSets, :RequestId
|
2831
|
+
|
2832
|
+
def initialize(subscriptiontopicsets=nil, requestid=nil)
|
2833
|
+
@SubscriptionTopicSets = subscriptiontopicsets
|
2834
|
+
@RequestId = requestid
|
2835
|
+
end
|
2836
|
+
|
2837
|
+
def deserialize(params)
|
2838
|
+
unless params['SubscriptionTopicSets'].nil?
|
2839
|
+
@SubscriptionTopicSets = []
|
2840
|
+
params['SubscriptionTopicSets'].each do |i|
|
2841
|
+
subscriptiontopic_tmp = SubscriptionTopic.new
|
2842
|
+
subscriptiontopic_tmp.deserialize(i)
|
2843
|
+
@SubscriptionTopicSets << subscriptiontopic_tmp
|
2844
|
+
end
|
2845
|
+
end
|
2846
|
+
@RequestId = params['RequestId']
|
2847
|
+
end
|
2848
|
+
end
|
2849
|
+
|
2850
|
+
# DeleteTopics请求参数结构体
|
2851
|
+
class DeleteTopicsRequest < TencentCloud::Common::AbstractModel
|
2852
|
+
# @param TopicSets: 主题集合,每次最多删除20个。
|
2853
|
+
# @type TopicSets: Array
|
2854
|
+
# @param ClusterId: pulsar集群Id。
|
2855
|
+
# @type ClusterId: String
|
2856
|
+
# @param EnvironmentId: 环境(命名空间)名称。
|
2857
|
+
# @type EnvironmentId: String
|
2858
|
+
# @param Force: 是否强制删除,默认为false
|
2859
|
+
# @type Force: Boolean
|
2860
|
+
|
2861
|
+
attr_accessor :TopicSets, :ClusterId, :EnvironmentId, :Force
|
2862
|
+
|
2863
|
+
def initialize(topicsets=nil, clusterid=nil, environmentid=nil, force=nil)
|
2864
|
+
@TopicSets = topicsets
|
2865
|
+
@ClusterId = clusterid
|
2866
|
+
@EnvironmentId = environmentid
|
2867
|
+
@Force = force
|
2868
|
+
end
|
2869
|
+
|
2870
|
+
def deserialize(params)
|
2871
|
+
unless params['TopicSets'].nil?
|
2872
|
+
@TopicSets = []
|
2873
|
+
params['TopicSets'].each do |i|
|
2874
|
+
topicrecord_tmp = TopicRecord.new
|
2875
|
+
topicrecord_tmp.deserialize(i)
|
2876
|
+
@TopicSets << topicrecord_tmp
|
2877
|
+
end
|
2878
|
+
end
|
2879
|
+
@ClusterId = params['ClusterId']
|
2880
|
+
@EnvironmentId = params['EnvironmentId']
|
2881
|
+
@Force = params['Force']
|
2882
|
+
end
|
2883
|
+
end
|
2884
|
+
|
2885
|
+
# DeleteTopics返回参数结构体
|
2886
|
+
class DeleteTopicsResponse < TencentCloud::Common::AbstractModel
|
2887
|
+
# @param TopicSets: 被删除的主题数组。
|
2888
|
+
# @type TopicSets: Array
|
2889
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2890
|
+
# @type RequestId: String
|
2891
|
+
|
2892
|
+
attr_accessor :TopicSets, :RequestId
|
2893
|
+
|
2894
|
+
def initialize(topicsets=nil, requestid=nil)
|
2895
|
+
@TopicSets = topicsets
|
2896
|
+
@RequestId = requestid
|
2897
|
+
end
|
2898
|
+
|
2899
|
+
def deserialize(params)
|
2900
|
+
unless params['TopicSets'].nil?
|
2901
|
+
@TopicSets = []
|
2902
|
+
params['TopicSets'].each do |i|
|
2903
|
+
topicrecord_tmp = TopicRecord.new
|
2904
|
+
topicrecord_tmp.deserialize(i)
|
2905
|
+
@TopicSets << topicrecord_tmp
|
2906
|
+
end
|
2907
|
+
end
|
2908
|
+
@RequestId = params['RequestId']
|
2909
|
+
end
|
2910
|
+
end
|
2911
|
+
|
2912
|
+
# DescribeAMQPCluster请求参数结构体
|
2913
|
+
class DescribeAMQPClusterRequest < TencentCloud::Common::AbstractModel
|
2914
|
+
# @param ClusterId: 集群ID
|
2915
|
+
# @type ClusterId: String
|
2916
|
+
|
2917
|
+
attr_accessor :ClusterId
|
2918
|
+
|
2919
|
+
def initialize(clusterid=nil)
|
2920
|
+
@ClusterId = clusterid
|
2921
|
+
end
|
2922
|
+
|
2923
|
+
def deserialize(params)
|
2924
|
+
@ClusterId = params['ClusterId']
|
2925
|
+
end
|
2926
|
+
end
|
2927
|
+
|
2928
|
+
# DescribeAMQPCluster返回参数结构体
|
2929
|
+
class DescribeAMQPClusterResponse < TencentCloud::Common::AbstractModel
|
2930
|
+
# @param ClusterInfo: 集群信息
|
2931
|
+
# @type ClusterInfo: :class:`Tencentcloud::Tdmq.v20200217.models.AMQPClusterInfo`
|
2932
|
+
# @param ClusterConfig: 集群配置
|
2933
|
+
# @type ClusterConfig: :class:`Tencentcloud::Tdmq.v20200217.models.AMQPClusterConfig`
|
2934
|
+
# @param ClusterStats: 集群最近使用量
|
2935
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2936
|
+
# @type ClusterStats: :class:`Tencentcloud::Tdmq.v20200217.models.AMQPClusterRecentStats`
|
2937
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2938
|
+
# @type RequestId: String
|
2939
|
+
|
2940
|
+
attr_accessor :ClusterInfo, :ClusterConfig, :ClusterStats, :RequestId
|
2941
|
+
|
2942
|
+
def initialize(clusterinfo=nil, clusterconfig=nil, clusterstats=nil, requestid=nil)
|
2943
|
+
@ClusterInfo = clusterinfo
|
2944
|
+
@ClusterConfig = clusterconfig
|
2945
|
+
@ClusterStats = clusterstats
|
2946
|
+
@RequestId = requestid
|
2947
|
+
end
|
2948
|
+
|
2949
|
+
def deserialize(params)
|
2950
|
+
unless params['ClusterInfo'].nil?
|
2951
|
+
@ClusterInfo = AMQPClusterInfo.new
|
2952
|
+
@ClusterInfo.deserialize(params['ClusterInfo'])
|
2953
|
+
end
|
2954
|
+
unless params['ClusterConfig'].nil?
|
2955
|
+
@ClusterConfig = AMQPClusterConfig.new
|
2956
|
+
@ClusterConfig.deserialize(params['ClusterConfig'])
|
2957
|
+
end
|
2958
|
+
unless params['ClusterStats'].nil?
|
2959
|
+
@ClusterStats = AMQPClusterRecentStats.new
|
2960
|
+
@ClusterStats.deserialize(params['ClusterStats'])
|
2961
|
+
end
|
2962
|
+
@RequestId = params['RequestId']
|
2963
|
+
end
|
2964
|
+
end
|
2965
|
+
|
2966
|
+
# DescribeAMQPClusters请求参数结构体
|
2967
|
+
class DescribeAMQPClustersRequest < TencentCloud::Common::AbstractModel
|
2968
|
+
# @param Offset: 偏移量
|
2969
|
+
# @type Offset: Integer
|
2970
|
+
# @param Limit: 限制数目
|
2971
|
+
# @type Limit: Integer
|
2972
|
+
# @param IdKeyword: 按照集群ID关键字搜索
|
2973
|
+
# @type IdKeyword: String
|
2974
|
+
# @param NameKeyword: 按照集群名称关键字搜索
|
2975
|
+
# @type NameKeyword: String
|
2976
|
+
# @param ClusterIdList: 集群ID列表过滤
|
2977
|
+
# @type ClusterIdList: Array
|
2978
|
+
# @param IsTagFilter: 标签过滤查找时,需要设置为true
|
2979
|
+
# @type IsTagFilter: Boolean
|
2980
|
+
# @param Filters: 过滤器。目前支持按标签过滤。
|
2981
|
+
# @type Filters: Array
|
2982
|
+
|
2983
|
+
attr_accessor :Offset, :Limit, :IdKeyword, :NameKeyword, :ClusterIdList, :IsTagFilter, :Filters
|
2984
|
+
|
2985
|
+
def initialize(offset=nil, limit=nil, idkeyword=nil, namekeyword=nil, clusteridlist=nil, istagfilter=nil, filters=nil)
|
2986
|
+
@Offset = offset
|
2987
|
+
@Limit = limit
|
2988
|
+
@IdKeyword = idkeyword
|
2989
|
+
@NameKeyword = namekeyword
|
2990
|
+
@ClusterIdList = clusteridlist
|
2991
|
+
@IsTagFilter = istagfilter
|
2992
|
+
@Filters = filters
|
2993
|
+
end
|
2994
|
+
|
2995
|
+
def deserialize(params)
|
2996
|
+
@Offset = params['Offset']
|
2997
|
+
@Limit = params['Limit']
|
2998
|
+
@IdKeyword = params['IdKeyword']
|
2999
|
+
@NameKeyword = params['NameKeyword']
|
3000
|
+
@ClusterIdList = params['ClusterIdList']
|
3001
|
+
@IsTagFilter = params['IsTagFilter']
|
3002
|
+
unless params['Filters'].nil?
|
3003
|
+
@Filters = []
|
3004
|
+
params['Filters'].each do |i|
|
3005
|
+
filter_tmp = Filter.new
|
3006
|
+
filter_tmp.deserialize(i)
|
3007
|
+
@Filters << filter_tmp
|
3008
|
+
end
|
3009
|
+
end
|
3010
|
+
end
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
# DescribeAMQPClusters返回参数结构体
|
3014
|
+
class DescribeAMQPClustersResponse < TencentCloud::Common::AbstractModel
|
3015
|
+
# @param ClusterList: 集群信息
|
3016
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3017
|
+
# @type ClusterList: Array
|
3018
|
+
# @param TotalCount: 总条数
|
3019
|
+
# @type TotalCount: Integer
|
3020
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3021
|
+
# @type RequestId: String
|
3022
|
+
|
3023
|
+
attr_accessor :ClusterList, :TotalCount, :RequestId
|
3024
|
+
|
3025
|
+
def initialize(clusterlist=nil, totalcount=nil, requestid=nil)
|
3026
|
+
@ClusterList = clusterlist
|
3027
|
+
@TotalCount = totalcount
|
3028
|
+
@RequestId = requestid
|
3029
|
+
end
|
3030
|
+
|
3031
|
+
def deserialize(params)
|
3032
|
+
unless params['ClusterList'].nil?
|
3033
|
+
@ClusterList = []
|
3034
|
+
params['ClusterList'].each do |i|
|
3035
|
+
amqpclusterdetail_tmp = AMQPClusterDetail.new
|
3036
|
+
amqpclusterdetail_tmp.deserialize(i)
|
3037
|
+
@ClusterList << amqpclusterdetail_tmp
|
3038
|
+
end
|
3039
|
+
end
|
3040
|
+
@TotalCount = params['TotalCount']
|
3041
|
+
@RequestId = params['RequestId']
|
3042
|
+
end
|
3043
|
+
end
|
3044
|
+
|
3045
|
+
# DescribeAMQPCreateQuota请求参数结构体
|
3046
|
+
class DescribeAMQPCreateQuotaRequest < TencentCloud::Common::AbstractModel
|
3047
|
+
|
3048
|
+
|
3049
|
+
def initialize()
|
3050
|
+
end
|
3051
|
+
|
3052
|
+
def deserialize(params)
|
3053
|
+
end
|
3054
|
+
end
|
3055
|
+
|
3056
|
+
# DescribeAMQPCreateQuota返回参数结构体
|
3057
|
+
class DescribeAMQPCreateQuotaResponse < TencentCloud::Common::AbstractModel
|
3058
|
+
# @param MaxClusterNum: 租户总共可使用集群数量
|
3059
|
+
# @type MaxClusterNum: Integer
|
3060
|
+
# @param UsedClusterNum: 租户已创建集群数量
|
3061
|
+
# @type UsedClusterNum: Integer
|
3062
|
+
# @param ExchangeCapacity: Exchange容量
|
3063
|
+
# @type ExchangeCapacity: Integer
|
3064
|
+
# @param QueueCapacity: Queue容量
|
3065
|
+
# @type QueueCapacity: Integer
|
3066
|
+
# @param MaxTpsPerVHost: 单Vhost TPS
|
3067
|
+
# @type MaxTpsPerVHost: Integer
|
3068
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3069
|
+
# @type RequestId: String
|
3070
|
+
|
3071
|
+
attr_accessor :MaxClusterNum, :UsedClusterNum, :ExchangeCapacity, :QueueCapacity, :MaxTpsPerVHost, :RequestId
|
3072
|
+
|
3073
|
+
def initialize(maxclusternum=nil, usedclusternum=nil, exchangecapacity=nil, queuecapacity=nil, maxtpspervhost=nil, requestid=nil)
|
3074
|
+
@MaxClusterNum = maxclusternum
|
3075
|
+
@UsedClusterNum = usedclusternum
|
3076
|
+
@ExchangeCapacity = exchangecapacity
|
3077
|
+
@QueueCapacity = queuecapacity
|
3078
|
+
@MaxTpsPerVHost = maxtpspervhost
|
3079
|
+
@RequestId = requestid
|
3080
|
+
end
|
3081
|
+
|
3082
|
+
def deserialize(params)
|
3083
|
+
@MaxClusterNum = params['MaxClusterNum']
|
3084
|
+
@UsedClusterNum = params['UsedClusterNum']
|
3085
|
+
@ExchangeCapacity = params['ExchangeCapacity']
|
3086
|
+
@QueueCapacity = params['QueueCapacity']
|
3087
|
+
@MaxTpsPerVHost = params['MaxTpsPerVHost']
|
3088
|
+
@RequestId = params['RequestId']
|
3089
|
+
end
|
3090
|
+
end
|
3091
|
+
|
3092
|
+
# DescribeAMQPExchanges请求参数结构体
|
3093
|
+
class DescribeAMQPExchangesRequest < TencentCloud::Common::AbstractModel
|
3094
|
+
# @param Offset: 查询偏移量
|
3095
|
+
# @type Offset: Integer
|
3096
|
+
# @param Limit: 查询限制数
|
3097
|
+
# @type Limit: Integer
|
3098
|
+
# @param ClusterId: 集群ID
|
3099
|
+
# @type ClusterId: String
|
3100
|
+
# @param VHostId: Vhost ID
|
3101
|
+
# @type VHostId: String
|
3102
|
+
# @param FilterType: 按路由类型过滤查询结果,可选择Direct, Fanout, Topic
|
3103
|
+
# @type FilterType: Array
|
3104
|
+
# @param FilterName: 按exchange名称搜索,支持模糊查询
|
3105
|
+
# @type FilterName: String
|
3106
|
+
# @param FilterInternal: 过滤查询内部或者外部exchange
|
3107
|
+
# @type FilterInternal: Boolean
|
3108
|
+
|
3109
|
+
attr_accessor :Offset, :Limit, :ClusterId, :VHostId, :FilterType, :FilterName, :FilterInternal
|
3110
|
+
|
3111
|
+
def initialize(offset=nil, limit=nil, clusterid=nil, vhostid=nil, filtertype=nil, filtername=nil, filterinternal=nil)
|
3112
|
+
@Offset = offset
|
3113
|
+
@Limit = limit
|
3114
|
+
@ClusterId = clusterid
|
3115
|
+
@VHostId = vhostid
|
3116
|
+
@FilterType = filtertype
|
3117
|
+
@FilterName = filtername
|
3118
|
+
@FilterInternal = filterinternal
|
3119
|
+
end
|
3120
|
+
|
3121
|
+
def deserialize(params)
|
3122
|
+
@Offset = params['Offset']
|
3123
|
+
@Limit = params['Limit']
|
3124
|
+
@ClusterId = params['ClusterId']
|
3125
|
+
@VHostId = params['VHostId']
|
3126
|
+
@FilterType = params['FilterType']
|
3127
|
+
@FilterName = params['FilterName']
|
3128
|
+
@FilterInternal = params['FilterInternal']
|
3129
|
+
end
|
3130
|
+
end
|
3131
|
+
|
3132
|
+
# DescribeAMQPExchanges返回参数结构体
|
3133
|
+
class DescribeAMQPExchangesResponse < TencentCloud::Common::AbstractModel
|
3134
|
+
# @param TotalCount: 总记录数
|
3135
|
+
# @type TotalCount: Integer
|
3136
|
+
# @param Exchanges: 主题信息列表
|
3137
|
+
# @type Exchanges: Array
|
3138
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3139
|
+
# @type RequestId: String
|
3140
|
+
|
3141
|
+
attr_accessor :TotalCount, :Exchanges, :RequestId
|
3142
|
+
|
3143
|
+
def initialize(totalcount=nil, exchanges=nil, requestid=nil)
|
3144
|
+
@TotalCount = totalcount
|
3145
|
+
@Exchanges = exchanges
|
3146
|
+
@RequestId = requestid
|
3147
|
+
end
|
3148
|
+
|
3149
|
+
def deserialize(params)
|
3150
|
+
@TotalCount = params['TotalCount']
|
3151
|
+
unless params['Exchanges'].nil?
|
3152
|
+
@Exchanges = []
|
3153
|
+
params['Exchanges'].each do |i|
|
3154
|
+
amqpexchange_tmp = AMQPExchange.new
|
3155
|
+
amqpexchange_tmp.deserialize(i)
|
3156
|
+
@Exchanges << amqpexchange_tmp
|
3157
|
+
end
|
3158
|
+
end
|
3159
|
+
@RequestId = params['RequestId']
|
3160
|
+
end
|
3161
|
+
end
|
3162
|
+
|
3163
|
+
# DescribeAMQPQueues请求参数结构体
|
3164
|
+
class DescribeAMQPQueuesRequest < TencentCloud::Common::AbstractModel
|
3165
|
+
# @param Offset: 查询偏移量
|
3166
|
+
# @type Offset: Integer
|
3167
|
+
# @param Limit: 查询限制数
|
3168
|
+
# @type Limit: Integer
|
3169
|
+
# @param ClusterId: 集群ID
|
3170
|
+
# @type ClusterId: String
|
3171
|
+
# @param VHostId: Vhost名称
|
3172
|
+
# @type VHostId: String
|
3173
|
+
# @param NameKeyword: 按队列名称搜索,支持模糊查询
|
3174
|
+
# @type NameKeyword: String
|
3175
|
+
# @param SortOrder: 查询结果排序规则,ASC为升序,DESC为降序
|
3176
|
+
# @type SortOrder: String
|
3177
|
+
# @param SortedBy: 对查询结果排序,此为排序字段,目前支持Accumulative(消息堆积量)、Tps
|
3178
|
+
# @type SortedBy: String
|
3179
|
+
# @param FilterOneQueue: 队列名称,指定此参数后将只返回该队列信息
|
3180
|
+
# @type FilterOneQueue: String
|
3181
|
+
|
3182
|
+
attr_accessor :Offset, :Limit, :ClusterId, :VHostId, :NameKeyword, :SortOrder, :SortedBy, :FilterOneQueue
|
3183
|
+
|
3184
|
+
def initialize(offset=nil, limit=nil, clusterid=nil, vhostid=nil, namekeyword=nil, sortorder=nil, sortedby=nil, filteronequeue=nil)
|
3185
|
+
@Offset = offset
|
3186
|
+
@Limit = limit
|
3187
|
+
@ClusterId = clusterid
|
3188
|
+
@VHostId = vhostid
|
3189
|
+
@NameKeyword = namekeyword
|
3190
|
+
@SortOrder = sortorder
|
3191
|
+
@SortedBy = sortedby
|
3192
|
+
@FilterOneQueue = filteronequeue
|
3193
|
+
end
|
3194
|
+
|
3195
|
+
def deserialize(params)
|
3196
|
+
@Offset = params['Offset']
|
3197
|
+
@Limit = params['Limit']
|
1970
3198
|
@ClusterId = params['ClusterId']
|
3199
|
+
@VHostId = params['VHostId']
|
3200
|
+
@NameKeyword = params['NameKeyword']
|
3201
|
+
@SortOrder = params['SortOrder']
|
3202
|
+
@SortedBy = params['SortedBy']
|
3203
|
+
@FilterOneQueue = params['FilterOneQueue']
|
1971
3204
|
end
|
1972
3205
|
end
|
1973
3206
|
|
1974
|
-
#
|
1975
|
-
class
|
1976
|
-
# @param
|
1977
|
-
# @type
|
3207
|
+
# DescribeAMQPQueues返回参数结构体
|
3208
|
+
class DescribeAMQPQueuesResponse < TencentCloud::Common::AbstractModel
|
3209
|
+
# @param TotalCount: 总记录数
|
3210
|
+
# @type TotalCount: Integer
|
3211
|
+
# @param Queues: 队列信息列表
|
3212
|
+
# @type Queues: Array
|
1978
3213
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1979
3214
|
# @type RequestId: String
|
1980
3215
|
|
1981
|
-
attr_accessor :
|
3216
|
+
attr_accessor :TotalCount, :Queues, :RequestId
|
1982
3217
|
|
1983
|
-
def initialize(
|
1984
|
-
@
|
3218
|
+
def initialize(totalcount=nil, queues=nil, requestid=nil)
|
3219
|
+
@TotalCount = totalcount
|
3220
|
+
@Queues = queues
|
1985
3221
|
@RequestId = requestid
|
1986
3222
|
end
|
1987
3223
|
|
1988
3224
|
def deserialize(params)
|
1989
|
-
@
|
3225
|
+
@TotalCount = params['TotalCount']
|
3226
|
+
unless params['Queues'].nil?
|
3227
|
+
@Queues = []
|
3228
|
+
params['Queues'].each do |i|
|
3229
|
+
amqpqueuedetail_tmp = AMQPQueueDetail.new
|
3230
|
+
amqpqueuedetail_tmp.deserialize(i)
|
3231
|
+
@Queues << amqpqueuedetail_tmp
|
3232
|
+
end
|
3233
|
+
end
|
1990
3234
|
@RequestId = params['RequestId']
|
1991
3235
|
end
|
1992
3236
|
end
|
1993
3237
|
|
1994
|
-
#
|
1995
|
-
class
|
1996
|
-
# @param
|
1997
|
-
# @type
|
1998
|
-
# @param
|
3238
|
+
# DescribeAMQPRouteRelations请求参数结构体
|
3239
|
+
class DescribeAMQPRouteRelationsRequest < TencentCloud::Common::AbstractModel
|
3240
|
+
# @param Offset: 查询偏移量
|
3241
|
+
# @type Offset: Integer
|
3242
|
+
# @param Limit: 查询限制数
|
3243
|
+
# @type Limit: Integer
|
3244
|
+
# @param ClusterId: 集群ID
|
1999
3245
|
# @type ClusterId: String
|
2000
|
-
# @param
|
2001
|
-
# @type
|
2002
|
-
# @param
|
2003
|
-
# @type
|
2004
|
-
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
3246
|
+
# @param VHostId: Vhost名称
|
3247
|
+
# @type VHostId: String
|
3248
|
+
# @param FilterSourceExchange: 按源exchange名称过滤查询结果,支持模糊查询
|
3249
|
+
# @type FilterSourceExchange: String
|
3250
|
+
# @param FilterDestType: 按绑定的目标类型过滤查询结果,可选值:Exchange、Queue
|
3251
|
+
# @type FilterDestType: String
|
3252
|
+
# @param FilterDestValue: 按目标名称过滤查询结果,支持模糊查询
|
3253
|
+
# @type FilterDestValue: String
|
3254
|
+
|
3255
|
+
attr_accessor :Offset, :Limit, :ClusterId, :VHostId, :FilterSourceExchange, :FilterDestType, :FilterDestValue
|
3256
|
+
|
3257
|
+
def initialize(offset=nil, limit=nil, clusterid=nil, vhostid=nil, filtersourceexchange=nil, filterdesttype=nil, filterdestvalue=nil)
|
3258
|
+
@Offset = offset
|
3259
|
+
@Limit = limit
|
2009
3260
|
@ClusterId = clusterid
|
2010
|
-
@
|
2011
|
-
@
|
3261
|
+
@VHostId = vhostid
|
3262
|
+
@FilterSourceExchange = filtersourceexchange
|
3263
|
+
@FilterDestType = filterdesttype
|
3264
|
+
@FilterDestValue = filterdestvalue
|
2012
3265
|
end
|
2013
3266
|
|
2014
3267
|
def deserialize(params)
|
2015
|
-
|
2016
|
-
|
2017
|
-
params['SubscriptionTopicSets'].each do |i|
|
2018
|
-
subscriptiontopic_tmp = SubscriptionTopic.new
|
2019
|
-
subscriptiontopic_tmp.deserialize(i)
|
2020
|
-
@SubscriptionTopicSets << subscriptiontopic_tmp
|
2021
|
-
end
|
2022
|
-
end
|
3268
|
+
@Offset = params['Offset']
|
3269
|
+
@Limit = params['Limit']
|
2023
3270
|
@ClusterId = params['ClusterId']
|
2024
|
-
@
|
2025
|
-
@
|
3271
|
+
@VHostId = params['VHostId']
|
3272
|
+
@FilterSourceExchange = params['FilterSourceExchange']
|
3273
|
+
@FilterDestType = params['FilterDestType']
|
3274
|
+
@FilterDestValue = params['FilterDestValue']
|
2026
3275
|
end
|
2027
3276
|
end
|
2028
3277
|
|
2029
|
-
#
|
2030
|
-
class
|
2031
|
-
# @param
|
2032
|
-
# @type
|
3278
|
+
# DescribeAMQPRouteRelations返回参数结构体
|
3279
|
+
class DescribeAMQPRouteRelationsResponse < TencentCloud::Common::AbstractModel
|
3280
|
+
# @param TotalCount: 总记录数
|
3281
|
+
# @type TotalCount: Integer
|
3282
|
+
# @param RouteRelations: 路由关系列表
|
3283
|
+
# @type RouteRelations: Array
|
2033
3284
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2034
3285
|
# @type RequestId: String
|
2035
3286
|
|
2036
|
-
attr_accessor :
|
3287
|
+
attr_accessor :TotalCount, :RouteRelations, :RequestId
|
2037
3288
|
|
2038
|
-
def initialize(
|
2039
|
-
@
|
3289
|
+
def initialize(totalcount=nil, routerelations=nil, requestid=nil)
|
3290
|
+
@TotalCount = totalcount
|
3291
|
+
@RouteRelations = routerelations
|
2040
3292
|
@RequestId = requestid
|
2041
3293
|
end
|
2042
3294
|
|
2043
3295
|
def deserialize(params)
|
2044
|
-
|
2045
|
-
|
2046
|
-
|
2047
|
-
|
2048
|
-
|
2049
|
-
|
3296
|
+
@TotalCount = params['TotalCount']
|
3297
|
+
unless params['RouteRelations'].nil?
|
3298
|
+
@RouteRelations = []
|
3299
|
+
params['RouteRelations'].each do |i|
|
3300
|
+
amqprouterelation_tmp = AMQPRouteRelation.new
|
3301
|
+
amqprouterelation_tmp.deserialize(i)
|
3302
|
+
@RouteRelations << amqprouterelation_tmp
|
2050
3303
|
end
|
2051
3304
|
end
|
2052
3305
|
@RequestId = params['RequestId']
|
2053
3306
|
end
|
2054
3307
|
end
|
2055
3308
|
|
2056
|
-
#
|
2057
|
-
class
|
2058
|
-
# @param
|
2059
|
-
# @type TopicSets: Array
|
2060
|
-
# @param ClusterId: pulsar集群Id。
|
3309
|
+
# DescribeAMQPVHosts请求参数结构体
|
3310
|
+
class DescribeAMQPVHostsRequest < TencentCloud::Common::AbstractModel
|
3311
|
+
# @param ClusterId: 集群ID
|
2061
3312
|
# @type ClusterId: String
|
2062
|
-
# @param
|
2063
|
-
# @type
|
2064
|
-
# @param
|
2065
|
-
# @type
|
3313
|
+
# @param Offset: 偏移量
|
3314
|
+
# @type Offset: Integer
|
3315
|
+
# @param Limit: 限制数目
|
3316
|
+
# @type Limit: Integer
|
3317
|
+
# @param NameKeyword: 按名称搜索
|
3318
|
+
# @type NameKeyword: String
|
2066
3319
|
|
2067
|
-
attr_accessor :
|
3320
|
+
attr_accessor :ClusterId, :Offset, :Limit, :NameKeyword
|
2068
3321
|
|
2069
|
-
def initialize(
|
2070
|
-
@TopicSets = topicsets
|
3322
|
+
def initialize(clusterid=nil, offset=nil, limit=nil, namekeyword=nil)
|
2071
3323
|
@ClusterId = clusterid
|
2072
|
-
@
|
2073
|
-
@
|
3324
|
+
@Offset = offset
|
3325
|
+
@Limit = limit
|
3326
|
+
@NameKeyword = namekeyword
|
2074
3327
|
end
|
2075
3328
|
|
2076
3329
|
def deserialize(params)
|
2077
|
-
unless params['TopicSets'].nil?
|
2078
|
-
@TopicSets = []
|
2079
|
-
params['TopicSets'].each do |i|
|
2080
|
-
topicrecord_tmp = TopicRecord.new
|
2081
|
-
topicrecord_tmp.deserialize(i)
|
2082
|
-
@TopicSets << topicrecord_tmp
|
2083
|
-
end
|
2084
|
-
end
|
2085
3330
|
@ClusterId = params['ClusterId']
|
2086
|
-
@
|
2087
|
-
@
|
3331
|
+
@Offset = params['Offset']
|
3332
|
+
@Limit = params['Limit']
|
3333
|
+
@NameKeyword = params['NameKeyword']
|
2088
3334
|
end
|
2089
3335
|
end
|
2090
3336
|
|
2091
|
-
#
|
2092
|
-
class
|
2093
|
-
# @param
|
2094
|
-
# @type
|
3337
|
+
# DescribeAMQPVHosts返回参数结构体
|
3338
|
+
class DescribeAMQPVHostsResponse < TencentCloud::Common::AbstractModel
|
3339
|
+
# @param VHosts: Vhost 列表
|
3340
|
+
# @type VHosts: Array
|
3341
|
+
# @param TotalCount: 总条数
|
3342
|
+
# @type TotalCount: Integer
|
2095
3343
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2096
3344
|
# @type RequestId: String
|
2097
3345
|
|
2098
|
-
attr_accessor :
|
3346
|
+
attr_accessor :VHosts, :TotalCount, :RequestId
|
2099
3347
|
|
2100
|
-
def initialize(
|
2101
|
-
@
|
3348
|
+
def initialize(vhosts=nil, totalcount=nil, requestid=nil)
|
3349
|
+
@VHosts = vhosts
|
3350
|
+
@TotalCount = totalcount
|
2102
3351
|
@RequestId = requestid
|
2103
3352
|
end
|
2104
3353
|
|
2105
3354
|
def deserialize(params)
|
2106
|
-
unless params['
|
2107
|
-
@
|
2108
|
-
params['
|
2109
|
-
|
2110
|
-
|
2111
|
-
@
|
3355
|
+
unless params['VHosts'].nil?
|
3356
|
+
@VHosts = []
|
3357
|
+
params['VHosts'].each do |i|
|
3358
|
+
amqpvhost_tmp = AMQPVHost.new
|
3359
|
+
amqpvhost_tmp.deserialize(i)
|
3360
|
+
@VHosts << amqpvhost_tmp
|
2112
3361
|
end
|
2113
3362
|
end
|
3363
|
+
@TotalCount = params['TotalCount']
|
2114
3364
|
@RequestId = params['RequestId']
|
2115
3365
|
end
|
2116
3366
|
end
|
@@ -3773,6 +5023,190 @@ module TencentCloud
|
|
3773
5023
|
end
|
3774
5024
|
end
|
3775
5025
|
|
5026
|
+
# ModifyAMQPCluster请求参数结构体
|
5027
|
+
class ModifyAMQPClusterRequest < TencentCloud::Common::AbstractModel
|
5028
|
+
# @param ClusterId: 集群ID
|
5029
|
+
# @type ClusterId: String
|
5030
|
+
# @param ClusterName: 3-64个字符,只能包含字母、数字、“-”及“_”
|
5031
|
+
# @type ClusterName: String
|
5032
|
+
# @param Remark: 说明信息,不超过128个字符
|
5033
|
+
# @type Remark: String
|
5034
|
+
|
5035
|
+
attr_accessor :ClusterId, :ClusterName, :Remark
|
5036
|
+
|
5037
|
+
def initialize(clusterid=nil, clustername=nil, remark=nil)
|
5038
|
+
@ClusterId = clusterid
|
5039
|
+
@ClusterName = clustername
|
5040
|
+
@Remark = remark
|
5041
|
+
end
|
5042
|
+
|
5043
|
+
def deserialize(params)
|
5044
|
+
@ClusterId = params['ClusterId']
|
5045
|
+
@ClusterName = params['ClusterName']
|
5046
|
+
@Remark = params['Remark']
|
5047
|
+
end
|
5048
|
+
end
|
5049
|
+
|
5050
|
+
# ModifyAMQPCluster返回参数结构体
|
5051
|
+
class ModifyAMQPClusterResponse < TencentCloud::Common::AbstractModel
|
5052
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5053
|
+
# @type RequestId: String
|
5054
|
+
|
5055
|
+
attr_accessor :RequestId
|
5056
|
+
|
5057
|
+
def initialize(requestid=nil)
|
5058
|
+
@RequestId = requestid
|
5059
|
+
end
|
5060
|
+
|
5061
|
+
def deserialize(params)
|
5062
|
+
@RequestId = params['RequestId']
|
5063
|
+
end
|
5064
|
+
end
|
5065
|
+
|
5066
|
+
# ModifyAMQPExchange请求参数结构体
|
5067
|
+
class ModifyAMQPExchangeRequest < TencentCloud::Common::AbstractModel
|
5068
|
+
# @param ClusterId: 集群ID
|
5069
|
+
# @type ClusterId: String
|
5070
|
+
# @param VHostId: Vhost间名称
|
5071
|
+
# @type VHostId: String
|
5072
|
+
# @param Exchange: 交换机名称
|
5073
|
+
# @type Exchange: String
|
5074
|
+
# @param Remark: 说明信息,最大128个字符
|
5075
|
+
# @type Remark: String
|
5076
|
+
|
5077
|
+
attr_accessor :ClusterId, :VHostId, :Exchange, :Remark
|
5078
|
+
|
5079
|
+
def initialize(clusterid=nil, vhostid=nil, exchange=nil, remark=nil)
|
5080
|
+
@ClusterId = clusterid
|
5081
|
+
@VHostId = vhostid
|
5082
|
+
@Exchange = exchange
|
5083
|
+
@Remark = remark
|
5084
|
+
end
|
5085
|
+
|
5086
|
+
def deserialize(params)
|
5087
|
+
@ClusterId = params['ClusterId']
|
5088
|
+
@VHostId = params['VHostId']
|
5089
|
+
@Exchange = params['Exchange']
|
5090
|
+
@Remark = params['Remark']
|
5091
|
+
end
|
5092
|
+
end
|
5093
|
+
|
5094
|
+
# ModifyAMQPExchange返回参数结构体
|
5095
|
+
class ModifyAMQPExchangeResponse < TencentCloud::Common::AbstractModel
|
5096
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5097
|
+
# @type RequestId: String
|
5098
|
+
|
5099
|
+
attr_accessor :RequestId
|
5100
|
+
|
5101
|
+
def initialize(requestid=nil)
|
5102
|
+
@RequestId = requestid
|
5103
|
+
end
|
5104
|
+
|
5105
|
+
def deserialize(params)
|
5106
|
+
@RequestId = params['RequestId']
|
5107
|
+
end
|
5108
|
+
end
|
5109
|
+
|
5110
|
+
# ModifyAMQPQueue请求参数结构体
|
5111
|
+
class ModifyAMQPQueueRequest < TencentCloud::Common::AbstractModel
|
5112
|
+
# @param ClusterId: 集群ID
|
5113
|
+
# @type ClusterId: String
|
5114
|
+
# @param VHostId: Vhost名称
|
5115
|
+
# @type VHostId: String
|
5116
|
+
# @param Queue: 队列名称
|
5117
|
+
# @type Queue: String
|
5118
|
+
# @param AutoDelete: 是否自动清除
|
5119
|
+
# @type AutoDelete: Boolean
|
5120
|
+
# @param Remark: 说明信息,最大128个字符
|
5121
|
+
# @type Remark: String
|
5122
|
+
# @param DeadLetterExchange: 死信exchange
|
5123
|
+
# @type DeadLetterExchange: String
|
5124
|
+
# @param DeadLetterRoutingKey: 路由键
|
5125
|
+
# @type DeadLetterRoutingKey: String
|
5126
|
+
|
5127
|
+
attr_accessor :ClusterId, :VHostId, :Queue, :AutoDelete, :Remark, :DeadLetterExchange, :DeadLetterRoutingKey
|
5128
|
+
|
5129
|
+
def initialize(clusterid=nil, vhostid=nil, queue=nil, autodelete=nil, remark=nil, deadletterexchange=nil, deadletterroutingkey=nil)
|
5130
|
+
@ClusterId = clusterid
|
5131
|
+
@VHostId = vhostid
|
5132
|
+
@Queue = queue
|
5133
|
+
@AutoDelete = autodelete
|
5134
|
+
@Remark = remark
|
5135
|
+
@DeadLetterExchange = deadletterexchange
|
5136
|
+
@DeadLetterRoutingKey = deadletterroutingkey
|
5137
|
+
end
|
5138
|
+
|
5139
|
+
def deserialize(params)
|
5140
|
+
@ClusterId = params['ClusterId']
|
5141
|
+
@VHostId = params['VHostId']
|
5142
|
+
@Queue = params['Queue']
|
5143
|
+
@AutoDelete = params['AutoDelete']
|
5144
|
+
@Remark = params['Remark']
|
5145
|
+
@DeadLetterExchange = params['DeadLetterExchange']
|
5146
|
+
@DeadLetterRoutingKey = params['DeadLetterRoutingKey']
|
5147
|
+
end
|
5148
|
+
end
|
5149
|
+
|
5150
|
+
# ModifyAMQPQueue返回参数结构体
|
5151
|
+
class ModifyAMQPQueueResponse < TencentCloud::Common::AbstractModel
|
5152
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5153
|
+
# @type RequestId: String
|
5154
|
+
|
5155
|
+
attr_accessor :RequestId
|
5156
|
+
|
5157
|
+
def initialize(requestid=nil)
|
5158
|
+
@RequestId = requestid
|
5159
|
+
end
|
5160
|
+
|
5161
|
+
def deserialize(params)
|
5162
|
+
@RequestId = params['RequestId']
|
5163
|
+
end
|
5164
|
+
end
|
5165
|
+
|
5166
|
+
# ModifyAMQPVHost请求参数结构体
|
5167
|
+
class ModifyAMQPVHostRequest < TencentCloud::Common::AbstractModel
|
5168
|
+
# @param ClusterId: 集群ID
|
5169
|
+
# @type ClusterId: String
|
5170
|
+
# @param VHostId: vhost名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
5171
|
+
# @type VHostId: String
|
5172
|
+
# @param MsgTtl: 未消费消息的保留时间,以毫秒为单位,60秒-15天
|
5173
|
+
# @type MsgTtl: Integer
|
5174
|
+
# @param Remark: 说明,最大128个字符
|
5175
|
+
# @type Remark: String
|
5176
|
+
|
5177
|
+
attr_accessor :ClusterId, :VHostId, :MsgTtl, :Remark
|
5178
|
+
|
5179
|
+
def initialize(clusterid=nil, vhostid=nil, msgttl=nil, remark=nil)
|
5180
|
+
@ClusterId = clusterid
|
5181
|
+
@VHostId = vhostid
|
5182
|
+
@MsgTtl = msgttl
|
5183
|
+
@Remark = remark
|
5184
|
+
end
|
5185
|
+
|
5186
|
+
def deserialize(params)
|
5187
|
+
@ClusterId = params['ClusterId']
|
5188
|
+
@VHostId = params['VHostId']
|
5189
|
+
@MsgTtl = params['MsgTtl']
|
5190
|
+
@Remark = params['Remark']
|
5191
|
+
end
|
5192
|
+
end
|
5193
|
+
|
5194
|
+
# ModifyAMQPVHost返回参数结构体
|
5195
|
+
class ModifyAMQPVHostResponse < TencentCloud::Common::AbstractModel
|
5196
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5197
|
+
# @type RequestId: String
|
5198
|
+
|
5199
|
+
attr_accessor :RequestId
|
5200
|
+
|
5201
|
+
def initialize(requestid=nil)
|
5202
|
+
@RequestId = requestid
|
5203
|
+
end
|
5204
|
+
|
5205
|
+
def deserialize(params)
|
5206
|
+
@RequestId = params['RequestId']
|
5207
|
+
end
|
5208
|
+
end
|
5209
|
+
|
3776
5210
|
# ModifyCluster请求参数结构体
|
3777
5211
|
class ModifyClusterRequest < TencentCloud::Common::AbstractModel
|
3778
5212
|
# @param ClusterId: Pulsar 集群的ID,需要更新的集群Id。
|