tencentcloud-sdk-nodejs-tdmq 4.0.672 → 4.0.674

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.
@@ -5,11 +5,11 @@ export interface DescribeRolesResponse {
5
5
  /**
6
6
  * 记录数。
7
7
  */
8
- TotalCount: number;
8
+ TotalCount?: number;
9
9
  /**
10
10
  * 角色数组。
11
11
  */
12
- RoleSets: Array<Role>;
12
+ RoleSets?: Array<Role>;
13
13
  /**
14
14
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15
15
  */
@@ -232,6 +232,10 @@ export interface DescribeSubscriptionsRequest {
232
232
  * 主题名称。
233
233
  */
234
234
  TopicName: string;
235
+ /**
236
+ * Pulsar 集群的ID
237
+ */
238
+ ClusterId: string;
235
239
  /**
236
240
  * 起始下标,不填默认为0。
237
241
  */
@@ -248,10 +252,6 @@ export interface DescribeSubscriptionsRequest {
248
252
  * 数据过滤条件。
249
253
  */
250
254
  Filters?: Array<FilterSubscription>;
251
- /**
252
- * Pulsar 集群的ID
253
- */
254
- ClusterId?: string;
255
255
  }
256
256
  /**
257
257
  * DescribeRocketMQGroups请求参数结构体
@@ -369,13 +369,13 @@ export interface ModifyEnvironmentAttributesRequest {
369
369
  */
370
370
  MsgTTL: number;
371
371
  /**
372
- * 备注,字符串最长不超过128。
372
+ * 集群ID
373
373
  */
374
- Remark?: string;
374
+ ClusterId: string;
375
375
  /**
376
- * 集群ID
376
+ * 备注,字符串最长不超过128。
377
377
  */
378
- ClusterId?: string;
378
+ Remark?: string;
379
379
  /**
380
380
  * 消息保留策略
381
381
  */
@@ -543,11 +543,11 @@ export interface ModifyRoleResponse {
543
543
  /**
544
544
  * 角色名称
545
545
  */
546
- RoleName: string;
546
+ RoleName?: string;
547
547
  /**
548
548
  * 备注说明
549
549
  */
550
- Remark: string;
550
+ Remark?: string;
551
551
  /**
552
552
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
553
553
  */
@@ -786,7 +786,7 @@ export interface CreateRabbitMQVipInstanceRequest {
786
786
  /**
787
787
  * 可用区
788
788
  */
789
- ZoneIds: Array<number>;
789
+ ZoneIds: Array<number | bigint>;
790
790
  /**
791
791
  * 私有网络VpcId
792
792
  */
@@ -1266,13 +1266,13 @@ export interface CreateSubscriptionRequest {
1266
1266
  */
1267
1267
  IsIdempotent: boolean;
1268
1268
  /**
1269
- * 备注,128个字符以内。
1269
+ * Pulsar 集群的ID
1270
1270
  */
1271
- Remark?: string;
1271
+ ClusterId: string;
1272
1272
  /**
1273
- * Pulsar 集群的ID
1273
+ * 备注,128个字符以内。
1274
1274
  */
1275
- ClusterId?: string;
1275
+ Remark?: string;
1276
1276
  /**
1277
1277
  * 是否自动创建死信和重试主题,True 表示创建,False表示不创建,默认自动创建死信和重试主题。
1278
1278
  */
@@ -1763,7 +1763,7 @@ export interface CreateSubscriptionResponse {
1763
1763
  /**
1764
1764
  * 创建结果。
1765
1765
  */
1766
- Result: boolean;
1766
+ Result?: boolean;
1767
1767
  /**
1768
1768
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1769
1769
  */
@@ -1850,6 +1850,10 @@ export interface DescribePublisherSummaryResponse {
1850
1850
  * DescribeEnvironments请求参数结构体
1851
1851
  */
1852
1852
  export interface DescribeEnvironmentsRequest {
1853
+ /**
1854
+ * Pulsar 集群的ID
1855
+ */
1856
+ ClusterId: string;
1853
1857
  /**
1854
1858
  * 命名空间名称,模糊搜索。
1855
1859
  */
@@ -1862,10 +1866,6 @@ export interface DescribeEnvironmentsRequest {
1862
1866
  * 返回数量,不填则默认为10,最大值为20。
1863
1867
  */
1864
1868
  Limit?: number;
1865
- /**
1866
- * Pulsar 集群的ID
1867
- */
1868
- ClusterId?: string;
1869
1869
  /**
1870
1870
  * * EnvironmentId
1871
1871
  按照名称空间进行过滤,精确查询。
@@ -2370,7 +2370,7 @@ export interface DescribeEnvironmentAttributesRequest {
2370
2370
  /**
2371
2371
  * Pulsar 集群的ID
2372
2372
  */
2373
- ClusterId?: string;
2373
+ ClusterId: string;
2374
2374
  }
2375
2375
  /**
2376
2376
  * ModifyRocketMQCluster请求参数结构体
@@ -2565,14 +2565,22 @@ export interface ModifyRoleRequest {
2565
2565
  * 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。
2566
2566
  */
2567
2567
  RoleName: string;
2568
+ /**
2569
+ * 必填字段,集群Id
2570
+ */
2571
+ ClusterId: string;
2568
2572
  /**
2569
2573
  * 备注说明,长度必须大等于0且小等于128。
2570
2574
  */
2571
2575
  Remark?: string;
2572
2576
  /**
2573
- * 必填字段,集群Id
2577
+ * 批量绑定名字空间信息
2574
2578
  */
2575
- ClusterId?: string;
2579
+ EnvironmentRoleSets?: Array<EnvironmentRoleSet>;
2580
+ /**
2581
+ * 全部解绑名字空间,设置为 true
2582
+ */
2583
+ UnbindAllEnvironment?: boolean;
2576
2584
  }
2577
2585
  /**
2578
2586
  * 标签的key/value的类型
@@ -2681,7 +2689,7 @@ export interface DeleteRolesRequest {
2681
2689
  /**
2682
2690
  * 必填字段,集群Id
2683
2691
  */
2684
- ClusterId?: string;
2692
+ ClusterId: string;
2685
2693
  }
2686
2694
  /**
2687
2695
  * ModifyRocketMQTopic返回参数结构体
@@ -2762,11 +2770,11 @@ export interface DescribeSubscriptionsResponse {
2762
2770
  /**
2763
2771
  * 订阅者集合数组。
2764
2772
  */
2765
- SubscriptionSets: Array<Subscription>;
2773
+ SubscriptionSets?: Array<Subscription>;
2766
2774
  /**
2767
2775
  * 数量。
2768
2776
  */
2769
- TotalCount: number;
2777
+ TotalCount?: number;
2770
2778
  /**
2771
2779
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2772
2780
  */
@@ -2900,6 +2908,10 @@ export interface CreateTopicRequest {
2900
2908
  * 入参为1,即是创建非分区topic,无分区;入参大于1,表示分区topic的分区数,最大不允许超过128。
2901
2909
  */
2902
2910
  Partitions: number;
2911
+ /**
2912
+ * Pulsar 集群的ID
2913
+ */
2914
+ ClusterId: string;
2903
2915
  /**
2904
2916
  * 备注,128字符以内。
2905
2917
  */
@@ -2913,10 +2925,6 @@ export interface CreateTopicRequest {
2913
2925
  4 :死信队列。
2914
2926
  */
2915
2927
  TopicType?: number;
2916
- /**
2917
- * Pulsar 集群的ID
2918
- */
2919
- ClusterId?: string;
2920
2928
  /**
2921
2929
  * Pulsar 主题类型
2922
2930
  0: 非持久非分区
@@ -2983,7 +2991,7 @@ export interface DeleteEnvironmentsResponse {
2983
2991
  /**
2984
2992
  * 成功删除的环境(命名空间)数组。
2985
2993
  */
2986
- EnvironmentIds: Array<string>;
2994
+ EnvironmentIds?: Array<string>;
2987
2995
  /**
2988
2996
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2989
2997
  */
@@ -3339,7 +3347,7 @@ export interface DeleteEnvironmentsRequest {
3339
3347
  /**
3340
3348
  * Pulsar 集群的ID
3341
3349
  */
3342
- ClusterId?: string;
3350
+ ClusterId: string;
3343
3351
  }
3344
3352
  /**
3345
3353
  * DescribeRocketMQClusters请求参数结构体
@@ -3546,7 +3554,7 @@ export interface DeleteRolesResponse {
3546
3554
  /**
3547
3555
  * 成功删除的角色名称数组。
3548
3556
  */
3549
- RoleNames: Array<string>;
3557
+ RoleNames?: Array<string>;
3550
3558
  /**
3551
3559
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3552
3560
  */
@@ -4070,6 +4078,10 @@ export interface DeleteRocketMQNamespaceRequest {
4070
4078
  * DescribeRoles请求参数结构体
4071
4079
  */
4072
4080
  export interface DescribeRolesRequest {
4081
+ /**
4082
+ * 必填字段,集群Id
4083
+ */
4084
+ ClusterId: string;
4073
4085
  /**
4074
4086
  * 角色名称,模糊查询
4075
4087
  */
@@ -4082,10 +4094,6 @@ export interface DescribeRolesRequest {
4082
4094
  * 返回数量,不填则默认为10,最大值为20。
4083
4095
  */
4084
4096
  Limit?: number;
4085
- /**
4086
- * 必填字段,集群Id
4087
- */
4088
- ClusterId?: string;
4089
4097
  /**
4090
4098
  * * RoleName
4091
4099
  按照角色名进行过滤,精确查询。
@@ -4249,11 +4257,11 @@ export interface DescribeEnvironmentsResponse {
4249
4257
  /**
4250
4258
  * 命名空间记录数。
4251
4259
  */
4252
- TotalCount: number;
4260
+ TotalCount?: number;
4253
4261
  /**
4254
4262
  * 命名空间集合数组。
4255
4263
  */
4256
- EnvironmentSet: Array<Environment>;
4264
+ EnvironmentSet?: Array<Environment>;
4257
4265
  /**
4258
4266
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4259
4267
  */
@@ -4417,7 +4425,7 @@ export interface DeleteTopicsResponse {
4417
4425
  /**
4418
4426
  * 被删除的主题数组。
4419
4427
  */
4420
- TopicSets: Array<TopicRecord>;
4428
+ TopicSets?: Array<TopicRecord>;
4421
4429
  /**
4422
4430
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4423
4431
  */
@@ -4530,7 +4538,7 @@ export interface RabbitMQClusterInfo {
4530
4538
  * 可用区信息
4531
4539
  注意:此字段可能返回 null,表示取不到有效值。
4532
4540
  */
4533
- ZoneIds?: Array<number>;
4541
+ ZoneIds?: Array<number | bigint>;
4534
4542
  /**
4535
4543
  * 虚拟主机数量
4536
4544
  */
@@ -4738,7 +4746,7 @@ export interface DeleteTopicsRequest {
4738
4746
  /**
4739
4747
  * pulsar集群Id。
4740
4748
  */
4741
- ClusterId?: string;
4749
+ ClusterId: string;
4742
4750
  /**
4743
4751
  * 环境(命名空间)名称。
4744
4752
  */
@@ -4784,13 +4792,13 @@ export interface ModifyTopicRequest {
4784
4792
  */
4785
4793
  Partitions: number;
4786
4794
  /**
4787
- * 备注,128字符以内。
4795
+ * Pulsar 集群的ID
4788
4796
  */
4789
- Remark?: string;
4797
+ ClusterId: string;
4790
4798
  /**
4791
- * Pulsar 集群的ID
4799
+ * 备注,128字符以内。
4792
4800
  */
4793
- ClusterId?: string;
4801
+ Remark?: string;
4794
4802
  /**
4795
4803
  * 未消费消息过期时间,单位:秒,取值范围:60秒~15天。
4796
4804
 
@@ -5540,7 +5548,7 @@ export interface DeleteEnvironmentRolesRequest {
5540
5548
  /**
5541
5549
  * 必填字段,集群的ID
5542
5550
  */
5543
- ClusterId?: string;
5551
+ ClusterId: string;
5544
5552
  }
5545
5553
  /**
5546
5554
  * ClearCmqQueue返回参数结构体
@@ -5868,7 +5876,7 @@ export interface ModifyEnvironmentRoleRequest {
5868
5876
  /**
5869
5877
  * 必填字段,集群的ID
5870
5878
  */
5871
- ClusterId?: string;
5879
+ ClusterId: string;
5872
5880
  }
5873
5881
  /**
5874
5882
  * DescribeEnvironmentAttributes返回参数结构体
@@ -5877,35 +5885,35 @@ export interface DescribeEnvironmentAttributesResponse {
5877
5885
  /**
5878
5886
  * 未消费消息过期时间,单位:秒,最大1296000(15天)。
5879
5887
  */
5880
- MsgTTL: number;
5888
+ MsgTTL?: number;
5881
5889
  /**
5882
5890
  * 消费速率限制,单位:byte/秒,0:不限速。
5883
5891
  */
5884
- RateInByte: number;
5892
+ RateInByte?: number;
5885
5893
  /**
5886
5894
  * 消费速率限制,单位:个数/秒,0:不限速。
5887
5895
  */
5888
- RateInSize: number;
5896
+ RateInSize?: number;
5889
5897
  /**
5890
5898
  * 已消费消息保存策略,单位:小时,0:消费完马上删除。
5891
5899
  */
5892
- RetentionHours: number;
5900
+ RetentionHours?: number;
5893
5901
  /**
5894
5902
  * 已消费消息保存策略,单位:G,0:消费完马上删除。
5895
5903
  */
5896
- RetentionSize: number;
5904
+ RetentionSize?: number;
5897
5905
  /**
5898
5906
  * 环境(命名空间)名称。
5899
5907
  */
5900
- EnvironmentId: string;
5908
+ EnvironmentId?: string;
5901
5909
  /**
5902
5910
  * 副本数。
5903
5911
  */
5904
- Replicas: number;
5912
+ Replicas?: number;
5905
5913
  /**
5906
5914
  * 备注。
5907
5915
  */
5908
- Remark: string;
5916
+ Remark?: string;
5909
5917
  /**
5910
5918
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5911
5919
  */
@@ -6546,7 +6554,7 @@ export interface CreateEnvironmentRoleRequest {
6546
6554
  /**
6547
6555
  * 必填字段,集群的ID
6548
6556
  */
6549
- ClusterId?: string;
6557
+ ClusterId: string;
6550
6558
  }
6551
6559
  /**
6552
6560
  * DeleteRabbitMQVipInstance返回参数结构体