tencentcloud-sdk-nodejs-tdmq 4.0.619 → 4.0.621

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.
@@ -127,6 +127,24 @@ export interface DescribeAMQPRouteRelationsRequest {
127
127
  FilterDestValue?: string
128
128
  }
129
129
 
130
+ /**
131
+ * DescribeRabbitMQVirtualHost返回参数结构体
132
+ */
133
+ export interface DescribeRabbitMQVirtualHostResponse {
134
+ /**
135
+ * 返回vhost数量
136
+ */
137
+ TotalCount?: number
138
+ /**
139
+ * vhost详情列表
140
+ */
141
+ VirtualHostList?: Array<RabbitMQVirtualHostInfo>
142
+ /**
143
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
144
+ */
145
+ RequestId?: string
146
+ }
147
+
130
148
  /**
131
149
  * cmq DeadLetterPolicy
132
150
  */
@@ -191,6 +209,20 @@ export interface DescribeNamespaceBundlesOptRequest {
191
209
  OwnerBroker?: string
192
210
  }
193
211
 
212
+ /**
213
+ * DeleteRabbitMQUser请求参数结构体
214
+ */
215
+ export interface DeleteRabbitMQUserRequest {
216
+ /**
217
+ * 集群实例Id
218
+ */
219
+ InstanceId: string
220
+ /**
221
+ * 用户名,登录时使用
222
+ */
223
+ User: string
224
+ }
225
+
194
226
  /**
195
227
  * RocketMQ命名空间信息
196
228
  */
@@ -264,21 +296,49 @@ export interface DescribeSubscriptionsRequest {
264
296
  }
265
297
 
266
298
  /**
267
- * 实例节点分布信息
299
+ * DescribeRocketMQGroups请求参数结构体
268
300
  */
269
- export interface InstanceNodeDistribution {
301
+ export interface DescribeRocketMQGroupsRequest {
270
302
  /**
271
- * 可用区
303
+ * 集群ID
272
304
  */
273
- ZoneName: string
305
+ ClusterId: string
274
306
  /**
275
- * 可用区id
307
+ * 命名空间
276
308
  */
277
- ZoneId: string
309
+ NamespaceId: string
278
310
  /**
279
- * 节点数
311
+ * 偏移量
280
312
  */
281
- NodeCount: number
313
+ Offset: number
314
+ /**
315
+ * 限制条数
316
+ */
317
+ Limit: number
318
+ /**
319
+ * 主题名称,输入此参数可查询该主题下所有的订阅组
320
+ */
321
+ FilterTopic?: string
322
+ /**
323
+ * 按消费组名称查询消费组,支持模糊查询
324
+ */
325
+ FilterGroup?: string
326
+ /**
327
+ * 按照指定字段排序,可选值为tps,accumulative
328
+ */
329
+ SortedBy?: string
330
+ /**
331
+ * 按升序或降序排列,可选值为asc,desc
332
+ */
333
+ SortOrder?: string
334
+ /**
335
+ * 订阅组名称,指定此参数后将只返回该订阅组信息
336
+ */
337
+ FilterOneGroup?: string
338
+ /**
339
+ * group类型
340
+ */
341
+ Types?: Array<string>
282
342
  }
283
343
 
284
344
  /**
@@ -319,6 +379,28 @@ export interface CreateRocketMQGroupRequest {
319
379
  RetryMaxTimes?: number
320
380
  }
321
381
 
382
+ /**
383
+ * ModifyRabbitMQVirtualHost请求参数结构体
384
+ */
385
+ export interface ModifyRabbitMQVirtualHostRequest {
386
+ /**
387
+ * 集群实例Id
388
+ */
389
+ InstanceId: string
390
+ /**
391
+ * vhost名
392
+ */
393
+ VirtualHost: string
394
+ /**
395
+ * 描述
396
+ */
397
+ Description?: string
398
+ /**
399
+ * 消息轨迹开关,true打开,false关闭
400
+ */
401
+ TraceFlag?: boolean
402
+ }
403
+
322
404
  /**
323
405
  * ModifyEnvironmentAttributes请求参数结构体
324
406
  */
@@ -588,25 +670,19 @@ export interface VpcConfig {
588
670
  }
589
671
 
590
672
  /**
591
- * RocketMQ近期使用量
673
+ * RabbitMQ专享版虚拟机
592
674
  */
593
- export interface RocketMQClusterRecentStats {
594
- /**
595
- * Topic数量
596
- */
597
- TopicNum: number
675
+ export interface RabbitMQPrivateVirtualHost {
598
676
  /**
599
- * 消息生产数
600
- */
601
- ProducedMsgNum: number
602
- /**
603
- * 消息消费数
677
+ * 虚拟主机的名字
678
+ 注意:此字段可能返回 null,表示取不到有效值。
604
679
  */
605
- ConsumedMsgNum: number
680
+ VirtualHostName: string
606
681
  /**
607
- * 消息堆积数
682
+ * 虚拟主机的描述
683
+ 注意:此字段可能返回 null,表示取不到有效值。
608
684
  */
609
- AccumulativeMsgNum: number
685
+ Description: string
610
686
  }
611
687
 
612
688
  /**
@@ -1080,16 +1156,6 @@ filterType = 2表示用户使用 bindingKey 过滤。
1080
1156
  NotifyContentFormat: string
1081
1157
  }
1082
1158
 
1083
- /**
1084
- * ModifyAMQPVHost返回参数结构体
1085
- */
1086
- export interface ModifyAMQPVHostResponse {
1087
- /**
1088
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1089
- */
1090
- RequestId?: string
1091
- }
1092
-
1093
1159
  /**
1094
1160
  * DescribeAMQPCluster返回参数结构体
1095
1161
  */
@@ -1289,28 +1355,6 @@ export interface DeleteCmqTopicResponse {
1289
1355
  RequestId?: string
1290
1356
  }
1291
1357
 
1292
- /**
1293
- * ModifyAMQPVHost请求参数结构体
1294
- */
1295
- export interface ModifyAMQPVHostRequest {
1296
- /**
1297
- * 集群ID
1298
- */
1299
- ClusterId: string
1300
- /**
1301
- * vhost名称,3-64个字符,只能包含字母、数字、“-”及“_”
1302
- */
1303
- VHostId: string
1304
- /**
1305
- * 未消费消息的保留时间,以毫秒为单位,60秒-15天
1306
- */
1307
- MsgTtl: number
1308
- /**
1309
- * 说明,最大128个字符
1310
- */
1311
- Remark?: string
1312
- }
1313
-
1314
1358
  /**
1315
1359
  * CreateSubscription请求参数结构体
1316
1360
  */
@@ -1501,21 +1545,60 @@ export interface Topic {
1501
1545
  }
1502
1546
 
1503
1547
  /**
1504
- * SendCmqMsg返回参数结构体
1548
+ * RabbitMQ的vhost详情
1505
1549
  */
1506
- export interface SendCmqMsgResponse {
1550
+ export interface RabbitMQVirtualHostInfo {
1507
1551
  /**
1508
- * true表示发送成功
1552
+ * 集群实例Id
1509
1553
  */
1510
- Result: boolean
1554
+ InstanceId?: string
1511
1555
  /**
1512
- * 消息id
1556
+ * vhost名
1513
1557
  */
1514
- MsgId: string
1558
+ VirtualHost?: string
1515
1559
  /**
1516
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1560
+ * vhost描述信息
1561
+ 注意:此字段可能返回 null,表示取不到有效值。
1517
1562
  */
1518
- RequestId?: string
1563
+ Description?: string
1564
+ /**
1565
+ * vhost标签
1566
+ 注意:此字段可能返回 null,表示取不到有效值。
1567
+ */
1568
+ Tags?: Array<string>
1569
+ /**
1570
+ * 创建时间
1571
+ 注意:此字段可能返回 null,表示取不到有效值。
1572
+ */
1573
+ CreateTime?: string
1574
+ /**
1575
+ * 修改时间
1576
+ 注意:此字段可能返回 null,表示取不到有效值。
1577
+ */
1578
+ ModifyTime?: string
1579
+ /**
1580
+ * vhost概览统计信息
1581
+ 注意:此字段可能返回 null,表示取不到有效值。
1582
+ */
1583
+ VirtualHostStatistics?: RabbitMQVirtualHostStatistics
1584
+ }
1585
+
1586
+ /**
1587
+ * 实例节点分布信息
1588
+ */
1589
+ export interface InstanceNodeDistribution {
1590
+ /**
1591
+ * 可用区
1592
+ */
1593
+ ZoneName: string
1594
+ /**
1595
+ * 可用区id
1596
+ */
1597
+ ZoneId: string
1598
+ /**
1599
+ * 节点数
1600
+ */
1601
+ NodeCount: number
1519
1602
  }
1520
1603
 
1521
1604
  /**
@@ -1547,6 +1630,16 @@ export interface DescribeCmqTopicDetailResponse {
1547
1630
  RequestId?: string
1548
1631
  }
1549
1632
 
1633
+ /**
1634
+ * ModifyRabbitMQVirtualHost返回参数结构体
1635
+ */
1636
+ export interface ModifyRabbitMQVirtualHostResponse {
1637
+ /**
1638
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1639
+ */
1640
+ RequestId?: string
1641
+ }
1642
+
1550
1643
  /**
1551
1644
  * 命名空间信息
1552
1645
  */
@@ -1781,6 +1874,32 @@ export interface CreateEnvironmentResponse {
1781
1874
  RequestId?: string
1782
1875
  }
1783
1876
 
1877
+ /**
1878
+ * vhost概览统计信息
1879
+ */
1880
+ export interface RabbitMQVirtualHostStatistics {
1881
+ /**
1882
+ * 当前vhost的queue数量
1883
+ */
1884
+ CurrentQueues?: number
1885
+ /**
1886
+ * 当前vhost的exchange数量
1887
+ */
1888
+ CurrentExchanges?: number
1889
+ /**
1890
+ * 当前vhost的连接数量
1891
+ */
1892
+ CurrentConnections?: number
1893
+ /**
1894
+ * 当前vhost的channel数量
1895
+ */
1896
+ CurrentChannels?: number
1897
+ /**
1898
+ * 当前vhost的用户数量
1899
+ */
1900
+ CurrentUsers?: number
1901
+ }
1902
+
1784
1903
  /**
1785
1904
  * CreateSubscription返回参数结构体
1786
1905
  */
@@ -2786,6 +2905,24 @@ export interface DescribeClusterDetailRequest {
2786
2905
  ClusterId: string
2787
2906
  }
2788
2907
 
2908
+ /**
2909
+ * DescribeRabbitMQUser返回参数结构体
2910
+ */
2911
+ export interface DescribeRabbitMQUserResponse {
2912
+ /**
2913
+ * 返回的User数量
2914
+ */
2915
+ TotalCount: number
2916
+ /**
2917
+ * 当前已创建的RabbitMQ用户列表
2918
+ */
2919
+ RabbitMQUserList: Array<RabbitMQUser>
2920
+ /**
2921
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2922
+ */
2923
+ RequestId?: string
2924
+ }
2925
+
2789
2926
  /**
2790
2927
  * ModifyRole返回参数结构体
2791
2928
  */
@@ -3815,6 +3952,25 @@ export interface DescribeEnvironmentRolesRequest {
3815
3952
  Filters?: Array<Filter>
3816
3953
  }
3817
3954
 
3955
+ /**
3956
+ * DescribeRocketMQClusters返回参数结构体
3957
+ */
3958
+ export interface DescribeRocketMQClustersResponse {
3959
+ /**
3960
+ * 集群信息
3961
+ 注意:此字段可能返回 null,表示取不到有效值。
3962
+ */
3963
+ ClusterList: Array<RocketMQClusterDetail>
3964
+ /**
3965
+ * 总条数
3966
+ */
3967
+ TotalCount: number
3968
+ /**
3969
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3970
+ */
3971
+ RequestId?: string
3972
+ }
3973
+
3818
3974
  /**
3819
3975
  * DeleteRoles返回参数结构体
3820
3976
  */
@@ -3839,6 +3995,28 @@ export interface SendMsgResponse {
3839
3995
  RequestId?: string
3840
3996
  }
3841
3997
 
3998
+ /**
3999
+ * RocketMQ近期使用量
4000
+ */
4001
+ export interface RocketMQClusterRecentStats {
4002
+ /**
4003
+ * Topic数量
4004
+ */
4005
+ TopicNum: number
4006
+ /**
4007
+ * 消息生产数
4008
+ */
4009
+ ProducedMsgNum: number
4010
+ /**
4011
+ * 消息消费数
4012
+ */
4013
+ ConsumedMsgNum: number
4014
+ /**
4015
+ * 消息堆积数
4016
+ */
4017
+ AccumulativeMsgNum: number
4018
+ }
4019
+
3842
4020
  /**
3843
4021
  * ModifyRocketMQTopic请求参数结构体
3844
4022
  */
@@ -3950,6 +4128,76 @@ export interface RocketMQClusterInfo {
3950
4128
  HttpInternalEndpoint?: string
3951
4129
  }
3952
4130
 
4131
+ /**
4132
+ * DescribeRabbitMQUser请求参数结构体
4133
+ */
4134
+ export interface DescribeRabbitMQUserRequest {
4135
+ /**
4136
+ * 集群实例Id
4137
+ */
4138
+ InstanceId: string
4139
+ /**
4140
+ * 用户名检索,支持前缀匹配,后缀匹配
4141
+ */
4142
+ SearchUser?: string
4143
+ /**
4144
+ * 分页Offset
4145
+ */
4146
+ Offset?: number
4147
+ /**
4148
+ * 分页Limit
4149
+ */
4150
+ Limit?: number
4151
+ /**
4152
+ * 用户名,精确查询
4153
+ */
4154
+ User?: string
4155
+ /**
4156
+ * 用户标签,根据标签过滤列表
4157
+ */
4158
+ Tags?: Array<string>
4159
+ }
4160
+
4161
+ /**
4162
+ * RabbitMQ用户实体详情
4163
+ */
4164
+ export interface RabbitMQUser {
4165
+ /**
4166
+ * 集群实例Id
4167
+ */
4168
+ InstanceId?: string
4169
+ /**
4170
+ * 用户名,登录时使用
4171
+ */
4172
+ User?: string
4173
+ /**
4174
+ * 密码,登录时使用
4175
+ */
4176
+ Password?: string
4177
+ /**
4178
+ * 用户描述
4179
+ 注意:此字段可能返回 null,表示取不到有效值。
4180
+ */
4181
+ Description?: string
4182
+ /**
4183
+ * 用户标签,用于决定改用户访问RabbitMQ Management的权限范围
4184
+ 注意:此字段可能返回 null,表示取不到有效值。
4185
+ */
4186
+ Tags?: Array<string>
4187
+ /**
4188
+ * 用户创建时间
4189
+ */
4190
+ CreateTime?: string
4191
+ /**
4192
+ * 用户最后修改时间
4193
+ */
4194
+ ModifyTime?: string
4195
+ /**
4196
+ * 用户类型,System:系统创建,User:用户创建
4197
+ */
4198
+ Type?: string
4199
+ }
4200
+
3953
4201
  /**
3954
4202
  * DescribeRocketMQTopics返回参数结构体
3955
4203
  */
@@ -4314,6 +4562,24 @@ export interface CreateClusterRequest {
4314
4562
  PublicAccessEnabled?: boolean
4315
4563
  }
4316
4564
 
4565
+ /**
4566
+ * DescribeRabbitMQVirtualHostList请求参数结构体
4567
+ */
4568
+ export interface DescribeRabbitMQVirtualHostListRequest {
4569
+ /**
4570
+ * 不适用,默认参数
4571
+ */
4572
+ InstanceId: string
4573
+ /**
4574
+ * 偏移量
4575
+ */
4576
+ Offset?: number
4577
+ /**
4578
+ * 一页限制
4579
+ */
4580
+ Limit?: number
4581
+ }
4582
+
4317
4583
  /**
4318
4584
  * DescribeAMQPClusters请求参数结构体
4319
4585
  */
@@ -4668,6 +4934,20 @@ export interface DeleteAMQPExchangeRequest {
4668
4934
  Exchange: string
4669
4935
  }
4670
4936
 
4937
+ /**
4938
+ * DeleteRabbitMQVirtualHost请求参数结构体
4939
+ */
4940
+ export interface DeleteRabbitMQVirtualHostRequest {
4941
+ /**
4942
+ * 集群实例Id
4943
+ */
4944
+ InstanceId: string
4945
+ /**
4946
+ * vhost名
4947
+ */
4948
+ VirtualHost: string
4949
+ }
4950
+
4671
4951
  /**
4672
4952
  * DeleteRocketMQCluster返回参数结构体
4673
4953
  */
@@ -4769,6 +5049,24 @@ export interface CreateCmqTopicResponse {
4769
5049
  RequestId?: string
4770
5050
  }
4771
5051
 
5052
+ /**
5053
+ * SendCmqMsg返回参数结构体
5054
+ */
5055
+ export interface SendCmqMsgResponse {
5056
+ /**
5057
+ * true表示发送成功
5058
+ */
5059
+ Result: boolean
5060
+ /**
5061
+ * 消息id
5062
+ */
5063
+ MsgId: string
5064
+ /**
5065
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5066
+ */
5067
+ RequestId?: string
5068
+ }
5069
+
4772
5070
  /**
4773
5071
  * Cmq DeadLetterSource
4774
5072
  */
@@ -6032,6 +6330,16 @@ export interface ClearCmqQueueResponse {
6032
6330
  RequestId?: string
6033
6331
  }
6034
6332
 
6333
+ /**
6334
+ * ModifyRabbitMQUser返回参数结构体
6335
+ */
6336
+ export interface ModifyRabbitMQUserResponse {
6337
+ /**
6338
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6339
+ */
6340
+ RequestId?: string
6341
+ }
6342
+
6035
6343
  /**
6036
6344
  * CreateAMQPExchange返回参数结构体
6037
6345
  */
@@ -6053,9 +6361,14 @@ export interface DescribeNodeHealthOptRequest {
6053
6361
  }
6054
6362
 
6055
6363
  /**
6056
- * DescribeBindClusters请求参数结构体
6364
+ * DeleteRabbitMQVirtualHost返回参数结构体
6057
6365
  */
6058
- export type DescribeBindClustersRequest = null
6366
+ export interface DeleteRabbitMQVirtualHostResponse {
6367
+ /**
6368
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6369
+ */
6370
+ RequestId?: string
6371
+ }
6059
6372
 
6060
6373
  /**
6061
6374
  * CreateRocketMQTopic返回参数结构体
@@ -6224,70 +6537,39 @@ export interface DeleteCmqQueueRequest {
6224
6537
  }
6225
6538
 
6226
6539
  /**
6227
- * DescribeRocketMQGroups请求参数结构体
6540
+ * DeleteRabbitMQUser返回参数结构体
6228
6541
  */
6229
- export interface DescribeRocketMQGroupsRequest {
6542
+ export interface DeleteRabbitMQUserResponse {
6230
6543
  /**
6231
- * 集群ID
6232
- */
6233
- ClusterId: string
6234
- /**
6235
- * 命名空间
6236
- */
6237
- NamespaceId: string
6238
- /**
6239
- * 偏移量
6240
- */
6241
- Offset: number
6242
- /**
6243
- * 限制条数
6244
- */
6245
- Limit: number
6246
- /**
6247
- * 主题名称,输入此参数可查询该主题下所有的订阅组
6248
- */
6249
- FilterTopic?: string
6250
- /**
6251
- * 按消费组名称查询消费组,支持模糊查询
6252
- */
6253
- FilterGroup?: string
6254
- /**
6255
- * 按照指定字段排序,可选值为tps,accumulative
6256
- */
6257
- SortedBy?: string
6258
- /**
6259
- * 按升序或降序排列,可选值为asc,desc
6260
- */
6261
- SortOrder?: string
6262
- /**
6263
- * 订阅组名称,指定此参数后将只返回该订阅组信息
6264
- */
6265
- FilterOneGroup?: string
6266
- /**
6267
- * group类型
6544
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6268
6545
  */
6269
- Types?: Array<string>
6546
+ RequestId?: string
6270
6547
  }
6271
6548
 
6272
6549
  /**
6273
- * DescribeRocketMQClusters返回参数结构体
6550
+ * DescribeRabbitMQVirtualHostList返回参数结构体
6274
6551
  */
6275
- export interface DescribeRocketMQClustersResponse {
6552
+ export interface DescribeRabbitMQVirtualHostListResponse {
6276
6553
  /**
6277
- * 集群信息
6278
- 注意:此字段可能返回 null,表示取不到有效值。
6554
+ * 集群列表数量
6279
6555
  */
6280
- ClusterList: Array<RocketMQClusterDetail>
6556
+ TotalCount: number
6281
6557
  /**
6282
- * 总条数
6558
+ * 集群列表
6559
+ 注意:此字段可能返回 null,表示取不到有效值。
6283
6560
  */
6284
- TotalCount: number
6561
+ VirtualHostList: Array<RabbitMQPrivateVirtualHost>
6285
6562
  /**
6286
6563
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6287
6564
  */
6288
6565
  RequestId?: string
6289
6566
  }
6290
6567
 
6568
+ /**
6569
+ * DescribeBindClusters请求参数结构体
6570
+ */
6571
+ export type DescribeBindClustersRequest = null
6572
+
6291
6573
  /**
6292
6574
  * DescribePulsarProInstanceDetail请求参数结构体
6293
6575
  */
@@ -6940,6 +7222,40 @@ export interface SendCmqMsgRequest {
6940
7222
  DelaySeconds: number
6941
7223
  }
6942
7224
 
7225
+ /**
7226
+ * ModifyRabbitMQUser请求参数结构体
7227
+ */
7228
+ export interface ModifyRabbitMQUserRequest {
7229
+ /**
7230
+ * 集群实例Id
7231
+ */
7232
+ InstanceId: string
7233
+ /**
7234
+ * 用户名,登录时使用
7235
+ */
7236
+ User: string
7237
+ /**
7238
+ * 密码,登录时使用
7239
+ */
7240
+ Password: string
7241
+ /**
7242
+ * 描述,不传则不修改
7243
+ */
7244
+ Description?: string
7245
+ /**
7246
+ * 用户标签,用于决定改用户访问RabbitMQ Management的权限范围,不传则不修改
7247
+ */
7248
+ Tags?: Array<string>
7249
+ /**
7250
+ * 该用户的最大连接数,不传则不修改
7251
+ */
7252
+ MaxConnections?: number
7253
+ /**
7254
+ * 该用户的最大channel数,不传则不修改
7255
+ */
7256
+ MaxChannels?: number
7257
+ }
7258
+
6943
7259
  /**
6944
7260
  * ModifyCmqQueueAttribute请求参数结构体
6945
7261
  */
@@ -7212,3 +7528,29 @@ export interface DescribeAllTenantsRequest {
7212
7528
  */
7213
7529
  SortOrder?: string
7214
7530
  }
7531
+
7532
+ /**
7533
+ * DescribeRabbitMQVirtualHost请求参数结构体
7534
+ */
7535
+ export interface DescribeRabbitMQVirtualHostRequest {
7536
+ /**
7537
+ * 集群实例Id
7538
+ */
7539
+ InstanceId: string
7540
+ /**
7541
+ * vhost名,不传则查询全部
7542
+ */
7543
+ VirtualHost?: string
7544
+ /**
7545
+ * 分页Offset
7546
+ */
7547
+ Offset?: number
7548
+ /**
7549
+ * 分页Limit
7550
+ */
7551
+ Limit?: number
7552
+ /**
7553
+ * search-virtual-host:vhost名称模糊查询,之前前缀和后缀匹配
7554
+ */
7555
+ Filters?: Filter
7556
+ }