tencentcloud-sdk-nodejs-tdmq 4.0.619 → 4.0.620

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.
@@ -107,6 +107,23 @@ export interface DescribeAMQPRouteRelationsRequest {
107
107
  */
108
108
  FilterDestValue?: string;
109
109
  }
110
+ /**
111
+ * DescribeRabbitMQVirtualHost返回参数结构体
112
+ */
113
+ export interface DescribeRabbitMQVirtualHostResponse {
114
+ /**
115
+ * 返回vhost数量
116
+ */
117
+ TotalCount?: number;
118
+ /**
119
+ * vhost详情列表
120
+ */
121
+ VirtualHostList?: Array<RabbitMQVirtualHostInfo>;
122
+ /**
123
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
124
+ */
125
+ RequestId?: string;
126
+ }
110
127
  /**
111
128
  * cmq DeadLetterPolicy
112
129
  */
@@ -169,6 +186,19 @@ export interface DescribeNamespaceBundlesOptRequest {
169
186
  */
170
187
  OwnerBroker?: string;
171
188
  }
189
+ /**
190
+ * DeleteRabbitMQUser请求参数结构体
191
+ */
192
+ export interface DeleteRabbitMQUserRequest {
193
+ /**
194
+ * 集群实例Id
195
+ */
196
+ InstanceId: string;
197
+ /**
198
+ * 用户名,登录时使用
199
+ */
200
+ User: string;
201
+ }
172
202
  /**
173
203
  * RocketMQ命名空间信息
174
204
  */
@@ -240,21 +270,49 @@ export interface DescribeSubscriptionsRequest {
240
270
  ClusterId?: string;
241
271
  }
242
272
  /**
243
- * 实例节点分布信息
273
+ * DescribeRocketMQGroups请求参数结构体
244
274
  */
245
- export interface InstanceNodeDistribution {
275
+ export interface DescribeRocketMQGroupsRequest {
246
276
  /**
247
- * 可用区
277
+ * 集群ID
248
278
  */
249
- ZoneName: string;
279
+ ClusterId: string;
250
280
  /**
251
- * 可用区id
281
+ * 命名空间
252
282
  */
253
- ZoneId: string;
283
+ NamespaceId: string;
254
284
  /**
255
- * 节点数
285
+ * 偏移量
256
286
  */
257
- NodeCount: number;
287
+ Offset: number;
288
+ /**
289
+ * 限制条数
290
+ */
291
+ Limit: number;
292
+ /**
293
+ * 主题名称,输入此参数可查询该主题下所有的订阅组
294
+ */
295
+ FilterTopic?: string;
296
+ /**
297
+ * 按消费组名称查询消费组,支持模糊查询
298
+ */
299
+ FilterGroup?: string;
300
+ /**
301
+ * 按照指定字段排序,可选值为tps,accumulative
302
+ */
303
+ SortedBy?: string;
304
+ /**
305
+ * 按升序或降序排列,可选值为asc,desc
306
+ */
307
+ SortOrder?: string;
308
+ /**
309
+ * 订阅组名称,指定此参数后将只返回该订阅组信息
310
+ */
311
+ FilterOneGroup?: string;
312
+ /**
313
+ * group类型
314
+ */
315
+ Types?: Array<string>;
258
316
  }
259
317
  /**
260
318
  * CreateRocketMQGroup请求参数结构体
@@ -293,6 +351,27 @@ export interface CreateRocketMQGroupRequest {
293
351
  */
294
352
  RetryMaxTimes?: number;
295
353
  }
354
+ /**
355
+ * ModifyRabbitMQVirtualHost请求参数结构体
356
+ */
357
+ export interface ModifyRabbitMQVirtualHostRequest {
358
+ /**
359
+ * 集群实例Id
360
+ */
361
+ InstanceId: string;
362
+ /**
363
+ * vhost名
364
+ */
365
+ VirtualHost: string;
366
+ /**
367
+ * 描述
368
+ */
369
+ Description?: string;
370
+ /**
371
+ * 消息轨迹开关,true打开,false关闭
372
+ */
373
+ TraceFlag?: boolean;
374
+ }
296
375
  /**
297
376
  * ModifyEnvironmentAttributes请求参数结构体
298
377
  */
@@ -547,25 +626,19 @@ export interface VpcConfig {
547
626
  SubnetId: string;
548
627
  }
549
628
  /**
550
- * RocketMQ近期使用量
629
+ * RabbitMQ专享版虚拟机
551
630
  */
552
- export interface RocketMQClusterRecentStats {
553
- /**
554
- * Topic数量
555
- */
556
- TopicNum: number;
557
- /**
558
- * 消息生产数
559
- */
560
- ProducedMsgNum: number;
631
+ export interface RabbitMQPrivateVirtualHost {
561
632
  /**
562
- * 消息消费数
633
+ * 虚拟主机的名字
634
+ 注意:此字段可能返回 null,表示取不到有效值。
563
635
  */
564
- ConsumedMsgNum: number;
636
+ VirtualHostName: string;
565
637
  /**
566
- * 消息堆积数
638
+ * 虚拟主机的描述
639
+ 注意:此字段可能返回 null,表示取不到有效值。
567
640
  */
568
- AccumulativeMsgNum: number;
641
+ Description: string;
569
642
  }
570
643
  /**
571
644
  * RocketMQ专享实例信息
@@ -1433,21 +1506,59 @@ export interface Topic {
1433
1506
  PulsarTopicType: number;
1434
1507
  }
1435
1508
  /**
1436
- * SendCmqMsg返回参数结构体
1509
+ * RabbitMQ的vhost详情
1437
1510
  */
1438
- export interface SendCmqMsgResponse {
1511
+ export interface RabbitMQVirtualHostInfo {
1439
1512
  /**
1440
- * true表示发送成功
1513
+ * 集群实例Id
1441
1514
  */
1442
- Result: boolean;
1515
+ InstanceId?: string;
1443
1516
  /**
1444
- * 消息id
1517
+ * vhost名
1445
1518
  */
1446
- MsgId: string;
1519
+ VirtualHost?: string;
1447
1520
  /**
1448
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1521
+ * vhost描述信息
1522
+ 注意:此字段可能返回 null,表示取不到有效值。
1449
1523
  */
1450
- RequestId?: string;
1524
+ Description?: string;
1525
+ /**
1526
+ * vhost标签
1527
+ 注意:此字段可能返回 null,表示取不到有效值。
1528
+ */
1529
+ Tags?: Array<string>;
1530
+ /**
1531
+ * 创建时间
1532
+ 注意:此字段可能返回 null,表示取不到有效值。
1533
+ */
1534
+ CreateTime?: string;
1535
+ /**
1536
+ * 修改时间
1537
+ 注意:此字段可能返回 null,表示取不到有效值。
1538
+ */
1539
+ ModifyTime?: string;
1540
+ /**
1541
+ * vhost概览统计信息
1542
+ 注意:此字段可能返回 null,表示取不到有效值。
1543
+ */
1544
+ VirtualHostStatistics?: RabbitMQVirtualHostStatistics;
1545
+ }
1546
+ /**
1547
+ * 实例节点分布信息
1548
+ */
1549
+ export interface InstanceNodeDistribution {
1550
+ /**
1551
+ * 可用区
1552
+ */
1553
+ ZoneName: string;
1554
+ /**
1555
+ * 可用区id
1556
+ */
1557
+ ZoneId: string;
1558
+ /**
1559
+ * 节点数
1560
+ */
1561
+ NodeCount: number;
1451
1562
  }
1452
1563
  /**
1453
1564
  * exchange使用配额信息
@@ -1476,6 +1587,15 @@ export interface DescribeCmqTopicDetailResponse {
1476
1587
  */
1477
1588
  RequestId?: string;
1478
1589
  }
1590
+ /**
1591
+ * ModifyRabbitMQVirtualHost返回参数结构体
1592
+ */
1593
+ export interface ModifyRabbitMQVirtualHostResponse {
1594
+ /**
1595
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1596
+ */
1597
+ RequestId?: string;
1598
+ }
1479
1599
  /**
1480
1600
  * 命名空间信息
1481
1601
  */
@@ -1707,6 +1827,31 @@ export interface CreateEnvironmentResponse {
1707
1827
  */
1708
1828
  RequestId?: string;
1709
1829
  }
1830
+ /**
1831
+ * vhost概览统计信息
1832
+ */
1833
+ export interface RabbitMQVirtualHostStatistics {
1834
+ /**
1835
+ * 当前vhost的queue数量
1836
+ */
1837
+ CurrentQueues?: number;
1838
+ /**
1839
+ * 当前vhost的exchange数量
1840
+ */
1841
+ CurrentExchanges?: number;
1842
+ /**
1843
+ * 当前vhost的连接数量
1844
+ */
1845
+ CurrentConnections?: number;
1846
+ /**
1847
+ * 当前vhost的channel数量
1848
+ */
1849
+ CurrentChannels?: number;
1850
+ /**
1851
+ * 当前vhost的用户数量
1852
+ */
1853
+ CurrentUsers?: number;
1854
+ }
1710
1855
  /**
1711
1856
  * CreateSubscription返回参数结构体
1712
1857
  */
@@ -2667,6 +2812,23 @@ export interface DescribeClusterDetailRequest {
2667
2812
  */
2668
2813
  ClusterId: string;
2669
2814
  }
2815
+ /**
2816
+ * DescribeRabbitMQUser返回参数结构体
2817
+ */
2818
+ export interface DescribeRabbitMQUserResponse {
2819
+ /**
2820
+ * 返回的User数量
2821
+ */
2822
+ TotalCount: number;
2823
+ /**
2824
+ * 当前已创建的RabbitMQ用户列表
2825
+ */
2826
+ RabbitMQUserList: Array<RabbitMQUser>;
2827
+ /**
2828
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2829
+ */
2830
+ RequestId?: string;
2831
+ }
2670
2832
  /**
2671
2833
  * ModifyRole返回参数结构体
2672
2834
  */
@@ -3650,6 +3812,24 @@ export interface DescribeEnvironmentRolesRequest {
3650
3812
  */
3651
3813
  Filters?: Array<Filter>;
3652
3814
  }
3815
+ /**
3816
+ * DescribeRocketMQClusters返回参数结构体
3817
+ */
3818
+ export interface DescribeRocketMQClustersResponse {
3819
+ /**
3820
+ * 集群信息
3821
+ 注意:此字段可能返回 null,表示取不到有效值。
3822
+ */
3823
+ ClusterList: Array<RocketMQClusterDetail>;
3824
+ /**
3825
+ * 总条数
3826
+ */
3827
+ TotalCount: number;
3828
+ /**
3829
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3830
+ */
3831
+ RequestId?: string;
3832
+ }
3653
3833
  /**
3654
3834
  * DeleteRoles返回参数结构体
3655
3835
  */
@@ -3672,6 +3852,27 @@ export interface SendMsgResponse {
3672
3852
  */
3673
3853
  RequestId?: string;
3674
3854
  }
3855
+ /**
3856
+ * RocketMQ近期使用量
3857
+ */
3858
+ export interface RocketMQClusterRecentStats {
3859
+ /**
3860
+ * Topic数量
3861
+ */
3862
+ TopicNum: number;
3863
+ /**
3864
+ * 消息生产数
3865
+ */
3866
+ ProducedMsgNum: number;
3867
+ /**
3868
+ * 消息消费数
3869
+ */
3870
+ ConsumedMsgNum: number;
3871
+ /**
3872
+ * 消息堆积数
3873
+ */
3874
+ AccumulativeMsgNum: number;
3875
+ }
3675
3876
  /**
3676
3877
  * ModifyRocketMQTopic请求参数结构体
3677
3878
  */
@@ -3781,6 +3982,74 @@ export interface RocketMQClusterInfo {
3781
3982
  */
3782
3983
  HttpInternalEndpoint?: string;
3783
3984
  }
3985
+ /**
3986
+ * DescribeRabbitMQUser请求参数结构体
3987
+ */
3988
+ export interface DescribeRabbitMQUserRequest {
3989
+ /**
3990
+ * 集群实例Id
3991
+ */
3992
+ InstanceId: string;
3993
+ /**
3994
+ * 用户名检索,支持前缀匹配,后缀匹配
3995
+ */
3996
+ SearchUser?: string;
3997
+ /**
3998
+ * 分页Offset
3999
+ */
4000
+ Offset?: number;
4001
+ /**
4002
+ * 分页Limit
4003
+ */
4004
+ Limit?: number;
4005
+ /**
4006
+ * 用户名,精确查询
4007
+ */
4008
+ User?: string;
4009
+ /**
4010
+ * 用户标签,根据标签过滤列表
4011
+ */
4012
+ Tags?: Array<string>;
4013
+ }
4014
+ /**
4015
+ * RabbitMQ用户实体详情
4016
+ */
4017
+ export interface RabbitMQUser {
4018
+ /**
4019
+ * 集群实例Id
4020
+ */
4021
+ InstanceId?: string;
4022
+ /**
4023
+ * 用户名,登录时使用
4024
+ */
4025
+ User?: string;
4026
+ /**
4027
+ * 密码,登录时使用
4028
+ */
4029
+ Password?: string;
4030
+ /**
4031
+ * 用户描述
4032
+ 注意:此字段可能返回 null,表示取不到有效值。
4033
+ */
4034
+ Description?: string;
4035
+ /**
4036
+ * 用户标签,用于决定改用户访问RabbitMQ Management的权限范围
4037
+ 注意:此字段可能返回 null,表示取不到有效值。
4038
+ */
4039
+ Tags?: Array<string>;
4040
+ /**
4041
+ * 用户创建时间
4042
+ */
4043
+ CreateTime?: string;
4044
+ /**
4045
+ * 用户最后修改时间
4046
+ */
4047
+ ModifyTime?: string;
4048
+ /**
4049
+ * 用户类型,System:系统创建,User:用户创建
4050
+ */
4051
+ Type?: string;
4052
+ }
3784
4053
  /**
3785
4054
  * DescribeRocketMQTopics返回参数结构体
3786
4055
  */
@@ -4130,6 +4399,23 @@ export interface CreateClusterRequest {
4130
4399
  */
4131
4400
  PublicAccessEnabled?: boolean;
4132
4401
  }
4402
+ /**
4403
+ * DescribeRabbitMQVirtualHostList请求参数结构体
4404
+ */
4405
+ export interface DescribeRabbitMQVirtualHostListRequest {
4406
+ /**
4407
+ * 不适用,默认参数
4408
+ */
4409
+ InstanceId: string;
4410
+ /**
4411
+ * 偏移量
4412
+ */
4413
+ Offset?: number;
4414
+ /**
4415
+ * 一页限制
4416
+ */
4417
+ Limit?: number;
4418
+ }
4133
4419
  /**
4134
4420
  * DescribeAMQPClusters请求参数结构体
4135
4421
  */
@@ -4469,6 +4755,19 @@ export interface DeleteAMQPExchangeRequest {
4469
4755
  */
4470
4756
  Exchange: string;
4471
4757
  }
4758
+ /**
4759
+ * DeleteRabbitMQVirtualHost请求参数结构体
4760
+ */
4761
+ export interface DeleteRabbitMQVirtualHostRequest {
4762
+ /**
4763
+ * 集群实例Id
4764
+ */
4765
+ InstanceId: string;
4766
+ /**
4767
+ * vhost名
4768
+ */
4769
+ VirtualHost: string;
4770
+ }
4472
4771
  /**
4473
4772
  * DeleteRocketMQCluster返回参数结构体
4474
4773
  */
@@ -4567,6 +4866,23 @@ export interface CreateCmqTopicResponse {
4567
4866
  */
4568
4867
  RequestId?: string;
4569
4868
  }
4869
+ /**
4870
+ * SendCmqMsg返回参数结构体
4871
+ */
4872
+ export interface SendCmqMsgResponse {
4873
+ /**
4874
+ * true表示发送成功
4875
+ */
4876
+ Result: boolean;
4877
+ /**
4878
+ * 消息id
4879
+ */
4880
+ MsgId: string;
4881
+ /**
4882
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4883
+ */
4884
+ RequestId?: string;
4885
+ }
4570
4886
  /**
4571
4887
  * Cmq DeadLetterSource
4572
4888
  */
@@ -5781,6 +6097,15 @@ export interface ClearCmqQueueResponse {
5781
6097
  */
5782
6098
  RequestId?: string;
5783
6099
  }
6100
+ /**
6101
+ * ModifyRabbitMQUser返回参数结构体
6102
+ */
6103
+ export interface ModifyRabbitMQUserResponse {
6104
+ /**
6105
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6106
+ */
6107
+ RequestId?: string;
6108
+ }
5784
6109
  /**
5785
6110
  * CreateAMQPExchange返回参数结构体
5786
6111
  */
@@ -5800,9 +6125,14 @@ export interface DescribeNodeHealthOptRequest {
5800
6125
  InstanceId: string;
5801
6126
  }
5802
6127
  /**
5803
- * DescribeBindClusters请求参数结构体
6128
+ * DeleteRabbitMQVirtualHost返回参数结构体
5804
6129
  */
5805
- export declare type DescribeBindClustersRequest = null;
6130
+ export interface DeleteRabbitMQVirtualHostResponse {
6131
+ /**
6132
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6133
+ */
6134
+ RequestId?: string;
6135
+ }
5806
6136
  /**
5807
6137
  * CreateRocketMQTopic返回参数结构体
5808
6138
  */
@@ -5963,68 +6293,36 @@ export interface DeleteCmqQueueRequest {
5963
6293
  QueueName: string;
5964
6294
  }
5965
6295
  /**
5966
- * DescribeRocketMQGroups请求参数结构体
6296
+ * DeleteRabbitMQUser返回参数结构体
5967
6297
  */
5968
- export interface DescribeRocketMQGroupsRequest {
5969
- /**
5970
- * 集群ID
5971
- */
5972
- ClusterId: string;
5973
- /**
5974
- * 命名空间
5975
- */
5976
- NamespaceId: string;
5977
- /**
5978
- * 偏移量
5979
- */
5980
- Offset: number;
5981
- /**
5982
- * 限制条数
5983
- */
5984
- Limit: number;
5985
- /**
5986
- * 主题名称,输入此参数可查询该主题下所有的订阅组
5987
- */
5988
- FilterTopic?: string;
6298
+ export interface DeleteRabbitMQUserResponse {
5989
6299
  /**
5990
- * 按消费组名称查询消费组,支持模糊查询
5991
- */
5992
- FilterGroup?: string;
5993
- /**
5994
- * 按照指定字段排序,可选值为tps,accumulative
5995
- */
5996
- SortedBy?: string;
5997
- /**
5998
- * 按升序或降序排列,可选值为asc,desc
5999
- */
6000
- SortOrder?: string;
6001
- /**
6002
- * 订阅组名称,指定此参数后将只返回该订阅组信息
6003
- */
6004
- FilterOneGroup?: string;
6005
- /**
6006
- * group类型
6300
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6007
6301
  */
6008
- Types?: Array<string>;
6302
+ RequestId?: string;
6009
6303
  }
6010
6304
  /**
6011
- * DescribeRocketMQClusters返回参数结构体
6305
+ * DescribeRabbitMQVirtualHostList返回参数结构体
6012
6306
  */
6013
- export interface DescribeRocketMQClustersResponse {
6307
+ export interface DescribeRabbitMQVirtualHostListResponse {
6014
6308
  /**
6015
- * 集群信息
6016
- 注意:此字段可能返回 null,表示取不到有效值。
6309
+ * 集群列表数量
6017
6310
  */
6018
- ClusterList: Array<RocketMQClusterDetail>;
6311
+ TotalCount: number;
6019
6312
  /**
6020
- * 总条数
6313
+ * 集群列表
6314
+ 注意:此字段可能返回 null,表示取不到有效值。
6021
6315
  */
6022
- TotalCount: number;
6316
+ VirtualHostList: Array<RabbitMQPrivateVirtualHost>;
6023
6317
  /**
6024
6318
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6025
6319
  */
6026
6320
  RequestId?: string;
6027
6321
  }
6322
+ /**
6323
+ * DescribeBindClusters请求参数结构体
6324
+ */
6325
+ export declare type DescribeBindClustersRequest = null;
6028
6326
  /**
6029
6327
  * DescribePulsarProInstanceDetail请求参数结构体
6030
6328
  */
@@ -6649,6 +6947,39 @@ export interface SendCmqMsgRequest {
6649
6947
  */
6650
6948
  DelaySeconds: number;
6651
6949
  }
6950
+ /**
6951
+ * ModifyRabbitMQUser请求参数结构体
6952
+ */
6953
+ export interface ModifyRabbitMQUserRequest {
6954
+ /**
6955
+ * 集群实例Id
6956
+ */
6957
+ InstanceId: string;
6958
+ /**
6959
+ * 用户名,登录时使用
6960
+ */
6961
+ User: string;
6962
+ /**
6963
+ * 密码,登录时使用
6964
+ */
6965
+ Password: string;
6966
+ /**
6967
+ * 描述,不传则不修改
6968
+ */
6969
+ Description?: string;
6970
+ /**
6971
+ * 用户标签,用于决定改用户访问RabbitMQ Management的权限范围,不传则不修改
6972
+ */
6973
+ Tags?: Array<string>;
6974
+ /**
6975
+ * 该用户的最大连接数,不传则不修改
6976
+ */
6977
+ MaxConnections?: number;
6978
+ /**
6979
+ * 该用户的最大channel数,不传则不修改
6980
+ */
6981
+ MaxChannels?: number;
6982
+ }
6652
6983
  /**
6653
6984
  * ModifyCmqQueueAttribute请求参数结构体
6654
6985
  */
@@ -6911,3 +7242,28 @@ export interface DescribeAllTenantsRequest {
6911
7242
  */
6912
7243
  SortOrder?: string;
6913
7244
  }
7245
+ /**
7246
+ * DescribeRabbitMQVirtualHost请求参数结构体
7247
+ */
7248
+ export interface DescribeRabbitMQVirtualHostRequest {
7249
+ /**
7250
+ * 集群实例Id
7251
+ */
7252
+ InstanceId: string;
7253
+ /**
7254
+ * vhost名,不传则查询全部
7255
+ */
7256
+ VirtualHost?: string;
7257
+ /**
7258
+ * 分页Offset
7259
+ */
7260
+ Offset?: number;
7261
+ /**
7262
+ * 分页Limit
7263
+ */
7264
+ Limit?: number;
7265
+ /**
7266
+ * search-virtual-host:vhost名称模糊查询,之前前缀和后缀匹配
7267
+ */
7268
+ Filters?: Filter;
7269
+ }