tencentcloud-sdk-nodejs-tdmq 4.0.653 → 4.0.655

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.
@@ -537,17 +537,21 @@ export interface BindCluster {
537
537
  ClusterName: string;
538
538
  }
539
539
  /**
540
- * 排序器
540
+ * ModifyRole返回参数结构体
541
541
  */
542
- export interface Sort {
542
+ export interface ModifyRoleResponse {
543
543
  /**
544
- * 排序字段
544
+ * 角色名称
545
545
  */
546
- Name: string;
546
+ RoleName: string;
547
547
  /**
548
- * 升序ASC,降序DESC
548
+ * 备注说明
549
549
  */
550
- Order: string;
550
+ Remark: string;
551
+ /**
552
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
553
+ */
554
+ RequestId?: string;
551
555
  }
552
556
  /**
553
557
  * ModifyCluster返回参数结构体
@@ -1003,66 +1007,71 @@ export interface CmqSubscription {
1003
1007
  * 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
1004
1008
  注意:此字段可能返回 null,表示取不到有效值。
1005
1009
  */
1006
- SubscriptionName: string;
1010
+ SubscriptionName?: string;
1007
1011
  /**
1008
1012
  * 订阅 ID。订阅 ID 在拉取监控数据时会用到。
1009
1013
  注意:此字段可能返回 null,表示取不到有效值。
1010
1014
  */
1011
- SubscriptionId: string;
1015
+ SubscriptionId?: string;
1012
1016
  /**
1013
1017
  * 订阅拥有者的 APPID。
1014
1018
  注意:此字段可能返回 null,表示取不到有效值。
1015
1019
  */
1016
- TopicOwner: number;
1020
+ TopicOwner?: number;
1017
1021
  /**
1018
1022
  * 该订阅待投递的消息数。
1019
1023
  注意:此字段可能返回 null,表示取不到有效值。
1020
1024
  */
1021
- MsgCount: number;
1025
+ MsgCount?: number;
1022
1026
  /**
1023
1027
  * 最后一次修改订阅属性的时间。返回 Unix 时间戳,精确到毫秒。
1024
1028
  注意:此字段可能返回 null,表示取不到有效值。
1025
1029
  */
1026
- LastModifyTime: number;
1030
+ LastModifyTime?: number;
1027
1031
  /**
1028
1032
  * 订阅的创建时间。返回 Unix 时间戳,精确到毫秒。
1029
1033
  注意:此字段可能返回 null,表示取不到有效值。
1030
1034
  */
1031
- CreateTime: number;
1035
+ CreateTime?: number;
1032
1036
  /**
1033
1037
  * 表示订阅接收消息的过滤策略。
1034
1038
  注意:此字段可能返回 null,表示取不到有效值。
1035
1039
  */
1036
- BindingKey: Array<string>;
1040
+ BindingKey?: Array<string>;
1037
1041
  /**
1038
1042
  * 接收通知的 endpoint,根据协议 protocol 区分:对于 HTTP,endpoint 必须以http://开头,host 可以是域名或 IP;对于 queue,则填 queueName。
1039
1043
  注意:此字段可能返回 null,表示取不到有效值。
1040
1044
  */
1041
- Endpoint: string;
1045
+ Endpoint?: string;
1042
1046
  /**
1043
1047
  * 描述用户创建订阅时选择的过滤策略:
1044
1048
  filterType = 1表示用户使用 filterTag 标签过滤
1045
1049
  filterType = 2表示用户使用 bindingKey 过滤。
1046
1050
  注意:此字段可能返回 null,表示取不到有效值。
1047
1051
  */
1048
- FilterTags: Array<string>;
1052
+ FilterTags?: Array<string>;
1049
1053
  /**
1050
1054
  * 订阅的协议,目前支持两种协议:HTTP、queue。使用 HTTP 协议,用户需自己搭建接受消息的 Web Server。使用 queue,消息会自动推送到 CMQ queue,用户可以并发地拉取消息。
1051
1055
  注意:此字段可能返回 null,表示取不到有效值。
1052
1056
  */
1053
- Protocol: string;
1057
+ Protocol?: string;
1054
1058
  /**
1055
1059
  * 向 endpoint 推送消息出现错误时,CMQ 推送服务器的重试策略。取值有:
1056
1060
  (1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息;
1057
1061
  (2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始 1s,后面是 2s,4s,8s...由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。
1058
1062
  注意:此字段可能返回 null,表示取不到有效值。
1059
1063
  */
1060
- NotifyStrategy: string;
1064
+ NotifyStrategy?: string;
1061
1065
  /**
1062
1066
  * 推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 raw 格式。如果 protocol 是 queue,则取值必须为 SIMPLIFIED。如果 protocol 是 HTTP,两个值均可以,默认值是 JSON。
1063
1067
  注意:此字段可能返回 null,表示取不到有效值。
1064
1068
  */
1065
- NotifyContentFormat: string;
1069
+ NotifyContentFormat?: string;
1070
+ /**
1071
+ * 订阅所属的主题名称
1072
+ 注意:此字段可能返回 null,表示取不到有效值。
1073
+ */
1074
+ TopicName?: string;
1066
1075
  }
1067
1076
  /**
1068
1077
  * DeleteRocketMQGroup请求参数结构体
@@ -1151,6 +1160,19 @@ export interface RocketMQGroup {
1151
1160
  */
1152
1161
  RetryMaxTimes?: number;
1153
1162
  }
1163
+ /**
1164
+ * vpc信息(由UniqVpcId和UniqSubnetId组成)
1165
+ */
1166
+ export interface VpcInfo {
1167
+ /**
1168
+ * vpc信息
1169
+ */
1170
+ VpcId: string;
1171
+ /**
1172
+ * 子网信息
1173
+ */
1174
+ SubnetId: string;
1175
+ }
1154
1176
  /**
1155
1177
  * ModifyRabbitMQUser请求参数结构体
1156
1178
  */
@@ -1285,6 +1307,130 @@ export interface CreateRocketMQNamespaceRequest {
1285
1307
  */
1286
1308
  Remark?: string;
1287
1309
  }
1310
+ /**
1311
+ * 主题实例
1312
+ */
1313
+ export interface Topic {
1314
+ /**
1315
+ * 最后一次间隔内发布消息的平均byte大小。
1316
+ 注意:此字段可能返回 null,表示取不到有效值。
1317
+ */
1318
+ AverageMsgSize: string;
1319
+ /**
1320
+ * 消费者数量。
1321
+ 注意:此字段可能返回 null,表示取不到有效值。
1322
+ */
1323
+ ConsumerCount: string;
1324
+ /**
1325
+ * 被记录下来的消息总数。
1326
+ 注意:此字段可能返回 null,表示取不到有效值。
1327
+ */
1328
+ LastConfirmedEntry: string;
1329
+ /**
1330
+ * 最后一个ledger创建的时间。
1331
+ 注意:此字段可能返回 null,表示取不到有效值。
1332
+ */
1333
+ LastLedgerCreatedTimestamp: string;
1334
+ /**
1335
+ * 本地和复制的发布者每秒发布消息的速率。
1336
+ 注意:此字段可能返回 null,表示取不到有效值。
1337
+ */
1338
+ MsgRateIn: string;
1339
+ /**
1340
+ * 本地和复制的消费者每秒分发消息的数量之和。
1341
+ 注意:此字段可能返回 null,表示取不到有效值。
1342
+ */
1343
+ MsgRateOut: string;
1344
+ /**
1345
+ * 本地和复制的发布者每秒发布消息的byte。
1346
+ 注意:此字段可能返回 null,表示取不到有效值。
1347
+ */
1348
+ MsgThroughputIn: string;
1349
+ /**
1350
+ * 本地和复制的消费者每秒分发消息的byte。
1351
+ 注意:此字段可能返回 null,表示取不到有效值。
1352
+ */
1353
+ MsgThroughputOut: string;
1354
+ /**
1355
+ * 被记录下来的消息总数。
1356
+ 注意:此字段可能返回 null,表示取不到有效值。
1357
+ */
1358
+ NumberOfEntries: string;
1359
+ /**
1360
+ * 分区数<=0:topic下无子分区。
1361
+ 注意:此字段可能返回 null,表示取不到有效值。
1362
+ */
1363
+ Partitions: number;
1364
+ /**
1365
+ * 生产者数量。
1366
+ 注意:此字段可能返回 null,表示取不到有效值。
1367
+ */
1368
+ ProducerCount: string;
1369
+ /**
1370
+ * 以byte计算的所有消息存储总量。
1371
+ 注意:此字段可能返回 null,表示取不到有效值。
1372
+ */
1373
+ TotalSize: string;
1374
+ /**
1375
+ * 分区topic里面的子分区。
1376
+ 注意:此字段可能返回 null,表示取不到有效值。
1377
+ */
1378
+ SubTopicSets: Array<PartitionsTopic>;
1379
+ /**
1380
+ * topic类型描述:
1381
+ 0:普通消息;
1382
+ 1:全局顺序消息;
1383
+ 2:局部顺序消息;
1384
+ 3:重试队列;
1385
+ 4:死信队列;
1386
+ 5:事务消息。
1387
+ 注意:此字段可能返回 null,表示取不到有效值。
1388
+ */
1389
+ TopicType: number;
1390
+ /**
1391
+ * 环境(命名空间)名称。
1392
+ 注意:此字段可能返回 null,表示取不到有效值。
1393
+ */
1394
+ EnvironmentId: string;
1395
+ /**
1396
+ * 主题名称。
1397
+ 注意:此字段可能返回 null,表示取不到有效值。
1398
+ */
1399
+ TopicName: string;
1400
+ /**
1401
+ * 说明,128个字符以内。
1402
+ 注意:此字段可能返回 null,表示取不到有效值。
1403
+ */
1404
+ Remark: string;
1405
+ /**
1406
+ * 创建时间。
1407
+ 注意:此字段可能返回 null,表示取不到有效值。
1408
+ */
1409
+ CreateTime: string;
1410
+ /**
1411
+ * 最近修改时间。
1412
+ 注意:此字段可能返回 null,表示取不到有效值。
1413
+ */
1414
+ UpdateTime: string;
1415
+ /**
1416
+ * 生产者上限。
1417
+ 注意:此字段可能返回 null,表示取不到有效值。
1418
+ */
1419
+ ProducerLimit: string;
1420
+ /**
1421
+ * 消费者上限。
1422
+ 注意:此字段可能返回 null,表示取不到有效值。
1423
+ */
1424
+ ConsumerLimit: string;
1425
+ /**
1426
+ * 0: 非持久非分区
1427
+ 1: 非持久分区
1428
+ 2: 持久非分区
1429
+ 3: 持久分区
1430
+ 注意:此字段可能返回 null,表示取不到有效值。
1431
+ */
1432
+ PulsarTopicType: number;
1433
+ }
1288
1434
  /**
1289
1435
  * RabbitMQ的vhost详情
1290
1436
  */
@@ -1622,7 +1768,7 @@ export interface DescribeCmqSubscriptionDetailRequest {
1622
1768
  /**
1623
1769
  * 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
1624
1770
  */
1625
- TopicName: string;
1771
+ TopicName?: string;
1626
1772
  /**
1627
1773
  * 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0
1628
1774
  */
@@ -1635,130 +1781,44 @@ export interface DescribeCmqSubscriptionDetailRequest {
1635
1781
  * 根据SubscriptionName进行模糊搜索
1636
1782
  */
1637
1783
  SubscriptionName?: string;
1638
- }
1639
- /**
1640
- * 主题实例
1641
- */
1642
- export interface Topic {
1643
1784
  /**
1644
- * 最后一次间隔内发布消息的平均byte大小。
1645
- 注意:此字段可能返回 null,表示取不到有效值。
1785
+ * 队列名称,订阅绑定的endpoint
1646
1786
  */
1647
- AverageMsgSize: string;
1648
- /**
1649
- * 消费者数量。
1650
- 注意:此字段可能返回 null,表示取不到有效值。
1651
- */
1652
- ConsumerCount: string;
1653
- /**
1654
- * 被记录下来的消息总数。
1655
- 注意:此字段可能返回 null,表示取不到有效值。
1656
- */
1657
- LastConfirmedEntry: string;
1658
- /**
1659
- * 最后一个ledger创建的时间。
1660
- 注意:此字段可能返回 null,表示取不到有效值。
1661
- */
1662
- LastLedgerCreatedTimestamp: string;
1663
- /**
1664
- * 本地和复制的发布者每秒发布消息的速率。
1665
- 注意:此字段可能返回 null,表示取不到有效值。
1666
- */
1667
- MsgRateIn: string;
1668
- /**
1669
- * 本地和复制的消费者每秒分发消息的数量之和。
1670
- 注意:此字段可能返回 null,表示取不到有效值。
1671
- */
1672
- MsgRateOut: string;
1673
- /**
1674
- * 本地和复制的发布者每秒发布消息的byte。
1675
- 注意:此字段可能返回 null,表示取不到有效值。
1676
- */
1677
- MsgThroughputIn: string;
1678
- /**
1679
- * 本地和复制的消费者每秒分发消息的byte。
1680
- 注意:此字段可能返回 null,表示取不到有效值。
1681
- */
1682
- MsgThroughputOut: string;
1683
- /**
1684
- * 被记录下来的消息总数。
1685
- 注意:此字段可能返回 null,表示取不到有效值。
1686
- */
1687
- NumberOfEntries: string;
1688
- /**
1689
- * 分区数<=0:topic下无子分区。
1690
- 注意:此字段可能返回 null,表示取不到有效值。
1691
- */
1692
- Partitions: number;
1693
- /**
1694
- * 生产者数量。
1695
- 注意:此字段可能返回 null,表示取不到有效值。
1696
- */
1697
- ProducerCount: string;
1698
- /**
1699
- * 以byte计算的所有消息存储总量。
1700
- 注意:此字段可能返回 null,表示取不到有效值。
1701
- */
1702
- TotalSize: string;
1703
- /**
1704
- * 分区topic里面的子分区。
1705
- 注意:此字段可能返回 null,表示取不到有效值。
1706
- */
1707
- SubTopicSets: Array<PartitionsTopic>;
1708
- /**
1709
- * topic类型描述:
1710
- 0:普通消息;
1711
- 1:全局顺序消息;
1712
- 2:局部顺序消息;
1713
- 3:重试队列;
1714
- 4:死信队列;
1715
- 5:事务消息。
1716
- 注意:此字段可能返回 null,表示取不到有效值。
1717
- */
1718
- TopicType: number;
1719
- /**
1720
- * 环境(命名空间)名称。
1721
- 注意:此字段可能返回 null,表示取不到有效值。
1722
- */
1723
- EnvironmentId: string;
1724
- /**
1725
- * 主题名称。
1726
- 注意:此字段可能返回 null,表示取不到有效值。
1727
- */
1728
- TopicName: string;
1787
+ QueueName?: string;
1729
1788
  /**
1730
- * 说明,128个字符以内。
1731
- 注意:此字段可能返回 null,表示取不到有效值。
1789
+ * 查询类型。取值:(1)topic;(2)queue。
1790
+ 默认值是topic。如果 queryType 是 topic,则查询主题下的订阅列表;如果 queryType 是 queue,则查询队列绑定的订阅列表。
1732
1791
  */
1733
- Remark: string;
1792
+ QueryType?: string;
1793
+ }
1794
+ /**
1795
+ * DescribePublisherSummary返回参数结构体
1796
+ */
1797
+ export interface DescribePublisherSummaryResponse {
1734
1798
  /**
1735
- * 创建时间。
1799
+ * 生产速率(条/秒)
1736
1800
  注意:此字段可能返回 null,表示取不到有效值。
1737
1801
  */
1738
- CreateTime: string;
1802
+ MsgRateIn: number;
1739
1803
  /**
1740
- * 最近修改时间。
1804
+ * 生产速率(字节/秒)
1741
1805
  注意:此字段可能返回 null,表示取不到有效值。
1742
1806
  */
1743
- UpdateTime: string;
1807
+ MsgThroughputIn: number;
1744
1808
  /**
1745
- * 生产者上限。
1809
+ * 生产者数量
1746
1810
  注意:此字段可能返回 null,表示取不到有效值。
1747
1811
  */
1748
- ProducerLimit: string;
1812
+ PublisherCount: number;
1749
1813
  /**
1750
- * 消费者上限。
1814
+ * 消息存储大小,以字节为单位
1751
1815
  注意:此字段可能返回 null,表示取不到有效值。
1752
1816
  */
1753
- ConsumerLimit: string;
1817
+ StorageSize: number;
1754
1818
  /**
1755
- * 0: 非持久非分区
1756
- 1: 非持久分区
1757
- 2: 持久非分区
1758
- 3: 持久分区
1759
- 注意:此字段可能返回 null,表示取不到有效值。
1819
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1760
1820
  */
1761
- PulsarTopicType: number;
1821
+ RequestId?: string;
1762
1822
  }
1763
1823
  /**
1764
1824
  * DescribeEnvironments请求参数结构体
@@ -1993,17 +2053,13 @@ export interface CreateEnvironmentRequest {
1993
2053
  AutoSubscriptionCreation?: boolean;
1994
2054
  }
1995
2055
  /**
1996
- * DeleteTopics返回参数结构体
2056
+ * ClearCmqQueue请求参数结构体
1997
2057
  */
1998
- export interface DeleteTopicsResponse {
1999
- /**
2000
- * 被删除的主题数组。
2001
- */
2002
- TopicSets: Array<TopicRecord>;
2058
+ export interface ClearCmqQueueRequest {
2003
2059
  /**
2004
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
2060
+ * 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
2005
2061
  */
2006
- RequestId?: string;
2062
+ QueueName: string;
2007
2063
  }
2008
2064
  /**
2009
2065
  * ModifyEnvironmentAttributes返回参数结构体
@@ -2131,29 +2187,9 @@ export interface DescribeRocketMQClusterResponse {
2131
2187
  RequestId?: string;
2132
2188
  }
2133
2189
  /**
2134
- * DescribePublisherSummary返回参数结构体
2190
+ * DeleteRocketMQVipInstance返回参数结构体
2135
2191
  */
2136
- export interface DescribePublisherSummaryResponse {
2137
- /**
2138
- * 生产速率(条/秒)
2139
- 注意:此字段可能返回 null,表示取不到有效值。
2140
- */
2141
- MsgRateIn: number;
2142
- /**
2143
- * 生产速率(字节/秒)
2144
- 注意:此字段可能返回 null,表示取不到有效值。
2145
- */
2146
- MsgThroughputIn: number;
2147
- /**
2148
- * 生产者数量
2149
- 注意:此字段可能返回 null,表示取不到有效值。
2150
- */
2151
- PublisherCount: number;
2152
- /**
2153
- * 消息存储大小,以字节为单位
2154
- 注意:此字段可能返回 null,表示取不到有效值。
2155
- */
2156
- StorageSize: number;
2192
+ export interface DeleteRocketMQVipInstanceResponse {
2157
2193
  /**
2158
2194
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2159
2195
  */
@@ -2166,12 +2202,12 @@ export interface DescribeCmqSubscriptionDetailResponse {
2166
2202
  /**
2167
2203
  * 总数
2168
2204
  */
2169
- TotalCount: number;
2205
+ TotalCount?: number;
2170
2206
  /**
2171
2207
  * Subscription属性集合
2172
2208
  注意:此字段可能返回 null,表示取不到有效值。
2173
2209
  */
2174
- SubscriptionSet: Array<CmqSubscription>;
2210
+ SubscriptionSet?: Array<CmqSubscription>;
2175
2211
  /**
2176
2212
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2177
2213
  */
@@ -2332,9 +2368,13 @@ export interface ModifyRocketMQClusterRequest {
2332
2368
  PublicAccessEnabled?: boolean;
2333
2369
  }
2334
2370
  /**
2335
- * DeleteRabbitMQVirtualHost返回参数结构体
2371
+ * CreateRocketMQVipInstance返回参数结构体
2336
2372
  */
2337
- export interface DeleteRabbitMQVirtualHostResponse {
2373
+ export interface CreateRocketMQVipInstanceResponse {
2374
+ /**
2375
+ * 集群ID
2376
+ */
2377
+ ClusterId?: string;
2338
2378
  /**
2339
2379
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2340
2380
  */
@@ -2492,21 +2532,21 @@ export interface DescribeClusterDetailRequest {
2492
2532
  ClusterId: string;
2493
2533
  }
2494
2534
  /**
2495
- * ModifyRole返回参数结构体
2535
+ * ModifyRole请求参数结构体
2496
2536
  */
2497
- export interface ModifyRoleResponse {
2537
+ export interface ModifyRoleRequest {
2498
2538
  /**
2499
- * 角色名称
2539
+ * 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。
2500
2540
  */
2501
2541
  RoleName: string;
2502
2542
  /**
2503
- * 备注说明
2543
+ * 备注说明,长度必须大等于0且小等于128。
2504
2544
  */
2505
- Remark: string;
2545
+ Remark?: string;
2506
2546
  /**
2507
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2547
+ * 必填字段,集群Id
2508
2548
  */
2509
- RequestId?: string;
2549
+ ClusterId?: string;
2510
2550
  }
2511
2551
  /**
2512
2552
  * 标签的key/value的类型
@@ -2729,21 +2769,13 @@ export interface RocketMQMessageTrack {
2729
2769
  ExceptionDesc: string;
2730
2770
  }
2731
2771
  /**
2732
- * ModifyRole请求参数结构体
2772
+ * DeleteRocketMQVipInstance请求参数结构体
2733
2773
  */
2734
- export interface ModifyRoleRequest {
2735
- /**
2736
- * 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。
2737
- */
2738
- RoleName: string;
2739
- /**
2740
- * 备注说明,长度必须大等于0且小等于128。
2741
- */
2742
- Remark?: string;
2774
+ export interface DeleteRocketMQVipInstanceRequest {
2743
2775
  /**
2744
- * 必填字段,集群Id
2776
+ * 实例的集群ID
2745
2777
  */
2746
- ClusterId?: string;
2778
+ ClusterId: string;
2747
2779
  }
2748
2780
  /**
2749
2781
  * DescribeRocketMQMsg请求参数结构体
@@ -2961,15 +2993,6 @@ export interface DescribeEnvironmentRolesResponse {
2961
2993
  */
2962
2994
  RequestId?: string;
2963
2995
  }
2964
- /**
2965
- * ClearCmqQueue请求参数结构体
2966
- */
2967
- export interface ClearCmqQueueRequest {
2968
- /**
2969
- * 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
2970
- */
2971
- QueueName: string;
2972
- }
2973
2996
  /**
2974
2997
  * ModifyRocketMQGroup请求参数结构体
2975
2998
  */
@@ -3059,84 +3082,89 @@ export interface CmqTopic {
3059
3082
  * 主题的 ID。
3060
3083
  注意:此字段可能返回 null,表示取不到有效值。
3061
3084
  */
3062
- TopicId: string;
3085
+ TopicId?: string;
3063
3086
  /**
3064
3087
  * 主题名称。
3065
3088
  注意:此字段可能返回 null,表示取不到有效值。
3066
3089
  */
3067
- TopicName: string;
3090
+ TopicName?: string;
3068
3091
  /**
3069
3092
  * 消息在主题中最长存活时间,从发送到该主题开始经过此参数指定的时间后,不论消息是否被成功推送给用户都将被删除,单位为秒。固定为一天(86400秒),该属性不能修改。
3070
3093
  注意:此字段可能返回 null,表示取不到有效值。
3071
3094
  */
3072
- MsgRetentionSeconds: number;
3095
+ MsgRetentionSeconds?: number;
3073
3096
  /**
3074
3097
  * 消息最大长度。取值范围1024 - 1048576Byte(即1 - 1024K),默认值为65536。
3075
3098
  注意:此字段可能返回 null,表示取不到有效值。
3076
3099
  */
3077
- MaxMsgSize: number;
3100
+ MaxMsgSize?: number;
3078
3101
  /**
3079
3102
  * 每秒钟发布消息的条数。
3080
3103
  注意:此字段可能返回 null,表示取不到有效值。
3081
3104
  */
3082
- Qps: number;
3105
+ Qps?: number;
3083
3106
  /**
3084
3107
  * 描述用户创建订阅时选择的过滤策略:
3085
3108
  FilterType = 1表示用户使用 FilterTag 标签过滤;
3086
3109
  FilterType = 2表示用户使用 BindingKey 过滤。
3087
3110
  注意:此字段可能返回 null,表示取不到有效值。
3088
3111
  */
3089
- FilterType: number;
3112
+ FilterType?: number;
3090
3113
  /**
3091
3114
  * 主题的创建时间。返回 Unix 时间戳,精确到毫秒。
3092
3115
  注意:此字段可能返回 null,表示取不到有效值。
3093
3116
  */
3094
- CreateTime: number;
3117
+ CreateTime?: number;
3095
3118
  /**
3096
3119
  * 最后一次修改主题属性的时间。返回 Unix 时间戳,精确到毫秒。
3097
3120
  注意:此字段可能返回 null,表示取不到有效值。
3098
3121
  */
3099
- LastModifyTime: number;
3122
+ LastModifyTime?: number;
3100
3123
  /**
3101
3124
  * 当前该主题中消息数目(消息堆积数)。
3102
3125
  注意:此字段可能返回 null,表示取不到有效值。
3103
3126
  */
3104
- MsgCount: number;
3127
+ MsgCount?: number;
3105
3128
  /**
3106
3129
  * 创建者 Uin,CAM 鉴权 resource 由该字段组合而成。
3107
3130
  注意:此字段可能返回 null,表示取不到有效值。
3108
3131
  */
3109
- CreateUin: number;
3132
+ CreateUin?: number;
3110
3133
  /**
3111
3134
  * 关联的标签。
3112
3135
  注意:此字段可能返回 null,表示取不到有效值。
3113
3136
  */
3114
- Tags: Array<Tag>;
3137
+ Tags?: Array<Tag>;
3115
3138
  /**
3116
3139
  * 消息轨迹。true表示开启,false表示不开启。
3117
3140
  注意:此字段可能返回 null,表示取不到有效值。
3118
3141
  */
3119
- Trace: boolean;
3142
+ Trace?: boolean;
3120
3143
  /**
3121
3144
  * 租户id
3122
3145
  注意:此字段可能返回 null,表示取不到有效值。
3123
3146
  */
3124
- TenantId: string;
3147
+ TenantId?: string;
3125
3148
  /**
3126
3149
  * 命名空间名称
3127
3150
  注意:此字段可能返回 null,表示取不到有效值。
3128
3151
  */
3129
- NamespaceName: string;
3152
+ NamespaceName?: string;
3130
3153
  /**
3131
3154
  * 集群状态,0:创建中,1:正常,2:销毁中,3:已删除,4: 隔离中,5:创建失败,6: 删除失败
3132
3155
  注意:此字段可能返回 null,表示取不到有效值。
3133
3156
  */
3134
- Status: number;
3157
+ Status?: number;
3135
3158
  /**
3136
3159
  * 0表示pulsar,1表示rocketmq
3137
3160
  注意:此字段可能返回 null,表示取不到有效值。
3138
3161
  */
3139
- BrokerType: number;
3162
+ BrokerType?: number;
3163
+ /**
3164
+ * 订阅数量
3165
+ 注意:此字段可能返回 null,表示取不到有效值。
3166
+ */
3167
+ SubscriptionCount?: number;
3140
3168
  }
3141
3169
  /**
3142
3170
  * UnbindCmqDeadLetter返回参数结构体
@@ -3254,21 +3282,21 @@ export interface InternalTenant {
3254
3282
  PublicAccessEnabled: boolean;
3255
3283
  }
3256
3284
  /**
3257
- * SendCmqMsg请求参数结构体
3285
+ * DescribePulsarProInstances请求参数结构体
3258
3286
  */
3259
- export interface SendCmqMsgRequest {
3287
+ export interface DescribePulsarProInstancesRequest {
3260
3288
  /**
3261
- * 队列名
3289
+ * 查询条件过滤器
3262
3290
  */
3263
- QueueName: string;
3291
+ Filters?: Array<Filter>;
3264
3292
  /**
3265
- * 消息内容
3293
+ * 查询数目上限,默认20
3266
3294
  */
3267
- MsgContent: string;
3295
+ Limit?: number;
3268
3296
  /**
3269
- * 延迟时间
3297
+ * 查询起始位置
3270
3298
  */
3271
- DelaySeconds: number;
3299
+ Offset?: number;
3272
3300
  }
3273
3301
  /**
3274
3302
  * DeleteEnvironments请求参数结构体
@@ -3463,6 +3491,24 @@ export interface DescribeEnvironmentRolesRequest {
3463
3491
  */
3464
3492
  Filters?: Array<Filter>;
3465
3493
  }
3494
+ /**
3495
+ * DescribeRocketMQClusters返回参数结构体
3496
+ */
3497
+ export interface DescribeRocketMQClustersResponse {
3498
+ /**
3499
+ * 集群信息
3500
+ 注意:此字段可能返回 null,表示取不到有效值。
3501
+ */
3502
+ ClusterList: Array<RocketMQClusterDetail>;
3503
+ /**
3504
+ * 总条数
3505
+ */
3506
+ TotalCount: number;
3507
+ /**
3508
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3509
+ */
3510
+ RequestId?: string;
3511
+ }
3466
3512
  /**
3467
3513
  * DeleteRoles返回参数结构体
3468
3514
  */
@@ -3492,6 +3538,19 @@ export interface EnvironmentRoleSet {
3492
3538
  */
3493
3539
  Permissions: Array<string>;
3494
3540
  }
3541
+ /**
3542
+ * VPC配置信息
3543
+ */
3544
+ export interface VpcConfig {
3545
+ /**
3546
+ * vpc的id
3547
+ */
3548
+ VpcId: string;
3549
+ /**
3550
+ * 子网id
3551
+ */
3552
+ SubnetId: string;
3553
+ }
3495
3554
  /**
3496
3555
  * RocketMQ近期使用量
3497
3556
  */
@@ -4321,6 +4380,19 @@ export interface ModifyRocketMQInstanceSpecResponse {
4321
4380
  */
4322
4381
  RequestId?: string;
4323
4382
  }
4383
+ /**
4384
+ * DeleteTopics返回参数结构体
4385
+ */
4386
+ export interface DeleteTopicsResponse {
4387
+ /**
4388
+ * 被删除的主题数组。
4389
+ */
4390
+ TopicSets: Array<TopicRecord>;
4391
+ /**
4392
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4393
+ */
4394
+ RequestId?: string;
4395
+ }
4324
4396
  /**
4325
4397
  * DescribeRocketMQVipInstances请求参数结构体
4326
4398
  */
@@ -4350,17 +4422,41 @@ export interface DescribeRocketMQVipInstanceDetailRequest {
4350
4422
  ClusterId: string;
4351
4423
  }
4352
4424
  /**
4353
- * DeleteRabbitMQVirtualHost请求参数结构体
4425
+ * CreateRocketMQVipInstance请求参数结构体
4354
4426
  */
4355
- export interface DeleteRabbitMQVirtualHostRequest {
4427
+ export interface CreateRocketMQVipInstanceRequest {
4356
4428
  /**
4357
- * 集群实例Id
4429
+ * 实例名称
4358
4430
  */
4359
- InstanceId: string;
4431
+ Name: string;
4360
4432
  /**
4361
- * vhost名
4433
+ * 实例规格:
4434
+ 基础型,rocket-vip-basic-1
4435
+ 标准型,rocket-vip-basic-2
4436
+ 高阶Ⅰ型,rocket-vip-basic-3
4437
+ 高阶Ⅱ型,rocket-vip-basic-4
4362
4438
  */
4363
- VirtualHost: string;
4439
+ Spec: string;
4440
+ /**
4441
+ * 节点数量,最小2,最大20
4442
+ */
4443
+ NodeCount: number;
4444
+ /**
4445
+ * 单节点存储空间,GB为单位,最低200GB
4446
+ */
4447
+ StorageSize: number;
4448
+ /**
4449
+ * 节点部署的区域ID列表,如广州一区,则是100001,具体可查询腾讯云官网
4450
+ */
4451
+ ZoneIds: Array<string>;
4452
+ /**
4453
+ * VPC信息
4454
+ */
4455
+ VpcInfo: VpcInfo;
4456
+ /**
4457
+ * 购买时长,月为单位
4458
+ */
4459
+ TimeSpan: number;
4364
4460
  }
4365
4461
  /**
4366
4462
  * DeleteRocketMQCluster返回参数结构体
@@ -4588,6 +4684,19 @@ export interface Filter {
4588
4684
  */
4589
4685
  Values?: Array<string>;
4590
4686
  }
4687
+ /**
4688
+ * 排序器
4689
+ */
4690
+ export interface Sort {
4691
+ /**
4692
+ * 排序字段
4693
+ */
4694
+ Name: string;
4695
+ /**
4696
+ * 升序ASC,降序DESC
4697
+ */
4698
+ Order: string;
4699
+ }
4591
4700
  /**
4592
4701
  * DeleteTopics请求参数结构体
4593
4702
  */
@@ -5273,21 +5382,17 @@ export interface DescribeCmqQueueDetailRequest {
5273
5382
  QueueName: string;
5274
5383
  }
5275
5384
  /**
5276
- * DescribePulsarProInstances请求参数结构体
5385
+ * DeleteRabbitMQVirtualHost请求参数结构体
5277
5386
  */
5278
- export interface DescribePulsarProInstancesRequest {
5279
- /**
5280
- * 查询条件过滤器
5281
- */
5282
- Filters?: Array<Filter>;
5387
+ export interface DeleteRabbitMQVirtualHostRequest {
5283
5388
  /**
5284
- * 查询数目上限,默认20
5389
+ * 集群实例Id
5285
5390
  */
5286
- Limit?: number;
5391
+ InstanceId: string;
5287
5392
  /**
5288
- * 查询起始位置
5393
+ * vhost名
5289
5394
  */
5290
- Offset?: number;
5395
+ VirtualHost: string;
5291
5396
  }
5292
5397
  /**
5293
5398
  * CreateRocketMQTopic请求参数结构体
@@ -5430,9 +5535,14 @@ export interface DescribeNodeHealthOptRequest {
5430
5535
  InstanceId: string;
5431
5536
  }
5432
5537
  /**
5433
- * DescribeBindClusters请求参数结构体
5538
+ * DeleteRabbitMQVirtualHost返回参数结构体
5434
5539
  */
5435
- export declare type DescribeBindClustersRequest = null;
5540
+ export interface DeleteRabbitMQVirtualHostResponse {
5541
+ /**
5542
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5543
+ */
5544
+ RequestId?: string;
5545
+ }
5436
5546
  /**
5437
5547
  * CreateRocketMQTopic返回参数结构体
5438
5548
  */
@@ -5611,23 +5721,9 @@ export interface DescribeRabbitMQVirtualHostListResponse {
5611
5721
  RequestId?: string;
5612
5722
  }
5613
5723
  /**
5614
- * DescribeRocketMQClusters返回参数结构体
5724
+ * DescribeBindClusters请求参数结构体
5615
5725
  */
5616
- export interface DescribeRocketMQClustersResponse {
5617
- /**
5618
- * 集群信息
5619
- 注意:此字段可能返回 null,表示取不到有效值。
5620
- */
5621
- ClusterList: Array<RocketMQClusterDetail>;
5622
- /**
5623
- * 总条数
5624
- */
5625
- TotalCount: number;
5626
- /**
5627
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5628
- */
5629
- RequestId?: string;
5630
- }
5726
+ export declare type DescribeBindClustersRequest = null;
5631
5727
  /**
5632
5728
  * DescribePulsarProInstanceDetail请求参数结构体
5633
5729
  */
@@ -6228,17 +6324,21 @@ export interface DeleteSubscriptionsRequest {
6228
6324
  Force?: boolean;
6229
6325
  }
6230
6326
  /**
6231
- * VPC配置信息
6327
+ * SendCmqMsg请求参数结构体
6232
6328
  */
6233
- export interface VpcConfig {
6329
+ export interface SendCmqMsgRequest {
6234
6330
  /**
6235
- * vpc的id
6331
+ * 队列名
6236
6332
  */
6237
- VpcId: string;
6333
+ QueueName: string;
6238
6334
  /**
6239
- * 子网id
6335
+ * 消息内容
6240
6336
  */
6241
- SubnetId: string;
6337
+ MsgContent: string;
6338
+ /**
6339
+ * 延迟时间
6340
+ */
6341
+ DelaySeconds: number;
6242
6342
  }
6243
6343
  /**
6244
6344
  * Pulsar专业版集群信息