tencentcloud-sdk-nodejs 4.1.266 → 4.1.267
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/ckafka/v20190819/ckafka_client.js +3 -0
- package/es/services/tokenhub/v20260322/tokenhub_client.js +15 -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/ags/v20250920/ags_models.d.ts +5 -5
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +55 -43
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +60 -42
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +22 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +3 -29
- package/tencentcloud/services/fwm/v20250611/fwm_models.d.ts +82 -142
- package/tencentcloud/services/ga2/v20250115/ga2_models.d.ts +6 -6
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +9 -5
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +1 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +1 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +35 -3
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +50 -50
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +33 -51
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +58 -65
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.d.ts +36 -1
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.js +45 -0
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +264 -0
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +5 -5
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +455 -120
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +9 -5
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +87 -70
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +11 -7
|
@@ -181,74 +181,69 @@ export interface ModifyInstanceAvailabilityZonesRequest {
|
|
|
181
181
|
*/
|
|
182
182
|
export interface RedisBackupSet {
|
|
183
183
|
/**
|
|
184
|
-
*
|
|
184
|
+
* <p>备份开始时间。</p>
|
|
185
185
|
*/
|
|
186
186
|
StartTime?: string;
|
|
187
187
|
/**
|
|
188
|
-
*
|
|
188
|
+
* <p>备份任务ID。</p>
|
|
189
189
|
*/
|
|
190
190
|
BackupId?: string;
|
|
191
191
|
/**
|
|
192
|
-
*
|
|
193
|
-
- 1:凌晨系统发起的自动备份。
|
|
194
|
-
- 0:用户发起的手动备份。
|
|
192
|
+
* <p>备份类型。</p><ul><li>1:凌晨系统发起的自动备份。</li><li>0:用户发起的手动备份。</li></ul>
|
|
195
193
|
*/
|
|
196
194
|
BackupType?: string;
|
|
197
195
|
/**
|
|
198
|
-
*
|
|
199
|
-
- 1:备份被其它流程锁定。
|
|
200
|
-
- 2:备份正常,没有被任何流程锁定。
|
|
201
|
-
- -1:备份已过期。
|
|
202
|
-
- 3:备份正在被导出。
|
|
203
|
-
- 4:备份导出成功。
|
|
196
|
+
* <p>备份状态。 </p><ul><li>1:备份被其它流程锁定。</li><li>2:备份正常,没有被任何流程锁定。</li><li>-1:备份已过期。</li><li>3:备份正在被导出。</li><li>4:备份导出成功。</li></ul>
|
|
204
197
|
*/
|
|
205
198
|
Status?: number;
|
|
206
199
|
/**
|
|
207
|
-
*
|
|
200
|
+
* <p>备份的备注信息。</p>
|
|
208
201
|
*/
|
|
209
202
|
Remark?: string;
|
|
210
203
|
/**
|
|
211
|
-
*
|
|
212
|
-
- 0:未被锁定。
|
|
213
|
-
- 1:已被锁定。
|
|
204
|
+
* <p>备份是否被锁定。</p><ul><li>0:未被锁定。</li><li>1:已被锁定。</li></ul>
|
|
214
205
|
*/
|
|
215
206
|
Locked?: number;
|
|
216
207
|
/**
|
|
217
|
-
*
|
|
208
|
+
* <p>内部字段,用户可忽略。</p>
|
|
218
209
|
*/
|
|
219
210
|
BackupSize?: number;
|
|
220
211
|
/**
|
|
221
|
-
*
|
|
212
|
+
* <p>内部字段,用户可忽略。</p>
|
|
222
213
|
*/
|
|
223
214
|
FullBackup?: number;
|
|
224
215
|
/**
|
|
225
|
-
*
|
|
216
|
+
* <p>内部字段,用户可忽略。</p>
|
|
226
217
|
*/
|
|
227
218
|
InstanceType?: number;
|
|
228
219
|
/**
|
|
229
|
-
*
|
|
220
|
+
* <p>实例 ID。</p>
|
|
230
221
|
*/
|
|
231
222
|
InstanceId?: string;
|
|
232
223
|
/**
|
|
233
|
-
*
|
|
224
|
+
* <p>实例名称。</p>
|
|
234
225
|
*/
|
|
235
226
|
InstanceName?: string;
|
|
236
227
|
/**
|
|
237
|
-
*
|
|
228
|
+
* <p>本地备份所在地域。</p>
|
|
238
229
|
*/
|
|
239
230
|
Region?: string;
|
|
240
231
|
/**
|
|
241
|
-
*
|
|
232
|
+
* <p>备份结束时间。</p>
|
|
242
233
|
*/
|
|
243
234
|
EndTime?: string;
|
|
244
235
|
/**
|
|
245
|
-
*
|
|
236
|
+
* <p>备份文件类型。</p>
|
|
246
237
|
*/
|
|
247
238
|
FileType?: string;
|
|
248
239
|
/**
|
|
249
|
-
*
|
|
240
|
+
* <p>备份文件过期时间。</p>
|
|
250
241
|
*/
|
|
251
242
|
ExpireTime?: string;
|
|
243
|
+
/**
|
|
244
|
+
* <p>备份文件是否加密</p>
|
|
245
|
+
*/
|
|
246
|
+
Encrypted?: boolean;
|
|
252
247
|
}
|
|
253
248
|
/**
|
|
254
249
|
* DescribeInstanceMonitorTopNCmd返回参数结构体
|
|
@@ -2688,11 +2683,11 @@ export interface ModifyInstanceReadOnlyResponse {
|
|
|
2688
2683
|
*/
|
|
2689
2684
|
export interface DescribeBackupDetailRequest {
|
|
2690
2685
|
/**
|
|
2691
|
-
*
|
|
2686
|
+
* <p>实例 ID,请登录<a href="https://console.cloud.tencent.com/redis/instance/list">Redis控制台</a>在实例列表复制实例 ID。</p>
|
|
2692
2687
|
*/
|
|
2693
2688
|
InstanceId: string;
|
|
2694
2689
|
/**
|
|
2695
|
-
*
|
|
2690
|
+
* <p>备份 ID,可通过接口 <a href="https://cloud.tencent.com/document/product/239/20011">DescribeInstanceBackups</a> 返回的参数 <strong>RedisBackupSet</strong> 获取。</p>
|
|
2696
2691
|
*/
|
|
2697
2692
|
BackupId: string;
|
|
2698
2693
|
}
|
|
@@ -2714,11 +2709,11 @@ export interface DescribeInstanceMonitorTookDistResponse {
|
|
|
2714
2709
|
*/
|
|
2715
2710
|
export interface DescribeInstanceBackupsResponse {
|
|
2716
2711
|
/**
|
|
2717
|
-
*
|
|
2712
|
+
* <p>备份总数。</p>
|
|
2718
2713
|
*/
|
|
2719
2714
|
TotalCount?: number;
|
|
2720
2715
|
/**
|
|
2721
|
-
*
|
|
2716
|
+
* <p>实例的备份数组。</p>
|
|
2722
2717
|
*/
|
|
2723
2718
|
BackupSet?: Array<RedisBackupSet>;
|
|
2724
2719
|
/**
|
|
@@ -3309,65 +3304,69 @@ export interface SecondLevelBackupMissingTimestamps {
|
|
|
3309
3304
|
*/
|
|
3310
3305
|
export interface DescribeBackupDetailResponse {
|
|
3311
3306
|
/**
|
|
3312
|
-
*
|
|
3307
|
+
* <p>备份 ID。</p>
|
|
3313
3308
|
*/
|
|
3314
3309
|
BackupId?: string;
|
|
3315
3310
|
/**
|
|
3316
|
-
*
|
|
3311
|
+
* <p>备份开始时间。</p>
|
|
3317
3312
|
*/
|
|
3318
3313
|
StartTime?: string;
|
|
3319
3314
|
/**
|
|
3320
|
-
*
|
|
3315
|
+
* <p>备份结束时间。</p>
|
|
3321
3316
|
*/
|
|
3322
3317
|
EndTime?: string;
|
|
3323
3318
|
/**
|
|
3324
|
-
*
|
|
3325
|
-
|
|
3326
|
-
- 1:手动备份。
|
|
3327
|
-
- 0:自动备份。
|
|
3319
|
+
* <p>备份方式。 </p><ul><li>1:手动备份。</li><li>0:自动备份。</li></ul>
|
|
3328
3320
|
*/
|
|
3329
3321
|
BackupType?: string;
|
|
3330
3322
|
/**
|
|
3331
|
-
*
|
|
3332
|
-
|
|
3333
|
-
- 1:备份被其它流程锁定。
|
|
3334
|
-
- 2:备份正常,没有被任何流程锁定。
|
|
3335
|
-
- -1:备份已过期。
|
|
3336
|
-
- 3:备份正在被导出。
|
|
3337
|
-
- 4:备份导出成功。
|
|
3323
|
+
* <p>备份状态。 </p><ul><li>1:备份被其它流程锁定。</li><li>2:备份正常,没有被任何流程锁定。</li><li>-1:备份已过期。</li><li>3:备份正在被导出。</li><li>4:备份导出成功。</li></ul>
|
|
3338
3324
|
*/
|
|
3339
3325
|
Status?: number;
|
|
3340
3326
|
/**
|
|
3341
|
-
*
|
|
3327
|
+
* <p>备份的备注信息。</p>
|
|
3342
3328
|
*/
|
|
3343
3329
|
Remark?: string;
|
|
3344
3330
|
/**
|
|
3345
|
-
*
|
|
3346
|
-
|
|
3347
|
-
- 0:未被锁定。
|
|
3348
|
-
- 1:已被锁定。
|
|
3331
|
+
* <p>备份是否被锁定。</p><ul><li>0:未被锁定。</li><li>1:已被锁定。</li></ul>
|
|
3349
3332
|
*/
|
|
3350
3333
|
Locked?: number;
|
|
3351
3334
|
/**
|
|
3352
|
-
*
|
|
3335
|
+
* <p>备份文件大小。单位:Byte。</p>
|
|
3353
3336
|
*/
|
|
3354
3337
|
BackupSize?: number;
|
|
3355
3338
|
/**
|
|
3356
|
-
*
|
|
3339
|
+
* <p>实例类型。</p>
|
|
3357
3340
|
*/
|
|
3358
3341
|
InstanceType?: number;
|
|
3359
3342
|
/**
|
|
3360
|
-
*
|
|
3343
|
+
* <p>单分片内存规格大小,单位:MB。</p>
|
|
3361
3344
|
*/
|
|
3362
3345
|
MemSize?: number;
|
|
3363
3346
|
/**
|
|
3364
|
-
*
|
|
3347
|
+
* <p>分片数量。</p>
|
|
3365
3348
|
*/
|
|
3366
3349
|
ShardNum?: number;
|
|
3367
3350
|
/**
|
|
3368
|
-
*
|
|
3351
|
+
* <p>副本数量。</p>
|
|
3369
3352
|
*/
|
|
3370
3353
|
ReplicasNum?: number;
|
|
3354
|
+
/**
|
|
3355
|
+
* <p>是否已加密。</p><p>枚举值:</p><ul><li>true: 已加密</li><li>false: 未加密</li></ul>
|
|
3356
|
+
*/
|
|
3357
|
+
Encrypted?: boolean;
|
|
3358
|
+
/**
|
|
3359
|
+
* <p>解密密钥。</p>
|
|
3360
|
+
*/
|
|
3361
|
+
DecryptKey?: string;
|
|
3362
|
+
/**
|
|
3363
|
+
* <p>KMS的密钥ID。</p>
|
|
3364
|
+
*/
|
|
3365
|
+
KmsKeyId?: string;
|
|
3366
|
+
/**
|
|
3367
|
+
* <p>加密该备份文件的加密算法。</p><p>枚举值:</p><ul><li>AES-256-CBC: 当前仅支持AES-256-CBC</li></ul>
|
|
3368
|
+
*/
|
|
3369
|
+
KeyAlgorithm?: string;
|
|
3371
3370
|
/**
|
|
3372
3371
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3373
3372
|
*/
|
|
@@ -6594,37 +6593,31 @@ export interface DescribeMaintenanceWindowRequest {
|
|
|
6594
6593
|
*/
|
|
6595
6594
|
export interface DescribeInstanceBackupsRequest {
|
|
6596
6595
|
/**
|
|
6597
|
-
*
|
|
6596
|
+
* <p>每页输出的备份列表大小。默认大小为20,最大值为 100。</p>
|
|
6598
6597
|
*/
|
|
6599
6598
|
Limit?: number;
|
|
6600
6599
|
/**
|
|
6601
|
-
*
|
|
6600
|
+
* <p>分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。</p>
|
|
6602
6601
|
*/
|
|
6603
6602
|
Offset?: number;
|
|
6604
6603
|
/**
|
|
6605
|
-
*
|
|
6604
|
+
* <p>待操作的实例ID,可通过 DescribeInstance 接口返回值中的 InstanceId 获取。</p>
|
|
6606
6605
|
*/
|
|
6607
6606
|
InstanceId?: string;
|
|
6608
6607
|
/**
|
|
6609
|
-
*
|
|
6608
|
+
* <p>开始时间,格式如:2017-02-08 16:46:34。查询实例在 [beginTime, endTime] 时间段内开始备份的备份列表,查询时间最大跨度30天。</p>
|
|
6610
6609
|
*/
|
|
6611
6610
|
BeginTime?: string;
|
|
6612
6611
|
/**
|
|
6613
|
-
*
|
|
6612
|
+
* <p>结束时间,格式如:2017-02-08 19:09:26。查询实例在 [beginTime, endTime] 时间段内开始备份的备份列表,查询时间最大跨度30天。</p>
|
|
6614
6613
|
*/
|
|
6615
6614
|
EndTime?: string;
|
|
6616
6615
|
/**
|
|
6617
|
-
*
|
|
6618
|
-
1:备份在流程中。
|
|
6619
|
-
2:备份正常。
|
|
6620
|
-
3:备份转RDB文件处理中。
|
|
6621
|
-
4:已完成RDB转换。
|
|
6622
|
-
-1:备份已过期。
|
|
6623
|
-
-2:备份已删除。
|
|
6616
|
+
* <p>备份任务的状态:<br>1:备份在流程中。<br>2:备份正常。<br>3:备份转RDB文件处理中。<br>4:已完成RDB转换。<br>-1:备份已过期。<br>-2:备份已删除。</p>
|
|
6624
6617
|
*/
|
|
6625
6618
|
Status?: Array<number | bigint>;
|
|
6626
6619
|
/**
|
|
6627
|
-
*
|
|
6620
|
+
* <p>实例名称,支持根据实例名称模糊搜索。</p>
|
|
6628
6621
|
*/
|
|
6629
6622
|
InstanceName?: string;
|
|
6630
6623
|
}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeTokenPlanApiKeyListResponse, DeleteGlossaryResponse, DeleteGlossaryEntriesResponse, RenewTokenPlanTeamOrderResponse, DescribeTokenPlanListResponse, DeleteGlossaryEntriesRequest, CreateGlossaryEntriesResponse, CreateTokenPlanApiKeysResponse, DescribeModelListResponse, CreateTokenPlanTeamOrderAndBuyRequest, DeleteTokenPlanApiKeyResponse, ModifyGlossaryEntriesResponse, DescribeTokenPlanResponse, DescribeModelListRequest, DescribeTokenPlanApiKeySecretResponse, ModifyTokenPlanApiKeySecretResponse, DescribeApiKeyListResponse, ModifyApiKeyInfoResponse, DeleteGlossaryRequest, DescribeGlossaryEntriesRequest, DescribeTokenPlanApiKeyRequest, DeleteApiKeyResponse, DescribeTokenPlanApiKeyListRequest, DescribeGlossariesRequest, DescribeTokenPlanApiKeyUsageDetailRequest, DescribeGlossaryEntriesResponse, DeleteApiKeyRequest, UpgradeTokenPlanTeamOrderResponse, DescribeUsageRankListResponse, DescribeApiKeyResponse, DescribeTokenPlanApiKeySecretRequest, ModifyApiKeyStatusRequest, DescribeTokenPlanRequest, ModifyTokenPlanApiKeyResponse, DescribeApiKeyListRequest, UpgradeTokenPlanTeamOrderRequest, DescribeTokenPlanApiKeyUsageDetailResponse, ModifyApiKeyInfoRequest, DescribeApiKeyRequest, DescribeUsageRankListRequest, CreateGlossaryEntriesRequest, DescribeGlossariesResponse, CreateApiKeyResponse, CreateTokenPlanApiKeysRequest, DeleteTokenPlanApiKeyRequest, DescribeTokenPlanApiKeyResponse, DescribeTokenPlanListRequest, ModifyTokenPlanApiKeyRequest, CreateGlossaryRequest, CreateGlossaryResponse, ModifyGlossaryEntriesRequest, RenewTokenPlanTeamOrderRequest, ModifyApiKeyStatusResponse, CreateTokenPlanTeamOrderAndBuyResponse, ModifyTokenPlanApiKeySecretRequest, CreateApiKeyRequest } from "./tokenhub_models";
|
|
3
|
+
import { DescribeTokenPlanApiKeyListResponse, DeleteGlossaryResponse, DeleteGlossaryEntriesResponse, RenewTokenPlanTeamOrderResponse, DescribeTokenPlanListResponse, DescribeModelEndpointListResponse, DeleteGlossaryEntriesRequest, CreateGlossaryEntriesResponse, CreateTokenPlanApiKeysResponse, DescribeModelListResponse, DeleteEndpointResponse, CreateTokenPlanTeamOrderAndBuyRequest, CreateEndpointRequest, DeleteTokenPlanApiKeyResponse, ModifyGlossaryEntriesResponse, DescribeTokenPlanResponse, DescribeModelListRequest, DescribeTokenPlanApiKeySecretResponse, ModifyTokenPlanApiKeySecretResponse, DescribeApiKeyListResponse, ModifyApiKeyInfoResponse, DeleteGlossaryRequest, DescribeGlossaryEntriesRequest, DescribeTokenPlanApiKeyRequest, DeleteApiKeyResponse, CreateEndpointResponse, DescribeTokenPlanApiKeyListRequest, DescribeGlossariesRequest, DescribeTokenPlanApiKeyUsageDetailRequest, DescribeGlossaryEntriesResponse, DeleteApiKeyRequest, UpgradeTokenPlanTeamOrderResponse, DescribeUsageRankListResponse, DescribeApiKeyResponse, DescribeTokenPlanApiKeySecretRequest, ModifyApiKeyStatusRequest, DescribeTokenPlanRequest, ModifyTokenPlanApiKeyResponse, DescribeApiKeyListRequest, ModifyEndpointRequest, UpgradeTokenPlanTeamOrderRequest, DescribeTokenPlanApiKeyUsageDetailResponse, ModifyApiKeyInfoRequest, DescribeApiKeyRequest, DescribeUsageRankListRequest, CreateGlossaryEntriesRequest, DescribeGlossariesResponse, CreateApiKeyResponse, DescribeEndpointRequest, DescribeEndpointResponse, CreateTokenPlanApiKeysRequest, ModifyEndpointResponse, DeleteTokenPlanApiKeyRequest, DescribeModelEndpointListRequest, DescribeTokenPlanApiKeyResponse, DescribeTokenPlanListRequest, ModifyTokenPlanApiKeyRequest, CreateGlossaryRequest, CreateGlossaryResponse, ModifyGlossaryEntriesRequest, DeleteEndpointRequest, RenewTokenPlanTeamOrderRequest, ModifyApiKeyStatusResponse, CreateTokenPlanTeamOrderAndBuyResponse, ModifyTokenPlanApiKeySecretRequest, CreateApiKeyRequest } from "./tokenhub_models";
|
|
4
4
|
/**
|
|
5
5
|
* tokenhub client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 查询模型接入点列表。
|
|
12
|
+
|
|
13
|
+
以模型为基准展示所有在线文本类型模型的接入点概览,支持按状态、计费方式、创建来源等条件筛选,使用 Offset/Limit 分页。
|
|
14
|
+
*/
|
|
15
|
+
DescribeModelEndpointList(req: DescribeModelEndpointListRequest, cb?: (error: string, rep: DescribeModelEndpointListResponse) => void): Promise<DescribeModelEndpointListResponse>;
|
|
10
16
|
/**
|
|
11
17
|
* 续费套餐。
|
|
12
18
|
|
|
@@ -73,6 +79,12 @@ export declare class Client extends AbstractClient {
|
|
|
73
79
|
更新 API 密钥的备注信息、 IP 白名单和 Token 限额(修改限额推荐使用QuotaDesired参数)。所有可选参数不传表示不修改。
|
|
74
80
|
*/
|
|
75
81
|
ModifyApiKeyInfo(req: ModifyApiKeyInfoRequest, cb?: (error: string, rep: ModifyApiKeyInfoResponse) => void): Promise<ModifyApiKeyInfoResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* 创建推理服务。
|
|
84
|
+
|
|
85
|
+
创建一个在线推理服务,创建成功后返回推理服务 ID。
|
|
86
|
+
*/
|
|
87
|
+
CreateEndpoint(req: CreateEndpointRequest, cb?: (error: string, rep: CreateEndpointResponse) => void): Promise<CreateEndpointResponse>;
|
|
76
88
|
/**
|
|
77
89
|
* 查询术语条目列表。
|
|
78
90
|
|
|
@@ -129,12 +141,24 @@ export declare class Client extends AbstractClient {
|
|
|
129
141
|
删除指定的术语库及其下所有术语条目。删除操作幂等,对不存在的术语库返回成功。调用接口后,若通过 DescribeGlossaries 接口查询不到对应术语库,则表示删除成功。
|
|
130
142
|
*/
|
|
131
143
|
DeleteGlossary(req: DeleteGlossaryRequest, cb?: (error: string, rep: DeleteGlossaryResponse) => void): Promise<DeleteGlossaryResponse>;
|
|
144
|
+
/**
|
|
145
|
+
* 查询推理服务详情。
|
|
146
|
+
|
|
147
|
+
根据推理服务 ID 查询推理服务的详细信息,包括计费信息、免费额度、API 调用地址等。
|
|
148
|
+
*/
|
|
149
|
+
DescribeEndpoint(req: DescribeEndpointRequest, cb?: (error: string, rep: DescribeEndpointResponse) => void): Promise<DescribeEndpointResponse>;
|
|
132
150
|
/**
|
|
133
151
|
* 重置 TokenPlan APIKey 密钥。
|
|
134
152
|
|
|
135
153
|
重新生成密钥值,密钥版本号递增,旧密钥立即失效。APIKey ID 不变。重置后需通过 DescribeTokenPlanApiKeySecret 查询新密钥。
|
|
136
154
|
*/
|
|
137
155
|
ModifyTokenPlanApiKeySecret(req: ModifyTokenPlanApiKeySecretRequest, cb?: (error: string, rep: ModifyTokenPlanApiKeySecretResponse) => void): Promise<ModifyTokenPlanApiKeySecretResponse>;
|
|
156
|
+
/**
|
|
157
|
+
* 删除推理服务。
|
|
158
|
+
|
|
159
|
+
删除指定的推理服务端点,操作不可逆。调用接口后,若通过 DescribeEndpoint 接口查询不到对应的端点,则表示删除成功。
|
|
160
|
+
*/
|
|
161
|
+
DeleteEndpoint(req?: DeleteEndpointRequest, cb?: (error: string, rep: DeleteEndpointResponse) => void): Promise<DeleteEndpointResponse>;
|
|
138
162
|
/**
|
|
139
163
|
* 查询 TokenPlan 套餐详情。
|
|
140
164
|
|
|
@@ -169,6 +193,17 @@ export declare class Client extends AbstractClient {
|
|
|
169
193
|
同时删除额度中心子额度包并通知网关清除缓存。
|
|
170
194
|
*/
|
|
171
195
|
DeleteTokenPlanApiKey(req: DeleteTokenPlanApiKeyRequest, cb?: (error: string, rep: DeleteTokenPlanApiKeyResponse) => void): Promise<DeleteTokenPlanApiKeyResponse>;
|
|
196
|
+
/**
|
|
197
|
+
* 修改推理服务。
|
|
198
|
+
|
|
199
|
+
修改推理服务的属性,支持修改服务名称、QPM/TPM 限流上限、TPM 包续费设置、智能路由开关和手动重试 TPM 购买。
|
|
200
|
+
|
|
201
|
+
注意事项:
|
|
202
|
+
- 不支持通过本接口切换计费类型(ChargeType),计费类型仅可在创建推理服务(CreateEndpoint)时指定。
|
|
203
|
+
- 不支持通过本接口修改 TPM 预付费保障包的 quota(TpmInputLimit/TpmOutputLimit/TimeSpan),这些值仅可在创建推理服务时指定。
|
|
204
|
+
- 当 RetryTPMPurchase 为 true 时,系统会异步重试 TPM 包购买,调用后需轮询推理服务状态确认结果。
|
|
205
|
+
*/
|
|
206
|
+
ModifyEndpoint(req: ModifyEndpointRequest, cb?: (error: string, rep: ModifyEndpointResponse) => void): Promise<ModifyEndpointResponse>;
|
|
172
207
|
/**
|
|
173
208
|
* 删除指定的 API 密钥,同时清理关联的模型绑定关系。
|
|
174
209
|
*/
|
|
@@ -27,6 +27,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("tokenhub.tencentcloudapi.com", "2026-03-22", clientConfig);
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* 查询模型接入点列表。
|
|
32
|
+
|
|
33
|
+
以模型为基准展示所有在线文本类型模型的接入点概览,支持按状态、计费方式、创建来源等条件筛选,使用 Offset/Limit 分页。
|
|
34
|
+
*/
|
|
35
|
+
async DescribeModelEndpointList(req, cb) {
|
|
36
|
+
return this.request("DescribeModelEndpointList", req, cb);
|
|
37
|
+
}
|
|
30
38
|
/**
|
|
31
39
|
* 续费套餐。
|
|
32
40
|
|
|
@@ -115,6 +123,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
115
123
|
async ModifyApiKeyInfo(req, cb) {
|
|
116
124
|
return this.request("ModifyApiKeyInfo", req, cb);
|
|
117
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* 创建推理服务。
|
|
128
|
+
|
|
129
|
+
创建一个在线推理服务,创建成功后返回推理服务 ID。
|
|
130
|
+
*/
|
|
131
|
+
async CreateEndpoint(req, cb) {
|
|
132
|
+
return this.request("CreateEndpoint", req, cb);
|
|
133
|
+
}
|
|
118
134
|
/**
|
|
119
135
|
* 查询术语条目列表。
|
|
120
136
|
|
|
@@ -187,6 +203,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
187
203
|
async DeleteGlossary(req, cb) {
|
|
188
204
|
return this.request("DeleteGlossary", req, cb);
|
|
189
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* 查询推理服务详情。
|
|
208
|
+
|
|
209
|
+
根据推理服务 ID 查询推理服务的详细信息,包括计费信息、免费额度、API 调用地址等。
|
|
210
|
+
*/
|
|
211
|
+
async DescribeEndpoint(req, cb) {
|
|
212
|
+
return this.request("DescribeEndpoint", req, cb);
|
|
213
|
+
}
|
|
190
214
|
/**
|
|
191
215
|
* 重置 TokenPlan APIKey 密钥。
|
|
192
216
|
|
|
@@ -195,6 +219,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
195
219
|
async ModifyTokenPlanApiKeySecret(req, cb) {
|
|
196
220
|
return this.request("ModifyTokenPlanApiKeySecret", req, cb);
|
|
197
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* 删除推理服务。
|
|
224
|
+
|
|
225
|
+
删除指定的推理服务端点,操作不可逆。调用接口后,若通过 DescribeEndpoint 接口查询不到对应的端点,则表示删除成功。
|
|
226
|
+
*/
|
|
227
|
+
async DeleteEndpoint(req, cb) {
|
|
228
|
+
return this.request("DeleteEndpoint", req, cb);
|
|
229
|
+
}
|
|
198
230
|
/**
|
|
199
231
|
* 查询 TokenPlan 套餐详情。
|
|
200
232
|
|
|
@@ -241,6 +273,19 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
241
273
|
async DeleteTokenPlanApiKey(req, cb) {
|
|
242
274
|
return this.request("DeleteTokenPlanApiKey", req, cb);
|
|
243
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* 修改推理服务。
|
|
278
|
+
|
|
279
|
+
修改推理服务的属性,支持修改服务名称、QPM/TPM 限流上限、TPM 包续费设置、智能路由开关和手动重试 TPM 购买。
|
|
280
|
+
|
|
281
|
+
注意事项:
|
|
282
|
+
- 不支持通过本接口切换计费类型(ChargeType),计费类型仅可在创建推理服务(CreateEndpoint)时指定。
|
|
283
|
+
- 不支持通过本接口修改 TPM 预付费保障包的 quota(TpmInputLimit/TpmOutputLimit/TimeSpan),这些值仅可在创建推理服务时指定。
|
|
284
|
+
- 当 RetryTPMPurchase 为 true 时,系统会异步重试 TPM 包购买,调用后需轮询推理服务状态确认结果。
|
|
285
|
+
*/
|
|
286
|
+
async ModifyEndpoint(req, cb) {
|
|
287
|
+
return this.request("ModifyEndpoint", req, cb);
|
|
288
|
+
}
|
|
244
289
|
/**
|
|
245
290
|
* 删除指定的 API 密钥,同时清理关联的模型绑定关系。
|
|
246
291
|
*/
|