tencentcloud-sdk-nodejs-tdmq 4.0.680 → 4.0.682

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.
@@ -554,13 +554,22 @@ export interface ModifyRoleResponse {
554
554
  RequestId?: string;
555
555
  }
556
556
  /**
557
- * ModifyCluster返回参数结构体
557
+ * DescribeRocketMQTopicMsgs返回参数结构体
558
558
  */
559
- export interface ModifyClusterResponse {
559
+ export interface DescribeRocketMQTopicMsgsResponse {
560
560
  /**
561
- * Pulsar 集群的ID
561
+ * 总数
562
562
  */
563
- ClusterId: string;
563
+ TotalCount?: number;
564
+ /**
565
+ * 消息列表
566
+ */
567
+ TopicMsgLogSets?: Array<RocketMQMsgLog>;
568
+ /**
569
+ * 标志一次分页事务
570
+ 注意:此字段可能返回 null,表示取不到有效值。
571
+ */
572
+ TaskRequestId?: string;
564
573
  /**
565
574
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
566
575
  */
@@ -595,6 +604,64 @@ export interface SendRocketMQMessageRequest {
595
604
  */
596
605
  MsgTag?: string;
597
606
  }
607
+ /**
608
+ * DescribeRocketMQMsgTrace返回参数结构体
609
+ */
610
+ export interface DescribeRocketMQMsgTraceResponse {
611
+ /**
612
+ * [
613
+ {
614
+ "Stage": "produce",
615
+ "Data": {
616
+ "ProducerName": "生产者名",
617
+ "ProduceTime": "消息生产时间",
618
+ "ProducerAddr": "客户端地址",
619
+ "Duration": "耗时ms",
620
+ "Status": "状态(0:成功,1:失败)"
621
+ }
622
+ },
623
+ {
624
+ "Stage": "persist",
625
+ "Data": {
626
+ "PersistTime": "存储时间",
627
+ "Duration": "耗时ms",
628
+ "Status": "状态(0:成功,1:失败)"
629
+ }
630
+ },
631
+ {
632
+ "Stage": "consume",
633
+ "Data": {
634
+ "TotalCount": 2,
635
+ "RocketMqConsumeLogs": [
636
+ {
637
+ "ConsumerGroup": "消费组",
638
+ "ConsumeModel": "消费模式",
639
+ "ConsumerAddr": "消费者地址",
640
+ "ConsumeTime": "推送时间",
641
+ "Status": "状态(0:已推送未确认, 2:已确认, 3:转入重试, 4:已重试未确认, 5:已转入死信队列)"
642
+ },
643
+ {
644
+ "ConsumerGroup": "消费组",
645
+ "ConsumeModel": "消费模式",
646
+ "ConsumerAddr": "消费者地址",
647
+ "ConsumeTime": "推送时间",
648
+ "Status": "状态(0:已推送未确认, 2:已确认, 3:转入重试, 4:已重试未确认, 5:已转入死信队列)"
649
+ }
650
+ ]
651
+ }
652
+ }
653
+ ]
654
+ */
655
+ Result?: Array<TraceResult>;
656
+ /**
657
+ * 消息轨迹页展示的topic名称
658
+ */
659
+ ShowTopicName?: string;
660
+ /**
661
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
662
+ */
663
+ RequestId?: string;
664
+ }
598
665
  /**
599
666
  * RabbitMQ专享版云服务器
600
667
  */
@@ -2583,17 +2650,45 @@ export interface ModifyRoleRequest {
2583
2650
  UnbindAllEnvironment?: boolean;
2584
2651
  }
2585
2652
  /**
2586
- * 标签的key/value的类型
2653
+ * rocketmq消息日志
2587
2654
  */
2588
- export interface Tag {
2655
+ export interface RocketMQMsgLog {
2589
2656
  /**
2590
- * 标签的key的值
2657
+ * 消息id
2591
2658
  */
2592
- TagKey: string;
2659
+ MsgId?: string;
2593
2660
  /**
2594
- * 标签的Value的值
2661
+ * 消息tag
2662
+ 注意:此字段可能返回 null,表示取不到有效值。
2595
2663
  */
2596
- TagValue: string;
2664
+ MsgTag?: string;
2665
+ /**
2666
+ * 消息key
2667
+ 注意:此字段可能返回 null,表示取不到有效值。
2668
+ */
2669
+ MsgKey?: string;
2670
+ /**
2671
+ * 客户端地址
2672
+ */
2673
+ ProducerAddr?: string;
2674
+ /**
2675
+ * 消息发送时间
2676
+ */
2677
+ ProduceTime?: string;
2678
+ /**
2679
+ * pulsar消息id
2680
+ */
2681
+ PulsarMsgId?: string;
2682
+ /**
2683
+ * 死信重发次数
2684
+ 注意:此字段可能返回 null,表示取不到有效值。
2685
+ */
2686
+ DeadLetterResendTimes?: number;
2687
+ /**
2688
+ * 死信重发成功次数
2689
+ 注意:此字段可能返回 null,表示取不到有效值。
2690
+ */
2691
+ ResendSuccessCount?: number;
2597
2692
  }
2598
2693
  /**
2599
2694
  * DeleteCmqQueue返回参数结构体
@@ -3031,6 +3126,35 @@ export interface DescribeEnvironmentRolesResponse {
3031
3126
  */
3032
3127
  RequestId?: string;
3033
3128
  }
3129
+ /**
3130
+ * DescribeRocketMQMsgTrace请求参数结构体
3131
+ */
3132
+ export interface DescribeRocketMQMsgTraceRequest {
3133
+ /**
3134
+ * 集群id
3135
+ */
3136
+ ClusterId: string;
3137
+ /**
3138
+ * 命名空间
3139
+ */
3140
+ EnvironmentId: string;
3141
+ /**
3142
+ * 主题,rocketmq查询死信时值为groupId
3143
+ */
3144
+ TopicName: string;
3145
+ /**
3146
+ * 消息id
3147
+ */
3148
+ MsgId: string;
3149
+ /**
3150
+ * 消费组、订阅
3151
+ */
3152
+ GroupName?: string;
3153
+ /**
3154
+ * 查询死信时该值为true
3155
+ */
3156
+ QueryDLQMsg?: boolean;
3157
+ }
3034
3158
  /**
3035
3159
  * ModifyRocketMQGroup请求参数结构体
3036
3160
  */
@@ -3382,6 +3506,19 @@ export interface DescribeRocketMQClustersRequest {
3382
3506
  */
3383
3507
  Filters?: Array<Filter>;
3384
3508
  }
3509
+ /**
3510
+ * ModifyCluster返回参数结构体
3511
+ */
3512
+ export interface ModifyClusterResponse {
3513
+ /**
3514
+ * Pulsar 集群的ID
3515
+ */
3516
+ ClusterId: string;
3517
+ /**
3518
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3519
+ */
3520
+ RequestId?: string;
3521
+ }
3385
3522
  /**
3386
3523
  * DescribeBindVpcs请求参数结构体
3387
3524
  */
@@ -4034,7 +4171,7 @@ export interface CreateClusterResponse {
4034
4171
  /**
4035
4172
  * 集群ID
4036
4173
  */
4037
- ClusterId: string;
4174
+ ClusterId?: string;
4038
4175
  /**
4039
4176
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4040
4177
  */
@@ -4107,7 +4244,7 @@ export interface DescribeRolesRequest {
4107
4244
  */
4108
4245
  export interface CreateClusterRequest {
4109
4246
  /**
4110
- * 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过16个字符。
4247
+ * 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过64个字符。
4111
4248
  */
4112
4249
  ClusterName: string;
4113
4250
  /**
@@ -5577,6 +5714,19 @@ export interface DescribeNodeHealthOptRequest {
5577
5714
  */
5578
5715
  InstanceId: string;
5579
5716
  }
5717
+ /**
5718
+ * 消息轨迹结果
5719
+ */
5720
+ export interface TraceResult {
5721
+ /**
5722
+ * 阶段
5723
+ */
5724
+ Stage: string;
5725
+ /**
5726
+ * 内容详情
5727
+ */
5728
+ Data: string;
5729
+ }
5580
5730
  /**
5581
5731
  * DeleteRabbitMQVirtualHost返回参数结构体
5582
5732
  */
@@ -5586,6 +5736,36 @@ export interface DeleteRabbitMQVirtualHostResponse {
5586
5736
  */
5587
5737
  RequestId?: string;
5588
5738
  }
5739
+ /**
5740
+ * Pulsar 网络接入点信息
5741
+ */
5742
+ export interface PulsarNetworkAccessPointInfo {
5743
+ /**
5744
+ * vpc的id,支撑网和公网接入点,该字段为空
5745
+ 注意:此字段可能返回 null,表示取不到有效值。
5746
+ */
5747
+ VpcId: string;
5748
+ /**
5749
+ * 子网id,支撑网和公网接入点,该字段为空
5750
+ 注意:此字段可能返回 null,表示取不到有效值。
5751
+ */
5752
+ SubnetId: string;
5753
+ /**
5754
+ * 接入地址
5755
+ */
5756
+ Endpoint: string;
5757
+ /**
5758
+ * 实例id
5759
+ */
5760
+ InstanceId: string;
5761
+ /**
5762
+ * 接入点类型:
5763
+ 0:支撑网接入点
5764
+ 1:VPC接入点
5765
+ 2:公网接入点
5766
+ */
5767
+ RouteType: number;
5768
+ }
5589
5769
  /**
5590
5770
  * CreateRocketMQTopic返回参数结构体
5591
5771
  */
@@ -5828,34 +6008,57 @@ export interface CreateRoleRequest {
5828
6008
  ClusterId?: string;
5829
6009
  }
5830
6010
  /**
5831
- * Pulsar 网络接入点信息
6011
+ * DescribeRocketMQTopicMsgs请求参数结构体
5832
6012
  */
5833
- export interface PulsarNetworkAccessPointInfo {
6013
+ export interface DescribeRocketMQTopicMsgsRequest {
5834
6014
  /**
5835
- * vpc的id,支撑网和公网接入点,该字段为空
5836
- 注意:此字段可能返回 null,表示取不到有效值。
6015
+ * 集群 ID
5837
6016
  */
5838
- VpcId: string;
6017
+ ClusterId: string;
5839
6018
  /**
5840
- * 子网id,支撑网和公网接入点,该字段为空
5841
- 注意:此字段可能返回 null,表示取不到有效值。
6019
+ * 命名空间
5842
6020
  */
5843
- SubnetId: string;
6021
+ EnvironmentId: string;
5844
6022
  /**
5845
- * 接入地址
6023
+ * 主题名称,查询死信时为groupId
5846
6024
  */
5847
- Endpoint: string;
6025
+ TopicName: string;
5848
6026
  /**
5849
- * 实例id
6027
+ * 开始时间
5850
6028
  */
5851
- InstanceId: string;
6029
+ StartTime: string;
5852
6030
  /**
5853
- * 接入点类型:
5854
- 0:支撑网接入点
5855
- 1:VPC接入点
5856
- 2:公网接入点
6031
+ * 结束时间
5857
6032
  */
5858
- RouteType: number;
6033
+ EndTime: string;
6034
+ /**
6035
+ * 消息 ID
6036
+ */
6037
+ MsgId?: string;
6038
+ /**
6039
+ * 消息 key
6040
+ */
6041
+ MsgKey?: string;
6042
+ /**
6043
+ * 查询偏移
6044
+ */
6045
+ Offset?: number;
6046
+ /**
6047
+ * 查询限额
6048
+ */
6049
+ Limit?: number;
6050
+ /**
6051
+ * 标志一次分页事务
6052
+ */
6053
+ TaskRequestId?: string;
6054
+ /**
6055
+ * 死信查询时该值为true,只对Rocketmq有效
6056
+ */
6057
+ QueryDlqMsg?: boolean;
6058
+ /**
6059
+ * 查询最近N条消息 最大不超过1024,默认-1为其他查询条件
6060
+ */
6061
+ NumOfLatestMsg?: number;
5859
6062
  }
5860
6063
  /**
5861
6064
  * ModifyEnvironmentRole请求参数结构体
@@ -6011,6 +6214,19 @@ export interface AMQPClusterConfig {
6011
6214
  */
6012
6215
  UsedQueueNum: number;
6013
6216
  }
6217
+ /**
6218
+ * 标签的key/value的类型
6219
+ */
6220
+ export interface Tag {
6221
+ /**
6222
+ * 标签的key的值
6223
+ */
6224
+ TagKey: string;
6225
+ /**
6226
+ * 标签的Value的值
6227
+ */
6228
+ TagValue: string;
6229
+ }
6014
6230
  /**
6015
6231
  * CreateRocketMQNamespace返回参数结构体
6016
6232
  */