tencentcloud-sdk-nodejs-tdmq 4.0.259 → 4.0.263

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.
@@ -773,6 +773,122 @@ export interface CreateRocketMQNamespaceRequest {
773
773
  */
774
774
  Remark?: string;
775
775
  }
776
+ /**
777
+ * 主题实例
778
+ */
779
+ export interface Topic {
780
+ /**
781
+ * 最后一次间隔内发布消息的平均byte大小。
782
+ 注意:此字段可能返回 null,表示取不到有效值。
783
+ */
784
+ AverageMsgSize: string;
785
+ /**
786
+ * 消费者数量。
787
+ 注意:此字段可能返回 null,表示取不到有效值。
788
+ */
789
+ ConsumerCount: string;
790
+ /**
791
+ * 被记录下来的消息总数。
792
+ 注意:此字段可能返回 null,表示取不到有效值。
793
+ */
794
+ LastConfirmedEntry: string;
795
+ /**
796
+ * 最后一个ledger创建的时间。
797
+ 注意:此字段可能返回 null,表示取不到有效值。
798
+ */
799
+ LastLedgerCreatedTimestamp: string;
800
+ /**
801
+ * 本地和复制的发布者每秒发布消息的速率。
802
+ 注意:此字段可能返回 null,表示取不到有效值。
803
+ */
804
+ MsgRateIn: string;
805
+ /**
806
+ * 本地和复制的消费者每秒分发消息的数量之和。
807
+ 注意:此字段可能返回 null,表示取不到有效值。
808
+ */
809
+ MsgRateOut: string;
810
+ /**
811
+ * 本地和复制的发布者每秒发布消息的byte。
812
+ 注意:此字段可能返回 null,表示取不到有效值。
813
+ */
814
+ MsgThroughputIn: string;
815
+ /**
816
+ * 本地和复制的消费者每秒分发消息的byte。
817
+ 注意:此字段可能返回 null,表示取不到有效值。
818
+ */
819
+ MsgThroughputOut: string;
820
+ /**
821
+ * 被记录下来的消息总数。
822
+ 注意:此字段可能返回 null,表示取不到有效值。
823
+ */
824
+ NumberOfEntries: string;
825
+ /**
826
+ * 分区数<=0:topic下无子分区。
827
+ 注意:此字段可能返回 null,表示取不到有效值。
828
+ */
829
+ Partitions: number;
830
+ /**
831
+ * 生产者数量。
832
+ 注意:此字段可能返回 null,表示取不到有效值。
833
+ */
834
+ ProducerCount: string;
835
+ /**
836
+ * 以byte计算的所有消息存储总量。
837
+ 注意:此字段可能返回 null,表示取不到有效值。
838
+ */
839
+ TotalSize: string;
840
+ /**
841
+ * 分区topic里面的子分区。
842
+ 注意:此字段可能返回 null,表示取不到有效值。
843
+ */
844
+ SubTopicSets: Array<PartitionsTopic>;
845
+ /**
846
+ * topic类型描述:
847
+ 0:普通消息;
848
+ 1:全局顺序消息;
849
+ 2:局部顺序消息;
850
+ 3:重试队列;
851
+ 4:死信队列;
852
+ 5:事务消息。
853
+ 注意:此字段可能返回 null,表示取不到有效值。
854
+ */
855
+ TopicType: number;
856
+ /**
857
+ * 环境(命名空间)名称。
858
+ 注意:此字段可能返回 null,表示取不到有效值。
859
+ */
860
+ EnvironmentId: string;
861
+ /**
862
+ * 主题名称。
863
+ 注意:此字段可能返回 null,表示取不到有效值。
864
+ */
865
+ TopicName: string;
866
+ /**
867
+ * 说明,128个字符以内。
868
+ 注意:此字段可能返回 null,表示取不到有效值。
869
+ */
870
+ Remark: string;
871
+ /**
872
+ * 创建时间。
873
+ 注意:此字段可能返回 null,表示取不到有效值。
874
+ */
875
+ CreateTime: string;
876
+ /**
877
+ * 最近修改时间。
878
+ 注意:此字段可能返回 null,表示取不到有效值。
879
+ */
880
+ UpdateTime: string;
881
+ /**
882
+ * 生产者上限。
883
+ 注意:此字段可能返回 null,表示取不到有效值。
884
+ */
885
+ ProducerLimit: string;
886
+ /**
887
+ * 消费者上限。
888
+ 注意:此字段可能返回 null,表示取不到有效值。
889
+ */
890
+ ConsumerLimit: string;
891
+ }
776
892
  /**
777
893
  * DescribeCmqTopicDetail返回参数结构体
778
894
  */
@@ -1068,120 +1184,33 @@ export interface DescribeCmqSubscriptionDetailRequest {
1068
1184
  SubscriptionName?: string;
1069
1185
  }
1070
1186
  /**
1071
- * 主题实例
1187
+ * DescribePublisherSummary返回参数结构体
1072
1188
  */
1073
- export interface Topic {
1074
- /**
1075
- * 最后一次间隔内发布消息的平均byte大小。
1076
- 注意:此字段可能返回 null,表示取不到有效值。
1077
- */
1078
- AverageMsgSize: string;
1079
- /**
1080
- * 消费者数量。
1081
- 注意:此字段可能返回 null,表示取不到有效值。
1082
- */
1083
- ConsumerCount: string;
1084
- /**
1085
- * 被记录下来的消息总数。
1086
- 注意:此字段可能返回 null,表示取不到有效值。
1087
- */
1088
- LastConfirmedEntry: string;
1089
- /**
1090
- * 最后一个ledger创建的时间。
1091
- 注意:此字段可能返回 null,表示取不到有效值。
1092
- */
1093
- LastLedgerCreatedTimestamp: string;
1094
- /**
1095
- * 本地和复制的发布者每秒发布消息的速率。
1096
- 注意:此字段可能返回 null,表示取不到有效值。
1097
- */
1098
- MsgRateIn: string;
1099
- /**
1100
- * 本地和复制的消费者每秒分发消息的数量之和。
1101
- 注意:此字段可能返回 null,表示取不到有效值。
1102
- */
1103
- MsgRateOut: string;
1104
- /**
1105
- * 本地和复制的发布者每秒发布消息的byte。
1106
- 注意:此字段可能返回 null,表示取不到有效值。
1107
- */
1108
- MsgThroughputIn: string;
1109
- /**
1110
- * 本地和复制的消费者每秒分发消息的byte。
1111
- 注意:此字段可能返回 null,表示取不到有效值。
1112
- */
1113
- MsgThroughputOut: string;
1114
- /**
1115
- * 被记录下来的消息总数。
1116
- 注意:此字段可能返回 null,表示取不到有效值。
1117
- */
1118
- NumberOfEntries: string;
1119
- /**
1120
- * 分区数<=0:topic下无子分区。
1121
- 注意:此字段可能返回 null,表示取不到有效值。
1122
- */
1123
- Partitions: number;
1124
- /**
1125
- * 生产者数量。
1126
- 注意:此字段可能返回 null,表示取不到有效值。
1127
- */
1128
- ProducerCount: string;
1129
- /**
1130
- * 以byte计算的所有消息存储总量。
1131
- 注意:此字段可能返回 null,表示取不到有效值。
1132
- */
1133
- TotalSize: string;
1134
- /**
1135
- * 分区topic里面的子分区。
1136
- 注意:此字段可能返回 null,表示取不到有效值。
1137
- */
1138
- SubTopicSets: Array<PartitionsTopic>;
1139
- /**
1140
- * topic类型描述:
1141
- 0:普通消息;
1142
- 1:全局顺序消息;
1143
- 2:局部顺序消息;
1144
- 3:重试队列;
1145
- 4:死信队列;
1146
- 5:事务消息。
1147
- 注意:此字段可能返回 null,表示取不到有效值。
1148
- */
1149
- TopicType: number;
1150
- /**
1151
- * 环境(命名空间)名称。
1152
- 注意:此字段可能返回 null,表示取不到有效值。
1153
- */
1154
- EnvironmentId: string;
1189
+ export interface DescribePublisherSummaryResponse {
1155
1190
  /**
1156
- * 主题名称。
1191
+ * 生产速率(条/秒)
1157
1192
  注意:此字段可能返回 null,表示取不到有效值。
1158
1193
  */
1159
- TopicName: string;
1194
+ MsgRateIn: number;
1160
1195
  /**
1161
- * 说明,128个字符以内。
1196
+ * 生产速率(字节/秒)
1162
1197
  注意:此字段可能返回 null,表示取不到有效值。
1163
1198
  */
1164
- Remark: string;
1199
+ MsgThroughputIn: number;
1165
1200
  /**
1166
- * 创建时间。
1201
+ * 生产者数量
1167
1202
  注意:此字段可能返回 null,表示取不到有效值。
1168
1203
  */
1169
- CreateTime: string;
1204
+ PublisherCount: number;
1170
1205
  /**
1171
- * 最近修改时间。
1206
+ * 消息存储大小,以字节为单位
1172
1207
  注意:此字段可能返回 null,表示取不到有效值。
1173
1208
  */
1174
- UpdateTime: string;
1209
+ StorageSize: number;
1175
1210
  /**
1176
- * 生产者上限。
1177
- 注意:此字段可能返回 null,表示取不到有效值。
1178
- */
1179
- ProducerLimit: string;
1180
- /**
1181
- * 消费者上限。
1182
- 注意:此字段可能返回 null,表示取不到有效值。
1183
- */
1184
- ConsumerLimit: string;
1211
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1212
+ */
1213
+ RequestId?: string;
1185
1214
  }
1186
1215
  /**
1187
1216
  * DescribeAMQPVHosts返回参数结构体
@@ -1498,6 +1527,56 @@ export interface DescribeClustersRequest {
1498
1527
  */
1499
1528
  Filters?: Array<Filter>;
1500
1529
  }
1530
+ /**
1531
+ * 生产者信息
1532
+ */
1533
+ export interface Publisher {
1534
+ /**
1535
+ * 生产者id
1536
+ 注意:此字段可能返回 null,表示取不到有效值。
1537
+ */
1538
+ ProducerId: number;
1539
+ /**
1540
+ * 生产者名称
1541
+ 注意:此字段可能返回 null,表示取不到有效值。
1542
+ */
1543
+ ProducerName: string;
1544
+ /**
1545
+ * 生产者地址
1546
+ 注意:此字段可能返回 null,表示取不到有效值。
1547
+ */
1548
+ Address: string;
1549
+ /**
1550
+ * 客户端版本
1551
+ 注意:此字段可能返回 null,表示取不到有效值。
1552
+ */
1553
+ ClientVersion: string;
1554
+ /**
1555
+ * 消息生产速率(条/秒)
1556
+ 注意:此字段可能返回 null,表示取不到有效值。
1557
+ */
1558
+ MsgRateIn: number;
1559
+ /**
1560
+ * 消息生产吞吐速率(字节/秒)
1561
+ 注意:此字段可能返回 null,表示取不到有效值。
1562
+ */
1563
+ MsgThroughputIn: number;
1564
+ /**
1565
+ * 平均消息大小(字节)
1566
+ 注意:此字段可能返回 null,表示取不到有效值。
1567
+ */
1568
+ AverageMsgSize: number;
1569
+ /**
1570
+ * 连接时间
1571
+ 注意:此字段可能返回 null,表示取不到有效值。
1572
+ */
1573
+ ConnectedSince: string;
1574
+ /**
1575
+ * 生产者连接的主题分区号
1576
+ 注意:此字段可能返回 null,表示取不到有效值。
1577
+ */
1578
+ Partition: number;
1579
+ }
1501
1580
  /**
1502
1581
  * RocketMQ主题信息
1503
1582
  */
@@ -1832,6 +1911,39 @@ export interface PublishCmqMsgResponse {
1832
1911
  */
1833
1912
  RequestId?: string;
1834
1913
  }
1914
+ /**
1915
+ * DescribePublishers请求参数结构体
1916
+ */
1917
+ export interface DescribePublishersRequest {
1918
+ /**
1919
+ * 集群ID
1920
+ */
1921
+ ClusterId: string;
1922
+ /**
1923
+ * 命名空间名称
1924
+ */
1925
+ Namespace: string;
1926
+ /**
1927
+ * 主题名称
1928
+ */
1929
+ Topic: string;
1930
+ /**
1931
+ * 参数过滤器,支持ProducerName,Address字段
1932
+ */
1933
+ Filters?: Array<Filter>;
1934
+ /**
1935
+ * 查询偏移量,默认为0
1936
+ */
1937
+ Offset?: number;
1938
+ /**
1939
+ * 查询条数,默认为20
1940
+ */
1941
+ Limit?: number;
1942
+ /**
1943
+ * 排序器
1944
+ */
1945
+ Sort?: Sort;
1946
+ }
1835
1947
  /**
1836
1948
  * CreateRocketMQCluster请求参数结构体
1837
1949
  */
@@ -3025,6 +3137,34 @@ export interface DeleteRocketMQNamespaceRequest {
3025
3137
  */
3026
3138
  NamespaceId: string;
3027
3139
  }
3140
+ /**
3141
+ * DescribeRoles请求参数结构体
3142
+ */
3143
+ export interface DescribeRolesRequest {
3144
+ /**
3145
+ * 角色名称,模糊查询
3146
+ */
3147
+ RoleName?: string;
3148
+ /**
3149
+ * 起始下标,不填默认为0。
3150
+ */
3151
+ Offset?: number;
3152
+ /**
3153
+ * 返回数量,不填则默认为10,最大值为20。
3154
+ */
3155
+ Limit?: number;
3156
+ /**
3157
+ * 必填字段,集群Id
3158
+ */
3159
+ ClusterId?: string;
3160
+ /**
3161
+ * * RoleName
3162
+ 按照角色名进行过滤,精确查询。
3163
+ 类型:String
3164
+ 必选:否
3165
+ */
3166
+ Filters?: Array<Filter>;
3167
+ }
3028
3168
  /**
3029
3169
  * CreateAMQPQueue返回参数结构体
3030
3170
  */
@@ -3889,6 +4029,23 @@ export interface Cluster {
3889
4029
  */
3890
4030
  Tags: Array<Tag>;
3891
4031
  }
4032
+ /**
4033
+ * 订阅关系
4034
+ */
4035
+ export interface SubscriptionTopic {
4036
+ /**
4037
+ * 环境(命名空间)名称。
4038
+ */
4039
+ EnvironmentId: string;
4040
+ /**
4041
+ * 主题名称。
4042
+ */
4043
+ TopicName: string;
4044
+ /**
4045
+ * 订阅名称。
4046
+ */
4047
+ SubscriptionName: string;
4048
+ }
3892
4049
  /**
3893
4050
  * 消息保留策略
3894
4051
  */
@@ -3978,6 +4135,24 @@ export interface AMQPQueueDetail {
3978
4135
  */
3979
4136
  DeadLetterRoutingKey: string;
3980
4137
  }
4138
+ /**
4139
+ * DescribePublishers返回参数结构体
4140
+ */
4141
+ export interface DescribePublishersResponse {
4142
+ /**
4143
+ * 总条数
4144
+ */
4145
+ TotalCount: number;
4146
+ /**
4147
+ * 生产者信息列表
4148
+ 注意:此字段可能返回 null,表示取不到有效值。
4149
+ */
4150
+ Publishers: Array<Publisher>;
4151
+ /**
4152
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4153
+ */
4154
+ RequestId?: string;
4155
+ }
3981
4156
  /**
3982
4157
  * DeleteAMQPRouteRelation返回参数结构体
3983
4158
  */
@@ -4606,21 +4781,17 @@ export interface ModifyAMQPClusterResponse {
4606
4781
  RequestId?: string;
4607
4782
  }
4608
4783
  /**
4609
- * 订阅关系
4784
+ * 排序器
4610
4785
  */
4611
- export interface SubscriptionTopic {
4612
- /**
4613
- * 环境(命名空间)名称。
4614
- */
4615
- EnvironmentId: string;
4786
+ export interface Sort {
4616
4787
  /**
4617
- * 主题名称。
4788
+ * 排序字段
4618
4789
  */
4619
- TopicName: string;
4790
+ Name: string;
4620
4791
  /**
4621
- * 订阅名称。
4792
+ * 升序ASC,降序DESC
4622
4793
  */
4623
- SubscriptionName: string;
4794
+ Order: string;
4624
4795
  }
4625
4796
  /**
4626
4797
  * AMQP集群配置
@@ -4913,32 +5084,21 @@ export interface DeleteCmqSubscribeResponse {
4913
5084
  RequestId?: string;
4914
5085
  }
4915
5086
  /**
4916
- * DescribeRoles请求参数结构体
5087
+ * DescribePublisherSummary请求参数结构体
4917
5088
  */
4918
- export interface DescribeRolesRequest {
4919
- /**
4920
- * 角色名称,模糊查询
4921
- */
4922
- RoleName?: string;
5089
+ export interface DescribePublisherSummaryRequest {
4923
5090
  /**
4924
- * 起始下标,不填默认为0。
5091
+ * 集群ID
4925
5092
  */
4926
- Offset?: number;
5093
+ ClusterId: string;
4927
5094
  /**
4928
- * 返回数量,不填则默认为10,最大值为20。
5095
+ * 命名空间名称
4929
5096
  */
4930
- Limit?: number;
5097
+ Namespace: string;
4931
5098
  /**
4932
- * 必填字段,集群Id
5099
+ * 主题名称
4933
5100
  */
4934
- ClusterId?: string;
4935
- /**
4936
- * * RoleName
4937
- 按照角色名进行过滤,精确查询。
4938
- 类型:String
4939
- 必选:否
4940
- */
4941
- Filters?: Array<Filter>;
5101
+ Topic: string;
4942
5102
  }
4943
5103
  /**
4944
5104
  * DeleteSubscriptions请求参数结构体