tencentcloud-sdk-nodejs-tdmq 4.0.242 → 4.0.248
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.
- package/CHANGELOG.md +519 -72
- package/README.md +1 -1
- package/package.json +1 -1
- package/products.md +31 -28
- package/src/services/tdmq/v20200217/tdmq_client.ts +700 -440
- package/src/services/tdmq/v20200217/tdmq_models.ts +1488 -279
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +221 -137
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +330 -204
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1270 -250
|
@@ -28,178 +28,232 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
28
28
|
super("tdmq.tencentcloudapi.com", "2020-02-17", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 批量删除租户下的命名空间
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
33
|
+
async DeleteEnvironments(req, cb) {
|
|
34
|
+
return this.request("DeleteEnvironments", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 创建用户的集群
|
|
38
38
|
*/
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
39
|
+
async CreateCluster(req, cb) {
|
|
40
|
+
return this.request("CreateCluster", req, cb);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* 获取RocketMQ命名空间列表
|
|
44
44
|
*/
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
45
|
+
async DescribeRocketMQNamespaces(req, cb) {
|
|
46
|
+
return this.request("DescribeRocketMQNamespaces", req, cb);
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 更新Amqp集群信息
|
|
50
50
|
*/
|
|
51
|
-
async
|
|
52
|
-
return this.request("
|
|
51
|
+
async ModifyAMQPCluster(req, cb) {
|
|
52
|
+
return this.request("ModifyAMQPCluster", req, cb);
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* 删除Amqp交换机
|
|
56
56
|
*/
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
57
|
+
async DeleteAMQPExchange(req, cb) {
|
|
58
|
+
return this.request("DeleteAMQPExchange", req, cb);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* 创建cmq主题
|
|
62
62
|
*/
|
|
63
|
-
async
|
|
64
|
-
return this.request("
|
|
63
|
+
async CreateCmqTopic(req, cb) {
|
|
64
|
+
return this.request("CreateCmqTopic", req, cb);
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* 删除cmq队列
|
|
68
68
|
*/
|
|
69
|
-
async
|
|
70
|
-
return this.request("
|
|
69
|
+
async DeleteCmqQueue(req, cb) {
|
|
70
|
+
return this.request("DeleteCmqQueue", req, cb);
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* 枚举cmq全量主题
|
|
74
74
|
*/
|
|
75
|
-
async
|
|
76
|
-
return this.request("
|
|
75
|
+
async DescribeCmqTopics(req, cb) {
|
|
76
|
+
return this.request("DescribeCmqTopics", req, cb);
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* 创建Amqp Vhost
|
|
80
80
|
*/
|
|
81
|
-
async
|
|
82
|
-
return this.request("
|
|
81
|
+
async CreateAMQPVHost(req, cb) {
|
|
82
|
+
return this.request("CreateAMQPVHost", req, cb);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* 批量删除topics
|
|
86
86
|
*/
|
|
87
|
-
async
|
|
88
|
-
return this.request("
|
|
87
|
+
async DeleteTopics(req, cb) {
|
|
88
|
+
return this.request("DeleteTopics", req, cb);
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* 删除RocketMQ消费组
|
|
92
92
|
*/
|
|
93
|
-
async
|
|
94
|
-
return this.request("
|
|
93
|
+
async DeleteRocketMQGroup(req, cb) {
|
|
94
|
+
return this.request("DeleteRocketMQGroup", req, cb);
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* 回溯cmq队列
|
|
98
98
|
*/
|
|
99
|
-
async
|
|
100
|
-
return this.request("
|
|
99
|
+
async RewindCmqQueue(req, cb) {
|
|
100
|
+
return this.request("RewindCmqQueue", req, cb);
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* 发送cmq主题消息
|
|
104
104
|
*/
|
|
105
|
-
async
|
|
106
|
-
return this.request("
|
|
105
|
+
async PublishCmqMsg(req, cb) {
|
|
106
|
+
return this.request("PublishCmqMsg", req, cb);
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* 新增指定分区、类型的消息主题
|
|
110
110
|
*/
|
|
111
|
-
async
|
|
112
|
-
return this.request("
|
|
111
|
+
async CreateTopic(req, cb) {
|
|
112
|
+
return this.request("CreateTopic", req, cb);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* 获取单个Amqp集群信息
|
|
116
116
|
*/
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
117
|
+
async DescribeAMQPCluster(req, cb) {
|
|
118
|
+
return this.request("DescribeAMQPCluster", req, cb);
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* 查询cmq全量队列
|
|
122
122
|
*/
|
|
123
|
-
async
|
|
124
|
-
return this.request("
|
|
123
|
+
async DescribeCmqQueues(req, cb) {
|
|
124
|
+
return this.request("DescribeCmqQueues", req, cb);
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* 获取租户下命名空间列表
|
|
128
128
|
*/
|
|
129
|
-
async
|
|
130
|
-
return this.request("
|
|
129
|
+
async DescribeEnvironments(req, cb) {
|
|
130
|
+
return this.request("DescribeEnvironments", req, cb);
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* 获取集群的详细信息
|
|
134
134
|
*/
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
135
|
+
async DescribeClusterDetail(req, cb) {
|
|
136
|
+
return this.request("DescribeClusterDetail", req, cb);
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
139
|
+
* 修改环境角色授权。
|
|
140
140
|
*/
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
141
|
+
async ModifyEnvironmentRole(req, cb) {
|
|
142
|
+
return this.request("ModifyEnvironmentRole", req, cb);
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* 根据提供的 MessageID 确认指定 topic 中的消息
|
|
146
146
|
*/
|
|
147
|
-
async
|
|
148
|
-
return this.request("
|
|
147
|
+
async AcknowledgeMessage(req, cb) {
|
|
148
|
+
return this.request("AcknowledgeMessage", req, cb);
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* 用于在用户账户下创建消息队列 Tdmq 命名空间
|
|
152
152
|
*/
|
|
153
|
-
async
|
|
154
|
-
return this.request("
|
|
153
|
+
async CreateEnvironment(req, cb) {
|
|
154
|
+
return this.request("CreateEnvironment", req, cb);
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
|
-
*
|
|
157
|
+
* 获取环境下主题列表
|
|
158
158
|
*/
|
|
159
|
-
async
|
|
160
|
-
return this.request("
|
|
159
|
+
async DescribeTopics(req, cb) {
|
|
160
|
+
return this.request("DescribeTopics", req, cb);
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* 发送单条消息
|
|
164
164
|
*/
|
|
165
|
-
async
|
|
166
|
-
return this.request("
|
|
165
|
+
async SendMessages(req, cb) {
|
|
166
|
+
return this.request("SendMessages", req, cb);
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
*
|
|
169
|
+
* 更新RocketMQ主题信息
|
|
170
170
|
*/
|
|
171
|
-
async
|
|
172
|
-
return this.request("
|
|
171
|
+
async ModifyRocketMQTopic(req, cb) {
|
|
172
|
+
return this.request("ModifyRocketMQTopic", req, cb);
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* 获取指定命名空间的属性
|
|
176
176
|
*/
|
|
177
|
-
async
|
|
178
|
-
return this.request("
|
|
177
|
+
async DescribeEnvironmentAttributes(req, cb) {
|
|
178
|
+
return this.request("DescribeEnvironmentAttributes", req, cb);
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
-
*
|
|
181
|
+
* 创建cmq订阅接口
|
|
182
182
|
*/
|
|
183
|
-
async
|
|
184
|
-
return this.request("
|
|
183
|
+
async CreateCmqSubscribe(req, cb) {
|
|
184
|
+
return this.request("CreateCmqSubscribe", req, cb);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
187
|
+
* 删除RocketMQ命名空间
|
|
188
188
|
*/
|
|
189
|
-
async
|
|
190
|
-
return this.request("
|
|
189
|
+
async DeleteRocketMQNamespace(req, cb) {
|
|
190
|
+
return this.request("DeleteRocketMQNamespace", req, cb);
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
|
-
*
|
|
193
|
+
* 删除集群
|
|
194
194
|
*/
|
|
195
|
-
async
|
|
196
|
-
return this.request("
|
|
195
|
+
async DeleteCluster(req, cb) {
|
|
196
|
+
return this.request("DeleteCluster", req, cb);
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
|
-
*
|
|
199
|
+
* 删除cmq主题
|
|
200
200
|
*/
|
|
201
|
-
async
|
|
202
|
-
return this.request("
|
|
201
|
+
async DeleteCmqTopic(req, cb) {
|
|
202
|
+
return this.request("DeleteCmqTopic", req, cb);
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* 修改cmq队列属性
|
|
206
|
+
*/
|
|
207
|
+
async ModifyCmqQueueAttribute(req, cb) {
|
|
208
|
+
return this.request("ModifyCmqQueueAttribute", req, cb);
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* 创建cmq队列接口
|
|
212
|
+
*/
|
|
213
|
+
async CreateCmqQueue(req, cb) {
|
|
214
|
+
return this.request("CreateCmqQueue", req, cb);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* 更新RocketMQ消费组信息
|
|
218
|
+
*/
|
|
219
|
+
async ModifyRocketMQGroup(req, cb) {
|
|
220
|
+
return this.request("ModifyRocketMQGroup", req, cb);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* 修改cmq主题属性
|
|
224
|
+
*/
|
|
225
|
+
async ModifyCmqTopicAttribute(req, cb) {
|
|
226
|
+
return this.request("ModifyCmqTopicAttribute", req, cb);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* 查询cmq订阅详情
|
|
230
|
+
*/
|
|
231
|
+
async DescribeCmqSubscriptionDetail(req, cb) {
|
|
232
|
+
return this.request("DescribeCmqSubscriptionDetail", req, cb);
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* 创建AMQP集群
|
|
236
|
+
*/
|
|
237
|
+
async CreateAMQPCluster(req, cb) {
|
|
238
|
+
return this.request("CreateAMQPCluster", req, cb);
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* 枚举cmq死信队列源队列
|
|
242
|
+
*/
|
|
243
|
+
async DescribeCmqDeadLetterSourceQueues(req, cb) {
|
|
244
|
+
return this.request("DescribeCmqDeadLetterSourceQueues", req, cb);
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* 获取Amqp Vhost 列表
|
|
248
|
+
*/
|
|
249
|
+
async DescribeAMQPVHosts(req, cb) {
|
|
250
|
+
return this.request("DescribeAMQPVHosts", req, cb);
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* 更新Amqp队列
|
|
254
|
+
*/
|
|
255
|
+
async ModifyAMQPQueue(req, cb) {
|
|
256
|
+
return this.request("ModifyAMQPQueue", req, cb);
|
|
203
257
|
}
|
|
204
258
|
/**
|
|
205
259
|
* 获取集群列表
|
|
@@ -208,64 +262,70 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
208
262
|
return this.request("DescribeClusters", req, cb);
|
|
209
263
|
}
|
|
210
264
|
/**
|
|
211
|
-
*
|
|
265
|
+
* 查询指定环境和主题下的订阅者列表
|
|
212
266
|
*/
|
|
213
|
-
async
|
|
214
|
-
return this.request("
|
|
267
|
+
async DescribeSubscriptions(req, cb) {
|
|
268
|
+
return this.request("DescribeSubscriptions", req, cb);
|
|
215
269
|
}
|
|
216
270
|
/**
|
|
217
|
-
*
|
|
271
|
+
* 查询cmq主题详情
|
|
218
272
|
*/
|
|
219
|
-
async
|
|
220
|
-
return this.request("
|
|
273
|
+
async DescribeCmqTopicDetail(req, cb) {
|
|
274
|
+
return this.request("DescribeCmqTopicDetail", req, cb);
|
|
221
275
|
}
|
|
222
276
|
/**
|
|
223
|
-
*
|
|
277
|
+
* 获取生产者列表,仅显示在线的生产者
|
|
224
278
|
*/
|
|
225
|
-
async
|
|
226
|
-
return this.request("
|
|
279
|
+
async DescribeProducers(req, cb) {
|
|
280
|
+
return this.request("DescribeProducers", req, cb);
|
|
227
281
|
}
|
|
228
282
|
/**
|
|
229
|
-
*
|
|
283
|
+
* 删除Amqp队列
|
|
230
284
|
*/
|
|
231
|
-
async
|
|
232
|
-
return this.request("
|
|
285
|
+
async DeleteAMQPQueue(req, cb) {
|
|
286
|
+
return this.request("DeleteAMQPQueue", req, cb);
|
|
233
287
|
}
|
|
234
288
|
/**
|
|
235
|
-
*
|
|
289
|
+
* 更新RocketMQ集群信息
|
|
236
290
|
*/
|
|
237
|
-
async
|
|
238
|
-
return this.request("
|
|
291
|
+
async ModifyRocketMQCluster(req, cb) {
|
|
292
|
+
return this.request("ModifyRocketMQCluster", req, cb);
|
|
239
293
|
}
|
|
240
294
|
/**
|
|
241
|
-
*
|
|
295
|
+
* 更新集群信息
|
|
242
296
|
*/
|
|
243
|
-
async
|
|
244
|
-
return this.request("
|
|
297
|
+
async ModifyCluster(req, cb) {
|
|
298
|
+
return this.request("ModifyCluster", req, cb);
|
|
245
299
|
}
|
|
246
300
|
/**
|
|
247
|
-
*
|
|
301
|
+
* 修改cmq订阅属性
|
|
248
302
|
*/
|
|
249
|
-
async
|
|
250
|
-
return this.request("
|
|
303
|
+
async ModifyCmqSubscriptionAttribute(req, cb) {
|
|
304
|
+
return this.request("ModifyCmqSubscriptionAttribute", req, cb);
|
|
251
305
|
}
|
|
252
306
|
/**
|
|
253
|
-
*
|
|
307
|
+
* 创建一个主题的订阅关系
|
|
254
308
|
*/
|
|
255
|
-
async
|
|
256
|
-
return this.request("
|
|
309
|
+
async CreateSubscription(req, cb) {
|
|
310
|
+
return this.request("CreateSubscription", req, cb);
|
|
257
311
|
}
|
|
258
312
|
/**
|
|
259
|
-
* 删除
|
|
313
|
+
* 删除AMQP集群
|
|
260
314
|
*/
|
|
261
|
-
async
|
|
262
|
-
return this.request("
|
|
315
|
+
async DeleteAMQPCluster(req, cb) {
|
|
316
|
+
return this.request("DeleteAMQPCluster", req, cb);
|
|
263
317
|
}
|
|
264
318
|
/**
|
|
265
|
-
*
|
|
319
|
+
* 获取单个RocketMQ集群信息
|
|
266
320
|
*/
|
|
267
|
-
async
|
|
268
|
-
return this.request("
|
|
321
|
+
async DescribeRocketMQCluster(req, cb) {
|
|
322
|
+
return this.request("DescribeRocketMQCluster", req, cb);
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* 删除环境角色授权。
|
|
326
|
+
*/
|
|
327
|
+
async DeleteEnvironmentRoles(req, cb) {
|
|
328
|
+
return this.request("DeleteEnvironmentRoles", req, cb);
|
|
269
329
|
}
|
|
270
330
|
/**
|
|
271
331
|
* 根据时间戳进行消息回溯,精确到毫秒
|
|
@@ -274,118 +334,118 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
274
334
|
return this.request("ResetMsgSubOffsetByTimestamp", req, cb);
|
|
275
335
|
}
|
|
276
336
|
/**
|
|
277
|
-
*
|
|
337
|
+
* 获取租户VPC绑定关系
|
|
278
338
|
*/
|
|
279
|
-
async
|
|
280
|
-
return this.request("
|
|
339
|
+
async DescribeBindVpcs(req, cb) {
|
|
340
|
+
return this.request("DescribeBindVpcs", req, cb);
|
|
281
341
|
}
|
|
282
342
|
/**
|
|
283
|
-
*
|
|
343
|
+
* 获取用户的配额,如Queue容量,Exchange容量,Vhost容量,单Vhost Tps数,剩余可创建集群数
|
|
284
344
|
*/
|
|
285
|
-
async
|
|
286
|
-
return this.request("
|
|
345
|
+
async DescribeAMQPCreateQuota(req, cb) {
|
|
346
|
+
return this.request("DescribeAMQPCreateQuota", req, cb);
|
|
287
347
|
}
|
|
288
348
|
/**
|
|
289
|
-
*
|
|
349
|
+
* 删除RocketMQ主题
|
|
290
350
|
*/
|
|
291
|
-
async
|
|
292
|
-
return this.request("
|
|
351
|
+
async DeleteRocketMQTopic(req, cb) {
|
|
352
|
+
return this.request("DeleteRocketMQTopic", req, cb);
|
|
293
353
|
}
|
|
294
354
|
/**
|
|
295
|
-
*
|
|
355
|
+
* 创建AMQP Exchange
|
|
296
356
|
*/
|
|
297
|
-
async
|
|
298
|
-
return this.request("
|
|
357
|
+
async CreateAMQPExchange(req, cb) {
|
|
358
|
+
return this.request("CreateAMQPExchange", req, cb);
|
|
299
359
|
}
|
|
300
360
|
/**
|
|
301
|
-
*
|
|
361
|
+
* 创建AMQP路由关系
|
|
302
362
|
*/
|
|
303
|
-
async
|
|
304
|
-
return this.request("
|
|
363
|
+
async CreateAMQPRouteRelation(req, cb) {
|
|
364
|
+
return this.request("CreateAMQPRouteRelation", req, cb);
|
|
305
365
|
}
|
|
306
366
|
/**
|
|
307
|
-
*
|
|
367
|
+
* 获取Amqp路由关系列表
|
|
308
368
|
*/
|
|
309
|
-
async
|
|
310
|
-
return this.request("
|
|
369
|
+
async DescribeAMQPRouteRelations(req, cb) {
|
|
370
|
+
return this.request("DescribeAMQPRouteRelations", req, cb);
|
|
311
371
|
}
|
|
312
372
|
/**
|
|
313
|
-
*
|
|
373
|
+
* 获取amqp集群列表
|
|
314
374
|
*/
|
|
315
|
-
async
|
|
316
|
-
return this.request("
|
|
375
|
+
async DescribeAMQPClusters(req, cb) {
|
|
376
|
+
return this.request("DescribeAMQPClusters", req, cb);
|
|
317
377
|
}
|
|
318
378
|
/**
|
|
319
|
-
*
|
|
379
|
+
* 创建AMQP队列
|
|
320
380
|
*/
|
|
321
|
-
async
|
|
322
|
-
return this.request("
|
|
381
|
+
async CreateAMQPQueue(req, cb) {
|
|
382
|
+
return this.request("CreateAMQPQueue", req, cb);
|
|
323
383
|
}
|
|
324
384
|
/**
|
|
325
|
-
*
|
|
385
|
+
* 更新Vhost
|
|
326
386
|
*/
|
|
327
|
-
async
|
|
328
|
-
return this.request("
|
|
387
|
+
async ModifyAMQPVHost(req, cb) {
|
|
388
|
+
return this.request("ModifyAMQPVHost", req, cb);
|
|
329
389
|
}
|
|
330
390
|
/**
|
|
331
|
-
*
|
|
391
|
+
* 获取RocketMQ消费组列表
|
|
332
392
|
*/
|
|
333
|
-
async
|
|
334
|
-
return this.request("
|
|
393
|
+
async DescribeRocketMQGroups(req, cb) {
|
|
394
|
+
return this.request("DescribeRocketMQGroups", req, cb);
|
|
335
395
|
}
|
|
336
396
|
/**
|
|
337
|
-
*
|
|
397
|
+
* 获取Amqp队列列表
|
|
338
398
|
*/
|
|
339
|
-
async
|
|
340
|
-
return this.request("
|
|
399
|
+
async DescribeAMQPQueues(req, cb) {
|
|
400
|
+
return this.request("DescribeAMQPQueues", req, cb);
|
|
341
401
|
}
|
|
342
402
|
/**
|
|
343
|
-
*
|
|
403
|
+
* 删除RocketMQ集群
|
|
344
404
|
*/
|
|
345
|
-
async
|
|
346
|
-
return this.request("
|
|
405
|
+
async DeleteRocketMQCluster(req, cb) {
|
|
406
|
+
return this.request("DeleteRocketMQCluster", req, cb);
|
|
347
407
|
}
|
|
348
408
|
/**
|
|
349
|
-
*
|
|
409
|
+
* 删除Vhost
|
|
350
410
|
*/
|
|
351
|
-
async
|
|
352
|
-
return this.request("
|
|
411
|
+
async DeleteAMQPVHost(req, cb) {
|
|
412
|
+
return this.request("DeleteAMQPVHost", req, cb);
|
|
353
413
|
}
|
|
354
414
|
/**
|
|
355
|
-
*
|
|
415
|
+
* 删除角色,支持批量。
|
|
356
416
|
*/
|
|
357
|
-
async
|
|
358
|
-
return this.request("
|
|
417
|
+
async DeleteRoles(req, cb) {
|
|
418
|
+
return this.request("DeleteRoles", req, cb);
|
|
359
419
|
}
|
|
360
420
|
/**
|
|
361
|
-
*
|
|
421
|
+
* 获取AMQP Exchange列表
|
|
362
422
|
*/
|
|
363
|
-
async
|
|
364
|
-
return this.request("
|
|
423
|
+
async DescribeAMQPExchanges(req, cb) {
|
|
424
|
+
return this.request("DescribeAMQPExchanges", req, cb);
|
|
365
425
|
}
|
|
366
426
|
/**
|
|
367
|
-
*
|
|
427
|
+
* 接收发送到指定 topic 中的消息
|
|
368
428
|
*/
|
|
369
|
-
async
|
|
370
|
-
return this.request("
|
|
429
|
+
async ReceiveMessage(req, cb) {
|
|
430
|
+
return this.request("ReceiveMessage", req, cb);
|
|
371
431
|
}
|
|
372
432
|
/**
|
|
373
|
-
*
|
|
433
|
+
* 更新Amqp交换机
|
|
374
434
|
*/
|
|
375
|
-
async
|
|
376
|
-
return this.request("
|
|
435
|
+
async ModifyAMQPExchange(req, cb) {
|
|
436
|
+
return this.request("ModifyAMQPExchange", req, cb);
|
|
377
437
|
}
|
|
378
438
|
/**
|
|
379
|
-
*
|
|
439
|
+
* 发送cmq消息
|
|
380
440
|
*/
|
|
381
|
-
async
|
|
382
|
-
return this.request("
|
|
441
|
+
async SendCmqMsg(req, cb) {
|
|
442
|
+
return this.request("SendCmqMsg", req, cb);
|
|
383
443
|
}
|
|
384
444
|
/**
|
|
385
|
-
*
|
|
445
|
+
* 修改指定命名空间的属性值
|
|
386
446
|
*/
|
|
387
|
-
async
|
|
388
|
-
return this.request("
|
|
447
|
+
async ModifyEnvironmentAttributes(req, cb) {
|
|
448
|
+
return this.request("ModifyEnvironmentAttributes", req, cb);
|
|
389
449
|
}
|
|
390
450
|
/**
|
|
391
451
|
* 获取角色列表
|
|
@@ -399,12 +459,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
399
459
|
async UnbindCmqDeadLetter(req, cb) {
|
|
400
460
|
return this.request("UnbindCmqDeadLetter", req, cb);
|
|
401
461
|
}
|
|
402
|
-
/**
|
|
403
|
-
* 创建一个主题的订阅关系
|
|
404
|
-
*/
|
|
405
|
-
async CreateSubscription(req, cb) {
|
|
406
|
-
return this.request("CreateSubscription", req, cb);
|
|
407
|
-
}
|
|
408
462
|
/**
|
|
409
463
|
* 创建RocketMQ命名空间
|
|
410
464
|
*/
|
|
@@ -412,10 +466,52 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
412
466
|
return this.request("CreateRocketMQNamespace", req, cb);
|
|
413
467
|
}
|
|
414
468
|
/**
|
|
415
|
-
*
|
|
469
|
+
* 创建环境角色授权
|
|
416
470
|
*/
|
|
417
|
-
async
|
|
418
|
-
return this.request("
|
|
471
|
+
async CreateEnvironmentRole(req, cb) {
|
|
472
|
+
return this.request("CreateEnvironmentRole", req, cb);
|
|
473
|
+
}
|
|
474
|
+
/**
|
|
475
|
+
* 获取RocketMQ主题列表
|
|
476
|
+
*/
|
|
477
|
+
async DescribeRocketMQTopics(req, cb) {
|
|
478
|
+
return this.request("DescribeRocketMQTopics", req, cb);
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* 获取RocketMQ集群列表
|
|
482
|
+
*/
|
|
483
|
+
async DescribeRocketMQClusters(req, cb) {
|
|
484
|
+
return this.request("DescribeRocketMQClusters", req, cb);
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* 修改主题备注和分区数
|
|
488
|
+
*/
|
|
489
|
+
async ModifyTopic(req, cb) {
|
|
490
|
+
return this.request("ModifyTopic", req, cb);
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* 删除Amqp路由关系
|
|
494
|
+
*/
|
|
495
|
+
async DeleteAMQPRouteRelation(req, cb) {
|
|
496
|
+
return this.request("DeleteAMQPRouteRelation", req, cb);
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* 运营端获节点健康状态
|
|
500
|
+
*/
|
|
501
|
+
async DescribeNodeHealthOpt(req, cb) {
|
|
502
|
+
return this.request("DescribeNodeHealthOpt", req, cb);
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* 创建角色
|
|
506
|
+
*/
|
|
507
|
+
async CreateRole(req, cb) {
|
|
508
|
+
return this.request("CreateRole", req, cb);
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* 更新RocketMQ命名空间
|
|
512
|
+
*/
|
|
513
|
+
async ModifyRocketMQNamespace(req, cb) {
|
|
514
|
+
return this.request("ModifyRocketMQNamespace", req, cb);
|
|
419
515
|
}
|
|
420
516
|
/**
|
|
421
517
|
* 批量发送消息
|
|
@@ -426,40 +522,70 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
426
522
|
return this.request("SendBatchMessages", req, cb);
|
|
427
523
|
}
|
|
428
524
|
/**
|
|
429
|
-
*
|
|
525
|
+
* 清空cmq消息队列中的消息
|
|
430
526
|
*/
|
|
431
|
-
async
|
|
432
|
-
return this.request("
|
|
527
|
+
async ClearCmqQueue(req, cb) {
|
|
528
|
+
return this.request("ClearCmqQueue", req, cb);
|
|
433
529
|
}
|
|
434
530
|
/**
|
|
435
|
-
*
|
|
531
|
+
* 获取命名空间角色列表
|
|
436
532
|
*/
|
|
437
|
-
async
|
|
438
|
-
return this.request("
|
|
533
|
+
async DescribeEnvironmentRoles(req, cb) {
|
|
534
|
+
return this.request("DescribeEnvironmentRoles", req, cb);
|
|
439
535
|
}
|
|
440
536
|
/**
|
|
441
|
-
*
|
|
537
|
+
* 此接口用于创建一个RocketMQ集群
|
|
442
538
|
*/
|
|
443
|
-
async
|
|
444
|
-
return this.request("
|
|
539
|
+
async CreateRocketMQCluster(req, cb) {
|
|
540
|
+
return this.request("CreateRocketMQCluster", req, cb);
|
|
445
541
|
}
|
|
446
542
|
/**
|
|
447
|
-
*
|
|
543
|
+
* 创建RocketMQ主题
|
|
448
544
|
*/
|
|
449
|
-
async
|
|
450
|
-
return this.request("
|
|
545
|
+
async CreateRocketMQTopic(req, cb) {
|
|
546
|
+
return this.request("CreateRocketMQTopic", req, cb);
|
|
451
547
|
}
|
|
452
548
|
/**
|
|
453
|
-
*
|
|
549
|
+
* 获取用户绑定的专享集群列表
|
|
454
550
|
*/
|
|
455
|
-
async
|
|
456
|
-
return this.request("
|
|
551
|
+
async DescribeBindClusters(req, cb) {
|
|
552
|
+
return this.request("DescribeBindClusters", req, cb);
|
|
457
553
|
}
|
|
458
554
|
/**
|
|
459
|
-
*
|
|
555
|
+
* 查询cmq队列详情
|
|
460
556
|
*/
|
|
461
|
-
async
|
|
462
|
-
return this.request("
|
|
557
|
+
async DescribeCmqQueueDetail(req, cb) {
|
|
558
|
+
return this.request("DescribeCmqQueueDetail", req, cb);
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* 此接口仅用于测试发生消息,不能作为现网正式生产使用
|
|
562
|
+
*/
|
|
563
|
+
async SendMsg(req, cb) {
|
|
564
|
+
return this.request("SendMsg", req, cb);
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* 清空订阅者消息标签
|
|
568
|
+
*/
|
|
569
|
+
async ClearCmqSubscriptionFilterTags(req, cb) {
|
|
570
|
+
return this.request("ClearCmqSubscriptionFilterTags", req, cb);
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* 创建RocketMQ消费组
|
|
574
|
+
*/
|
|
575
|
+
async CreateRocketMQGroup(req, cb) {
|
|
576
|
+
return this.request("CreateRocketMQGroup", req, cb);
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* 角色修改
|
|
580
|
+
*/
|
|
581
|
+
async ModifyRole(req, cb) {
|
|
582
|
+
return this.request("ModifyRole", req, cb);
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* 删除cmq订阅
|
|
586
|
+
*/
|
|
587
|
+
async DeleteCmqSubscribe(req, cb) {
|
|
588
|
+
return this.request("DeleteCmqSubscribe", req, cb);
|
|
463
589
|
}
|
|
464
590
|
/**
|
|
465
591
|
* 运营端获取命名空间bundle列表
|
|
@@ -468,10 +594,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
468
594
|
return this.request("DescribeNamespaceBundlesOpt", req, cb);
|
|
469
595
|
}
|
|
470
596
|
/**
|
|
471
|
-
*
|
|
597
|
+
* 删除订阅关系
|
|
472
598
|
*/
|
|
473
|
-
async
|
|
474
|
-
return this.request("
|
|
599
|
+
async DeleteSubscriptions(req, cb) {
|
|
600
|
+
return this.request("DeleteSubscriptions", req, cb);
|
|
475
601
|
}
|
|
476
602
|
}
|
|
477
603
|
exports.Client = Client;
|