tencentcloud-sdk-nodejs 4.1.314 → 4.1.316
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/es/common/sdk_version.js +1 -1
- package/es/services/adp/v20260520/adp_client.js +3 -0
- package/es/services/ags/v20250920/ags_client.js +106 -10
- package/es/services/aiart/v20221229/aiart_client.js +23 -38
- package/es/services/csip/v20221121/csip_client.js +9 -12
- package/es/services/databuddy/v20260715/databuddy_client.js +57 -27
- package/es/services/dbbrain/v20210527/dbbrain_client.js +3 -0
- package/es/services/hai/v20230812/hai_client.js +3 -0
- package/es/services/iotexplorer/v20190423/iotexplorer_client.js +19 -4
- package/es/services/live/v20180801/live_client.js +31 -10
- package/es/services/mongodb/v20190725/mongodb_client.js +3 -0
- package/es/services/teo/v20220901/teo_client.js +11 -2
- package/es/services/trocket/v20230308/trocket_client.js +25 -4
- package/es/services/wedata/v20210820/wedata_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/v20260520/adp_client.d.ts +5 -1
- package/tencentcloud/services/adp/v20260520/adp_client.js +6 -0
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +145 -70
- package/tencentcloud/services/ags/v20250920/ags_client.d.ts +151 -11
- package/tencentcloud/services/ags/v20250920/ags_client.js +219 -15
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +1633 -627
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +59 -84
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +73 -108
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +83 -376
- package/tencentcloud/services/apis/v20240801/apis_models.d.ts +15 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +11 -3
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +6 -6
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +167 -76
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +5 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +4 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +197 -143
- package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +1 -1
- package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +88 -11
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +12 -16
- package/tencentcloud/services/csip/v20221121/csip_client.js +16 -22
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +226 -145
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -58
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +11 -7
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +102 -62
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +138 -78
- package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +1274 -553
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +288 -18
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +53 -45
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +31 -45
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +3 -3
- package/tencentcloud/services/ga2/v20250115/ga2_models.d.ts +2 -2
- package/tencentcloud/services/hai/v20230812/hai_client.d.ts +5 -1
- package/tencentcloud/services/hai/v20230812/hai_client.js +6 -0
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +58 -45
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +25 -5
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +36 -6
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +389 -41
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +118 -79
- package/tencentcloud/services/live/v20180801/live_client.d.ts +40 -12
- package/tencentcloud/services/live/v20180801/live_client.js +58 -16
- package/tencentcloud/services/live/v20180801/live_models.d.ts +594 -250
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +67 -17
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +22 -17
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +20 -35
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +38 -6
- package/tencentcloud/services/teo/v20220901/teo_client.js +44 -6
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +191 -82
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +42 -39
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +40 -12
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +55 -13
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +633 -172
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +206 -143
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +13 -13
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +112 -36
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +7 -7
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +11 -15
|
@@ -194,6 +194,10 @@ export interface CreateModelServiceRequest {
|
|
|
194
194
|
* <p>推理模板 ID</p>
|
|
195
195
|
*/
|
|
196
196
|
InferTemplateId?: string;
|
|
197
|
+
/**
|
|
198
|
+
* <p>服务的优先级</p><p>取值范围:[0, 9]</p>
|
|
199
|
+
*/
|
|
200
|
+
Priority?: number;
|
|
197
201
|
}
|
|
198
202
|
/**
|
|
199
203
|
* DescribePresetImageList请求参数结构体
|
|
@@ -1290,17 +1294,17 @@ export interface UpdateDataSourceRequest {
|
|
|
1290
1294
|
*/
|
|
1291
1295
|
export interface DescribeBillingResourceGroupResponse {
|
|
1292
1296
|
/**
|
|
1293
|
-
*
|
|
1297
|
+
* <p>资源组节点总数; 注意接口是分页拉取的,total是指资源组节点总数,不是本次返回中InstanceSet数组的大小</p>
|
|
1294
1298
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1295
1299
|
*/
|
|
1296
1300
|
TotalCount?: number;
|
|
1297
1301
|
/**
|
|
1298
|
-
*
|
|
1302
|
+
* <p>资源组节点信息</p>
|
|
1299
1303
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1300
1304
|
*/
|
|
1301
1305
|
InstanceSet?: Array<Instance>;
|
|
1302
1306
|
/**
|
|
1303
|
-
*
|
|
1307
|
+
* <p>资源组纳管类型</p>
|
|
1304
1308
|
*/
|
|
1305
1309
|
ResourceGroupSWType?: string;
|
|
1306
1310
|
/**
|
|
@@ -1948,6 +1952,10 @@ export interface ModifyModelServiceRequest {
|
|
|
1948
1952
|
* <p>推理模板 ID,在内置大模型场景下使用</p>
|
|
1949
1953
|
*/
|
|
1950
1954
|
InferTemplateId?: string;
|
|
1955
|
+
/**
|
|
1956
|
+
* <p>服务的优先级</p><p>取值范围:[0, 9]</p>
|
|
1957
|
+
*/
|
|
1958
|
+
Priority?: number;
|
|
1951
1959
|
}
|
|
1952
1960
|
/**
|
|
1953
1961
|
* ChatCompletion请求参数结构体
|
|
@@ -5558,51 +5566,54 @@ export interface TCPSocketAction {
|
|
|
5558
5566
|
*/
|
|
5559
5567
|
export interface ResourceInfo {
|
|
5560
5568
|
/**
|
|
5561
|
-
*
|
|
5569
|
+
* <p>处理器资源, 单位为1/1000核</p>
|
|
5562
5570
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5563
5571
|
*/
|
|
5564
5572
|
Cpu: number;
|
|
5565
5573
|
/**
|
|
5566
|
-
*
|
|
5574
|
+
* <p>内存资源, 单位为1M</p>
|
|
5567
5575
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5568
5576
|
*/
|
|
5569
5577
|
Memory: number;
|
|
5570
5578
|
/**
|
|
5571
|
-
* Gpu卡个数资源, 单位为0.01单位的GpuType
|
|
5572
|
-
Gpu=100表示使用了“一张”gpu卡, 但此处的“一张”卡有可能是虚拟化后的1/4卡, 也有可能是整张卡. 取决于实例的机型
|
|
5573
|
-
例1 实例的机型带有1张虚拟gpu卡, 每张虚拟gpu卡对应1/4张实际T4卡, 则此时 GpuType=T4, Gpu=100, RealGpu=25.
|
|
5574
|
-
例2 实例的机型带有4张gpu整卡, 每张卡对应1张实际T4卡, 则 此时 GpuType=T4, Gpu=400, RealGpu=400.
|
|
5579
|
+
* <p>Gpu卡个数资源, 单位为0.01单位的GpuType.<br>Gpu=100表示使用了“一张”gpu卡, 但此处的“一张”卡有可能是虚拟化后的1/4卡, 也有可能是整张卡. 取决于实例的机型<br>例1 实例的机型带有1张虚拟gpu卡, 每张虚拟gpu卡对应1/4张实际T4卡, 则此时 GpuType=T4, Gpu=100, RealGpu=25.<br>例2 实例的机型带有4张gpu整卡, 每张卡对应1张实际T4卡, 则 此时 GpuType=T4, Gpu=400, RealGpu=400.</p>
|
|
5575
5580
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5576
5581
|
*/
|
|
5577
5582
|
Gpu?: number;
|
|
5578
5583
|
/**
|
|
5579
|
-
* Gpu卡型号 T4或者V100。仅展示当前 GPU 卡型号,若存在多类型同时使用,则参考 RealGpuDetailSet
|
|
5584
|
+
* <p>Gpu卡型号 T4或者V100。仅展示当前 GPU 卡型号,若存在多类型同时使用,则参考 RealGpuDetailSet 的值。</p>
|
|
5580
5585
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5581
5586
|
*/
|
|
5582
5587
|
GpuType?: string;
|
|
5583
5588
|
/**
|
|
5584
|
-
*
|
|
5585
|
-
后付费非整卡实例对应的实际的Gpu卡资源, 表示gpu资源对应实际的gpu卡个数.
|
|
5586
|
-
RealGpu=100表示实际使用了一张gpu卡, 对应实际的实例机型, 有可能代表带有1/4卡的实例4个, 或者带有1/2卡的实例2个, 或者带有1卡的实力1个.
|
|
5589
|
+
* <p>创建或更新时无需填写,仅展示需要关注<br>后付费非整卡实例对应的实际的Gpu卡资源, 表示gpu资源对应实际的gpu卡个数.<br>RealGpu=100表示实际使用了一张gpu卡, 对应实际的实例机型, 有可能代表带有1/4卡的实例4个, 或者带有1/2卡的实例2个, 或者带有1卡的实力1个.</p>
|
|
5587
5590
|
*/
|
|
5588
5591
|
RealGpu?: number;
|
|
5589
5592
|
/**
|
|
5590
|
-
*
|
|
5593
|
+
* <p>创建或更新时无需填写,仅展示需要关注。详细的GPU使用信息。</p>
|
|
5591
5594
|
*/
|
|
5592
5595
|
RealGpuDetailSet?: Array<GpuDetail>;
|
|
5593
5596
|
/**
|
|
5594
|
-
*
|
|
5597
|
+
* <p>是否开启rdma</p>
|
|
5595
5598
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5596
5599
|
*/
|
|
5597
5600
|
EnableRDMA?: boolean;
|
|
5598
5601
|
/**
|
|
5599
|
-
*
|
|
5602
|
+
* <p>rdma number</p>
|
|
5603
|
+
*/
|
|
5604
|
+
RdmaNumber?: number;
|
|
5605
|
+
/**
|
|
5606
|
+
* <p>root disk size(GB)</p>
|
|
5600
5607
|
*/
|
|
5601
5608
|
RootDisk?: number;
|
|
5602
5609
|
/**
|
|
5603
|
-
* data disk size(GB)
|
|
5610
|
+
* <p>data disk size(GB)</p>
|
|
5604
5611
|
*/
|
|
5605
5612
|
DataDisk?: number;
|
|
5613
|
+
/**
|
|
5614
|
+
* <p>rdma</p><p>取值范围:[0, 99]</p>
|
|
5615
|
+
*/
|
|
5616
|
+
Rdma?: number;
|
|
5606
5617
|
}
|
|
5607
5618
|
/**
|
|
5608
5619
|
* 资源信息
|
|
@@ -7618,7 +7629,7 @@ export interface DataSourceInfo {
|
|
|
7618
7629
|
*/
|
|
7619
7630
|
export interface DescribeBillingResourceGroupRequest {
|
|
7620
7631
|
/**
|
|
7621
|
-
*
|
|
7632
|
+
* <p>资源组id, 取值为创建资源组接口(CreateBillingResourceGroup)响应中的ResourceGroupId</p>
|
|
7622
7633
|
*/
|
|
7623
7634
|
ResourceGroupId: string;
|
|
7624
7635
|
/**
|
|
@@ -7626,31 +7637,23 @@ export interface DescribeBillingResourceGroupRequest {
|
|
|
7626
7637
|
*/
|
|
7627
7638
|
TiProjectId?: string;
|
|
7628
7639
|
/**
|
|
7629
|
-
*
|
|
7630
|
-
注意:
|
|
7631
|
-
1. Filter.Name 只支持以下枚举值:
|
|
7632
|
-
InstanceId (资源组节点id)
|
|
7633
|
-
InstanceStatus (资源组节点状态)
|
|
7634
|
-
2. Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询
|
|
7635
|
-
3. Filter.Negative: 是否取反,默认为false
|
|
7636
|
-
4. Filter.Fuzzy: 是否模糊查询,默认为false
|
|
7637
|
-
5. 每次请求的Filters的上限为10,Filter.Values的上限为100
|
|
7640
|
+
* <p>过滤条件<br>注意: </p><ol><li>Filter.Name 只支持以下枚举值:<br> InstanceId (资源组节点id)<br> InstanceStatus (资源组节点状态)</li><li>Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询</li><li>Filter.Negative: 是否取反,默认为false</li><li>Filter.Fuzzy: 是否模糊查询,默认为false</li><li>每次请求的Filters的上限为10,Filter.Values的上限为100</li></ol>
|
|
7638
7641
|
*/
|
|
7639
7642
|
Filters?: Array<Filter>;
|
|
7640
7643
|
/**
|
|
7641
|
-
*
|
|
7644
|
+
* <p>分页查询起始位置,如:Limit为10,第一页Offset为0,第二页Offset为10...即每页左边为闭区间; 默认0</p>
|
|
7642
7645
|
*/
|
|
7643
7646
|
Offset?: number;
|
|
7644
7647
|
/**
|
|
7645
|
-
*
|
|
7648
|
+
* <p>分页查询每页大小,默认20</p>
|
|
7646
7649
|
*/
|
|
7647
7650
|
Limit?: number;
|
|
7648
7651
|
/**
|
|
7649
|
-
*
|
|
7652
|
+
* <p>排序方向; 枚举值: ASC | DESC;默认DESC</p>
|
|
7650
7653
|
*/
|
|
7651
7654
|
Order?: string;
|
|
7652
7655
|
/**
|
|
7653
|
-
*
|
|
7656
|
+
* <p>排序字段; 枚举值: CreateTime (创建时间) | ExpireTime (到期时间);默认CreateTime</p>
|
|
7654
7657
|
*/
|
|
7655
7658
|
OrderField?: string;
|
|
7656
7659
|
}
|
|
@@ -7659,32 +7662,32 @@ export interface DescribeBillingResourceGroupRequest {
|
|
|
7659
7662
|
*/
|
|
7660
7663
|
export interface SSHConfig {
|
|
7661
7664
|
/**
|
|
7662
|
-
*
|
|
7665
|
+
* <p>是否开启ssh</p>
|
|
7663
7666
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7664
7667
|
*/
|
|
7665
7668
|
Enable?: boolean;
|
|
7666
7669
|
/**
|
|
7667
|
-
*
|
|
7670
|
+
* <p>公钥信息</p>
|
|
7668
7671
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7669
7672
|
*/
|
|
7670
7673
|
PublicKey?: string;
|
|
7671
7674
|
/**
|
|
7672
|
-
*
|
|
7675
|
+
* <p>端口号</p>
|
|
7673
7676
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7674
7677
|
*/
|
|
7675
7678
|
Port?: number;
|
|
7676
7679
|
/**
|
|
7677
|
-
*
|
|
7680
|
+
* <p>登录命令</p>
|
|
7678
7681
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7679
7682
|
*/
|
|
7680
7683
|
LoginCommand?: string;
|
|
7681
7684
|
/**
|
|
7682
|
-
*
|
|
7685
|
+
* <p>登录地址是否改变</p>
|
|
7683
7686
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7684
7687
|
*/
|
|
7685
7688
|
IsAddressChanged?: boolean;
|
|
7686
7689
|
/**
|
|
7687
|
-
* POD
|
|
7690
|
+
* <p>POD访问信息</p>
|
|
7688
7691
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7689
7692
|
*/
|
|
7690
7693
|
PodSSHInfo?: PodSSHInfo;
|
|
@@ -8246,12 +8249,12 @@ export interface ModelAccelerateTask {
|
|
|
8246
8249
|
*/
|
|
8247
8250
|
export interface EnvVar {
|
|
8248
8251
|
/**
|
|
8249
|
-
*
|
|
8252
|
+
* <p>环境变量key</p>
|
|
8250
8253
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8251
8254
|
*/
|
|
8252
8255
|
Name?: string;
|
|
8253
8256
|
/**
|
|
8254
|
-
*
|
|
8257
|
+
* <p>环境变量value</p>
|
|
8255
8258
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8256
8259
|
*/
|
|
8257
8260
|
Value?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeProductSKUsRequest, CreateMigrationTaskRequest, ResetConsumerGroupOffsetResponse, DescribeSmoothMigrationTaskListRequest, DescribeConsumerRouteVersionListResponse, DescribeRoleListResponse, CreateConsumerLabelResponse, DescribeConsumerRouteConfigRequest, CreateInstanceResponse, DescribeMessageListRequest, ModifyInstanceRequest, DescribeConsumerGroupResponse, ImportSourceClusterConsumerGroupsResponse, DeleteTopicRequest, DescribeTopicStatsRequest, DescribeSmoothMigrationTaskListResponse, DescribeMigrationTaskListResponse, DeleteConsumerRouteConfigResponse, DescribeRoleListRequest,
|
|
3
|
+
import { DescribeProductSKUsRequest, CreateMigrationTaskRequest, ResetConsumerGroupOffsetResponse, DescribeSmoothMigrationTaskListRequest, CreateConsumerLabelsRequest, DescribeConsumerRouteVersionListResponse, DescribeRoleListResponse, CreateConsumerLabelResponse, DescribeConsumerRouteConfigRequest, CreateInstanceResponse, DescribeMessageListRequest, ModifyInstanceRequest, DescribeConsumerLabelListsRequest, DescribeConsumerGroupResponse, ImportSourceClusterConsumerGroupsResponse, DeleteTopicRequest, DescribeTopicStatsRequest, PutConsumerRouteConfigsResponse, DescribeSmoothMigrationTaskListResponse, DescribeMigrationTaskListResponse, DeleteConsumerRouteConfigResponse, DescribeRoleListRequest, DescribeConsumerLabelResponse, ImportSourceClusterConsumerGroupsRequest, DescribeConsumerLagRequest, SendMessageRequest, DescribeMigratingTopicStatsResponse, DescribeMigratingGroupStatsRequest, DescribeSourceClusterGroupListResponse, DescribeMessageListResponse, DeleteSmoothMigrationTaskRequest, DescribeInstanceListResponse, DescribeConsumerClientListResponse, ModifyInstanceResponse, CreateConsumerGroupRequest, ChangeMigratingTopicToNextStageResponse, DescribeSourceClusterGroupListRequest, DescribeConsumerLabelRequest, DeleteConsumerLabelsResponse, DescribeConsumerRouteConfigResponse, DescribeMigrationTaskListRequest, VerifyMessageConsumptionResponse, ModifyRoleResponse, ImportSourceClusterTopicsRequest, DeleteInstanceResponse, DescribeTopicResponse, DeleteConsumerRouteConfigsResponse, ModifyRoleRequest, DescribeTopicStatsResponse, DescribeMessageRequest, CreateTopicRequest, DescribeFusionInstanceListResponse, DeleteRoleRequest, ResendDeadLetterMessageResponse, ModifyConsumerGroupResponse, DescribeConsumerLabelListRequest, DeleteConsumerGroupRequest, CreateConsumerGroupResponse, DescribeTopicListByGroupResponse, DescribeMessageTraceResponse, DoHealthCheckOnMigratingTopicRequest, DescribeProducerListRequest, DescribeMigratingTopicListResponse, VerifyMessageConsumptionRequest, DescribeTopicRequest, DescribeMessageTraceRequest, DeleteSmoothMigrationTaskResponse, CreateTopicResponse, DescribeMigratingGroupStatsResponse, RemoveMigratingTopicRequest, DescribeMessageResponse, ImportSourceClusterTopicsResponse, DescribeTopicListRequest, DescribeMigratingTopicStatsRequest, DescribeConsumerRouteConfigsRequest, PutConsumerRouteConfigsRequest, ModifyConsumerGroupRequest, DescribeConsumerGroupRequest, DescribeConsumerGroupListRequest, CreateInstanceRequest, DescribeConsumerClientRequest, ModifyTopicResponse, DeleteConsumerLabelsRequest, SendMessageResponse, CreateRoleResponse, ChangeMigratingTopicToNextStageRequest, DeleteRoleResponse, DescribeTopicListByGroupRequest, DescribeConsumerLabelListsResponse, DescribeMigratingTopicListRequest, ModifyTopicRequest, RollbackMigratingTopicStageRequest, DescribeInstanceResponse, DescribeConsumerClientResponse, DeleteInstanceRequest, DescribeProducerListResponse, ResendDeadLetterMessageRequest, DescribeConsumerLabelListResponse, RollbackMigratingTopicStageResponse, DescribeFusionInstanceListRequest, DescribeConsumerRouteConfigsResponse, DoHealthCheckOnMigratingTopicResponse, DeleteConsumerRouteConfigRequest, DeleteConsumerLabelResponse, DescribeConsumerLagResponse, ModifyInstanceEndpointRequest, CreateMigrationTaskResponse, CreateConsumerLabelRequest, DescribeTopicListResponse, PutConsumerRouteConfigResponse, DescribeConsumerClientListRequest, DescribeInstanceListRequest, CreateRoleRequest, DeleteConsumerGroupResponse, DescribeConsumerLabelRoutesRequest, DescribeConsumerRouteVersionListRequest, DescribeConsumerGroupListResponse, DescribeProductSKUsResponse, PutConsumerRouteConfigRequest, DescribeConsumerLabelRoutesResponse, DeleteTopicResponse, DeleteConsumerRouteConfigsRequest, ModifyInstanceEndpointResponse, DescribeInstanceRequest, CreateConsumerLabelsResponse, RemoveMigratingTopicResponse, DeleteConsumerLabelRequest, ResetConsumerGroupOffsetRequest } from "./trocket_models";
|
|
4
4
|
/**
|
|
5
5
|
* trocket client
|
|
6
6
|
* @class
|
|
@@ -28,6 +28,10 @@ Filters示例:
|
|
|
28
28
|
}]
|
|
29
29
|
*/
|
|
30
30
|
DescribeSourceClusterGroupList(req: DescribeSourceClusterGroupListRequest, cb?: (error: string, rep: DescribeSourceClusterGroupListResponse) => void): Promise<DescribeSourceClusterGroupListResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* 批量删除消费组灰度标签
|
|
33
|
+
*/
|
|
34
|
+
DeleteConsumerLabels(req: DeleteConsumerLabelsRequest, cb?: (error: string, rep: DeleteConsumerLabelsResponse) => void): Promise<DeleteConsumerLabelsResponse>;
|
|
31
35
|
/**
|
|
32
36
|
* 写入消费组灰度路由配置
|
|
33
37
|
*/
|
|
@@ -131,9 +135,9 @@ Filters示例:
|
|
|
131
135
|
*/
|
|
132
136
|
DescribeConsumerLabel(req: DescribeConsumerLabelRequest, cb?: (error: string, rep: DescribeConsumerLabelResponse) => void): Promise<DescribeConsumerLabelResponse>;
|
|
133
137
|
/**
|
|
134
|
-
*
|
|
138
|
+
* 批量查询消费组灰度标签命中的 Topic 路由
|
|
135
139
|
*/
|
|
136
|
-
|
|
140
|
+
DescribeConsumerLabelRoutes(req: DescribeConsumerLabelRoutesRequest, cb?: (error: string, rep: DescribeConsumerLabelRoutesResponse) => void): Promise<DescribeConsumerLabelRoutesResponse>;
|
|
137
141
|
/**
|
|
138
142
|
* 查询消息详情。
|
|
139
143
|
当前 API 适用集群:5.x 集群。4.x 集群的查询消息详情接口文档见 [DescribeRocketMQMsg](https://cloud.tencent.com/document/product/1179/91055)。
|
|
@@ -172,6 +176,10 @@ Filters示例:
|
|
|
172
176
|
当前 API 适用集群:5.x 集群。4.x 集群的删除角色接口文档见 [DeleteRocketMQRoles](https://cloud.tencent.com/document/product/1179/107536),删除角色授权接口文档见 [DeleteRocketMQEnvironmentRoles](https://cloud.tencent.com/document/product/1179/107537)。
|
|
173
177
|
*/
|
|
174
178
|
DeleteRole(req: DeleteRoleRequest, cb?: (error: string, rep: DeleteRoleResponse) => void): Promise<DeleteRoleResponse>;
|
|
179
|
+
/**
|
|
180
|
+
* 批量查询多个消费组的灰度标签列表
|
|
181
|
+
*/
|
|
182
|
+
DescribeConsumerLabelLists(req: DescribeConsumerLabelListsRequest, cb?: (error: string, rep: DescribeConsumerLabelListsResponse) => void): Promise<DescribeConsumerLabelListsResponse>;
|
|
175
183
|
/**
|
|
176
184
|
* 查询产品售卖规格,针对 RocketMQ 5.x 集群。
|
|
177
185
|
*/
|
|
@@ -181,6 +189,10 @@ Filters示例:
|
|
|
181
189
|
当前 API 适用集群:5.x 铂金版集群
|
|
182
190
|
*/
|
|
183
191
|
DescribeTopicStats(req: DescribeTopicStatsRequest, cb?: (error: string, rep: DescribeTopicStatsResponse) => void): Promise<DescribeTopicStatsResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* 检查迁移中的主题是否处于正常状态,只有处于正常状态的主题,才可以进入下一个迁移阶段
|
|
194
|
+
*/
|
|
195
|
+
DoHealthCheckOnMigratingTopic(req: DoHealthCheckOnMigratingTopicRequest, cb?: (error: string, rep: DoHealthCheckOnMigratingTopicResponse) => void): Promise<DoHealthCheckOnMigratingTopicResponse>;
|
|
184
196
|
/**
|
|
185
197
|
* 修改迁移中的Topic状态进入下一步
|
|
186
198
|
*/
|
|
@@ -194,6 +206,10 @@ Filters示例:
|
|
|
194
206
|
* 导入topic列表
|
|
195
207
|
*/
|
|
196
208
|
ImportSourceClusterTopics(req: ImportSourceClusterTopicsRequest, cb?: (error: string, rep: ImportSourceClusterTopicsResponse) => void): Promise<ImportSourceClusterTopicsResponse>;
|
|
209
|
+
/**
|
|
210
|
+
* 批量删除消费组灰度路由配置
|
|
211
|
+
*/
|
|
212
|
+
DeleteConsumerRouteConfigs(req: DeleteConsumerRouteConfigsRequest, cb?: (error: string, rep: DeleteConsumerRouteConfigsResponse) => void): Promise<DeleteConsumerRouteConfigsResponse>;
|
|
197
213
|
/**
|
|
198
214
|
* 查询消费组详情。
|
|
199
215
|
当前 API 适用集群:5.x 集群。4.x 集群的查询消费组详情接口文档见 [DescribeRocketMQConsumerConnections](https://cloud.tencent.com/document/product/1179/100460)。
|
|
@@ -209,6 +225,17 @@ Filters示例:
|
|
|
209
225
|
当前 API 适用集群:5.x 集群。4.x 集群的查询消息列表接口文档见 [DescribeRocketMQTopicMsgs](https://cloud.tencent.com/document/product/1179/97761)。
|
|
210
226
|
*/
|
|
211
227
|
DescribeMessageList(req: DescribeMessageListRequest, cb?: (error: string, rep: DescribeMessageListResponse) => void): Promise<DescribeMessageListResponse>;
|
|
228
|
+
/**
|
|
229
|
+
* 获取主题列表,Filter参数使用说明如下:
|
|
230
|
+
|
|
231
|
+
- TopicName 主题名称,支持模糊搜索,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得
|
|
232
|
+
- TopicType 主题类型查询,支持多选,参考 [DescribeTopic](https://cloud.tencent.com/document/api/1493/97945) 接口 TopicType 字段
|
|
233
|
+
|
|
234
|
+
Filters示例:
|
|
235
|
+
[{ "Name": "TopicName", "Values": ["test_topic"] }]
|
|
236
|
+
当前 API 适用集群:5.x 集群。4.x 集群的获取主题列表接口文档见 [DescribeRocketMQTopics](https://cloud.tencent.com/document/api/1179/63418)。
|
|
237
|
+
*/
|
|
238
|
+
DescribeTopicList(req: DescribeTopicListRequest, cb?: (error: string, rep: DescribeTopicListResponse) => void): Promise<DescribeTopicListResponse>;
|
|
212
239
|
/**
|
|
213
240
|
* 创建 RocketMQ 5.x 集群。
|
|
214
241
|
当前 API 适用集群:5.x 集群。创建 4.x 专享/通用集群的接口文档见 [CreateRocketMQVipInstance](https://cloud.tencent.com/document/product/1179/95721)。
|
|
@@ -224,21 +251,18 @@ Filters示例:
|
|
|
224
251
|
*/
|
|
225
252
|
ModifyInstanceEndpoint(req: ModifyInstanceEndpointRequest, cb?: (error: string, rep: ModifyInstanceEndpointResponse) => void): Promise<ModifyInstanceEndpointResponse>;
|
|
226
253
|
/**
|
|
227
|
-
*
|
|
228
|
-
|
|
229
|
-
- TopicName 主题名称,支持模糊搜索,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得
|
|
230
|
-
- TopicType 主题类型查询,支持多选,参考 [DescribeTopic](https://cloud.tencent.com/document/api/1493/97945) 接口 TopicType 字段
|
|
231
|
-
|
|
232
|
-
Filters示例:
|
|
233
|
-
[{ "Name": "TopicName", "Values": ["test_topic"] }]
|
|
234
|
-
当前 API 适用集群:5.x 集群。4.x 集群的获取主题列表接口文档见 [DescribeRocketMQTopics](https://cloud.tencent.com/document/api/1179/63418)。
|
|
254
|
+
* 批量查询消费组灰度路由配置
|
|
235
255
|
*/
|
|
236
|
-
|
|
256
|
+
DescribeConsumerRouteConfigs(req: DescribeConsumerRouteConfigsRequest, cb?: (error: string, rep: DescribeConsumerRouteConfigsResponse) => void): Promise<DescribeConsumerRouteConfigsResponse>;
|
|
237
257
|
/**
|
|
238
258
|
* 重新发送死信消息。
|
|
239
259
|
当前 API 适用集群:5.x集群。4.x 集群的重发死信消息接口文档见 [RetryRocketMQDlqMessage](https://cloud.tencent.com/document/api/1179/114595)。
|
|
240
260
|
*/
|
|
241
261
|
ResendDeadLetterMessage(req: ResendDeadLetterMessageRequest, cb?: (error: string, rep: ResendDeadLetterMessageResponse) => void): Promise<ResendDeadLetterMessageResponse>;
|
|
262
|
+
/**
|
|
263
|
+
* 批量写入消费组灰度路由配置
|
|
264
|
+
*/
|
|
265
|
+
PutConsumerRouteConfigs(req: PutConsumerRouteConfigsRequest, cb?: (error: string, rep: PutConsumerRouteConfigsResponse) => void): Promise<PutConsumerRouteConfigsResponse>;
|
|
242
266
|
/**
|
|
243
267
|
* 查询消费组灰度路由配置版本列表
|
|
244
268
|
*/
|
|
@@ -254,6 +278,10 @@ Filters示例:
|
|
|
254
278
|
当前 API 适用集群:5.x 集群。4.x 集群的查询生产者客户端列表接口文档见 [DescribeRocketMQProducers](https://cloud.tencent.com/document/api/1179/122749)。
|
|
255
279
|
*/
|
|
256
280
|
DescribeProducerList(req: DescribeProducerListRequest, cb?: (error: string, rep: DescribeProducerListResponse) => void): Promise<DescribeProducerListResponse>;
|
|
281
|
+
/**
|
|
282
|
+
* 批量创建消费组灰度标签
|
|
283
|
+
*/
|
|
284
|
+
CreateConsumerLabels(req: CreateConsumerLabelsRequest, cb?: (error: string, rep: CreateConsumerLabelsResponse) => void): Promise<CreateConsumerLabelsResponse>;
|
|
257
285
|
/**
|
|
258
286
|
* 查询集群列表,仅支持 5.x 集群。Filters参数使用说明如下:
|
|
259
287
|
|
|
@@ -52,6 +52,12 @@ Filters示例:
|
|
|
52
52
|
async DescribeSourceClusterGroupList(req, cb) {
|
|
53
53
|
return this.request("DescribeSourceClusterGroupList", req, cb);
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* 批量删除消费组灰度标签
|
|
57
|
+
*/
|
|
58
|
+
async DeleteConsumerLabels(req, cb) {
|
|
59
|
+
return this.request("DeleteConsumerLabels", req, cb);
|
|
60
|
+
}
|
|
55
61
|
/**
|
|
56
62
|
* 写入消费组灰度路由配置
|
|
57
63
|
*/
|
|
@@ -185,10 +191,10 @@ Filters示例:
|
|
|
185
191
|
return this.request("DescribeConsumerLabel", req, cb);
|
|
186
192
|
}
|
|
187
193
|
/**
|
|
188
|
-
*
|
|
194
|
+
* 批量查询消费组灰度标签命中的 Topic 路由
|
|
189
195
|
*/
|
|
190
|
-
async
|
|
191
|
-
return this.request("
|
|
196
|
+
async DescribeConsumerLabelRoutes(req, cb) {
|
|
197
|
+
return this.request("DescribeConsumerLabelRoutes", req, cb);
|
|
192
198
|
}
|
|
193
199
|
/**
|
|
194
200
|
* 查询消息详情。
|
|
@@ -244,6 +250,12 @@ Filters示例:
|
|
|
244
250
|
async DeleteRole(req, cb) {
|
|
245
251
|
return this.request("DeleteRole", req, cb);
|
|
246
252
|
}
|
|
253
|
+
/**
|
|
254
|
+
* 批量查询多个消费组的灰度标签列表
|
|
255
|
+
*/
|
|
256
|
+
async DescribeConsumerLabelLists(req, cb) {
|
|
257
|
+
return this.request("DescribeConsumerLabelLists", req, cb);
|
|
258
|
+
}
|
|
247
259
|
/**
|
|
248
260
|
* 查询产品售卖规格,针对 RocketMQ 5.x 集群。
|
|
249
261
|
*/
|
|
@@ -257,6 +269,12 @@ Filters示例:
|
|
|
257
269
|
async DescribeTopicStats(req, cb) {
|
|
258
270
|
return this.request("DescribeTopicStats", req, cb);
|
|
259
271
|
}
|
|
272
|
+
/**
|
|
273
|
+
* 检查迁移中的主题是否处于正常状态,只有处于正常状态的主题,才可以进入下一个迁移阶段
|
|
274
|
+
*/
|
|
275
|
+
async DoHealthCheckOnMigratingTopic(req, cb) {
|
|
276
|
+
return this.request("DoHealthCheckOnMigratingTopic", req, cb);
|
|
277
|
+
}
|
|
260
278
|
/**
|
|
261
279
|
* 修改迁移中的Topic状态进入下一步
|
|
262
280
|
*/
|
|
@@ -276,6 +294,12 @@ Filters示例:
|
|
|
276
294
|
async ImportSourceClusterTopics(req, cb) {
|
|
277
295
|
return this.request("ImportSourceClusterTopics", req, cb);
|
|
278
296
|
}
|
|
297
|
+
/**
|
|
298
|
+
* 批量删除消费组灰度路由配置
|
|
299
|
+
*/
|
|
300
|
+
async DeleteConsumerRouteConfigs(req, cb) {
|
|
301
|
+
return this.request("DeleteConsumerRouteConfigs", req, cb);
|
|
302
|
+
}
|
|
279
303
|
/**
|
|
280
304
|
* 查询消费组详情。
|
|
281
305
|
当前 API 适用集群:5.x 集群。4.x 集群的查询消费组详情接口文档见 [DescribeRocketMQConsumerConnections](https://cloud.tencent.com/document/product/1179/100460)。
|
|
@@ -297,6 +321,19 @@ Filters示例:
|
|
|
297
321
|
async DescribeMessageList(req, cb) {
|
|
298
322
|
return this.request("DescribeMessageList", req, cb);
|
|
299
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* 获取主题列表,Filter参数使用说明如下:
|
|
326
|
+
|
|
327
|
+
- TopicName 主题名称,支持模糊搜索,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得
|
|
328
|
+
- TopicType 主题类型查询,支持多选,参考 [DescribeTopic](https://cloud.tencent.com/document/api/1493/97945) 接口 TopicType 字段
|
|
329
|
+
|
|
330
|
+
Filters示例:
|
|
331
|
+
[{ "Name": "TopicName", "Values": ["test_topic"] }]
|
|
332
|
+
当前 API 适用集群:5.x 集群。4.x 集群的获取主题列表接口文档见 [DescribeRocketMQTopics](https://cloud.tencent.com/document/api/1179/63418)。
|
|
333
|
+
*/
|
|
334
|
+
async DescribeTopicList(req, cb) {
|
|
335
|
+
return this.request("DescribeTopicList", req, cb);
|
|
336
|
+
}
|
|
300
337
|
/**
|
|
301
338
|
* 创建 RocketMQ 5.x 集群。
|
|
302
339
|
当前 API 适用集群:5.x 集群。创建 4.x 专享/通用集群的接口文档见 [CreateRocketMQVipInstance](https://cloud.tencent.com/document/product/1179/95721)。
|
|
@@ -318,17 +355,10 @@ Filters示例:
|
|
|
318
355
|
return this.request("ModifyInstanceEndpoint", req, cb);
|
|
319
356
|
}
|
|
320
357
|
/**
|
|
321
|
-
*
|
|
322
|
-
|
|
323
|
-
- TopicName 主题名称,支持模糊搜索,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得
|
|
324
|
-
- TopicType 主题类型查询,支持多选,参考 [DescribeTopic](https://cloud.tencent.com/document/api/1493/97945) 接口 TopicType 字段
|
|
325
|
-
|
|
326
|
-
Filters示例:
|
|
327
|
-
[{ "Name": "TopicName", "Values": ["test_topic"] }]
|
|
328
|
-
当前 API 适用集群:5.x 集群。4.x 集群的获取主题列表接口文档见 [DescribeRocketMQTopics](https://cloud.tencent.com/document/api/1179/63418)。
|
|
358
|
+
* 批量查询消费组灰度路由配置
|
|
329
359
|
*/
|
|
330
|
-
async
|
|
331
|
-
return this.request("
|
|
360
|
+
async DescribeConsumerRouteConfigs(req, cb) {
|
|
361
|
+
return this.request("DescribeConsumerRouteConfigs", req, cb);
|
|
332
362
|
}
|
|
333
363
|
/**
|
|
334
364
|
* 重新发送死信消息。
|
|
@@ -337,6 +367,12 @@ Filters示例:
|
|
|
337
367
|
async ResendDeadLetterMessage(req, cb) {
|
|
338
368
|
return this.request("ResendDeadLetterMessage", req, cb);
|
|
339
369
|
}
|
|
370
|
+
/**
|
|
371
|
+
* 批量写入消费组灰度路由配置
|
|
372
|
+
*/
|
|
373
|
+
async PutConsumerRouteConfigs(req, cb) {
|
|
374
|
+
return this.request("PutConsumerRouteConfigs", req, cb);
|
|
375
|
+
}
|
|
340
376
|
/**
|
|
341
377
|
* 查询消费组灰度路由配置版本列表
|
|
342
378
|
*/
|
|
@@ -358,6 +394,12 @@ Filters示例:
|
|
|
358
394
|
async DescribeProducerList(req, cb) {
|
|
359
395
|
return this.request("DescribeProducerList", req, cb);
|
|
360
396
|
}
|
|
397
|
+
/**
|
|
398
|
+
* 批量创建消费组灰度标签
|
|
399
|
+
*/
|
|
400
|
+
async CreateConsumerLabels(req, cb) {
|
|
401
|
+
return this.request("CreateConsumerLabels", req, cb);
|
|
402
|
+
}
|
|
361
403
|
/**
|
|
362
404
|
* 查询集群列表,仅支持 5.x 集群。Filters参数使用说明如下:
|
|
363
405
|
|