tencentcloud-sdk-nodejs-tdmq 4.0.721 → 4.0.722
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.
- package/CHANGELOG.md +123 -0
- package/SERVICE_CHANGELOG.md +141 -115
- package/package.json +1 -1
- package/products.md +9 -9
- package/src/services/tdmq/v20200217/tdmq_client.ts +36 -20
- package/src/services/tdmq/v20200217/tdmq_models.ts +226 -73
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +11 -7
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +15 -9
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +220 -73
|
@@ -428,6 +428,15 @@ export interface DeleteClusterResponse {
|
|
|
428
428
|
*/
|
|
429
429
|
RequestId?: string;
|
|
430
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* ResetRocketMQConsumerOffSet返回参数结构体
|
|
433
|
+
*/
|
|
434
|
+
export interface ResetRocketMQConsumerOffSetResponse {
|
|
435
|
+
/**
|
|
436
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
437
|
+
*/
|
|
438
|
+
RequestId?: string;
|
|
439
|
+
}
|
|
431
440
|
/**
|
|
432
441
|
* DescribeTopicMsgs返回参数结构体
|
|
433
442
|
*/
|
|
@@ -544,9 +553,13 @@ export interface DescribeRocketMQMigratingTopicListRequest {
|
|
|
544
553
|
Filters?: Array<Filter>;
|
|
545
554
|
}
|
|
546
555
|
/**
|
|
547
|
-
*
|
|
556
|
+
* ModifyCluster返回参数结构体
|
|
548
557
|
*/
|
|
549
|
-
export interface
|
|
558
|
+
export interface ModifyClusterResponse {
|
|
559
|
+
/**
|
|
560
|
+
* Pulsar 集群的ID
|
|
561
|
+
*/
|
|
562
|
+
ClusterId: string;
|
|
550
563
|
/**
|
|
551
564
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
552
565
|
*/
|
|
@@ -2511,6 +2524,79 @@ export interface DescribeCmqSubscriptionDetailResponse {
|
|
|
2511
2524
|
*/
|
|
2512
2525
|
RequestId?: string;
|
|
2513
2526
|
}
|
|
2527
|
+
/**
|
|
2528
|
+
* Pulsar专业版实例信息
|
|
2529
|
+
*/
|
|
2530
|
+
export interface PulsarProInstance {
|
|
2531
|
+
/**
|
|
2532
|
+
* 实例id
|
|
2533
|
+
*/
|
|
2534
|
+
InstanceId: string;
|
|
2535
|
+
/**
|
|
2536
|
+
* 实例名称
|
|
2537
|
+
*/
|
|
2538
|
+
InstanceName: string;
|
|
2539
|
+
/**
|
|
2540
|
+
* 实例版本
|
|
2541
|
+
*/
|
|
2542
|
+
InstanceVersion: string;
|
|
2543
|
+
/**
|
|
2544
|
+
* 实例状态,0-创建中,1-正常,2-隔离中,3-已销毁,4 - 异常, 5 - 发货失败,6-变配中,7-变配失败
|
|
2545
|
+
*/
|
|
2546
|
+
Status: number;
|
|
2547
|
+
/**
|
|
2548
|
+
* 实例配置规格名称
|
|
2549
|
+
*/
|
|
2550
|
+
ConfigDisplay: string;
|
|
2551
|
+
/**
|
|
2552
|
+
* 峰值TPS
|
|
2553
|
+
*/
|
|
2554
|
+
MaxTps: number;
|
|
2555
|
+
/**
|
|
2556
|
+
* 存储容量,GB为单位
|
|
2557
|
+
*/
|
|
2558
|
+
MaxStorage: number;
|
|
2559
|
+
/**
|
|
2560
|
+
* 实例到期时间,毫秒为单位
|
|
2561
|
+
*/
|
|
2562
|
+
ExpireTime: number;
|
|
2563
|
+
/**
|
|
2564
|
+
* 自动续费标记,0表示默认状态(用户未设置,即初始状态即手动续费), 1表示自动续费,2表示明确不自动续费(用户设置)
|
|
2565
|
+
*/
|
|
2566
|
+
AutoRenewFlag: number;
|
|
2567
|
+
/**
|
|
2568
|
+
* 0-后付费,1-预付费
|
|
2569
|
+
*/
|
|
2570
|
+
PayMode: number;
|
|
2571
|
+
/**
|
|
2572
|
+
* 备注信息
|
|
2573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2574
|
+
*/
|
|
2575
|
+
Remark: string;
|
|
2576
|
+
/**
|
|
2577
|
+
* 实例配置ID
|
|
2578
|
+
*/
|
|
2579
|
+
SpecName: string;
|
|
2580
|
+
/**
|
|
2581
|
+
* 规格外弹性TPS
|
|
2582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2583
|
+
*/
|
|
2584
|
+
ScalableTps: number;
|
|
2585
|
+
/**
|
|
2586
|
+
* VPC的id
|
|
2587
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2588
|
+
*/
|
|
2589
|
+
VpcId: string;
|
|
2590
|
+
/**
|
|
2591
|
+
* 子网id
|
|
2592
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2593
|
+
*/
|
|
2594
|
+
SubnetId: string;
|
|
2595
|
+
/**
|
|
2596
|
+
* 峰值带宽。单位:mbps
|
|
2597
|
+
*/
|
|
2598
|
+
MaxBandWidth: number;
|
|
2599
|
+
}
|
|
2514
2600
|
/**
|
|
2515
2601
|
* vcp绑定记录
|
|
2516
2602
|
*/
|
|
@@ -4037,17 +4123,19 @@ export interface DescribeRocketMQClustersRequest {
|
|
|
4037
4123
|
Filters?: Array<Filter>;
|
|
4038
4124
|
}
|
|
4039
4125
|
/**
|
|
4040
|
-
*
|
|
4126
|
+
* 消费信息
|
|
4041
4127
|
*/
|
|
4042
|
-
export interface
|
|
4128
|
+
export interface ConsumerLogs {
|
|
4043
4129
|
/**
|
|
4044
|
-
*
|
|
4130
|
+
* 记录数。
|
|
4131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4045
4132
|
*/
|
|
4046
|
-
|
|
4133
|
+
TotalCount: number;
|
|
4047
4134
|
/**
|
|
4048
|
-
*
|
|
4135
|
+
* 消费日志。
|
|
4136
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4049
4137
|
*/
|
|
4050
|
-
|
|
4138
|
+
ConsumerLogSets: Array<ConsumerLog>;
|
|
4051
4139
|
}
|
|
4052
4140
|
/**
|
|
4053
4141
|
* DescribeBindVpcs请求参数结构体
|
|
@@ -4687,77 +4775,28 @@ export interface CreateCmqQueueResponse {
|
|
|
4687
4775
|
RequestId?: string;
|
|
4688
4776
|
}
|
|
4689
4777
|
/**
|
|
4690
|
-
*
|
|
4778
|
+
* DescribeMsgTrace返回参数结构体
|
|
4691
4779
|
*/
|
|
4692
|
-
export interface
|
|
4693
|
-
/**
|
|
4694
|
-
* 实例id
|
|
4695
|
-
*/
|
|
4696
|
-
InstanceId: string;
|
|
4697
|
-
/**
|
|
4698
|
-
* 实例名称
|
|
4699
|
-
*/
|
|
4700
|
-
InstanceName: string;
|
|
4701
|
-
/**
|
|
4702
|
-
* 实例版本
|
|
4703
|
-
*/
|
|
4704
|
-
InstanceVersion: string;
|
|
4705
|
-
/**
|
|
4706
|
-
* 实例状态,0-创建中,1-正常,2-隔离中,3-已销毁,4 - 异常, 5 - 发货失败,6-变配中,7-变配失败
|
|
4707
|
-
*/
|
|
4708
|
-
Status: number;
|
|
4709
|
-
/**
|
|
4710
|
-
* 实例配置规格名称
|
|
4711
|
-
*/
|
|
4712
|
-
ConfigDisplay: string;
|
|
4713
|
-
/**
|
|
4714
|
-
* 峰值TPS
|
|
4715
|
-
*/
|
|
4716
|
-
MaxTps: number;
|
|
4780
|
+
export interface DescribeMsgTraceResponse {
|
|
4717
4781
|
/**
|
|
4718
|
-
*
|
|
4719
|
-
*/
|
|
4720
|
-
MaxStorage: number;
|
|
4721
|
-
/**
|
|
4722
|
-
* 实例到期时间,毫秒为单位
|
|
4723
|
-
*/
|
|
4724
|
-
ExpireTime: number;
|
|
4725
|
-
/**
|
|
4726
|
-
* 自动续费标记,0表示默认状态(用户未设置,即初始状态即手动续费), 1表示自动续费,2表示明确不自动续费(用户设置)
|
|
4727
|
-
*/
|
|
4728
|
-
AutoRenewFlag: number;
|
|
4729
|
-
/**
|
|
4730
|
-
* 0-后付费,1-预付费
|
|
4731
|
-
*/
|
|
4732
|
-
PayMode: number;
|
|
4733
|
-
/**
|
|
4734
|
-
* 备注信息
|
|
4735
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4736
|
-
*/
|
|
4737
|
-
Remark: string;
|
|
4738
|
-
/**
|
|
4739
|
-
* 实例配置ID
|
|
4740
|
-
*/
|
|
4741
|
-
SpecName: string;
|
|
4742
|
-
/**
|
|
4743
|
-
* 规格外弹性TPS
|
|
4782
|
+
* 生产信息。
|
|
4744
4783
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4745
4784
|
*/
|
|
4746
|
-
|
|
4785
|
+
ProducerLog: ProducerLog;
|
|
4747
4786
|
/**
|
|
4748
|
-
*
|
|
4787
|
+
* 服务方信息。
|
|
4749
4788
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4750
4789
|
*/
|
|
4751
|
-
|
|
4790
|
+
ServerLog: ServerLog;
|
|
4752
4791
|
/**
|
|
4753
|
-
*
|
|
4792
|
+
* 消费信息。
|
|
4754
4793
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4755
4794
|
*/
|
|
4756
|
-
|
|
4795
|
+
ConsumerLogs: ConsumerLogs;
|
|
4757
4796
|
/**
|
|
4758
|
-
*
|
|
4797
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4759
4798
|
*/
|
|
4760
|
-
|
|
4799
|
+
RequestId?: string;
|
|
4761
4800
|
}
|
|
4762
4801
|
/**
|
|
4763
4802
|
* 分区topic
|
|
@@ -5663,17 +5702,37 @@ export interface DescribeRocketMQSubscriptionsRequest {
|
|
|
5663
5702
|
Limit: number;
|
|
5664
5703
|
}
|
|
5665
5704
|
/**
|
|
5666
|
-
*
|
|
5705
|
+
* 消费日志
|
|
5667
5706
|
*/
|
|
5668
|
-
export interface
|
|
5707
|
+
export interface ConsumerLog {
|
|
5669
5708
|
/**
|
|
5670
|
-
*
|
|
5709
|
+
* 消息ID。
|
|
5671
5710
|
*/
|
|
5672
|
-
|
|
5711
|
+
MsgId: string;
|
|
5673
5712
|
/**
|
|
5674
|
-
*
|
|
5713
|
+
* 消费组。
|
|
5675
5714
|
*/
|
|
5676
|
-
|
|
5715
|
+
ConsumerGroup: string;
|
|
5716
|
+
/**
|
|
5717
|
+
* 消费组名称。
|
|
5718
|
+
*/
|
|
5719
|
+
ConsumerName: string;
|
|
5720
|
+
/**
|
|
5721
|
+
* 消费时间。
|
|
5722
|
+
*/
|
|
5723
|
+
ConsumeTime: string;
|
|
5724
|
+
/**
|
|
5725
|
+
* 消费者客户端地址。
|
|
5726
|
+
*/
|
|
5727
|
+
ConsumerAddr: string;
|
|
5728
|
+
/**
|
|
5729
|
+
* 消费耗时(毫秒)。
|
|
5730
|
+
*/
|
|
5731
|
+
ConsumeUseTime: number;
|
|
5732
|
+
/**
|
|
5733
|
+
* 消费状态。
|
|
5734
|
+
*/
|
|
5735
|
+
Status: string;
|
|
5677
5736
|
}
|
|
5678
5737
|
/**
|
|
5679
5738
|
* DeleteTopics请求参数结构体
|
|
@@ -5884,6 +5943,19 @@ export interface DeleteCmqSubscribeRequest {
|
|
|
5884
5943
|
*/
|
|
5885
5944
|
SubscriptionName: string;
|
|
5886
5945
|
}
|
|
5946
|
+
/**
|
|
5947
|
+
* 服务方信息
|
|
5948
|
+
*/
|
|
5949
|
+
export interface ServerLog {
|
|
5950
|
+
/**
|
|
5951
|
+
* 存储时间。
|
|
5952
|
+
*/
|
|
5953
|
+
SaveTime: string;
|
|
5954
|
+
/**
|
|
5955
|
+
* 状态。
|
|
5956
|
+
*/
|
|
5957
|
+
Status: string;
|
|
5958
|
+
}
|
|
5887
5959
|
/**
|
|
5888
5960
|
* DescribeAMQPClusters返回参数结构体
|
|
5889
5961
|
*/
|
|
@@ -6518,6 +6590,19 @@ export interface QueueQuota {
|
|
|
6518
6590
|
*/
|
|
6519
6591
|
UsedQueue?: number;
|
|
6520
6592
|
}
|
|
6593
|
+
/**
|
|
6594
|
+
* 排序器
|
|
6595
|
+
*/
|
|
6596
|
+
export interface Sort {
|
|
6597
|
+
/**
|
|
6598
|
+
* 排序字段
|
|
6599
|
+
*/
|
|
6600
|
+
Name: string;
|
|
6601
|
+
/**
|
|
6602
|
+
* 升序ASC,降序DESC
|
|
6603
|
+
*/
|
|
6604
|
+
Order: string;
|
|
6605
|
+
}
|
|
6521
6606
|
/**
|
|
6522
6607
|
* CreateRole返回参数结构体
|
|
6523
6608
|
*/
|
|
@@ -7180,6 +7265,39 @@ export interface DescribeRocketMQTopicMsgsRequest {
|
|
|
7180
7265
|
*/
|
|
7181
7266
|
QueryDeadLetterMessage?: boolean;
|
|
7182
7267
|
}
|
|
7268
|
+
/**
|
|
7269
|
+
* DescribeMsgTrace请求参数结构体
|
|
7270
|
+
*/
|
|
7271
|
+
export interface DescribeMsgTraceRequest {
|
|
7272
|
+
/**
|
|
7273
|
+
* 环境(命名空间)。
|
|
7274
|
+
*/
|
|
7275
|
+
EnvironmentId: string;
|
|
7276
|
+
/**
|
|
7277
|
+
* 消息ID。
|
|
7278
|
+
*/
|
|
7279
|
+
MsgId: string;
|
|
7280
|
+
/**
|
|
7281
|
+
* 消息生产时间。
|
|
7282
|
+
*/
|
|
7283
|
+
ProduceTime: string;
|
|
7284
|
+
/**
|
|
7285
|
+
* 起始下标,不填默认为0。
|
|
7286
|
+
*/
|
|
7287
|
+
Offset?: number;
|
|
7288
|
+
/**
|
|
7289
|
+
* 返回数量,不填则默认为10,最大值为20。
|
|
7290
|
+
*/
|
|
7291
|
+
Limit?: number;
|
|
7292
|
+
/**
|
|
7293
|
+
* 消费组名称模糊匹配。
|
|
7294
|
+
*/
|
|
7295
|
+
SubscriptionName?: string;
|
|
7296
|
+
/**
|
|
7297
|
+
* Pulsar 集群的ID
|
|
7298
|
+
*/
|
|
7299
|
+
ClusterId?: string;
|
|
7300
|
+
}
|
|
7183
7301
|
/**
|
|
7184
7302
|
* ImportRocketMQConsumerGroups返回参数结构体
|
|
7185
7303
|
*/
|
|
@@ -7876,6 +7994,35 @@ export interface TraceResult {
|
|
|
7876
7994
|
*/
|
|
7877
7995
|
Data: string;
|
|
7878
7996
|
}
|
|
7997
|
+
/**
|
|
7998
|
+
* 消息生产信息
|
|
7999
|
+
*/
|
|
8000
|
+
export interface ProducerLog {
|
|
8001
|
+
/**
|
|
8002
|
+
* 消息ID。
|
|
8003
|
+
*/
|
|
8004
|
+
MsgId: string;
|
|
8005
|
+
/**
|
|
8006
|
+
* 生产者名称。
|
|
8007
|
+
*/
|
|
8008
|
+
ProducerName: string;
|
|
8009
|
+
/**
|
|
8010
|
+
* 消息生产时间。
|
|
8011
|
+
*/
|
|
8012
|
+
ProduceTime: string;
|
|
8013
|
+
/**
|
|
8014
|
+
* 生产者客户端。
|
|
8015
|
+
*/
|
|
8016
|
+
ProducerAddr: string;
|
|
8017
|
+
/**
|
|
8018
|
+
* 生产耗时(秒)。
|
|
8019
|
+
*/
|
|
8020
|
+
ProduceUseTime: number;
|
|
8021
|
+
/**
|
|
8022
|
+
* 状态。
|
|
8023
|
+
*/
|
|
8024
|
+
Status: string;
|
|
8025
|
+
}
|
|
7879
8026
|
/**
|
|
7880
8027
|
* DeleteRabbitMQVipInstance请求参数结构体
|
|
7881
8028
|
*/
|