tencentcloud-sdk-tdmq 3.0.613 → 3.0.614
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +0 -468
- data/lib/v20200217/models.rb +255 -1430
- metadata +2 -2
data/lib/v20200217/models.rb
CHANGED
@@ -151,260 +151,6 @@ module TencentCloud
|
|
151
151
|
end
|
152
152
|
end
|
153
153
|
|
154
|
-
# AMQP集群近期使用量
|
155
|
-
class AMQPClusterRecentStats < TencentCloud::Common::AbstractModel
|
156
|
-
# @param QueueNum: Queue数量
|
157
|
-
# @type QueueNum: Integer
|
158
|
-
# @param ProducedMsgNum: 消息生产数
|
159
|
-
# @type ProducedMsgNum: Integer
|
160
|
-
# @param AccumulativeMsgNum: 消息堆积数
|
161
|
-
# @type AccumulativeMsgNum: Integer
|
162
|
-
# @param ExchangeNum: Exchange数量
|
163
|
-
# @type ExchangeNum: Integer
|
164
|
-
|
165
|
-
attr_accessor :QueueNum, :ProducedMsgNum, :AccumulativeMsgNum, :ExchangeNum
|
166
|
-
|
167
|
-
def initialize(queuenum=nil, producedmsgnum=nil, accumulativemsgnum=nil, exchangenum=nil)
|
168
|
-
@QueueNum = queuenum
|
169
|
-
@ProducedMsgNum = producedmsgnum
|
170
|
-
@AccumulativeMsgNum = accumulativemsgnum
|
171
|
-
@ExchangeNum = exchangenum
|
172
|
-
end
|
173
|
-
|
174
|
-
def deserialize(params)
|
175
|
-
@QueueNum = params['QueueNum']
|
176
|
-
@ProducedMsgNum = params['ProducedMsgNum']
|
177
|
-
@AccumulativeMsgNum = params['AccumulativeMsgNum']
|
178
|
-
@ExchangeNum = params['ExchangeNum']
|
179
|
-
end
|
180
|
-
end
|
181
|
-
|
182
|
-
# AMQP Exchange信息
|
183
|
-
class AMQPExchange < TencentCloud::Common::AbstractModel
|
184
|
-
# @param Name: Exchange名称
|
185
|
-
# @type Name: String
|
186
|
-
# @param Type: Exchange的类别,为枚举类型:Direct, Fanout, Topic
|
187
|
-
# @type Type: String
|
188
|
-
# @param SourceBindedNum: 主绑定数
|
189
|
-
# @type SourceBindedNum: Integer
|
190
|
-
# @param Remark: 说明
|
191
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
192
|
-
# @type Remark: String
|
193
|
-
# @param DestBindedNum: 被绑定数
|
194
|
-
# @type DestBindedNum: Integer
|
195
|
-
# @param CreateTime: 创建时间,以毫秒为单位
|
196
|
-
# @type CreateTime: Integer
|
197
|
-
# @param UpdateTime: 创建时间,以毫秒为单位
|
198
|
-
# @type UpdateTime: Integer
|
199
|
-
# @param Internal: 是否为内部Exchange(以amq.前缀开头的)
|
200
|
-
# @type Internal: Boolean
|
201
|
-
# @param AlternateExchange: 备用Exchange名称
|
202
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
203
|
-
# @type AlternateExchange: String
|
204
|
-
# @param AlternateExchangeDeleteMark: 备用Exchange是否删除标识: true(已删除)
|
205
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
206
|
-
# @type AlternateExchangeDeleteMark: Boolean
|
207
|
-
# @param DelayType: 延迟Exchange的类别,为枚举类型:Direct, Fanout, Topic
|
208
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
209
|
-
# @type DelayType: String
|
210
|
-
|
211
|
-
attr_accessor :Name, :Type, :SourceBindedNum, :Remark, :DestBindedNum, :CreateTime, :UpdateTime, :Internal, :AlternateExchange, :AlternateExchangeDeleteMark, :DelayType
|
212
|
-
|
213
|
-
def initialize(name=nil, type=nil, sourcebindednum=nil, remark=nil, destbindednum=nil, createtime=nil, updatetime=nil, internal=nil, alternateexchange=nil, alternateexchangedeletemark=nil, delaytype=nil)
|
214
|
-
@Name = name
|
215
|
-
@Type = type
|
216
|
-
@SourceBindedNum = sourcebindednum
|
217
|
-
@Remark = remark
|
218
|
-
@DestBindedNum = destbindednum
|
219
|
-
@CreateTime = createtime
|
220
|
-
@UpdateTime = updatetime
|
221
|
-
@Internal = internal
|
222
|
-
@AlternateExchange = alternateexchange
|
223
|
-
@AlternateExchangeDeleteMark = alternateexchangedeletemark
|
224
|
-
@DelayType = delaytype
|
225
|
-
end
|
226
|
-
|
227
|
-
def deserialize(params)
|
228
|
-
@Name = params['Name']
|
229
|
-
@Type = params['Type']
|
230
|
-
@SourceBindedNum = params['SourceBindedNum']
|
231
|
-
@Remark = params['Remark']
|
232
|
-
@DestBindedNum = params['DestBindedNum']
|
233
|
-
@CreateTime = params['CreateTime']
|
234
|
-
@UpdateTime = params['UpdateTime']
|
235
|
-
@Internal = params['Internal']
|
236
|
-
@AlternateExchange = params['AlternateExchange']
|
237
|
-
@AlternateExchangeDeleteMark = params['AlternateExchangeDeleteMark']
|
238
|
-
@DelayType = params['DelayType']
|
239
|
-
end
|
240
|
-
end
|
241
|
-
|
242
|
-
# AMQP 队列信息
|
243
|
-
class AMQPQueueDetail < TencentCloud::Common::AbstractModel
|
244
|
-
# @param Name: Queue名称
|
245
|
-
# @type Name: String
|
246
|
-
# @param Remark: 说明
|
247
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
248
|
-
# @type Remark: String
|
249
|
-
# @param DestBindedNum: 被绑定数
|
250
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
251
|
-
# @type DestBindedNum: Integer
|
252
|
-
# @param CreateTime: 创建时间,以毫秒为单位
|
253
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
254
|
-
# @type CreateTime: Integer
|
255
|
-
# @param UpdateTime: 创建时间,以毫秒为单位
|
256
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
257
|
-
# @type UpdateTime: Integer
|
258
|
-
# @param OnlineConsumerNum: 在线消费者数
|
259
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
260
|
-
# @type OnlineConsumerNum: Integer
|
261
|
-
# @param Tps: 每秒钟的事务数
|
262
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
263
|
-
# @type Tps: Integer
|
264
|
-
# @param AccumulativeMsgNum: 消息堆积数
|
265
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
266
|
-
# @type AccumulativeMsgNum: Integer
|
267
|
-
# @param AutoDelete: 是否自动删除
|
268
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
269
|
-
# @type AutoDelete: Boolean
|
270
|
-
# @param DeadLetterExchange: 死信交换机
|
271
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
272
|
-
# @type DeadLetterExchange: String
|
273
|
-
# @param DeadLetterRoutingKey: 死信交换机路由键
|
274
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
275
|
-
# @type DeadLetterRoutingKey: String
|
276
|
-
# @param TopicName: Queue对应的Topic名称
|
277
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
278
|
-
# @type TopicName: String
|
279
|
-
|
280
|
-
attr_accessor :Name, :Remark, :DestBindedNum, :CreateTime, :UpdateTime, :OnlineConsumerNum, :Tps, :AccumulativeMsgNum, :AutoDelete, :DeadLetterExchange, :DeadLetterRoutingKey, :TopicName
|
281
|
-
|
282
|
-
def initialize(name=nil, remark=nil, destbindednum=nil, createtime=nil, updatetime=nil, onlineconsumernum=nil, tps=nil, accumulativemsgnum=nil, autodelete=nil, deadletterexchange=nil, deadletterroutingkey=nil, topicname=nil)
|
283
|
-
@Name = name
|
284
|
-
@Remark = remark
|
285
|
-
@DestBindedNum = destbindednum
|
286
|
-
@CreateTime = createtime
|
287
|
-
@UpdateTime = updatetime
|
288
|
-
@OnlineConsumerNum = onlineconsumernum
|
289
|
-
@Tps = tps
|
290
|
-
@AccumulativeMsgNum = accumulativemsgnum
|
291
|
-
@AutoDelete = autodelete
|
292
|
-
@DeadLetterExchange = deadletterexchange
|
293
|
-
@DeadLetterRoutingKey = deadletterroutingkey
|
294
|
-
@TopicName = topicname
|
295
|
-
end
|
296
|
-
|
297
|
-
def deserialize(params)
|
298
|
-
@Name = params['Name']
|
299
|
-
@Remark = params['Remark']
|
300
|
-
@DestBindedNum = params['DestBindedNum']
|
301
|
-
@CreateTime = params['CreateTime']
|
302
|
-
@UpdateTime = params['UpdateTime']
|
303
|
-
@OnlineConsumerNum = params['OnlineConsumerNum']
|
304
|
-
@Tps = params['Tps']
|
305
|
-
@AccumulativeMsgNum = params['AccumulativeMsgNum']
|
306
|
-
@AutoDelete = params['AutoDelete']
|
307
|
-
@DeadLetterExchange = params['DeadLetterExchange']
|
308
|
-
@DeadLetterRoutingKey = params['DeadLetterRoutingKey']
|
309
|
-
@TopicName = params['TopicName']
|
310
|
-
end
|
311
|
-
end
|
312
|
-
|
313
|
-
# AMQP路由关系
|
314
|
-
class AMQPRouteRelation < TencentCloud::Common::AbstractModel
|
315
|
-
# @param RouteRelationId: 路由关系ID
|
316
|
-
# @type RouteRelationId: String
|
317
|
-
# @param SourceExchange: 源Exchange
|
318
|
-
# @type SourceExchange: String
|
319
|
-
# @param DestType: 目标类型:Queue|Exchange
|
320
|
-
# @type DestType: String
|
321
|
-
# @param DestValue: 目标值
|
322
|
-
# @type DestValue: String
|
323
|
-
# @param RoutingKey: 绑定key
|
324
|
-
# @type RoutingKey: String
|
325
|
-
# @param SourceExchangeType: 源路由类型:Direct|Topic|Fanout
|
326
|
-
# @type SourceExchangeType: String
|
327
|
-
# @param CreateTime: 创建时间,以毫秒为单位
|
328
|
-
# @type CreateTime: Integer
|
329
|
-
# @param UpdateTime: 修改时间,以毫秒为单位
|
330
|
-
# @type UpdateTime: Integer
|
331
|
-
# @param Remark: 说明信息
|
332
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
333
|
-
# @type Remark: String
|
334
|
-
|
335
|
-
attr_accessor :RouteRelationId, :SourceExchange, :DestType, :DestValue, :RoutingKey, :SourceExchangeType, :CreateTime, :UpdateTime, :Remark
|
336
|
-
|
337
|
-
def initialize(routerelationid=nil, sourceexchange=nil, desttype=nil, destvalue=nil, routingkey=nil, sourceexchangetype=nil, createtime=nil, updatetime=nil, remark=nil)
|
338
|
-
@RouteRelationId = routerelationid
|
339
|
-
@SourceExchange = sourceexchange
|
340
|
-
@DestType = desttype
|
341
|
-
@DestValue = destvalue
|
342
|
-
@RoutingKey = routingkey
|
343
|
-
@SourceExchangeType = sourceexchangetype
|
344
|
-
@CreateTime = createtime
|
345
|
-
@UpdateTime = updatetime
|
346
|
-
@Remark = remark
|
347
|
-
end
|
348
|
-
|
349
|
-
def deserialize(params)
|
350
|
-
@RouteRelationId = params['RouteRelationId']
|
351
|
-
@SourceExchange = params['SourceExchange']
|
352
|
-
@DestType = params['DestType']
|
353
|
-
@DestValue = params['DestValue']
|
354
|
-
@RoutingKey = params['RoutingKey']
|
355
|
-
@SourceExchangeType = params['SourceExchangeType']
|
356
|
-
@CreateTime = params['CreateTime']
|
357
|
-
@UpdateTime = params['UpdateTime']
|
358
|
-
@Remark = params['Remark']
|
359
|
-
end
|
360
|
-
end
|
361
|
-
|
362
|
-
# vhostd信息
|
363
|
-
class AMQPVHost < TencentCloud::Common::AbstractModel
|
364
|
-
# @param VHostId: 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
365
|
-
# @type VHostId: String
|
366
|
-
# @param MsgTtl: 未消费消息的保留时间,以毫秒单位,范围60秒到15天
|
367
|
-
# @type MsgTtl: Integer
|
368
|
-
# @param Remark: 备注
|
369
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
370
|
-
# @type Remark: String
|
371
|
-
# @param CreateTime: 创建时间,以毫秒为单位
|
372
|
-
# @type CreateTime: Integer
|
373
|
-
# @param UpdateTime: 更新时间,以毫秒为单位
|
374
|
-
# @type UpdateTime: Integer
|
375
|
-
# @param Username: 用户名
|
376
|
-
# @type Username: String
|
377
|
-
# @param Password: 密码
|
378
|
-
# @type Password: String
|
379
|
-
# @param Status: 集群状态,0:创建中,1:正常,2:销毁中,3:已删除,4: 隔离中,5:创建失败,6: 删除失败
|
380
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
381
|
-
# @type Status: Integer
|
382
|
-
|
383
|
-
attr_accessor :VHostId, :MsgTtl, :Remark, :CreateTime, :UpdateTime, :Username, :Password, :Status
|
384
|
-
|
385
|
-
def initialize(vhostid=nil, msgttl=nil, remark=nil, createtime=nil, updatetime=nil, username=nil, password=nil, status=nil)
|
386
|
-
@VHostId = vhostid
|
387
|
-
@MsgTtl = msgttl
|
388
|
-
@Remark = remark
|
389
|
-
@CreateTime = createtime
|
390
|
-
@UpdateTime = updatetime
|
391
|
-
@Username = username
|
392
|
-
@Password = password
|
393
|
-
@Status = status
|
394
|
-
end
|
395
|
-
|
396
|
-
def deserialize(params)
|
397
|
-
@VHostId = params['VHostId']
|
398
|
-
@MsgTtl = params['MsgTtl']
|
399
|
-
@Remark = params['Remark']
|
400
|
-
@CreateTime = params['CreateTime']
|
401
|
-
@UpdateTime = params['UpdateTime']
|
402
|
-
@Username = params['Username']
|
403
|
-
@Password = params['Password']
|
404
|
-
@Status = params['Status']
|
405
|
-
end
|
406
|
-
end
|
407
|
-
|
408
154
|
# AcknowledgeMessage请求参数结构体
|
409
155
|
class AcknowledgeMessageRequest < TencentCloud::Common::AbstractModel
|
410
156
|
# @param MessageId: 用作标识消息的唯一的ID(可从 receiveMessage 的返回值中获得)
|
@@ -1203,28 +949,47 @@ module TencentCloud
|
|
1203
949
|
end
|
1204
950
|
end
|
1205
951
|
|
1206
|
-
#
|
1207
|
-
class
|
1208
|
-
# @param
|
1209
|
-
# @type
|
1210
|
-
# @param
|
952
|
+
# CreateCluster请求参数结构体
|
953
|
+
class CreateClusterRequest < TencentCloud::Common::AbstractModel
|
954
|
+
# @param ClusterName: 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过16个字符。
|
955
|
+
# @type ClusterName: String
|
956
|
+
# @param BindClusterId: 用户专享物理集群ID,如果不传,则默认在公共集群上创建用户集群资源。
|
957
|
+
# @type BindClusterId: Integer
|
958
|
+
# @param Remark: 说明,128个字符以内。
|
1211
959
|
# @type Remark: String
|
960
|
+
# @param Tags: 集群的标签列表(已废弃)
|
961
|
+
# @type Tags: Array
|
962
|
+
# @param PublicAccessEnabled: 是否开启公网访问,不填时默认开启
|
963
|
+
# @type PublicAccessEnabled: Boolean
|
1212
964
|
|
1213
|
-
attr_accessor :
|
965
|
+
attr_accessor :ClusterName, :BindClusterId, :Remark, :Tags, :PublicAccessEnabled
|
1214
966
|
|
1215
|
-
def initialize(
|
1216
|
-
@
|
967
|
+
def initialize(clustername=nil, bindclusterid=nil, remark=nil, tags=nil, publicaccessenabled=nil)
|
968
|
+
@ClusterName = clustername
|
969
|
+
@BindClusterId = bindclusterid
|
1217
970
|
@Remark = remark
|
971
|
+
@Tags = tags
|
972
|
+
@PublicAccessEnabled = publicaccessenabled
|
1218
973
|
end
|
1219
974
|
|
1220
975
|
def deserialize(params)
|
1221
|
-
@
|
976
|
+
@ClusterName = params['ClusterName']
|
977
|
+
@BindClusterId = params['BindClusterId']
|
1222
978
|
@Remark = params['Remark']
|
979
|
+
unless params['Tags'].nil?
|
980
|
+
@Tags = []
|
981
|
+
params['Tags'].each do |i|
|
982
|
+
tag_tmp = Tag.new
|
983
|
+
tag_tmp.deserialize(i)
|
984
|
+
@Tags << tag_tmp
|
985
|
+
end
|
986
|
+
end
|
987
|
+
@PublicAccessEnabled = params['PublicAccessEnabled']
|
1223
988
|
end
|
1224
989
|
end
|
1225
990
|
|
1226
|
-
#
|
1227
|
-
class
|
991
|
+
# CreateCluster返回参数结构体
|
992
|
+
class CreateClusterResponse < TencentCloud::Common::AbstractModel
|
1228
993
|
# @param ClusterId: 集群ID
|
1229
994
|
# @type ClusterId: String
|
1230
995
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
@@ -1243,334 +1008,63 @@ module TencentCloud
|
|
1243
1008
|
end
|
1244
1009
|
end
|
1245
1010
|
|
1246
|
-
#
|
1247
|
-
class
|
1248
|
-
# @param
|
1249
|
-
# @type
|
1250
|
-
# @param
|
1251
|
-
# @type
|
1252
|
-
# @param
|
1253
|
-
# @type
|
1254
|
-
# @param
|
1255
|
-
# @type
|
1256
|
-
# @param
|
1257
|
-
# @type
|
1258
|
-
# @param
|
1259
|
-
# @type
|
1260
|
-
# @param
|
1261
|
-
# @type
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
@DelayedType = params['DelayedType']
|
1283
|
-
end
|
1284
|
-
end
|
1285
|
-
|
1286
|
-
# CreateAMQPExchange返回参数结构体
|
1287
|
-
class CreateAMQPExchangeResponse < TencentCloud::Common::AbstractModel
|
1288
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1289
|
-
# @type RequestId: String
|
1011
|
+
# CreateCmqQueue请求参数结构体
|
1012
|
+
class CreateCmqQueueRequest < TencentCloud::Common::AbstractModel
|
1013
|
+
# @param QueueName: 队列名字,在单个地域同一账号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
1014
|
+
# @type QueueName: String
|
1015
|
+
# @param MaxMsgHeapNum: 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。
|
1016
|
+
# @type MaxMsgHeapNum: Integer
|
1017
|
+
# @param PollingWaitSeconds: 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。
|
1018
|
+
# @type PollingWaitSeconds: Integer
|
1019
|
+
# @param VisibilityTimeout: 消息可见性超时。取值范围 1-43200 秒(即12小时内),默认值 30。
|
1020
|
+
# @type VisibilityTimeout: Integer
|
1021
|
+
# @param MaxMsgSize: 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。
|
1022
|
+
# @type MaxMsgSize: Integer
|
1023
|
+
# @param MsgRetentionSeconds: 消息最长未确认时间。取值范围 30-43200 秒(30秒~12小时),默认值 3600 (1 小时)。
|
1024
|
+
# @type MsgRetentionSeconds: Integer
|
1025
|
+
# @param RewindSeconds: 队列是否开启回溯消息能力,该参数取值范围0-1296000,0表示不开启。
|
1026
|
+
# @type RewindSeconds: Integer
|
1027
|
+
# @param Transaction: 1 表示事务队列,0 表示普通队列
|
1028
|
+
# @type Transaction: Integer
|
1029
|
+
# @param FirstQueryInterval: 第一次回查间隔
|
1030
|
+
# @type FirstQueryInterval: Integer
|
1031
|
+
# @param MaxQueryCount: 最大回查次数
|
1032
|
+
# @type MaxQueryCount: Integer
|
1033
|
+
# @param DeadLetterQueueName: 死信队列名称
|
1034
|
+
# @type DeadLetterQueueName: String
|
1035
|
+
# @param Policy: 死信策略。0为消息被多次消费未删除,1为Time-To-Live过期
|
1036
|
+
# @type Policy: Integer
|
1037
|
+
# @param MaxReceiveCount: 最大接收次数 1-1000
|
1038
|
+
# @type MaxReceiveCount: Integer
|
1039
|
+
# @param MaxTimeToLive: policy为1时必选。最大未消费过期时间。范围300-43200,单位秒,需要小于消息最大保留时间msgRetentionSeconds
|
1040
|
+
# @type MaxTimeToLive: Integer
|
1041
|
+
# @param Trace: 是否开启消息轨迹追踪,当不设置字段时,默认为不开启,该字段为true表示开启,为false表示不开启
|
1042
|
+
# @type Trace: Boolean
|
1043
|
+
# @param Tags: 标签数组
|
1044
|
+
# @type Tags: Array
|
1045
|
+
# @param RetentionSizeInMB: 队列可回溯存储空间:若开启消息回溯,取值范围:10240MB - 512000MB,若不开启消息回溯,取值:0
|
1046
|
+
# @type RetentionSizeInMB: Integer
|
1290
1047
|
|
1291
|
-
attr_accessor :
|
1048
|
+
attr_accessor :QueueName, :MaxMsgHeapNum, :PollingWaitSeconds, :VisibilityTimeout, :MaxMsgSize, :MsgRetentionSeconds, :RewindSeconds, :Transaction, :FirstQueryInterval, :MaxQueryCount, :DeadLetterQueueName, :Policy, :MaxReceiveCount, :MaxTimeToLive, :Trace, :Tags, :RetentionSizeInMB
|
1292
1049
|
|
1293
|
-
def initialize(
|
1294
|
-
@
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
@
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
# @type ClusterId: String
|
1312
|
-
# @param Remark: 队列说明,最大128个字符
|
1313
|
-
# @type Remark: String
|
1314
|
-
# @param DeadLetterExchange: 死信exchange
|
1315
|
-
# @type DeadLetterExchange: String
|
1316
|
-
# @param DeadLetterRoutingKey: 路由键
|
1317
|
-
# @type DeadLetterRoutingKey: String
|
1318
|
-
|
1319
|
-
attr_accessor :Queue, :VHostId, :AutoDelete, :ClusterId, :Remark, :DeadLetterExchange, :DeadLetterRoutingKey
|
1320
|
-
|
1321
|
-
def initialize(queue=nil, vhostid=nil, autodelete=nil, clusterid=nil, remark=nil, deadletterexchange=nil, deadletterroutingkey=nil)
|
1322
|
-
@Queue = queue
|
1323
|
-
@VHostId = vhostid
|
1324
|
-
@AutoDelete = autodelete
|
1325
|
-
@ClusterId = clusterid
|
1326
|
-
@Remark = remark
|
1327
|
-
@DeadLetterExchange = deadletterexchange
|
1328
|
-
@DeadLetterRoutingKey = deadletterroutingkey
|
1329
|
-
end
|
1330
|
-
|
1331
|
-
def deserialize(params)
|
1332
|
-
@Queue = params['Queue']
|
1333
|
-
@VHostId = params['VHostId']
|
1334
|
-
@AutoDelete = params['AutoDelete']
|
1335
|
-
@ClusterId = params['ClusterId']
|
1336
|
-
@Remark = params['Remark']
|
1337
|
-
@DeadLetterExchange = params['DeadLetterExchange']
|
1338
|
-
@DeadLetterRoutingKey = params['DeadLetterRoutingKey']
|
1339
|
-
end
|
1340
|
-
end
|
1341
|
-
|
1342
|
-
# CreateAMQPQueue返回参数结构体
|
1343
|
-
class CreateAMQPQueueResponse < TencentCloud::Common::AbstractModel
|
1344
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1345
|
-
# @type RequestId: String
|
1346
|
-
|
1347
|
-
attr_accessor :RequestId
|
1348
|
-
|
1349
|
-
def initialize(requestid=nil)
|
1350
|
-
@RequestId = requestid
|
1351
|
-
end
|
1352
|
-
|
1353
|
-
def deserialize(params)
|
1354
|
-
@RequestId = params['RequestId']
|
1355
|
-
end
|
1356
|
-
end
|
1357
|
-
|
1358
|
-
# CreateAMQPRouteRelation请求参数结构体
|
1359
|
-
class CreateAMQPRouteRelationRequest < TencentCloud::Common::AbstractModel
|
1360
|
-
# @param ClusterId: 集群ID
|
1361
|
-
# @type ClusterId: String
|
1362
|
-
# @param VHostId: 交换机所在的vhost
|
1363
|
-
# @type VHostId: String
|
1364
|
-
# @param SourceExchange: 源Exchange名称
|
1365
|
-
# @type SourceExchange: String
|
1366
|
-
# @param DestType: 目标类型:Queue|Exchange
|
1367
|
-
# @type DestType: String
|
1368
|
-
# @param DestValue: 目标值
|
1369
|
-
# @type DestValue: String
|
1370
|
-
# @param Remark: 交换机说明,最大128个字符
|
1371
|
-
# @type Remark: String
|
1372
|
-
# @param RoutingKey: 绑定key,缺省值为default
|
1373
|
-
# @type RoutingKey: String
|
1374
|
-
|
1375
|
-
attr_accessor :ClusterId, :VHostId, :SourceExchange, :DestType, :DestValue, :Remark, :RoutingKey
|
1376
|
-
|
1377
|
-
def initialize(clusterid=nil, vhostid=nil, sourceexchange=nil, desttype=nil, destvalue=nil, remark=nil, routingkey=nil)
|
1378
|
-
@ClusterId = clusterid
|
1379
|
-
@VHostId = vhostid
|
1380
|
-
@SourceExchange = sourceexchange
|
1381
|
-
@DestType = desttype
|
1382
|
-
@DestValue = destvalue
|
1383
|
-
@Remark = remark
|
1384
|
-
@RoutingKey = routingkey
|
1385
|
-
end
|
1386
|
-
|
1387
|
-
def deserialize(params)
|
1388
|
-
@ClusterId = params['ClusterId']
|
1389
|
-
@VHostId = params['VHostId']
|
1390
|
-
@SourceExchange = params['SourceExchange']
|
1391
|
-
@DestType = params['DestType']
|
1392
|
-
@DestValue = params['DestValue']
|
1393
|
-
@Remark = params['Remark']
|
1394
|
-
@RoutingKey = params['RoutingKey']
|
1395
|
-
end
|
1396
|
-
end
|
1397
|
-
|
1398
|
-
# CreateAMQPRouteRelation返回参数结构体
|
1399
|
-
class CreateAMQPRouteRelationResponse < TencentCloud::Common::AbstractModel
|
1400
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1401
|
-
# @type RequestId: String
|
1402
|
-
|
1403
|
-
attr_accessor :RequestId
|
1404
|
-
|
1405
|
-
def initialize(requestid=nil)
|
1406
|
-
@RequestId = requestid
|
1407
|
-
end
|
1408
|
-
|
1409
|
-
def deserialize(params)
|
1410
|
-
@RequestId = params['RequestId']
|
1411
|
-
end
|
1412
|
-
end
|
1413
|
-
|
1414
|
-
# CreateAMQPVHost请求参数结构体
|
1415
|
-
class CreateAMQPVHostRequest < TencentCloud::Common::AbstractModel
|
1416
|
-
# @param ClusterId: 集群ID
|
1417
|
-
# @type ClusterId: String
|
1418
|
-
# @param VHostId: vhost名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
1419
|
-
# @type VHostId: String
|
1420
|
-
# @param MsgTtl: 未消费消息的保留时间,以毫秒为单位,60秒-15天
|
1421
|
-
# @type MsgTtl: Integer
|
1422
|
-
# @param Remark: 说明,最大128个字符
|
1423
|
-
# @type Remark: String
|
1424
|
-
|
1425
|
-
attr_accessor :ClusterId, :VHostId, :MsgTtl, :Remark
|
1426
|
-
|
1427
|
-
def initialize(clusterid=nil, vhostid=nil, msgttl=nil, remark=nil)
|
1428
|
-
@ClusterId = clusterid
|
1429
|
-
@VHostId = vhostid
|
1430
|
-
@MsgTtl = msgttl
|
1431
|
-
@Remark = remark
|
1432
|
-
end
|
1433
|
-
|
1434
|
-
def deserialize(params)
|
1435
|
-
@ClusterId = params['ClusterId']
|
1436
|
-
@VHostId = params['VHostId']
|
1437
|
-
@MsgTtl = params['MsgTtl']
|
1438
|
-
@Remark = params['Remark']
|
1439
|
-
end
|
1440
|
-
end
|
1441
|
-
|
1442
|
-
# CreateAMQPVHost返回参数结构体
|
1443
|
-
class CreateAMQPVHostResponse < TencentCloud::Common::AbstractModel
|
1444
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1445
|
-
# @type RequestId: String
|
1446
|
-
|
1447
|
-
attr_accessor :RequestId
|
1448
|
-
|
1449
|
-
def initialize(requestid=nil)
|
1450
|
-
@RequestId = requestid
|
1451
|
-
end
|
1452
|
-
|
1453
|
-
def deserialize(params)
|
1454
|
-
@RequestId = params['RequestId']
|
1455
|
-
end
|
1456
|
-
end
|
1457
|
-
|
1458
|
-
# CreateCluster请求参数结构体
|
1459
|
-
class CreateClusterRequest < TencentCloud::Common::AbstractModel
|
1460
|
-
# @param ClusterName: 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过16个字符。
|
1461
|
-
# @type ClusterName: String
|
1462
|
-
# @param BindClusterId: 用户专享物理集群ID,如果不传,则默认在公共集群上创建用户集群资源。
|
1463
|
-
# @type BindClusterId: Integer
|
1464
|
-
# @param Remark: 说明,128个字符以内。
|
1465
|
-
# @type Remark: String
|
1466
|
-
# @param Tags: 集群的标签列表(已废弃)
|
1467
|
-
# @type Tags: Array
|
1468
|
-
# @param PublicAccessEnabled: 是否开启公网访问,不填时默认开启
|
1469
|
-
# @type PublicAccessEnabled: Boolean
|
1470
|
-
|
1471
|
-
attr_accessor :ClusterName, :BindClusterId, :Remark, :Tags, :PublicAccessEnabled
|
1472
|
-
|
1473
|
-
def initialize(clustername=nil, bindclusterid=nil, remark=nil, tags=nil, publicaccessenabled=nil)
|
1474
|
-
@ClusterName = clustername
|
1475
|
-
@BindClusterId = bindclusterid
|
1476
|
-
@Remark = remark
|
1477
|
-
@Tags = tags
|
1478
|
-
@PublicAccessEnabled = publicaccessenabled
|
1479
|
-
end
|
1480
|
-
|
1481
|
-
def deserialize(params)
|
1482
|
-
@ClusterName = params['ClusterName']
|
1483
|
-
@BindClusterId = params['BindClusterId']
|
1484
|
-
@Remark = params['Remark']
|
1485
|
-
unless params['Tags'].nil?
|
1486
|
-
@Tags = []
|
1487
|
-
params['Tags'].each do |i|
|
1488
|
-
tag_tmp = Tag.new
|
1489
|
-
tag_tmp.deserialize(i)
|
1490
|
-
@Tags << tag_tmp
|
1491
|
-
end
|
1492
|
-
end
|
1493
|
-
@PublicAccessEnabled = params['PublicAccessEnabled']
|
1494
|
-
end
|
1495
|
-
end
|
1496
|
-
|
1497
|
-
# CreateCluster返回参数结构体
|
1498
|
-
class CreateClusterResponse < TencentCloud::Common::AbstractModel
|
1499
|
-
# @param ClusterId: 集群ID
|
1500
|
-
# @type ClusterId: String
|
1501
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1502
|
-
# @type RequestId: String
|
1503
|
-
|
1504
|
-
attr_accessor :ClusterId, :RequestId
|
1505
|
-
|
1506
|
-
def initialize(clusterid=nil, requestid=nil)
|
1507
|
-
@ClusterId = clusterid
|
1508
|
-
@RequestId = requestid
|
1509
|
-
end
|
1510
|
-
|
1511
|
-
def deserialize(params)
|
1512
|
-
@ClusterId = params['ClusterId']
|
1513
|
-
@RequestId = params['RequestId']
|
1514
|
-
end
|
1515
|
-
end
|
1516
|
-
|
1517
|
-
# CreateCmqQueue请求参数结构体
|
1518
|
-
class CreateCmqQueueRequest < TencentCloud::Common::AbstractModel
|
1519
|
-
# @param QueueName: 队列名字,在单个地域同一账号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
1520
|
-
# @type QueueName: String
|
1521
|
-
# @param MaxMsgHeapNum: 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。
|
1522
|
-
# @type MaxMsgHeapNum: Integer
|
1523
|
-
# @param PollingWaitSeconds: 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。
|
1524
|
-
# @type PollingWaitSeconds: Integer
|
1525
|
-
# @param VisibilityTimeout: 消息可见性超时。取值范围 1-43200 秒(即12小时内),默认值 30。
|
1526
|
-
# @type VisibilityTimeout: Integer
|
1527
|
-
# @param MaxMsgSize: 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。
|
1528
|
-
# @type MaxMsgSize: Integer
|
1529
|
-
# @param MsgRetentionSeconds: 消息最长未确认时间。取值范围 30-43200 秒(30秒~12小时),默认值 3600 (1 小时)。
|
1530
|
-
# @type MsgRetentionSeconds: Integer
|
1531
|
-
# @param RewindSeconds: 队列是否开启回溯消息能力,该参数取值范围0-1296000,0表示不开启。
|
1532
|
-
# @type RewindSeconds: Integer
|
1533
|
-
# @param Transaction: 1 表示事务队列,0 表示普通队列
|
1534
|
-
# @type Transaction: Integer
|
1535
|
-
# @param FirstQueryInterval: 第一次回查间隔
|
1536
|
-
# @type FirstQueryInterval: Integer
|
1537
|
-
# @param MaxQueryCount: 最大回查次数
|
1538
|
-
# @type MaxQueryCount: Integer
|
1539
|
-
# @param DeadLetterQueueName: 死信队列名称
|
1540
|
-
# @type DeadLetterQueueName: String
|
1541
|
-
# @param Policy: 死信策略。0为消息被多次消费未删除,1为Time-To-Live过期
|
1542
|
-
# @type Policy: Integer
|
1543
|
-
# @param MaxReceiveCount: 最大接收次数 1-1000
|
1544
|
-
# @type MaxReceiveCount: Integer
|
1545
|
-
# @param MaxTimeToLive: policy为1时必选。最大未消费过期时间。范围300-43200,单位秒,需要小于消息最大保留时间msgRetentionSeconds
|
1546
|
-
# @type MaxTimeToLive: Integer
|
1547
|
-
# @param Trace: 是否开启消息轨迹追踪,当不设置字段时,默认为不开启,该字段为true表示开启,为false表示不开启
|
1548
|
-
# @type Trace: Boolean
|
1549
|
-
# @param Tags: 标签数组
|
1550
|
-
# @type Tags: Array
|
1551
|
-
# @param RetentionSizeInMB: 队列可回溯存储空间:若开启消息回溯,取值范围:10240MB - 512000MB,若不开启消息回溯,取值:0
|
1552
|
-
# @type RetentionSizeInMB: Integer
|
1553
|
-
|
1554
|
-
attr_accessor :QueueName, :MaxMsgHeapNum, :PollingWaitSeconds, :VisibilityTimeout, :MaxMsgSize, :MsgRetentionSeconds, :RewindSeconds, :Transaction, :FirstQueryInterval, :MaxQueryCount, :DeadLetterQueueName, :Policy, :MaxReceiveCount, :MaxTimeToLive, :Trace, :Tags, :RetentionSizeInMB
|
1555
|
-
|
1556
|
-
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, tags=nil, retentionsizeinmb=nil)
|
1557
|
-
@QueueName = queuename
|
1558
|
-
@MaxMsgHeapNum = maxmsgheapnum
|
1559
|
-
@PollingWaitSeconds = pollingwaitseconds
|
1560
|
-
@VisibilityTimeout = visibilitytimeout
|
1561
|
-
@MaxMsgSize = maxmsgsize
|
1562
|
-
@MsgRetentionSeconds = msgretentionseconds
|
1563
|
-
@RewindSeconds = rewindseconds
|
1564
|
-
@Transaction = transaction
|
1565
|
-
@FirstQueryInterval = firstqueryinterval
|
1566
|
-
@MaxQueryCount = maxquerycount
|
1567
|
-
@DeadLetterQueueName = deadletterqueuename
|
1568
|
-
@Policy = policy
|
1569
|
-
@MaxReceiveCount = maxreceivecount
|
1570
|
-
@MaxTimeToLive = maxtimetolive
|
1571
|
-
@Trace = trace
|
1572
|
-
@Tags = tags
|
1573
|
-
@RetentionSizeInMB = retentionsizeinmb
|
1050
|
+
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, tags=nil, retentionsizeinmb=nil)
|
1051
|
+
@QueueName = queuename
|
1052
|
+
@MaxMsgHeapNum = maxmsgheapnum
|
1053
|
+
@PollingWaitSeconds = pollingwaitseconds
|
1054
|
+
@VisibilityTimeout = visibilitytimeout
|
1055
|
+
@MaxMsgSize = maxmsgsize
|
1056
|
+
@MsgRetentionSeconds = msgretentionseconds
|
1057
|
+
@RewindSeconds = rewindseconds
|
1058
|
+
@Transaction = transaction
|
1059
|
+
@FirstQueryInterval = firstqueryinterval
|
1060
|
+
@MaxQueryCount = maxquerycount
|
1061
|
+
@DeadLetterQueueName = deadletterqueuename
|
1062
|
+
@Policy = policy
|
1063
|
+
@MaxReceiveCount = maxreceivecount
|
1064
|
+
@MaxTimeToLive = maxtimetolive
|
1065
|
+
@Trace = trace
|
1066
|
+
@Tags = tags
|
1067
|
+
@RetentionSizeInMB = retentionsizeinmb
|
1574
1068
|
end
|
1575
1069
|
|
1576
1070
|
def deserialize(params)
|
@@ -2471,9 +1965,9 @@ module TencentCloud
|
|
2471
1965
|
end
|
2472
1966
|
end
|
2473
1967
|
|
2474
|
-
#
|
2475
|
-
class
|
2476
|
-
# @param ClusterId:
|
1968
|
+
# DeleteCluster请求参数结构体
|
1969
|
+
class DeleteClusterRequest < TencentCloud::Common::AbstractModel
|
1970
|
+
# @param ClusterId: 集群Id,传入需要删除的集群Id。
|
2477
1971
|
# @type ClusterId: String
|
2478
1972
|
|
2479
1973
|
attr_accessor :ClusterId
|
@@ -2487,48 +1981,44 @@ module TencentCloud
|
|
2487
1981
|
end
|
2488
1982
|
end
|
2489
1983
|
|
2490
|
-
#
|
2491
|
-
class
|
1984
|
+
# DeleteCluster返回参数结构体
|
1985
|
+
class DeleteClusterResponse < TencentCloud::Common::AbstractModel
|
1986
|
+
# @param ClusterId: 集群的ID
|
1987
|
+
# @type ClusterId: String
|
2492
1988
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2493
1989
|
# @type RequestId: String
|
2494
1990
|
|
2495
|
-
attr_accessor :RequestId
|
1991
|
+
attr_accessor :ClusterId, :RequestId
|
2496
1992
|
|
2497
|
-
def initialize(requestid=nil)
|
1993
|
+
def initialize(clusterid=nil, requestid=nil)
|
1994
|
+
@ClusterId = clusterid
|
2498
1995
|
@RequestId = requestid
|
2499
1996
|
end
|
2500
1997
|
|
2501
1998
|
def deserialize(params)
|
1999
|
+
@ClusterId = params['ClusterId']
|
2502
2000
|
@RequestId = params['RequestId']
|
2503
2001
|
end
|
2504
2002
|
end
|
2505
2003
|
|
2506
|
-
#
|
2507
|
-
class
|
2508
|
-
# @param
|
2509
|
-
# @type
|
2510
|
-
# @param VHostId: Vhost名称
|
2511
|
-
# @type VHostId: String
|
2512
|
-
# @param Exchange: 交换机名称
|
2513
|
-
# @type Exchange: String
|
2004
|
+
# DeleteCmqQueue请求参数结构体
|
2005
|
+
class DeleteCmqQueueRequest < TencentCloud::Common::AbstractModel
|
2006
|
+
# @param QueueName: 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
2007
|
+
# @type QueueName: String
|
2514
2008
|
|
2515
|
-
attr_accessor :
|
2009
|
+
attr_accessor :QueueName
|
2516
2010
|
|
2517
|
-
def initialize(
|
2518
|
-
@
|
2519
|
-
@VHostId = vhostid
|
2520
|
-
@Exchange = exchange
|
2011
|
+
def initialize(queuename=nil)
|
2012
|
+
@QueueName = queuename
|
2521
2013
|
end
|
2522
2014
|
|
2523
2015
|
def deserialize(params)
|
2524
|
-
@
|
2525
|
-
@VHostId = params['VHostId']
|
2526
|
-
@Exchange = params['Exchange']
|
2016
|
+
@QueueName = params['QueueName']
|
2527
2017
|
end
|
2528
2018
|
end
|
2529
2019
|
|
2530
|
-
#
|
2531
|
-
class
|
2020
|
+
# DeleteCmqQueue返回参数结构体
|
2021
|
+
class DeleteCmqQueueResponse < TencentCloud::Common::AbstractModel
|
2532
2022
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2533
2023
|
# @type RequestId: String
|
2534
2024
|
|
@@ -2543,212 +2033,28 @@ module TencentCloud
|
|
2543
2033
|
end
|
2544
2034
|
end
|
2545
2035
|
|
2546
|
-
#
|
2547
|
-
class
|
2548
|
-
# @param
|
2549
|
-
# @type
|
2550
|
-
# @param
|
2551
|
-
# @type
|
2552
|
-
# @param Queue: 队列名称
|
2553
|
-
# @type Queue: String
|
2036
|
+
# DeleteCmqSubscribe请求参数结构体
|
2037
|
+
class DeleteCmqSubscribeRequest < TencentCloud::Common::AbstractModel
|
2038
|
+
# @param TopicName: 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
2039
|
+
# @type TopicName: String
|
2040
|
+
# @param SubscriptionName: 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
2041
|
+
# @type SubscriptionName: String
|
2554
2042
|
|
2555
|
-
attr_accessor :
|
2043
|
+
attr_accessor :TopicName, :SubscriptionName
|
2556
2044
|
|
2557
|
-
def initialize(
|
2558
|
-
@
|
2559
|
-
@
|
2560
|
-
@Queue = queue
|
2045
|
+
def initialize(topicname=nil, subscriptionname=nil)
|
2046
|
+
@TopicName = topicname
|
2047
|
+
@SubscriptionName = subscriptionname
|
2561
2048
|
end
|
2562
2049
|
|
2563
2050
|
def deserialize(params)
|
2564
|
-
@
|
2565
|
-
@
|
2566
|
-
@Queue = params['Queue']
|
2051
|
+
@TopicName = params['TopicName']
|
2052
|
+
@SubscriptionName = params['SubscriptionName']
|
2567
2053
|
end
|
2568
2054
|
end
|
2569
2055
|
|
2570
|
-
#
|
2571
|
-
class
|
2572
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2573
|
-
# @type RequestId: String
|
2574
|
-
|
2575
|
-
attr_accessor :RequestId
|
2576
|
-
|
2577
|
-
def initialize(requestid=nil)
|
2578
|
-
@RequestId = requestid
|
2579
|
-
end
|
2580
|
-
|
2581
|
-
def deserialize(params)
|
2582
|
-
@RequestId = params['RequestId']
|
2583
|
-
end
|
2584
|
-
end
|
2585
|
-
|
2586
|
-
# DeleteAMQPRouteRelation请求参数结构体
|
2587
|
-
class DeleteAMQPRouteRelationRequest < TencentCloud::Common::AbstractModel
|
2588
|
-
# @param ClusterId: 集群ID
|
2589
|
-
# @type ClusterId: String
|
2590
|
-
# @param VHostId: Vhost名称
|
2591
|
-
# @type VHostId: String
|
2592
|
-
# @param RouteRelationId: 路由关系ID
|
2593
|
-
# @type RouteRelationId: String
|
2594
|
-
|
2595
|
-
attr_accessor :ClusterId, :VHostId, :RouteRelationId
|
2596
|
-
|
2597
|
-
def initialize(clusterid=nil, vhostid=nil, routerelationid=nil)
|
2598
|
-
@ClusterId = clusterid
|
2599
|
-
@VHostId = vhostid
|
2600
|
-
@RouteRelationId = routerelationid
|
2601
|
-
end
|
2602
|
-
|
2603
|
-
def deserialize(params)
|
2604
|
-
@ClusterId = params['ClusterId']
|
2605
|
-
@VHostId = params['VHostId']
|
2606
|
-
@RouteRelationId = params['RouteRelationId']
|
2607
|
-
end
|
2608
|
-
end
|
2609
|
-
|
2610
|
-
# DeleteAMQPRouteRelation返回参数结构体
|
2611
|
-
class DeleteAMQPRouteRelationResponse < TencentCloud::Common::AbstractModel
|
2612
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2613
|
-
# @type RequestId: String
|
2614
|
-
|
2615
|
-
attr_accessor :RequestId
|
2616
|
-
|
2617
|
-
def initialize(requestid=nil)
|
2618
|
-
@RequestId = requestid
|
2619
|
-
end
|
2620
|
-
|
2621
|
-
def deserialize(params)
|
2622
|
-
@RequestId = params['RequestId']
|
2623
|
-
end
|
2624
|
-
end
|
2625
|
-
|
2626
|
-
# DeleteAMQPVHost请求参数结构体
|
2627
|
-
class DeleteAMQPVHostRequest < TencentCloud::Common::AbstractModel
|
2628
|
-
# @param ClusterId: 集群ID
|
2629
|
-
# @type ClusterId: String
|
2630
|
-
# @param VHostId: vhost名称
|
2631
|
-
# @type VHostId: String
|
2632
|
-
|
2633
|
-
attr_accessor :ClusterId, :VHostId
|
2634
|
-
|
2635
|
-
def initialize(clusterid=nil, vhostid=nil)
|
2636
|
-
@ClusterId = clusterid
|
2637
|
-
@VHostId = vhostid
|
2638
|
-
end
|
2639
|
-
|
2640
|
-
def deserialize(params)
|
2641
|
-
@ClusterId = params['ClusterId']
|
2642
|
-
@VHostId = params['VHostId']
|
2643
|
-
end
|
2644
|
-
end
|
2645
|
-
|
2646
|
-
# DeleteAMQPVHost返回参数结构体
|
2647
|
-
class DeleteAMQPVHostResponse < TencentCloud::Common::AbstractModel
|
2648
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2649
|
-
# @type RequestId: String
|
2650
|
-
|
2651
|
-
attr_accessor :RequestId
|
2652
|
-
|
2653
|
-
def initialize(requestid=nil)
|
2654
|
-
@RequestId = requestid
|
2655
|
-
end
|
2656
|
-
|
2657
|
-
def deserialize(params)
|
2658
|
-
@RequestId = params['RequestId']
|
2659
|
-
end
|
2660
|
-
end
|
2661
|
-
|
2662
|
-
# DeleteCluster请求参数结构体
|
2663
|
-
class DeleteClusterRequest < TencentCloud::Common::AbstractModel
|
2664
|
-
# @param ClusterId: 集群Id,传入需要删除的集群Id。
|
2665
|
-
# @type ClusterId: String
|
2666
|
-
|
2667
|
-
attr_accessor :ClusterId
|
2668
|
-
|
2669
|
-
def initialize(clusterid=nil)
|
2670
|
-
@ClusterId = clusterid
|
2671
|
-
end
|
2672
|
-
|
2673
|
-
def deserialize(params)
|
2674
|
-
@ClusterId = params['ClusterId']
|
2675
|
-
end
|
2676
|
-
end
|
2677
|
-
|
2678
|
-
# DeleteCluster返回参数结构体
|
2679
|
-
class DeleteClusterResponse < TencentCloud::Common::AbstractModel
|
2680
|
-
# @param ClusterId: 集群的ID
|
2681
|
-
# @type ClusterId: String
|
2682
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2683
|
-
# @type RequestId: String
|
2684
|
-
|
2685
|
-
attr_accessor :ClusterId, :RequestId
|
2686
|
-
|
2687
|
-
def initialize(clusterid=nil, requestid=nil)
|
2688
|
-
@ClusterId = clusterid
|
2689
|
-
@RequestId = requestid
|
2690
|
-
end
|
2691
|
-
|
2692
|
-
def deserialize(params)
|
2693
|
-
@ClusterId = params['ClusterId']
|
2694
|
-
@RequestId = params['RequestId']
|
2695
|
-
end
|
2696
|
-
end
|
2697
|
-
|
2698
|
-
# DeleteCmqQueue请求参数结构体
|
2699
|
-
class DeleteCmqQueueRequest < TencentCloud::Common::AbstractModel
|
2700
|
-
# @param QueueName: 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
2701
|
-
# @type QueueName: String
|
2702
|
-
|
2703
|
-
attr_accessor :QueueName
|
2704
|
-
|
2705
|
-
def initialize(queuename=nil)
|
2706
|
-
@QueueName = queuename
|
2707
|
-
end
|
2708
|
-
|
2709
|
-
def deserialize(params)
|
2710
|
-
@QueueName = params['QueueName']
|
2711
|
-
end
|
2712
|
-
end
|
2713
|
-
|
2714
|
-
# DeleteCmqQueue返回参数结构体
|
2715
|
-
class DeleteCmqQueueResponse < TencentCloud::Common::AbstractModel
|
2716
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2717
|
-
# @type RequestId: String
|
2718
|
-
|
2719
|
-
attr_accessor :RequestId
|
2720
|
-
|
2721
|
-
def initialize(requestid=nil)
|
2722
|
-
@RequestId = requestid
|
2723
|
-
end
|
2724
|
-
|
2725
|
-
def deserialize(params)
|
2726
|
-
@RequestId = params['RequestId']
|
2727
|
-
end
|
2728
|
-
end
|
2729
|
-
|
2730
|
-
# DeleteCmqSubscribe请求参数结构体
|
2731
|
-
class DeleteCmqSubscribeRequest < TencentCloud::Common::AbstractModel
|
2732
|
-
# @param TopicName: 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
2733
|
-
# @type TopicName: String
|
2734
|
-
# @param SubscriptionName: 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
2735
|
-
# @type SubscriptionName: String
|
2736
|
-
|
2737
|
-
attr_accessor :TopicName, :SubscriptionName
|
2738
|
-
|
2739
|
-
def initialize(topicname=nil, subscriptionname=nil)
|
2740
|
-
@TopicName = topicname
|
2741
|
-
@SubscriptionName = subscriptionname
|
2742
|
-
end
|
2743
|
-
|
2744
|
-
def deserialize(params)
|
2745
|
-
@TopicName = params['TopicName']
|
2746
|
-
@SubscriptionName = params['SubscriptionName']
|
2747
|
-
end
|
2748
|
-
end
|
2749
|
-
|
2750
|
-
# DeleteCmqSubscribe返回参数结构体
|
2751
|
-
class DeleteCmqSubscribeResponse < TencentCloud::Common::AbstractModel
|
2056
|
+
# DeleteCmqSubscribe返回参数结构体
|
2057
|
+
class DeleteCmqSubscribeResponse < TencentCloud::Common::AbstractModel
|
2752
2058
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2753
2059
|
# @type RequestId: String
|
2754
2060
|
|
@@ -3137,623 +2443,242 @@ module TencentCloud
|
|
3137
2443
|
end
|
3138
2444
|
end
|
3139
2445
|
|
3140
|
-
# DeleteRoles请求参数结构体
|
3141
|
-
class DeleteRolesRequest < TencentCloud::Common::AbstractModel
|
3142
|
-
# @param RoleNames: 角色名称数组。
|
3143
|
-
# @type RoleNames: Array
|
3144
|
-
# @param ClusterId: 必填字段,集群Id
|
3145
|
-
# @type ClusterId: String
|
3146
|
-
|
3147
|
-
attr_accessor :RoleNames, :ClusterId
|
3148
|
-
|
3149
|
-
def initialize(rolenames=nil, clusterid=nil)
|
3150
|
-
@RoleNames = rolenames
|
3151
|
-
@ClusterId = clusterid
|
3152
|
-
end
|
3153
|
-
|
3154
|
-
def deserialize(params)
|
3155
|
-
@RoleNames = params['RoleNames']
|
3156
|
-
@ClusterId = params['ClusterId']
|
3157
|
-
end
|
3158
|
-
end
|
3159
|
-
|
3160
|
-
# DeleteRoles返回参数结构体
|
3161
|
-
class DeleteRolesResponse < TencentCloud::Common::AbstractModel
|
3162
|
-
# @param RoleNames: 成功删除的角色名称数组。
|
3163
|
-
# @type RoleNames: Array
|
3164
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3165
|
-
# @type RequestId: String
|
3166
|
-
|
3167
|
-
attr_accessor :RoleNames, :RequestId
|
3168
|
-
|
3169
|
-
def initialize(rolenames=nil, requestid=nil)
|
3170
|
-
@RoleNames = rolenames
|
3171
|
-
@RequestId = requestid
|
3172
|
-
end
|
3173
|
-
|
3174
|
-
def deserialize(params)
|
3175
|
-
@RoleNames = params['RoleNames']
|
3176
|
-
@RequestId = params['RequestId']
|
3177
|
-
end
|
3178
|
-
end
|
3179
|
-
|
3180
|
-
# DeleteSubscriptions请求参数结构体
|
3181
|
-
class DeleteSubscriptionsRequest < TencentCloud::Common::AbstractModel
|
3182
|
-
# @param SubscriptionTopicSets: 订阅关系集合,每次最多删除20个。
|
3183
|
-
# @type SubscriptionTopicSets: Array
|
3184
|
-
# @param ClusterId: pulsar集群Id。
|
3185
|
-
# @type ClusterId: String
|
3186
|
-
# @param EnvironmentId: 环境(命名空间)名称。
|
3187
|
-
# @type EnvironmentId: String
|
3188
|
-
# @param Force: 是否强制删除,默认为false
|
3189
|
-
# @type Force: Boolean
|
3190
|
-
|
3191
|
-
attr_accessor :SubscriptionTopicSets, :ClusterId, :EnvironmentId, :Force
|
3192
|
-
|
3193
|
-
def initialize(subscriptiontopicsets=nil, clusterid=nil, environmentid=nil, force=nil)
|
3194
|
-
@SubscriptionTopicSets = subscriptiontopicsets
|
3195
|
-
@ClusterId = clusterid
|
3196
|
-
@EnvironmentId = environmentid
|
3197
|
-
@Force = force
|
3198
|
-
end
|
3199
|
-
|
3200
|
-
def deserialize(params)
|
3201
|
-
unless params['SubscriptionTopicSets'].nil?
|
3202
|
-
@SubscriptionTopicSets = []
|
3203
|
-
params['SubscriptionTopicSets'].each do |i|
|
3204
|
-
subscriptiontopic_tmp = SubscriptionTopic.new
|
3205
|
-
subscriptiontopic_tmp.deserialize(i)
|
3206
|
-
@SubscriptionTopicSets << subscriptiontopic_tmp
|
3207
|
-
end
|
3208
|
-
end
|
3209
|
-
@ClusterId = params['ClusterId']
|
3210
|
-
@EnvironmentId = params['EnvironmentId']
|
3211
|
-
@Force = params['Force']
|
3212
|
-
end
|
3213
|
-
end
|
3214
|
-
|
3215
|
-
# DeleteSubscriptions返回参数结构体
|
3216
|
-
class DeleteSubscriptionsResponse < TencentCloud::Common::AbstractModel
|
3217
|
-
# @param SubscriptionTopicSets: 成功删除的订阅关系数组。
|
3218
|
-
# @type SubscriptionTopicSets: Array
|
3219
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3220
|
-
# @type RequestId: String
|
3221
|
-
|
3222
|
-
attr_accessor :SubscriptionTopicSets, :RequestId
|
3223
|
-
|
3224
|
-
def initialize(subscriptiontopicsets=nil, requestid=nil)
|
3225
|
-
@SubscriptionTopicSets = subscriptiontopicsets
|
3226
|
-
@RequestId = requestid
|
3227
|
-
end
|
3228
|
-
|
3229
|
-
def deserialize(params)
|
3230
|
-
unless params['SubscriptionTopicSets'].nil?
|
3231
|
-
@SubscriptionTopicSets = []
|
3232
|
-
params['SubscriptionTopicSets'].each do |i|
|
3233
|
-
subscriptiontopic_tmp = SubscriptionTopic.new
|
3234
|
-
subscriptiontopic_tmp.deserialize(i)
|
3235
|
-
@SubscriptionTopicSets << subscriptiontopic_tmp
|
3236
|
-
end
|
3237
|
-
end
|
3238
|
-
@RequestId = params['RequestId']
|
3239
|
-
end
|
3240
|
-
end
|
3241
|
-
|
3242
|
-
# DeleteTopics请求参数结构体
|
3243
|
-
class DeleteTopicsRequest < TencentCloud::Common::AbstractModel
|
3244
|
-
# @param TopicSets: 主题集合,每次最多删除20个。
|
3245
|
-
# @type TopicSets: Array
|
3246
|
-
# @param ClusterId: pulsar集群Id。
|
3247
|
-
# @type ClusterId: String
|
3248
|
-
# @param EnvironmentId: 环境(命名空间)名称。
|
3249
|
-
# @type EnvironmentId: String
|
3250
|
-
# @param Force: 是否强制删除,默认为false
|
3251
|
-
# @type Force: Boolean
|
3252
|
-
|
3253
|
-
attr_accessor :TopicSets, :ClusterId, :EnvironmentId, :Force
|
3254
|
-
|
3255
|
-
def initialize(topicsets=nil, clusterid=nil, environmentid=nil, force=nil)
|
3256
|
-
@TopicSets = topicsets
|
3257
|
-
@ClusterId = clusterid
|
3258
|
-
@EnvironmentId = environmentid
|
3259
|
-
@Force = force
|
3260
|
-
end
|
3261
|
-
|
3262
|
-
def deserialize(params)
|
3263
|
-
unless params['TopicSets'].nil?
|
3264
|
-
@TopicSets = []
|
3265
|
-
params['TopicSets'].each do |i|
|
3266
|
-
topicrecord_tmp = TopicRecord.new
|
3267
|
-
topicrecord_tmp.deserialize(i)
|
3268
|
-
@TopicSets << topicrecord_tmp
|
3269
|
-
end
|
3270
|
-
end
|
3271
|
-
@ClusterId = params['ClusterId']
|
3272
|
-
@EnvironmentId = params['EnvironmentId']
|
3273
|
-
@Force = params['Force']
|
3274
|
-
end
|
3275
|
-
end
|
3276
|
-
|
3277
|
-
# DeleteTopics返回参数结构体
|
3278
|
-
class DeleteTopicsResponse < TencentCloud::Common::AbstractModel
|
3279
|
-
# @param TopicSets: 被删除的主题数组。
|
3280
|
-
# @type TopicSets: Array
|
3281
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3282
|
-
# @type RequestId: String
|
3283
|
-
|
3284
|
-
attr_accessor :TopicSets, :RequestId
|
3285
|
-
|
3286
|
-
def initialize(topicsets=nil, requestid=nil)
|
3287
|
-
@TopicSets = topicsets
|
3288
|
-
@RequestId = requestid
|
3289
|
-
end
|
3290
|
-
|
3291
|
-
def deserialize(params)
|
3292
|
-
unless params['TopicSets'].nil?
|
3293
|
-
@TopicSets = []
|
3294
|
-
params['TopicSets'].each do |i|
|
3295
|
-
topicrecord_tmp = TopicRecord.new
|
3296
|
-
topicrecord_tmp.deserialize(i)
|
3297
|
-
@TopicSets << topicrecord_tmp
|
3298
|
-
end
|
3299
|
-
end
|
3300
|
-
@RequestId = params['RequestId']
|
3301
|
-
end
|
3302
|
-
end
|
3303
|
-
|
3304
|
-
# DescribeAMQPCluster请求参数结构体
|
3305
|
-
class DescribeAMQPClusterRequest < TencentCloud::Common::AbstractModel
|
3306
|
-
# @param ClusterId: 集群ID
|
3307
|
-
# @type ClusterId: String
|
3308
|
-
|
3309
|
-
attr_accessor :ClusterId
|
3310
|
-
|
3311
|
-
def initialize(clusterid=nil)
|
3312
|
-
@ClusterId = clusterid
|
3313
|
-
end
|
3314
|
-
|
3315
|
-
def deserialize(params)
|
3316
|
-
@ClusterId = params['ClusterId']
|
3317
|
-
end
|
3318
|
-
end
|
3319
|
-
|
3320
|
-
# DescribeAMQPCluster返回参数结构体
|
3321
|
-
class DescribeAMQPClusterResponse < TencentCloud::Common::AbstractModel
|
3322
|
-
# @param ClusterInfo: 集群信息
|
3323
|
-
# @type ClusterInfo: :class:`Tencentcloud::Tdmq.v20200217.models.AMQPClusterInfo`
|
3324
|
-
# @param ClusterConfig: 集群配置
|
3325
|
-
# @type ClusterConfig: :class:`Tencentcloud::Tdmq.v20200217.models.AMQPClusterConfig`
|
3326
|
-
# @param ClusterStats: 集群最近使用量
|
3327
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3328
|
-
# @type ClusterStats: :class:`Tencentcloud::Tdmq.v20200217.models.AMQPClusterRecentStats`
|
3329
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3330
|
-
# @type RequestId: String
|
3331
|
-
|
3332
|
-
attr_accessor :ClusterInfo, :ClusterConfig, :ClusterStats, :RequestId
|
3333
|
-
|
3334
|
-
def initialize(clusterinfo=nil, clusterconfig=nil, clusterstats=nil, requestid=nil)
|
3335
|
-
@ClusterInfo = clusterinfo
|
3336
|
-
@ClusterConfig = clusterconfig
|
3337
|
-
@ClusterStats = clusterstats
|
3338
|
-
@RequestId = requestid
|
3339
|
-
end
|
3340
|
-
|
3341
|
-
def deserialize(params)
|
3342
|
-
unless params['ClusterInfo'].nil?
|
3343
|
-
@ClusterInfo = AMQPClusterInfo.new
|
3344
|
-
@ClusterInfo.deserialize(params['ClusterInfo'])
|
3345
|
-
end
|
3346
|
-
unless params['ClusterConfig'].nil?
|
3347
|
-
@ClusterConfig = AMQPClusterConfig.new
|
3348
|
-
@ClusterConfig.deserialize(params['ClusterConfig'])
|
3349
|
-
end
|
3350
|
-
unless params['ClusterStats'].nil?
|
3351
|
-
@ClusterStats = AMQPClusterRecentStats.new
|
3352
|
-
@ClusterStats.deserialize(params['ClusterStats'])
|
3353
|
-
end
|
3354
|
-
@RequestId = params['RequestId']
|
3355
|
-
end
|
3356
|
-
end
|
3357
|
-
|
3358
|
-
# DescribeAMQPClusters请求参数结构体
|
3359
|
-
class DescribeAMQPClustersRequest < TencentCloud::Common::AbstractModel
|
3360
|
-
# @param Offset: 偏移量
|
3361
|
-
# @type Offset: Integer
|
3362
|
-
# @param Limit: 限制数目
|
3363
|
-
# @type Limit: Integer
|
3364
|
-
# @param IdKeyword: 按照集群ID关键字搜索
|
3365
|
-
# @type IdKeyword: String
|
3366
|
-
# @param NameKeyword: 按照集群名称关键字搜索
|
3367
|
-
# @type NameKeyword: String
|
3368
|
-
# @param ClusterIdList: 集群ID列表过滤
|
3369
|
-
# @type ClusterIdList: Array
|
3370
|
-
# @param IsTagFilter: 标签过滤查找时,需要设置为true
|
3371
|
-
# @type IsTagFilter: Boolean
|
3372
|
-
# @param Filters: 过滤器。目前支持按标签过滤。
|
3373
|
-
# @type Filters: Array
|
3374
|
-
|
3375
|
-
attr_accessor :Offset, :Limit, :IdKeyword, :NameKeyword, :ClusterIdList, :IsTagFilter, :Filters
|
3376
|
-
|
3377
|
-
def initialize(offset=nil, limit=nil, idkeyword=nil, namekeyword=nil, clusteridlist=nil, istagfilter=nil, filters=nil)
|
3378
|
-
@Offset = offset
|
3379
|
-
@Limit = limit
|
3380
|
-
@IdKeyword = idkeyword
|
3381
|
-
@NameKeyword = namekeyword
|
3382
|
-
@ClusterIdList = clusteridlist
|
3383
|
-
@IsTagFilter = istagfilter
|
3384
|
-
@Filters = filters
|
3385
|
-
end
|
3386
|
-
|
3387
|
-
def deserialize(params)
|
3388
|
-
@Offset = params['Offset']
|
3389
|
-
@Limit = params['Limit']
|
3390
|
-
@IdKeyword = params['IdKeyword']
|
3391
|
-
@NameKeyword = params['NameKeyword']
|
3392
|
-
@ClusterIdList = params['ClusterIdList']
|
3393
|
-
@IsTagFilter = params['IsTagFilter']
|
3394
|
-
unless params['Filters'].nil?
|
3395
|
-
@Filters = []
|
3396
|
-
params['Filters'].each do |i|
|
3397
|
-
filter_tmp = Filter.new
|
3398
|
-
filter_tmp.deserialize(i)
|
3399
|
-
@Filters << filter_tmp
|
3400
|
-
end
|
3401
|
-
end
|
3402
|
-
end
|
3403
|
-
end
|
3404
|
-
|
3405
|
-
# DescribeAMQPClusters返回参数结构体
|
3406
|
-
class DescribeAMQPClustersResponse < TencentCloud::Common::AbstractModel
|
3407
|
-
# @param ClusterList: 集群信息
|
3408
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3409
|
-
# @type ClusterList: Array
|
3410
|
-
# @param TotalCount: 总条数
|
3411
|
-
# @type TotalCount: Integer
|
3412
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3413
|
-
# @type RequestId: String
|
3414
|
-
|
3415
|
-
attr_accessor :ClusterList, :TotalCount, :RequestId
|
3416
|
-
|
3417
|
-
def initialize(clusterlist=nil, totalcount=nil, requestid=nil)
|
3418
|
-
@ClusterList = clusterlist
|
3419
|
-
@TotalCount = totalcount
|
3420
|
-
@RequestId = requestid
|
3421
|
-
end
|
3422
|
-
|
3423
|
-
def deserialize(params)
|
3424
|
-
unless params['ClusterList'].nil?
|
3425
|
-
@ClusterList = []
|
3426
|
-
params['ClusterList'].each do |i|
|
3427
|
-
amqpclusterdetail_tmp = AMQPClusterDetail.new
|
3428
|
-
amqpclusterdetail_tmp.deserialize(i)
|
3429
|
-
@ClusterList << amqpclusterdetail_tmp
|
3430
|
-
end
|
3431
|
-
end
|
3432
|
-
@TotalCount = params['TotalCount']
|
3433
|
-
@RequestId = params['RequestId']
|
3434
|
-
end
|
3435
|
-
end
|
3436
|
-
|
3437
|
-
# DescribeAMQPCreateQuota请求参数结构体
|
3438
|
-
class DescribeAMQPCreateQuotaRequest < TencentCloud::Common::AbstractModel
|
3439
|
-
|
3440
|
-
|
3441
|
-
def initialize()
|
3442
|
-
end
|
3443
|
-
|
3444
|
-
def deserialize(params)
|
3445
|
-
end
|
3446
|
-
end
|
3447
|
-
|
3448
|
-
# DescribeAMQPCreateQuota返回参数结构体
|
3449
|
-
class DescribeAMQPCreateQuotaResponse < TencentCloud::Common::AbstractModel
|
3450
|
-
# @param MaxClusterNum: 租户总共可使用集群数量
|
3451
|
-
# @type MaxClusterNum: Integer
|
3452
|
-
# @param UsedClusterNum: 租户已创建集群数量
|
3453
|
-
# @type UsedClusterNum: Integer
|
3454
|
-
# @param ExchangeCapacity: Exchange容量
|
3455
|
-
# @type ExchangeCapacity: Integer
|
3456
|
-
# @param QueueCapacity: Queue容量
|
3457
|
-
# @type QueueCapacity: Integer
|
3458
|
-
# @param MaxTpsPerVHost: 单Vhost TPS
|
3459
|
-
# @type MaxTpsPerVHost: Integer
|
3460
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3461
|
-
# @type RequestId: String
|
3462
|
-
|
3463
|
-
attr_accessor :MaxClusterNum, :UsedClusterNum, :ExchangeCapacity, :QueueCapacity, :MaxTpsPerVHost, :RequestId
|
3464
|
-
|
3465
|
-
def initialize(maxclusternum=nil, usedclusternum=nil, exchangecapacity=nil, queuecapacity=nil, maxtpspervhost=nil, requestid=nil)
|
3466
|
-
@MaxClusterNum = maxclusternum
|
3467
|
-
@UsedClusterNum = usedclusternum
|
3468
|
-
@ExchangeCapacity = exchangecapacity
|
3469
|
-
@QueueCapacity = queuecapacity
|
3470
|
-
@MaxTpsPerVHost = maxtpspervhost
|
3471
|
-
@RequestId = requestid
|
3472
|
-
end
|
3473
|
-
|
3474
|
-
def deserialize(params)
|
3475
|
-
@MaxClusterNum = params['MaxClusterNum']
|
3476
|
-
@UsedClusterNum = params['UsedClusterNum']
|
3477
|
-
@ExchangeCapacity = params['ExchangeCapacity']
|
3478
|
-
@QueueCapacity = params['QueueCapacity']
|
3479
|
-
@MaxTpsPerVHost = params['MaxTpsPerVHost']
|
3480
|
-
@RequestId = params['RequestId']
|
3481
|
-
end
|
3482
|
-
end
|
3483
|
-
|
3484
|
-
# DescribeAMQPExchanges请求参数结构体
|
3485
|
-
class DescribeAMQPExchangesRequest < TencentCloud::Common::AbstractModel
|
3486
|
-
# @param Offset: 查询偏移量
|
3487
|
-
# @type Offset: Integer
|
3488
|
-
# @param Limit: 查询限制数
|
3489
|
-
# @type Limit: Integer
|
3490
|
-
# @param ClusterId: 集群ID
|
2446
|
+
# DeleteRoles请求参数结构体
|
2447
|
+
class DeleteRolesRequest < TencentCloud::Common::AbstractModel
|
2448
|
+
# @param RoleNames: 角色名称数组。
|
2449
|
+
# @type RoleNames: Array
|
2450
|
+
# @param ClusterId: 必填字段,集群Id
|
3491
2451
|
# @type ClusterId: String
|
3492
|
-
# @param VHostId: Vhost ID
|
3493
|
-
# @type VHostId: String
|
3494
|
-
# @param FilterType: 按路由类型过滤查询结果,可选择Direct, Fanout, Topic
|
3495
|
-
# @type FilterType: Array
|
3496
|
-
# @param FilterName: 按exchange名称搜索,支持模糊查询
|
3497
|
-
# @type FilterName: String
|
3498
|
-
# @param FilterInternal: 过滤查询内部或者外部exchange
|
3499
|
-
# @type FilterInternal: Boolean
|
3500
2452
|
|
3501
|
-
attr_accessor :
|
2453
|
+
attr_accessor :RoleNames, :ClusterId
|
3502
2454
|
|
3503
|
-
def initialize(
|
3504
|
-
@
|
3505
|
-
@Limit = limit
|
2455
|
+
def initialize(rolenames=nil, clusterid=nil)
|
2456
|
+
@RoleNames = rolenames
|
3506
2457
|
@ClusterId = clusterid
|
3507
|
-
@VHostId = vhostid
|
3508
|
-
@FilterType = filtertype
|
3509
|
-
@FilterName = filtername
|
3510
|
-
@FilterInternal = filterinternal
|
3511
2458
|
end
|
3512
2459
|
|
3513
2460
|
def deserialize(params)
|
3514
|
-
@
|
3515
|
-
@Limit = params['Limit']
|
2461
|
+
@RoleNames = params['RoleNames']
|
3516
2462
|
@ClusterId = params['ClusterId']
|
3517
|
-
@VHostId = params['VHostId']
|
3518
|
-
@FilterType = params['FilterType']
|
3519
|
-
@FilterName = params['FilterName']
|
3520
|
-
@FilterInternal = params['FilterInternal']
|
3521
2463
|
end
|
3522
2464
|
end
|
3523
2465
|
|
3524
|
-
#
|
3525
|
-
class
|
3526
|
-
# @param
|
3527
|
-
# @type
|
3528
|
-
# @param Exchanges: 主题信息列表
|
3529
|
-
# @type Exchanges: Array
|
2466
|
+
# DeleteRoles返回参数结构体
|
2467
|
+
class DeleteRolesResponse < TencentCloud::Common::AbstractModel
|
2468
|
+
# @param RoleNames: 成功删除的角色名称数组。
|
2469
|
+
# @type RoleNames: Array
|
3530
2470
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3531
2471
|
# @type RequestId: String
|
3532
2472
|
|
3533
|
-
attr_accessor :
|
2473
|
+
attr_accessor :RoleNames, :RequestId
|
3534
2474
|
|
3535
|
-
def initialize(
|
3536
|
-
@
|
3537
|
-
@Exchanges = exchanges
|
2475
|
+
def initialize(rolenames=nil, requestid=nil)
|
2476
|
+
@RoleNames = rolenames
|
3538
2477
|
@RequestId = requestid
|
3539
2478
|
end
|
3540
2479
|
|
3541
2480
|
def deserialize(params)
|
3542
|
-
@
|
3543
|
-
unless params['Exchanges'].nil?
|
3544
|
-
@Exchanges = []
|
3545
|
-
params['Exchanges'].each do |i|
|
3546
|
-
amqpexchange_tmp = AMQPExchange.new
|
3547
|
-
amqpexchange_tmp.deserialize(i)
|
3548
|
-
@Exchanges << amqpexchange_tmp
|
3549
|
-
end
|
3550
|
-
end
|
2481
|
+
@RoleNames = params['RoleNames']
|
3551
2482
|
@RequestId = params['RequestId']
|
3552
2483
|
end
|
3553
2484
|
end
|
3554
2485
|
|
3555
|
-
#
|
3556
|
-
class
|
3557
|
-
# @param
|
3558
|
-
# @type
|
3559
|
-
# @param
|
3560
|
-
# @type Limit: Integer
|
3561
|
-
# @param ClusterId: 集群ID
|
2486
|
+
# DeleteSubscriptions请求参数结构体
|
2487
|
+
class DeleteSubscriptionsRequest < TencentCloud::Common::AbstractModel
|
2488
|
+
# @param SubscriptionTopicSets: 订阅关系集合,每次最多删除20个。
|
2489
|
+
# @type SubscriptionTopicSets: Array
|
2490
|
+
# @param ClusterId: pulsar集群Id。
|
3562
2491
|
# @type ClusterId: String
|
3563
|
-
# @param
|
3564
|
-
# @type
|
3565
|
-
# @param
|
3566
|
-
# @type
|
3567
|
-
# @param SortOrder: 查询结果排序规则,ASC为升序,DESC为降序
|
3568
|
-
# @type SortOrder: String
|
3569
|
-
# @param SortedBy: 对查询结果排序,此为排序字段,目前支持Accumulative(消息堆积量)、Tps
|
3570
|
-
# @type SortedBy: String
|
3571
|
-
# @param FilterOneQueue: 队列名称,指定此参数后将只返回该队列信息
|
3572
|
-
# @type FilterOneQueue: String
|
2492
|
+
# @param EnvironmentId: 环境(命名空间)名称。
|
2493
|
+
# @type EnvironmentId: String
|
2494
|
+
# @param Force: 是否强制删除,默认为false
|
2495
|
+
# @type Force: Boolean
|
3573
2496
|
|
3574
|
-
attr_accessor :
|
2497
|
+
attr_accessor :SubscriptionTopicSets, :ClusterId, :EnvironmentId, :Force
|
3575
2498
|
|
3576
|
-
def initialize(
|
3577
|
-
@
|
3578
|
-
@Limit = limit
|
2499
|
+
def initialize(subscriptiontopicsets=nil, clusterid=nil, environmentid=nil, force=nil)
|
2500
|
+
@SubscriptionTopicSets = subscriptiontopicsets
|
3579
2501
|
@ClusterId = clusterid
|
3580
|
-
@
|
3581
|
-
@
|
3582
|
-
@SortOrder = sortorder
|
3583
|
-
@SortedBy = sortedby
|
3584
|
-
@FilterOneQueue = filteronequeue
|
2502
|
+
@EnvironmentId = environmentid
|
2503
|
+
@Force = force
|
3585
2504
|
end
|
3586
2505
|
|
3587
2506
|
def deserialize(params)
|
3588
|
-
|
3589
|
-
|
2507
|
+
unless params['SubscriptionTopicSets'].nil?
|
2508
|
+
@SubscriptionTopicSets = []
|
2509
|
+
params['SubscriptionTopicSets'].each do |i|
|
2510
|
+
subscriptiontopic_tmp = SubscriptionTopic.new
|
2511
|
+
subscriptiontopic_tmp.deserialize(i)
|
2512
|
+
@SubscriptionTopicSets << subscriptiontopic_tmp
|
2513
|
+
end
|
2514
|
+
end
|
3590
2515
|
@ClusterId = params['ClusterId']
|
3591
|
-
@
|
3592
|
-
@
|
3593
|
-
@SortOrder = params['SortOrder']
|
3594
|
-
@SortedBy = params['SortedBy']
|
3595
|
-
@FilterOneQueue = params['FilterOneQueue']
|
2516
|
+
@EnvironmentId = params['EnvironmentId']
|
2517
|
+
@Force = params['Force']
|
3596
2518
|
end
|
3597
2519
|
end
|
3598
2520
|
|
3599
|
-
#
|
3600
|
-
class
|
3601
|
-
# @param
|
3602
|
-
# @type
|
3603
|
-
# @param Queues: 队列信息列表
|
3604
|
-
# @type Queues: Array
|
2521
|
+
# DeleteSubscriptions返回参数结构体
|
2522
|
+
class DeleteSubscriptionsResponse < TencentCloud::Common::AbstractModel
|
2523
|
+
# @param SubscriptionTopicSets: 成功删除的订阅关系数组。
|
2524
|
+
# @type SubscriptionTopicSets: Array
|
3605
2525
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3606
2526
|
# @type RequestId: String
|
3607
2527
|
|
3608
|
-
attr_accessor :
|
2528
|
+
attr_accessor :SubscriptionTopicSets, :RequestId
|
3609
2529
|
|
3610
|
-
def initialize(
|
3611
|
-
@
|
3612
|
-
@Queues = queues
|
2530
|
+
def initialize(subscriptiontopicsets=nil, requestid=nil)
|
2531
|
+
@SubscriptionTopicSets = subscriptiontopicsets
|
3613
2532
|
@RequestId = requestid
|
3614
2533
|
end
|
3615
2534
|
|
3616
2535
|
def deserialize(params)
|
3617
|
-
|
3618
|
-
|
3619
|
-
|
3620
|
-
|
3621
|
-
|
3622
|
-
|
3623
|
-
@Queues << amqpqueuedetail_tmp
|
2536
|
+
unless params['SubscriptionTopicSets'].nil?
|
2537
|
+
@SubscriptionTopicSets = []
|
2538
|
+
params['SubscriptionTopicSets'].each do |i|
|
2539
|
+
subscriptiontopic_tmp = SubscriptionTopic.new
|
2540
|
+
subscriptiontopic_tmp.deserialize(i)
|
2541
|
+
@SubscriptionTopicSets << subscriptiontopic_tmp
|
3624
2542
|
end
|
3625
2543
|
end
|
3626
2544
|
@RequestId = params['RequestId']
|
3627
2545
|
end
|
3628
2546
|
end
|
3629
2547
|
|
3630
|
-
#
|
3631
|
-
class
|
3632
|
-
# @param
|
3633
|
-
# @type
|
3634
|
-
# @param
|
3635
|
-
# @type Limit: Integer
|
3636
|
-
# @param ClusterId: 集群ID
|
2548
|
+
# DeleteTopics请求参数结构体
|
2549
|
+
class DeleteTopicsRequest < TencentCloud::Common::AbstractModel
|
2550
|
+
# @param TopicSets: 主题集合,每次最多删除20个。
|
2551
|
+
# @type TopicSets: Array
|
2552
|
+
# @param ClusterId: pulsar集群Id。
|
3637
2553
|
# @type ClusterId: String
|
3638
|
-
# @param
|
3639
|
-
# @type
|
3640
|
-
# @param
|
3641
|
-
# @type
|
3642
|
-
|
3643
|
-
|
3644
|
-
|
3645
|
-
|
3646
|
-
|
3647
|
-
attr_accessor :Offset, :Limit, :ClusterId, :VHostId, :FilterSourceExchange, :FilterDestType, :FilterDestValue
|
3648
|
-
|
3649
|
-
def initialize(offset=nil, limit=nil, clusterid=nil, vhostid=nil, filtersourceexchange=nil, filterdesttype=nil, filterdestvalue=nil)
|
3650
|
-
@Offset = offset
|
3651
|
-
@Limit = limit
|
2554
|
+
# @param EnvironmentId: 环境(命名空间)名称。
|
2555
|
+
# @type EnvironmentId: String
|
2556
|
+
# @param Force: 是否强制删除,默认为false
|
2557
|
+
# @type Force: Boolean
|
2558
|
+
|
2559
|
+
attr_accessor :TopicSets, :ClusterId, :EnvironmentId, :Force
|
2560
|
+
|
2561
|
+
def initialize(topicsets=nil, clusterid=nil, environmentid=nil, force=nil)
|
2562
|
+
@TopicSets = topicsets
|
3652
2563
|
@ClusterId = clusterid
|
3653
|
-
@
|
3654
|
-
@
|
3655
|
-
@FilterDestType = filterdesttype
|
3656
|
-
@FilterDestValue = filterdestvalue
|
2564
|
+
@EnvironmentId = environmentid
|
2565
|
+
@Force = force
|
3657
2566
|
end
|
3658
2567
|
|
3659
2568
|
def deserialize(params)
|
3660
|
-
|
3661
|
-
|
2569
|
+
unless params['TopicSets'].nil?
|
2570
|
+
@TopicSets = []
|
2571
|
+
params['TopicSets'].each do |i|
|
2572
|
+
topicrecord_tmp = TopicRecord.new
|
2573
|
+
topicrecord_tmp.deserialize(i)
|
2574
|
+
@TopicSets << topicrecord_tmp
|
2575
|
+
end
|
2576
|
+
end
|
3662
2577
|
@ClusterId = params['ClusterId']
|
3663
|
-
@
|
3664
|
-
@
|
3665
|
-
@FilterDestType = params['FilterDestType']
|
3666
|
-
@FilterDestValue = params['FilterDestValue']
|
2578
|
+
@EnvironmentId = params['EnvironmentId']
|
2579
|
+
@Force = params['Force']
|
3667
2580
|
end
|
3668
2581
|
end
|
3669
2582
|
|
3670
|
-
#
|
3671
|
-
class
|
3672
|
-
# @param
|
3673
|
-
# @type
|
3674
|
-
# @param RouteRelations: 路由关系列表
|
3675
|
-
# @type RouteRelations: Array
|
2583
|
+
# DeleteTopics返回参数结构体
|
2584
|
+
class DeleteTopicsResponse < TencentCloud::Common::AbstractModel
|
2585
|
+
# @param TopicSets: 被删除的主题数组。
|
2586
|
+
# @type TopicSets: Array
|
3676
2587
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3677
2588
|
# @type RequestId: String
|
3678
2589
|
|
3679
|
-
attr_accessor :
|
2590
|
+
attr_accessor :TopicSets, :RequestId
|
3680
2591
|
|
3681
|
-
def initialize(
|
3682
|
-
@
|
3683
|
-
@RouteRelations = routerelations
|
2592
|
+
def initialize(topicsets=nil, requestid=nil)
|
2593
|
+
@TopicSets = topicsets
|
3684
2594
|
@RequestId = requestid
|
3685
2595
|
end
|
3686
2596
|
|
3687
2597
|
def deserialize(params)
|
3688
|
-
|
3689
|
-
|
3690
|
-
|
3691
|
-
|
3692
|
-
|
3693
|
-
|
3694
|
-
@RouteRelations << amqprouterelation_tmp
|
2598
|
+
unless params['TopicSets'].nil?
|
2599
|
+
@TopicSets = []
|
2600
|
+
params['TopicSets'].each do |i|
|
2601
|
+
topicrecord_tmp = TopicRecord.new
|
2602
|
+
topicrecord_tmp.deserialize(i)
|
2603
|
+
@TopicSets << topicrecord_tmp
|
3695
2604
|
end
|
3696
2605
|
end
|
3697
2606
|
@RequestId = params['RequestId']
|
3698
2607
|
end
|
3699
2608
|
end
|
3700
2609
|
|
3701
|
-
#
|
3702
|
-
class
|
3703
|
-
# @param ClusterId: 集群ID
|
3704
|
-
# @type ClusterId: String
|
2610
|
+
# DescribeAMQPClusters请求参数结构体
|
2611
|
+
class DescribeAMQPClustersRequest < TencentCloud::Common::AbstractModel
|
3705
2612
|
# @param Offset: 偏移量
|
3706
2613
|
# @type Offset: Integer
|
3707
2614
|
# @param Limit: 限制数目
|
3708
2615
|
# @type Limit: Integer
|
3709
|
-
# @param
|
2616
|
+
# @param IdKeyword: 按照集群ID关键字搜索
|
2617
|
+
# @type IdKeyword: String
|
2618
|
+
# @param NameKeyword: 按照集群名称关键字搜索
|
3710
2619
|
# @type NameKeyword: String
|
3711
|
-
# @param
|
3712
|
-
# @type
|
2620
|
+
# @param ClusterIdList: 集群ID列表过滤
|
2621
|
+
# @type ClusterIdList: Array
|
2622
|
+
# @param IsTagFilter: 标签过滤查找时,需要设置为true
|
2623
|
+
# @type IsTagFilter: Boolean
|
2624
|
+
# @param Filters: 过滤器。目前支持按标签过滤。
|
2625
|
+
# @type Filters: Array
|
3713
2626
|
|
3714
|
-
attr_accessor :
|
2627
|
+
attr_accessor :Offset, :Limit, :IdKeyword, :NameKeyword, :ClusterIdList, :IsTagFilter, :Filters
|
3715
2628
|
|
3716
|
-
def initialize(
|
3717
|
-
@ClusterId = clusterid
|
2629
|
+
def initialize(offset=nil, limit=nil, idkeyword=nil, namekeyword=nil, clusteridlist=nil, istagfilter=nil, filters=nil)
|
3718
2630
|
@Offset = offset
|
3719
2631
|
@Limit = limit
|
2632
|
+
@IdKeyword = idkeyword
|
3720
2633
|
@NameKeyword = namekeyword
|
3721
|
-
@
|
2634
|
+
@ClusterIdList = clusteridlist
|
2635
|
+
@IsTagFilter = istagfilter
|
2636
|
+
@Filters = filters
|
3722
2637
|
end
|
3723
2638
|
|
3724
2639
|
def deserialize(params)
|
3725
|
-
@ClusterId = params['ClusterId']
|
3726
2640
|
@Offset = params['Offset']
|
3727
2641
|
@Limit = params['Limit']
|
2642
|
+
@IdKeyword = params['IdKeyword']
|
3728
2643
|
@NameKeyword = params['NameKeyword']
|
3729
|
-
@
|
2644
|
+
@ClusterIdList = params['ClusterIdList']
|
2645
|
+
@IsTagFilter = params['IsTagFilter']
|
2646
|
+
unless params['Filters'].nil?
|
2647
|
+
@Filters = []
|
2648
|
+
params['Filters'].each do |i|
|
2649
|
+
filter_tmp = Filter.new
|
2650
|
+
filter_tmp.deserialize(i)
|
2651
|
+
@Filters << filter_tmp
|
2652
|
+
end
|
2653
|
+
end
|
3730
2654
|
end
|
3731
2655
|
end
|
3732
2656
|
|
3733
|
-
#
|
3734
|
-
class
|
3735
|
-
# @param
|
3736
|
-
#
|
2657
|
+
# DescribeAMQPClusters返回参数结构体
|
2658
|
+
class DescribeAMQPClustersResponse < TencentCloud::Common::AbstractModel
|
2659
|
+
# @param ClusterList: 集群信息
|
2660
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2661
|
+
# @type ClusterList: Array
|
3737
2662
|
# @param TotalCount: 总条数
|
3738
2663
|
# @type TotalCount: Integer
|
3739
2664
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3740
2665
|
# @type RequestId: String
|
3741
2666
|
|
3742
|
-
attr_accessor :
|
2667
|
+
attr_accessor :ClusterList, :TotalCount, :RequestId
|
3743
2668
|
|
3744
|
-
def initialize(
|
3745
|
-
@
|
2669
|
+
def initialize(clusterlist=nil, totalcount=nil, requestid=nil)
|
2670
|
+
@ClusterList = clusterlist
|
3746
2671
|
@TotalCount = totalcount
|
3747
2672
|
@RequestId = requestid
|
3748
2673
|
end
|
3749
2674
|
|
3750
2675
|
def deserialize(params)
|
3751
|
-
unless params['
|
3752
|
-
@
|
3753
|
-
params['
|
3754
|
-
|
3755
|
-
|
3756
|
-
@
|
2676
|
+
unless params['ClusterList'].nil?
|
2677
|
+
@ClusterList = []
|
2678
|
+
params['ClusterList'].each do |i|
|
2679
|
+
amqpclusterdetail_tmp = AMQPClusterDetail.new
|
2680
|
+
amqpclusterdetail_tmp.deserialize(i)
|
2681
|
+
@ClusterList << amqpclusterdetail_tmp
|
3757
2682
|
end
|
3758
2683
|
end
|
3759
2684
|
@TotalCount = params['TotalCount']
|
@@ -6540,106 +5465,6 @@ module TencentCloud
|
|
6540
5465
|
end
|
6541
5466
|
end
|
6542
5467
|
|
6543
|
-
# ModifyAMQPExchange请求参数结构体
|
6544
|
-
class ModifyAMQPExchangeRequest < TencentCloud::Common::AbstractModel
|
6545
|
-
# @param ClusterId: 集群ID
|
6546
|
-
# @type ClusterId: String
|
6547
|
-
# @param VHostId: Vhost间名称
|
6548
|
-
# @type VHostId: String
|
6549
|
-
# @param Exchange: 交换机名称
|
6550
|
-
# @type Exchange: String
|
6551
|
-
# @param Remark: 说明信息,最大128个字符
|
6552
|
-
# @type Remark: String
|
6553
|
-
|
6554
|
-
attr_accessor :ClusterId, :VHostId, :Exchange, :Remark
|
6555
|
-
|
6556
|
-
def initialize(clusterid=nil, vhostid=nil, exchange=nil, remark=nil)
|
6557
|
-
@ClusterId = clusterid
|
6558
|
-
@VHostId = vhostid
|
6559
|
-
@Exchange = exchange
|
6560
|
-
@Remark = remark
|
6561
|
-
end
|
6562
|
-
|
6563
|
-
def deserialize(params)
|
6564
|
-
@ClusterId = params['ClusterId']
|
6565
|
-
@VHostId = params['VHostId']
|
6566
|
-
@Exchange = params['Exchange']
|
6567
|
-
@Remark = params['Remark']
|
6568
|
-
end
|
6569
|
-
end
|
6570
|
-
|
6571
|
-
# ModifyAMQPExchange返回参数结构体
|
6572
|
-
class ModifyAMQPExchangeResponse < TencentCloud::Common::AbstractModel
|
6573
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6574
|
-
# @type RequestId: String
|
6575
|
-
|
6576
|
-
attr_accessor :RequestId
|
6577
|
-
|
6578
|
-
def initialize(requestid=nil)
|
6579
|
-
@RequestId = requestid
|
6580
|
-
end
|
6581
|
-
|
6582
|
-
def deserialize(params)
|
6583
|
-
@RequestId = params['RequestId']
|
6584
|
-
end
|
6585
|
-
end
|
6586
|
-
|
6587
|
-
# ModifyAMQPQueue请求参数结构体
|
6588
|
-
class ModifyAMQPQueueRequest < TencentCloud::Common::AbstractModel
|
6589
|
-
# @param ClusterId: 集群ID
|
6590
|
-
# @type ClusterId: String
|
6591
|
-
# @param VHostId: Vhost名称
|
6592
|
-
# @type VHostId: String
|
6593
|
-
# @param Queue: 队列名称
|
6594
|
-
# @type Queue: String
|
6595
|
-
# @param AutoDelete: 是否自动清除
|
6596
|
-
# @type AutoDelete: Boolean
|
6597
|
-
# @param Remark: 说明信息,最大128个字符
|
6598
|
-
# @type Remark: String
|
6599
|
-
# @param DeadLetterExchange: 死信exchange
|
6600
|
-
# @type DeadLetterExchange: String
|
6601
|
-
# @param DeadLetterRoutingKey: 路由键
|
6602
|
-
# @type DeadLetterRoutingKey: String
|
6603
|
-
|
6604
|
-
attr_accessor :ClusterId, :VHostId, :Queue, :AutoDelete, :Remark, :DeadLetterExchange, :DeadLetterRoutingKey
|
6605
|
-
|
6606
|
-
def initialize(clusterid=nil, vhostid=nil, queue=nil, autodelete=nil, remark=nil, deadletterexchange=nil, deadletterroutingkey=nil)
|
6607
|
-
@ClusterId = clusterid
|
6608
|
-
@VHostId = vhostid
|
6609
|
-
@Queue = queue
|
6610
|
-
@AutoDelete = autodelete
|
6611
|
-
@Remark = remark
|
6612
|
-
@DeadLetterExchange = deadletterexchange
|
6613
|
-
@DeadLetterRoutingKey = deadletterroutingkey
|
6614
|
-
end
|
6615
|
-
|
6616
|
-
def deserialize(params)
|
6617
|
-
@ClusterId = params['ClusterId']
|
6618
|
-
@VHostId = params['VHostId']
|
6619
|
-
@Queue = params['Queue']
|
6620
|
-
@AutoDelete = params['AutoDelete']
|
6621
|
-
@Remark = params['Remark']
|
6622
|
-
@DeadLetterExchange = params['DeadLetterExchange']
|
6623
|
-
@DeadLetterRoutingKey = params['DeadLetterRoutingKey']
|
6624
|
-
end
|
6625
|
-
end
|
6626
|
-
|
6627
|
-
# ModifyAMQPQueue返回参数结构体
|
6628
|
-
class ModifyAMQPQueueResponse < TencentCloud::Common::AbstractModel
|
6629
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6630
|
-
# @type RequestId: String
|
6631
|
-
|
6632
|
-
attr_accessor :RequestId
|
6633
|
-
|
6634
|
-
def initialize(requestid=nil)
|
6635
|
-
@RequestId = requestid
|
6636
|
-
end
|
6637
|
-
|
6638
|
-
def deserialize(params)
|
6639
|
-
@RequestId = params['RequestId']
|
6640
|
-
end
|
6641
|
-
end
|
6642
|
-
|
6643
5468
|
# ModifyCluster请求参数结构体
|
6644
5469
|
class ModifyClusterRequest < TencentCloud::Common::AbstractModel
|
6645
5470
|
# @param ClusterId: Pulsar 集群的ID,需要更新的集群Id。
|