tencentcloud-sdk-nodejs 4.1.239 → 4.1.240

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.
Files changed (36) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/index.js +1 -0
  3. package/es/services/mps/v20190612/mps_client.js +3 -0
  4. package/es/services/tokenhub/index.js +4 -0
  5. package/es/services/tokenhub/v20260322/index.js +6 -0
  6. package/es/services/tokenhub/v20260322/tokenhub_client.js +54 -0
  7. package/es/services/tokenhub/v20260322/tokenhub_models.js +1 -0
  8. package/package.json +1 -1
  9. package/tencentcloud/common/sdk_version.d.ts +1 -1
  10. package/tencentcloud/common/sdk_version.js +1 -1
  11. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +31 -19
  12. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -31
  13. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -20
  14. package/tencentcloud/services/index.d.ts +1 -0
  15. package/tencentcloud/services/index.js +4 -2
  16. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +59 -1
  17. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +5 -1
  18. package/tencentcloud/services/mps/v20190612/mps_client.js +6 -0
  19. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +75 -0
  20. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +4 -0
  21. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +27 -6
  22. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +11 -7
  23. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +101 -112
  24. package/tencentcloud/services/tokenhub/index.d.ts +6 -0
  25. package/tencentcloud/services/tokenhub/index.js +7 -0
  26. package/tencentcloud/services/tokenhub/v20260322/index.d.ts +6 -0
  27. package/tencentcloud/services/tokenhub/v20260322/index.js +10 -0
  28. package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.d.ts +106 -0
  29. package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.js +159 -0
  30. package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +1245 -0
  31. package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.js +18 -0
  32. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +29 -29
  33. package/tencentcloud/services/tse/v20201207/tse_client.js +28 -28
  34. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +696 -458
  35. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -0
  36. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +1 -1
@@ -0,0 +1,1245 @@
1
+ /**
2
+ * Token Plan API Key 列表项
3
+ */
4
+ export interface TokenPlanApiKeyListItem {
5
+ /**
6
+ * API Key ID。
7
+ */
8
+ ApiKeyId?: string;
9
+ /**
10
+ * API Key 密钥值(脱敏)。
11
+ */
12
+ ApiKey?: string;
13
+ /**
14
+ * API Key 名称。
15
+ */
16
+ Name?: string;
17
+ /**
18
+ * 所属套餐 ID。
19
+ */
20
+ TeamId?: string;
21
+ /**
22
+ * 账号APP ID。
23
+ */
24
+ AppId?: string;
25
+ /**
26
+ * 主账号 UIN。最大 128 字符。
27
+ */
28
+ Uin?: string;
29
+ /**
30
+ * API Key 可用模型列表(JSON 数组字符串)。
31
+ */
32
+ AllowedModels?: string;
33
+ /**
34
+ * API Key 是否可用。取值:enable(启用)、disable(停用)。
35
+ */
36
+ Status?: string;
37
+ /**
38
+ * API Key 停用原因。取值:NORMAL(正常,默认值),QUOTA_EXHAUSTED(API Key额度包耗尽),ABNORMAL(异常,需人工介入)
39
+ */
40
+ StopReason?: string;
41
+ /**
42
+ * 用户侧开关。取值:enable(启用)、disable(停用)。
43
+ */
44
+ UseStatus?: string;
45
+ /**
46
+ * 密钥版本号。
47
+ */
48
+ KeyVersion?: number;
49
+ /**
50
+ * 最近一次重置时间。(ISO 8601)
51
+ */
52
+ LastRotatedAt?: string;
53
+ /**
54
+ * 创建人,如果是子账号创建,则该值为子账号UIN。
55
+ */
56
+ Creator?: string;
57
+ /**
58
+ * 创建时间。
59
+ */
60
+ CreatedAt?: string;
61
+ /**
62
+ * 更新时间。
63
+ */
64
+ UpdatedAt?: string;
65
+ /**
66
+ * API Key 额度用量信息
67
+ */
68
+ Balance?: SubPackageBalance;
69
+ /**
70
+ * 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)。
71
+ */
72
+ ProductType?: string;
73
+ }
74
+ /**
75
+ * 绑定资源项
76
+ */
77
+ export interface BindingItem {
78
+ /**
79
+ * 资源 ID(模型 ID 或服务 ID)。
80
+ */
81
+ ResourceId: string;
82
+ /**
83
+ * 资源类型。取值:endpoint(服务)、model(模型)。
84
+ */
85
+ ResourceType: string;
86
+ }
87
+ /**
88
+ * DescribeTokenPlanApiKeySecret返回参数结构体
89
+ */
90
+ export interface DescribeTokenPlanApiKeySecretResponse {
91
+ /**
92
+ * APIKey ID。
93
+ */
94
+ ApiKeyId?: string;
95
+ /**
96
+ * APIKey 密钥值(明文)。请妥善保管。
97
+ */
98
+ ApiKey?: string;
99
+ /**
100
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
101
+ */
102
+ RequestId?: string;
103
+ }
104
+ /**
105
+ * 时间周期内的统计聚合值(按 metric key 索引)。本期返回 tokens 族(statistics=sum)的累计 Token 用量;具体包含哪些 key、顺序如何,参见响应顶层 `MetricKeys` 字段。接口预留 MetricType 字段以支持后续指标族扩展,本期仅支持 tokens。
106
+ */
107
+ export interface UsageStats {
108
+ /**
109
+ * 时间周期内的累计总 token 数。
110
+ */
111
+ TotalToken?: number;
112
+ /**
113
+ * 时间周期内的累计输入 token 数。
114
+ */
115
+ InputTotalToken?: number;
116
+ /**
117
+ * 时间周期内的累计输出 token 数。
118
+ */
119
+ OutputTotalToken?: number;
120
+ }
121
+ /**
122
+ * 批量创建成功项
123
+ */
124
+ export interface CreateApiKeysResultItem {
125
+ /**
126
+ * APIKey ID。
127
+ */
128
+ ApiKeyId?: string;
129
+ }
130
+ /**
131
+ * ModifyTokenPlanApiKeySecret返回参数结构体
132
+ */
133
+ export interface ModifyTokenPlanApiKeySecretResponse {
134
+ /**
135
+ * API Key ID。
136
+ */
137
+ ApiKeyId?: string;
138
+ /**
139
+ * 重置后的密钥版本号。
140
+ */
141
+ KeyVersion?: number;
142
+ /**
143
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
144
+ */
145
+ RequestId?: string;
146
+ }
147
+ /**
148
+ * DescribeTokenPlanApiKeyList返回参数结构体
149
+ */
150
+ export interface DescribeTokenPlanApiKeyListResponse {
151
+ /**
152
+ * API Key 列表。
153
+ */
154
+ ApiKeySet?: Array<TokenPlanApiKeyListItem>;
155
+ /**
156
+ * API Key总数量。
157
+ */
158
+ TotalCount?: number;
159
+ /**
160
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
161
+ */
162
+ RequestId?: string;
163
+ }
164
+ /**
165
+ * DescribeUsageRankList请求参数结构体
166
+ */
167
+ export interface DescribeUsageRankListRequest {
168
+ /**
169
+ * 统计维度。取值:apikey(按 APIKey 统计)、endpoint(按接入点统计)、model(按模型统计)。
170
+ */
171
+ Dimension: string;
172
+ /**
173
+ * 起始时间(闭区间),RFC3339 格式。
174
+ */
175
+ StartTime: string;
176
+ /**
177
+ * 结束时间(开区间),RFC3339 格式。与 StartTime 的跨度最大 90 天。
178
+ */
179
+ EndTime: string;
180
+ /**
181
+ * 指标族切换字段。本期支持 tokens(累计 Token 用量,statistics=sum);传其他值将返回 InvalidParameter。空字符串或不传时默认 tokens。接口预留 MetricType 字段以支持后续指标族扩展。
182
+ */
183
+ MetricType?: string;
184
+ /**
185
+ * 维度过滤值。空字符串表示查询全部对象,非空时仅查询指定单个对象(如指定 APIKey ID)。最大 256 字符。
186
+ */
187
+ Target?: string;
188
+ /**
189
+ * 统计粒度(秒)。取值:60、300、3600、86400。必须不小于跨度对应下限:跨度 ≤ 1 天 → 60;1 ~ 5 天 → 300;5 ~ 10 天 → 3600;> 10 天 → 86400。仅 ShowAll=false 时使用。
190
+ */
191
+ Period?: number;
192
+ /**
193
+ * 翻页起点,从 0 起,默认 0。ShowAll=true 时忽略。页大小固定为 10。
194
+ */
195
+ Offset?: number;
196
+ /**
197
+ * 是否返回全量结果。
198
+ - false(默认):按 Offset 分页返回 TopList(每页 10 条),每个对象包含
199
+ Series 时序点用于绘制曲线。
200
+ - true:忽略 Offset,返回全量对象列表,不返回 Series(CSV 导出场景)。
201
+
202
+ */
203
+ ShowAll?: boolean;
204
+ }
205
+ /**
206
+ * DescribeTokenPlan请求参数结构体
207
+ */
208
+ export interface DescribeTokenPlanRequest {
209
+ /**
210
+ * 套餐 ID。可通过 DescribeTokenPlanList 接口获取。
211
+ */
212
+ TeamId: string;
213
+ }
214
+ /**
215
+ * DescribeTokenPlanApiKey返回参数结构体
216
+ */
217
+ export interface DescribeTokenPlanApiKeyResponse {
218
+ /**
219
+ * API Key 详情信息。
220
+ */
221
+ ApiKey?: TokenPlanApiKeyInfo;
222
+ /**
223
+ * API Key 额度及用量信息。
224
+ */
225
+ Balance?: SubPackageBalance;
226
+ /**
227
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
228
+ */
229
+ RequestId?: string;
230
+ }
231
+ /**
232
+ * ModifyTokenPlanApiKeySecret请求参数结构体
233
+ */
234
+ export interface ModifyTokenPlanApiKeySecretRequest {
235
+ /**
236
+ * API Key ID。可通过DescribeTokenPlanApiKeyList接口获取。
237
+ */
238
+ ApiKeyId: string;
239
+ }
240
+ /**
241
+ * API Key 额度及用量信息
242
+ */
243
+ export interface SubPackageBalance {
244
+ /**
245
+ * 独占额度。单位说明如下:
246
+ - 套餐类型为专业套餐,单位取值为积分;
247
+ - 套餐类型为轻享套餐,单位取值为 token。
248
+ */
249
+ ExclusiveQuota?: string;
250
+ /**
251
+ * 独占额度已用量。单位说明如下:
252
+ - 套餐类型为专业套餐,单位取值为积分;
253
+ - 套餐类型为轻享套餐,单位取值为 token。
254
+ */
255
+ ExclusiveUsed?: string;
256
+ /**
257
+ * 独占额度剩余量。单位说明如下:
258
+ - 套餐类型为专业套餐,单位取值为积分;
259
+ - 套餐类型为轻享套餐,单位取值为 token。
260
+ */
261
+ ExclusiveRemain?: string;
262
+ /**
263
+ * 共享额度上限,-1 表示不限。单位说明如下:
264
+ - 套餐类型为专业套餐,单位取值为积分;
265
+ - 套餐类型为轻享套餐,单位取值为 token。
266
+ */
267
+ SharedQuota?: string;
268
+ /**
269
+ * 共享额度已用量。单位说明如下:
270
+ - 套餐类型为专业套餐,单位取值为积分;
271
+ - 套餐类型为轻享套餐,单位取值为 token。
272
+ */
273
+ SharedUsed?: string;
274
+ /**
275
+ * 共享额度剩余量。单位说明如下:
276
+ - 套餐类型为专业套餐,单位取值为积分;
277
+ - 套餐类型为轻享套餐,单位取值为 token。
278
+ */
279
+ SharedRemain?: string;
280
+ /**
281
+ * API Key 额度包状态。取值:0(正常)、1(耗尽)。
282
+ */
283
+ Status?: number;
284
+ }
285
+ /**
286
+ * DescribeApiKeyList返回参数结构体
287
+ */
288
+ export interface DescribeApiKeyListResponse {
289
+ /**
290
+ * API 密钥列表。
291
+ */
292
+ ApiKeySet?: Array<ApiKeyDetail>;
293
+ /**
294
+ * 符合条件的 API 密钥总数。
295
+ */
296
+ TotalCount?: number;
297
+ /**
298
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
299
+ */
300
+ RequestId?: string;
301
+ }
302
+ /**
303
+ * RenewTokenPlanTeamOrder返回参数结构体
304
+ */
305
+ export interface RenewTokenPlanTeamOrderResponse {
306
+ /**
307
+ * 腾讯云订单 ID。用于关联一次续费操作下的所有子订单。
308
+ */
309
+ BigOrderId?: string;
310
+ /**
311
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
312
+ */
313
+ RequestId?: string;
314
+ }
315
+ /**
316
+ * 排行列表中的单个对象用量项,含对象标识、时间周期内的统计值(Stats)和时间周期内的时序点列表(Series,仅 ShowAll=false 时返回)。
317
+ */
318
+ export interface UsageRankItem {
319
+ /**
320
+ * 全局排名(从 1 起)。分页场景下仍为全量排序中的位次,非页内序号
321
+ */
322
+ Rank?: number;
323
+ /**
324
+ * 对象标识。apikey 维度为 APIKey ID;endpoint 维度为接入点;model 维度为模型名。
325
+ */
326
+ Key?: string;
327
+ /**
328
+ * 对象展示名。apikey 维度返回 APIKey 名称(已删除的 APIKey 仍保留原名);
329
+ endpoint / model 维度等于 Key。
330
+ */
331
+ Name?: string;
332
+ /**
333
+ * 时间周期内的统计值
334
+ 注意:此字段可能返回 null,表示取不到有效值。
335
+ */
336
+ Stats?: UsageStats;
337
+ /**
338
+ * 时间周期内的时序点列表
339
+ 注意:此字段可能返回 null,表示取不到有效值。
340
+ */
341
+ Series?: UsageSeries;
342
+ }
343
+ /**
344
+ * Token Plan API Key 详情
345
+ */
346
+ export interface TokenPlanApiKeyInfo {
347
+ /**
348
+ * API Key ID。
349
+ */
350
+ ApiKeyId?: string;
351
+ /**
352
+ * API Key 密钥值(脱敏)。
353
+ */
354
+ ApiKey?: string;
355
+ /**
356
+ * API Key 名称。
357
+ */
358
+ Name?: string;
359
+ /**
360
+ * 所属套餐 ID。
361
+ */
362
+ TeamId?: string;
363
+ /**
364
+ * 账号APP ID。
365
+ */
366
+ AppId?: string;
367
+ /**
368
+ * 主账号 UIN。
369
+ */
370
+ Uin?: string;
371
+ /**
372
+ * API Key 可用模型列表(JSON 数组字符串)。
373
+ */
374
+ AllowedModels?: string;
375
+ /**
376
+ * API Key 是否可用。取值:enable(启用)、disable(停用)。
377
+ */
378
+ Status?: string;
379
+ /**
380
+ * API Key 停用原因。取值:NORMAL(正常,默认值),QUOTA_EXHAUSTED(API Key额度包耗尽),ABNORMAL(异常,需人工介入)
381
+ */
382
+ StopReason?: string;
383
+ /**
384
+ * 用户侧开关。取值:enable(启用)、disable(停用)。
385
+ */
386
+ UseStatus?: string;
387
+ /**
388
+ * 密钥版本号。
389
+ */
390
+ KeyVersion?: number;
391
+ /**
392
+ * 最近一次重置时间。(ISO 8601)
393
+ */
394
+ LastRotatedAt?: string;
395
+ /**
396
+ * 创建人,如果是子账号创建,则该值为子账号UIN。
397
+ */
398
+ Creator?: string;
399
+ /**
400
+ * 创建时间。
401
+ */
402
+ CreatedAt?: string;
403
+ /**
404
+ * 更新时间。
405
+ */
406
+ UpdatedAt?: string;
407
+ /**
408
+ * TPM 限制(Tokens Per Minute)。
409
+ */
410
+ TPM?: number;
411
+ /**
412
+ * 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)
413
+ */
414
+ ProductType?: string;
415
+ }
416
+ /**
417
+ * ModifyTokenPlanApiKey返回参数结构体
418
+ */
419
+ export interface ModifyTokenPlanApiKeyResponse {
420
+ /**
421
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
422
+ */
423
+ RequestId?: string;
424
+ }
425
+ /**
426
+ * DescribeApiKeyList请求参数结构体
427
+ */
428
+ export interface DescribeApiKeyListRequest {
429
+ /**
430
+ * 平台类型。当前支持填值:maas
431
+ */
432
+ Platform?: string;
433
+ /**
434
+ * 返回数量,默认为 20,最大值为 100。
435
+ */
436
+ Limit?: number;
437
+ /**
438
+ * 偏移量,默认为 0。
439
+ */
440
+ Offset?: number;
441
+ /**
442
+ * 过滤条件列表。支持的过滤字段:apikeyId(API 密钥 ID)、apiKeyName(名称)、platform(平台类型)、status(状态)、bindType(绑定类型)。
443
+ */
444
+ Filters?: Array<RequestFilter>;
445
+ /**
446
+ * 排序条件列表。支持的排序字段:apiKeyName
447
+ */
448
+ Sorts?: Array<RequestSort>;
449
+ }
450
+ /**
451
+ * 用量时间周期内的时序点列表(按 metric key 索引)。为 JSON 数组的字符串形式,数组长度与响应 Timestamps 一致,无数据点处为 null。具体包含哪些 key 由响应 MetricKeys 决定。
452
+ */
453
+ export interface UsageSeries {
454
+ /**
455
+ * 总 token 数用量时间周期内的 JSON 字符串形式,如 `"[12,null,15]"`。
456
+ */
457
+ TotalToken?: string;
458
+ /**
459
+ * 输入 token 数用量时间周期内的 JSON 字符串形式,如 `"[7,null,9]"`。
460
+ */
461
+ InputTotalToken?: string;
462
+ /**
463
+ * 输出 token 数用量时间周期内的 JSON 字符串形式,如 `"[5,null,6]"`。
464
+ */
465
+ OutputTotalToken?: string;
466
+ }
467
+ /**
468
+ * UpgradeTokenPlanTeamOrder请求参数结构体
469
+ */
470
+ export interface UpgradeTokenPlanTeamOrderRequest {
471
+ /**
472
+ * 套餐 ID。可通过 DescribeTokenPlanList 接口获取。
473
+ */
474
+ TeamId: string;
475
+ /**
476
+ * 升配后的新规格额度。套餐类型为 enterprise 时表示积分额度,套餐类型为 enterprise-auto 时表示 Token 数。必须大于当前额度。
477
+ */
478
+ NewCreditOrToken: number;
479
+ }
480
+ /**
481
+ * DescribeTokenPlanList返回参数结构体
482
+ */
483
+ export interface DescribeTokenPlanListResponse {
484
+ /**
485
+ * 套餐列表。
486
+ */
487
+ TokenPlanSet?: Array<TokenPlanListItem>;
488
+ /**
489
+ * 套餐总数量。
490
+ */
491
+ TotalCount?: number;
492
+ /**
493
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
494
+ */
495
+ RequestId?: string;
496
+ }
497
+ /**
498
+ * CreateTokenPlanApiKeys返回参数结构体
499
+ */
500
+ export interface CreateTokenPlanApiKeysResponse {
501
+ /**
502
+ * 成功创建的项列表。
503
+ */
504
+ Items?: Array<CreateApiKeysResultItem>;
505
+ /**
506
+ * 创建失败的项列表。
507
+ */
508
+ FailedItems?: Array<BatchCreateFailedItem>;
509
+ /**
510
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
511
+ */
512
+ RequestId?: string;
513
+ }
514
+ /**
515
+ * DescribeTokenPlanApiKey请求参数结构体
516
+ */
517
+ export interface DescribeTokenPlanApiKeyRequest {
518
+ /**
519
+ * API Key ID。可通过DescribeTokenPlanApiKeyList接口获取。
520
+ */
521
+ ApiKeyId: string;
522
+ }
523
+ /**
524
+ * DescribeApiKey请求参数结构体
525
+ */
526
+ export interface DescribeApiKeyRequest {
527
+ /**
528
+ * 平台类型。当前支持填值:maas
529
+ */
530
+ Platform: string;
531
+ /**
532
+ * API 密钥 ID,与 ApiKey 至少需传入其一,优先使用 ApiKeyId。
533
+ */
534
+ ApiKeyId?: string;
535
+ /**
536
+ * API 密钥明文,与 ApiKeyId 至少需传入其一。
537
+ */
538
+ ApiKey?: string;
539
+ }
540
+ /**
541
+ * Token 汇总计费项
542
+ */
543
+ export interface TokenSummaryBillingItem {
544
+ /**
545
+ * 计费项。取值:input(输入 Token)、output(输出 Token)、cache(缓存 Token)、call_count(调用次数)。
546
+ */
547
+ BillingItem?: string;
548
+ /**
549
+ * 该计费项在周期内的原始用量汇总,单位:tokens。
550
+ */
551
+ TotalQty?: number;
552
+ }
553
+ /**
554
+ * DescribeTokenPlanApiKeyUsageDetail返回参数结构体
555
+ */
556
+ export interface DescribeTokenPlanApiKeyUsageDetailResponse {
557
+ /**
558
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
559
+ */
560
+ RequestId?: string;
561
+ }
562
+ /**
563
+ * 排序条件
564
+ */
565
+ export interface RequestSort {
566
+ /**
567
+ * 排序字段名称。
568
+ */
569
+ Name: string;
570
+ /**
571
+ * 排序方向。取值:ASC(升序)、DESC(降序)。
572
+ */
573
+ Order: string;
574
+ }
575
+ /**
576
+ * Token Plan 套餐列表项
577
+ */
578
+ export interface TokenPlanListItem {
579
+ /**
580
+ * 套餐 ID。
581
+ */
582
+ TeamId?: string;
583
+ /**
584
+ * 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)
585
+ */
586
+ ProductType?: string;
587
+ /**
588
+ * 套餐名称。最大 128 字符。
589
+ */
590
+ Name?: string;
591
+ /**
592
+ * 账号 APP ID。
593
+ */
594
+ AppId?: string;
595
+ /**
596
+ * 主账号 UIN。
597
+ */
598
+ Uin?: string;
599
+ /**
600
+ * 套餐状态。取值:enable(启用)、disable(停用)。
601
+ */
602
+ Status?: string;
603
+ /**
604
+ * 套餐关停原因。取值:NORMAL(正常)、ISOLATED(隔离/欠费)、FROZEN(冻结)、EXHAUSTED(额度耗尽)、DESTROYED(已销毁)
605
+ */
606
+ StopReason?: string;
607
+ /**
608
+ * 可创建 API Key 上限。
609
+ */
610
+ ApiKeyMax?: number;
611
+ /**
612
+ * 云计费预付费资源包 ID。
613
+ */
614
+ PrepayResourceID?: string;
615
+ /**
616
+ * 创建人。若为子账号创建的套餐,则该值为子账号UIN。
617
+ */
618
+ Creator?: string;
619
+ /**
620
+ * 创建时间。
621
+ */
622
+ CreatedAt?: string;
623
+ /**
624
+ * 更新时间。
625
+ */
626
+ UpdatedAt?: string;
627
+ /**
628
+ * 套餐包基本信息。
629
+ */
630
+ PackageInfo?: TokenPlanPackageInfo;
631
+ /**
632
+ * 是否开启自动续费。取值:0(未开启),1(开启)
633
+ */
634
+ AutoRenewFlag?: number;
635
+ }
636
+ /**
637
+ * DescribeTokenPlanApiKeyList请求参数结构体
638
+ */
639
+ export interface DescribeTokenPlanApiKeyListRequest {
640
+ /**
641
+ * 套餐 ID。可通过DescribeTokenPlanList接口获取。
642
+ */
643
+ TeamId: string;
644
+ /**
645
+ * 分页查询偏移量,默认为 0。
646
+ */
647
+ Offset?: number;
648
+ /**
649
+ * 分页查询返回数量,默认为 20,最大值为 100。
650
+ */
651
+ Limit?: number;
652
+ /**
653
+ * 分页查询过滤条件列表。支持的过滤字段:ApiKeyId (API Key ID)、Name (API Key 名称)、Status (API Key是否可用)、StopReason (API Key停用原因)、UseStatus (API Key用户侧开关)。
654
+ */
655
+ Filters?: Array<RequestFilter>;
656
+ /**
657
+ * 分页查询排序条件列表。支持的排序字段:CreatedAt(创建时间)、UpdatedAt(更新时间)。默认按 CreatedAt 降序。
658
+ */
659
+ Sorts?: Array<RequestSort>;
660
+ }
661
+ /**
662
+ * CreateTokenPlanTeamOrderAndBuy请求参数结构体
663
+ */
664
+ export interface CreateTokenPlanTeamOrderAndBuyRequest {
665
+ /**
666
+ * 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)。
667
+ */
668
+ ProductType: string;
669
+ /**
670
+ * 套餐名称。只能包含中文、字母、数字、下划线、连字符,以中文或者字母开头,以中文或字母或数字结尾,2~50个字符
671
+ */
672
+ TeamName: string;
673
+ /**
674
+ * 购买时长。单位:月。必须大于 0。
675
+ */
676
+ TimeSpan: number;
677
+ /**
678
+ * 购买的套餐规格。套餐类型为专业套餐(enterprise),单位取值为积分;轻享套餐(enterprise-auto),单位取值为 tokens。
679
+ */
680
+ CreditOrToken: number;
681
+ /**
682
+ * 是否开启自动续费。默认不开启。
683
+ */
684
+ EnableAutoRenew?: boolean;
685
+ }
686
+ /**
687
+ * ModifyTokenPlanApiKey请求参数结构体
688
+ */
689
+ export interface ModifyTokenPlanApiKeyRequest {
690
+ /**
691
+ * API Key ID。
692
+ */
693
+ ApiKeyId: string;
694
+ /**
695
+ * 可用模型列表。不传则不修改。
696
+
697
+ - 如果套餐类型为企业版专业套餐:
698
+ 1)传入“all“ :使用套餐支持的所有模型
699
+ 2)传入 Model ID:指定具体模型。“all“和具体的 Model ID 不能同时传入。
700
+
701
+ - 如果套餐类型为企业版轻享套餐,不允许传该参数。
702
+ */
703
+ AllowedModels?: Array<string>;
704
+ /**
705
+ * 独占额度,不传则不修改。单位说明:
706
+
707
+ - 套餐类型为专业套餐,单位取值为积分;
708
+ - 套餐类型为轻享套餐,单位取值为 token。
709
+ */
710
+ ExclusiveQuota?: number;
711
+ /**
712
+ * 总额度上限。-1 表示不限,必须为 -1 或 >= API Key 当前的 ExclusiveQuota(独占额度),不传则不修改。单位说明如下:
713
+ - 套餐类型为专业套餐,单位取值为积分;
714
+ - 套餐类型为轻享套餐,单位取值为 token。
715
+ */
716
+ TotalQuota?: number;
717
+ /**
718
+ * 是否启用该 API Key。取值:enable(启用)、disable(停用),不传则不修改。
719
+ */
720
+ UseStatus?: string;
721
+ /**
722
+ * TPM(Tokens Per Minute)限制。不传则不修改。必须 >= 0 且 <= 套餐 TPM。
723
+ */
724
+ TPM?: number;
725
+ }
726
+ /**
727
+ * RenewTokenPlanTeamOrder请求参数结构体
728
+ */
729
+ export interface RenewTokenPlanTeamOrderRequest {
730
+ /**
731
+ * 套餐 ID。可通过 DescribeTokenPlanList 接口获取。
732
+ */
733
+ TeamId: string;
734
+ /**
735
+ * 续费时长。单位:月。必须大于 0。
736
+ */
737
+ TimeSpan: number;
738
+ }
739
+ /**
740
+ * DeleteTokenPlanApiKey返回参数结构体
741
+ */
742
+ export interface DeleteTokenPlanApiKeyResponse {
743
+ /**
744
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
745
+ */
746
+ RequestId?: string;
747
+ }
748
+ /**
749
+ * DescribeTokenPlanApiKeyUsageDetail请求参数结构体
750
+ */
751
+ export type DescribeTokenPlanApiKeyUsageDetailRequest = null;
752
+ /**
753
+ * API 密钥详情
754
+ */
755
+ export interface ApiKeyDetail {
756
+ /**
757
+ * API 密钥 ID。
758
+ */
759
+ ApiKeyId?: string;
760
+ /**
761
+ * 名称。
762
+ */
763
+ Name?: string;
764
+ /**
765
+ * API 密钥值。接口返回脱敏值
766
+ */
767
+ ApiKey?: string;
768
+ /**
769
+ * 备注。
770
+ */
771
+ Remark?: string;
772
+ /**
773
+ * 平台类型。当前支持填值:maas
774
+ */
775
+ Platform?: string;
776
+ /**
777
+ * 主账号。
778
+ */
779
+ Uin?: string;
780
+ /**
781
+ * 子账号。
782
+ */
783
+ SubUin?: string;
784
+ /**
785
+ * 状态。取值:enable(启用)、disable(禁用)。
786
+ */
787
+ Status?: string;
788
+ /**
789
+ * 绑定类型。取值:all(全部模型和服务)、model_all_endpoint_custom(全部模型+自定义服务)、model_custom_endpoint_all(自定义模型+全部服务)、model_custom_endpoint_custom(自定义模型+自定义服务)。
790
+ */
791
+ BindType?: string;
792
+ /**
793
+ * 创建时间。格式:YYYY-MM-DD HH:mm:ss。
794
+ */
795
+ CreateTime?: string;
796
+ /**
797
+ * 更新时间。格式:YYYY-MM-DD HH:mm:ss。
798
+ */
799
+ UpdateTime?: string;
800
+ /**
801
+ * 应用 ID。
802
+ */
803
+ AppId?: string;
804
+ /**
805
+ * 是否可编辑。true 表示可编辑,false 表示不可编辑。
806
+ */
807
+ Editable?: boolean;
808
+ /**
809
+ * 绑定资源列表,区分 endpoint 和 model 类型。
810
+ */
811
+ BindingItems?: Array<BindingItem>;
812
+ /**
813
+ * IP 白名单列表。支持 IPv4 和 CIDR 格式。空数组表示不限制 IP。
814
+ */
815
+ IpWhitelist?: Array<string>;
816
+ /**
817
+ * 当Platform为maas时该字段为空
818
+ */
819
+ Creator?: string;
820
+ }
821
+ /**
822
+ * 批量创建失败项
823
+ */
824
+ export interface BatchCreateFailedItem {
825
+ /**
826
+ * 失败项的序号(从 1 开始,对应后缀编号)。
827
+ */
828
+ Index?: number;
829
+ /**
830
+ * 失败项的名称。
831
+ */
832
+ Name?: string;
833
+ /**
834
+ * 失败原因。
835
+ */
836
+ Reason?: string;
837
+ }
838
+ /**
839
+ * CreateTokenPlanTeamOrderAndBuy返回参数结构体
840
+ */
841
+ export interface CreateTokenPlanTeamOrderAndBuyResponse {
842
+ /**
843
+ * 腾讯云订单 ID。用于关联一次购买操作下的所有子订单。
844
+ */
845
+ BigOrderId?: string;
846
+ /**
847
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
848
+ */
849
+ RequestId?: string;
850
+ }
851
+ /**
852
+ * 过滤条件
853
+ */
854
+ export interface RequestFilter {
855
+ /**
856
+ * 过滤字段名称。
857
+ */
858
+ Name: string;
859
+ /**
860
+ * 过滤操作符。取值:EXACT(精确匹配)、FUZZY(模糊匹配)、NOT(排除匹配)。
861
+ */
862
+ Op: string;
863
+ /**
864
+ * 过滤值列表。最多支持 10 个。
865
+ */
866
+ Values: Array<string>;
867
+ }
868
+ /**
869
+ * 主包Token总结
870
+ */
871
+ export interface TokenSummary {
872
+ /**
873
+ * 套餐包当前计费周期序号
874
+ */
875
+ CycleSeq?: number;
876
+ /**
877
+ * 套餐包计费周期开始时间(RFC3339)
878
+ */
879
+ CycleStartTime?: string;
880
+ /**
881
+ * 套餐包当前计费周期结束时间(RFC3339)
882
+ */
883
+ CycleEndTime?: string;
884
+ /**
885
+ * 按计费项分组的 token 汇总列表
886
+ */
887
+ BillingItems?: Array<TokenSummaryBillingItem>;
888
+ }
889
+ /**
890
+ * DescribeTokenPlanList请求参数结构体
891
+ */
892
+ export interface DescribeTokenPlanListRequest {
893
+ /**
894
+ * 分页查询偏移量,默认为 0。
895
+ */
896
+ Offset?: number;
897
+ /**
898
+ * 分页查询返回数量,默认为 20,最大值为 100。
899
+ */
900
+ Limit?: number;
901
+ /**
902
+ * 分页查询过滤条件列表。支持的过滤字段:TeamId(套餐 ID)、Name(套餐名称)、StopReason(关停原因)、ProductType(套餐类型)。
903
+ */
904
+ Filters?: Array<RequestFilter>;
905
+ /**
906
+ * 排序条件列表。支持的排序字段:CreatedAt(创建时间)、UpdatedAt(更新时间)。默认按 CreatedAt 降序。
907
+ */
908
+ Sorts?: Array<RequestSort>;
909
+ }
910
+ /**
911
+ * UpgradeTokenPlanTeamOrder返回参数结构体
912
+ */
913
+ export interface UpgradeTokenPlanTeamOrderResponse {
914
+ /**
915
+ * 腾讯云订单 ID。用于关联一次升配操作下的所有子订单。
916
+ */
917
+ BigOrderId?: string;
918
+ /**
919
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
920
+ */
921
+ RequestId?: string;
922
+ }
923
+ /**
924
+ * 主额度包信息
925
+ */
926
+ export interface TokenPlanPackageInfo {
927
+ /**
928
+ * 总额度。根据套餐类型区分单位:credits(企业版专业套餐),tokens(企业版auto套餐)
929
+ */
930
+ TotalQuota?: string;
931
+ /**
932
+ * 总已使用额度。根据套餐类型区分单位:credits(企业版专业套餐),tokens(企业版auto套餐)
933
+ */
934
+ TotalUsed?: string;
935
+ /**
936
+ * 总周期数。
937
+ */
938
+ TotalCycles?: number;
939
+ /**
940
+ * 周期单位。取值:month(月)
941
+ */
942
+ CycleUnit?: string;
943
+ /**
944
+ * 套餐包生效时间。
945
+ */
946
+ StartTime?: string;
947
+ /**
948
+ * 套餐包到期时间。
949
+ */
950
+ ExpireTime?: string;
951
+ /**
952
+ * 独占池已分配额度。根据套餐类型区分单位:credits(企业版专业套餐),tokens(企业版auto套餐)
953
+ */
954
+ ExclusiveAllocated?: string;
955
+ /**
956
+ * 独占池已用额度。根据套餐类型区分单位:credits(企业版专业套餐),tokens(企业版auto套餐)
957
+ */
958
+ ExclusiveUsed?: string;
959
+ /**
960
+ * 共享池总额度。根据套餐类型区分单位:credits(企业版专业套餐),tokens(企业版auto套餐)
961
+ */
962
+ SharedPool?: string;
963
+ /**
964
+ * 共享已用额度。根据套餐类型区分单位:credits(企业版专业套餐),tokens(企业版auto套餐)
965
+ */
966
+ SharedUsed?: string;
967
+ /**
968
+ * 当期额度。根据套餐类型区分单位:credits(企业版专业套餐),tokens(企业版auto套餐)
969
+ */
970
+ CycleQuota?: string;
971
+ /**
972
+ * 当前周期。
973
+ */
974
+ CurrentCycle?: number;
975
+ /**
976
+ * 剩余周期。
977
+ */
978
+ RemainCycles?: number;
979
+ }
980
+ /**
981
+ * DescribeTokenPlan返回参数结构体
982
+ */
983
+ export interface DescribeTokenPlanResponse {
984
+ /**
985
+ * 套餐 ID。
986
+ */
987
+ TeamId?: string;
988
+ /**
989
+ * 套餐名称。
990
+ */
991
+ Name?: string;
992
+ /**
993
+ * 主账号 APP ID。
994
+ */
995
+ AppId?: string;
996
+ /**
997
+ * 主账号 UIN。
998
+ */
999
+ Uin?: string;
1000
+ /**
1001
+ * 状态。取值:enable(启用)、disable(停用)。
1002
+ */
1003
+ Status?: string;
1004
+ /**
1005
+ * 关停原因。取值:取值:NORMAL(套餐正常)、ISOLATED(隔离/欠费)、FROZEN(冻结)、EXHAUSTED(额度耗尽)、DESTROYED(已销毁)。
1006
+ */
1007
+ StopReason?: string;
1008
+ /**
1009
+ * 可创建APIKey 上限。
1010
+ */
1011
+ ApiKeyMax?: number;
1012
+ /**
1013
+ * 云计费预付费资源包 ID。
1014
+ */
1015
+ PrepayResourceID?: string;
1016
+ /**
1017
+ * 创建人,子账号创建的套餐将展示子账号UIN。
1018
+ */
1019
+ Creator?: string;
1020
+ /**
1021
+ * 创建时间。
1022
+ */
1023
+ CreatedAt?: string;
1024
+ /**
1025
+ * 更新时间。
1026
+ */
1027
+ UpdatedAt?: string;
1028
+ /**
1029
+ * 套餐包基本信息
1030
+ */
1031
+ PackageInfo?: TokenPlanPackageInfo;
1032
+ /**
1033
+ * 自动续费标识。取值:0(手动续费)、1(自动续费)、2(明确不自动续费)。未绑定预付费资源时不返回。
1034
+ */
1035
+ AutoRenewFlag?: number;
1036
+ /**
1037
+ * 当前已创建的 API Key 数量
1038
+ */
1039
+ ApiKeyCount?: number;
1040
+ /**
1041
+ * 当前周期 Token 用量明细
1042
+ */
1043
+ TokenSummary?: TokenSummary;
1044
+ /**
1045
+ * 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)
1046
+ */
1047
+ ProductType?: string;
1048
+ /**
1049
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1050
+ */
1051
+ RequestId?: string;
1052
+ }
1053
+ /**
1054
+ * CreateTokenPlanApiKeys请求参数结构体
1055
+ */
1056
+ export interface CreateTokenPlanApiKeysRequest {
1057
+ /**
1058
+ * 套餐 ID。可通过DescribeTokenPlanList接口获取。
1059
+ */
1060
+ TeamId: string;
1061
+ /**
1062
+ * API Key 名称,最大 128 字符。如果创建 API Key 的数量超过1个,实际名称格式为 {ApiKeyName}-{序号}(如 mykey-1, mykey-2)。
1063
+ */
1064
+ ApiKeyName: string;
1065
+ /**
1066
+ * 创建数量。取值范围:1 ~ 10。
1067
+ */
1068
+ Count: number;
1069
+ /**
1070
+ * 可用模型列表。如果套餐类型为企业版专业套餐,可以指定模型,也可以传入“all”,传入 “all“表示可以使用套餐支持的所有模型,如果要指定具体模型,传入 Model ID,“all“和具体的 Model ID 不能同时传入,如果不传则表示该API Key不支持任何模型,从而影响API Key的正常使用。如果套餐类型为企业版轻享套餐,则无论是否传入该字段,以及该字段传入什么值,都会被强制覆盖为["auto"]。
1071
+ */
1072
+ AllowedModels?: Array<string>;
1073
+ /**
1074
+ * 独占额度。不传则为0,代表该 API Key 不被分配任何独占配额。单位说明如下:
1075
+ - 套餐类型为专业,单位取值为积分;
1076
+ - 套餐类型为轻享套餐,单位取值为 token。
1077
+ */
1078
+ ExclusiveQuota?: number;
1079
+ /**
1080
+ * 总额度上限。-1 表示不限,必须为 -1 或 >= API Key 当前的 ExclusiveQuota(独占额度)。不传表示不设置上限。单位说明如下:
1081
+ - 套餐类型为专业,单位取值为积分;
1082
+ - 套餐类型为轻享套餐,单位取值为 token。
1083
+ */
1084
+ TotalQuota?: number;
1085
+ /**
1086
+ * TPM(Tokens Per Minute)限制。不传使用套餐级别 TPM。必须 >= 0 且 <= 套餐 TPM。
1087
+ */
1088
+ TPM?: number;
1089
+ }
1090
+ /**
1091
+ * DescribeUsageRankList返回参数结构体
1092
+ */
1093
+ export interface DescribeUsageRankListResponse {
1094
+ /**
1095
+ * 回填请求的统计维度。
1096
+ */
1097
+ Dimension?: string;
1098
+ /**
1099
+ * 回填请求的指标族(本期固定为 tokens)。前端按本字段切换图表渲染逻辑。
1100
+ */
1101
+ MetricType?: string;
1102
+ /**
1103
+ * 本次响应中 Stats / Series / PageStats / TotalStats 实际包含的 metric key 列表,顺序固定为 [Total, Input, Output]。本期为 [TotalToken, InputTotalToken, OutputTotalToken]。前端可遍历此列表渲染图表,无需硬编码 key 名。
1104
+ */
1105
+ MetricKeys?: Array<string>;
1106
+ /**
1107
+ * 视图(数据来源)
1108
+ */
1109
+ ViewName?: string;
1110
+ /**
1111
+ * 回填请求的统计粒度(秒)。ShowAll=true 时为 0。
1112
+ */
1113
+ Period?: number;
1114
+ /**
1115
+ * 回填请求的起始时间。
1116
+ */
1117
+ StartTime?: string;
1118
+ /**
1119
+ * 回填请求的结束时间。
1120
+ */
1121
+ EndTime?: string;
1122
+ /**
1123
+ * 全量对象数。
1124
+ */
1125
+ Total?: number;
1126
+ /**
1127
+ * 回填请求的翻页起点。ShowAll=true 时为 0。
1128
+ */
1129
+ Offset?: number;
1130
+ /**
1131
+ * 页大小,恒为 10。ShowAll=true 时为 Total。
1132
+ */
1133
+ Limit?: number;
1134
+ /**
1135
+ * Series 数组对应的时间戳序列(Unix 秒)。ShowAll=true 时为空数组。
1136
+ */
1137
+ Timestamps?: Array<number | bigint>;
1138
+ /**
1139
+ * 对象排行列表,按主指标(`MetricKeys[0]`,本期为 TotalToken)降序排序。ShowAll=false 时为当前页 10 个对象(含 Series);ShowAll=true 时为全量对象(不含 Series,用于 CSV 导出)。
1140
+ */
1141
+ TopList?: Array<UsageRankItem>;
1142
+ /**
1143
+ * 分页统计结果
1144
+ */
1145
+ PageStats?: UsageStats;
1146
+ /**
1147
+ * 总统计结果
1148
+ */
1149
+ TotalStats?: UsageStats;
1150
+ /**
1151
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1152
+ */
1153
+ RequestId?: string;
1154
+ }
1155
+ /**
1156
+ * DeleteTokenPlanApiKey请求参数结构体
1157
+ */
1158
+ export interface DeleteTokenPlanApiKeyRequest {
1159
+ /**
1160
+ * API Key ID。可通过DescribeTokenPlanApiKeyList接口获取。
1161
+ */
1162
+ ApiKeyId: string;
1163
+ }
1164
+ /**
1165
+ * DescribeApiKey返回参数结构体
1166
+ */
1167
+ export interface DescribeApiKeyResponse {
1168
+ /**
1169
+ * API 密钥 ID。
1170
+ */
1171
+ ApiKeyId?: string;
1172
+ /**
1173
+ * 名称。
1174
+ */
1175
+ Name?: string;
1176
+ /**
1177
+ * API 密钥值(明文)。
1178
+ */
1179
+ ApiKey?: string;
1180
+ /**
1181
+ * 备注。
1182
+ */
1183
+ Remark?: string;
1184
+ /**
1185
+ * 平台类型。枚举:maas
1186
+ */
1187
+ Platform?: string;
1188
+ /**
1189
+ * 主账号。
1190
+ */
1191
+ Uin?: string;
1192
+ /**
1193
+ * 子账号。
1194
+ */
1195
+ SubUin?: string;
1196
+ /**
1197
+ * 状态。取值:enable(启用)、disable(禁用)。
1198
+ */
1199
+ Status?: string;
1200
+ /**
1201
+ * 绑定类型。取值:all(全部模型和接入点)、model_all_endpoint_custom(全部模型+自定义接入点)、model_custom_endpoint_all(自定义模型+全部接入点)、model_custom_endpoint_custom(自定义模型+自定义接入点)。
1202
+ */
1203
+ BindType?: string;
1204
+ /**
1205
+ * 创建时间。格式:YYYY-MM-DD HH:mm:ss。
1206
+ */
1207
+ CreateTime?: string;
1208
+ /**
1209
+ * 更新时间。格式:YYYY-MM-DD HH:mm:ss。
1210
+ */
1211
+ UpdateTime?: string;
1212
+ /**
1213
+ * 应用 ID。
1214
+ */
1215
+ AppId?: string;
1216
+ /**
1217
+ * 是否可编辑。true 表示可编辑,false 表示不可编辑。
1218
+ */
1219
+ Editable?: boolean;
1220
+ /**
1221
+ * 绑定资源列表,区分 endpoint 和 model 类型。
1222
+ */
1223
+ BindingItems?: Array<BindingItem>;
1224
+ /**
1225
+ * IP 白名单列表。支持 IPv4和 CIDR 格式。空数组表示不限制 IP。
1226
+ */
1227
+ IpWhitelist?: Array<string>;
1228
+ /**
1229
+ * 当Platform为maas时该字段为空
1230
+ */
1231
+ Creator?: string;
1232
+ /**
1233
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1234
+ */
1235
+ RequestId?: string;
1236
+ }
1237
+ /**
1238
+ * DescribeTokenPlanApiKeySecret请求参数结构体
1239
+ */
1240
+ export interface DescribeTokenPlanApiKeySecretRequest {
1241
+ /**
1242
+ * API Key ID。可通过DescribeTokenPlanApiKeyList接口获取。
1243
+ */
1244
+ ApiKeyId: string;
1245
+ }