tencentcloud-sdk-nodejs 4.1.254 → 4.1.255

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 (27) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/cam/v20190116/cam_client.js +3 -0
  3. package/es/services/ocr/v20181119/ocr_client.js +0 -3
  4. package/package.json +1 -1
  5. package/tencentcloud/common/sdk_version.d.ts +1 -1
  6. package/tencentcloud/common/sdk_version.js +1 -1
  7. package/tencentcloud/services/ai3d/v20250513/ai3d_models.d.ts +17 -5
  8. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +40 -28
  9. package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
  10. package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
  11. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +93 -10
  12. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +21 -23
  13. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +1 -1
  14. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
  15. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +357 -94
  16. package/tencentcloud/services/hai/v20230812/hai_client.d.ts +1 -1
  17. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +843 -830
  18. package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +9 -11
  19. package/tencentcloud/services/mna/v20210119/mna_models.d.ts +73 -77
  20. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -6
  21. package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -7
  22. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +49 -117
  23. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +8 -5
  24. package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +4 -0
  25. package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +35 -49
  26. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
  27. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +68 -38
@@ -31,28 +31,6 @@ export interface ComputeDetail {
31
31
  */
32
32
  Memory?: string;
33
33
  }
34
- /**
35
- * InquirePriceRunInstances返回参数结构体
36
- */
37
- export interface InquirePriceRunInstancesResponse {
38
- /**
39
- * 发货参数对应的价格组合,当DryRun=True,会返回空
40
- */
41
- Price?: Price;
42
- /**
43
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
44
- */
45
- RequestId?: string;
46
- }
47
- /**
48
- * ResizeInstanceDisk返回参数结构体
49
- */
50
- export interface ResizeInstanceDiskResponse {
51
- /**
52
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
53
- */
54
- RequestId?: string;
55
- }
56
34
  /**
57
35
  * StopInstance请求参数结构体
58
36
  */
@@ -72,19 +50,6 @@ export interface StopInstanceRequest {
72
50
  */
73
51
  DryRun?: boolean;
74
52
  }
75
- /**
76
- * DescribeServiceLoginSettings返回参数结构体
77
- */
78
- export interface DescribeServiceLoginSettingsResponse {
79
- /**
80
- * 服务登录配置详情
81
- */
82
- LoginSettings?: Array<LoginSetting>;
83
- /**
84
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
85
- */
86
- RequestId?: string;
87
- }
88
53
  /**
89
54
  * DescribeServicesCallInfo返回参数结构体
90
55
  */
@@ -99,1012 +64,1114 @@ export interface DescribeServicesCallInfoResponse {
99
64
  RequestId?: string;
100
65
  }
101
66
  /**
102
- * ResetInstancesPassword返回参数结构体
67
+ * TerminateInstances返回参数结构体
103
68
  */
104
- export interface ResetInstancesPasswordResponse {
105
- /**
106
- * task任务id
107
- */
108
- TaskId?: number;
69
+ export interface TerminateInstancesResponse {
109
70
  /**
110
71
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
111
72
  */
112
73
  RequestId?: string;
113
74
  }
114
75
  /**
115
- * DeleteService返回参数结构体
76
+ * 服务调用信息
116
77
  */
117
- export interface DeleteServiceResponse {
78
+ export interface CallInfo {
118
79
  /**
119
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
80
+ * 服务ID
120
81
  */
121
- RequestId?: string;
122
- }
123
- /**
124
- * 镜像相关配置
125
- */
126
- export interface ImageInfo {
82
+ ServiceId?: string;
127
83
  /**
128
- * <p>tcr仓库地址</p>
84
+ * 服务调用地址
129
85
  */
130
- ImageRegistryUrl?: string;
86
+ PublicEndpoint?: string;
131
87
  /**
132
- * <p>仓库用户名</p>
88
+ * 服务调用的API_KEY
133
89
  */
134
- ImageRegistryUsername?: string;
90
+ ApiKey?: string;
135
91
  /**
136
- * <p>仓库密码</p>
92
+ * 内网调用地址
137
93
  */
138
- ImageRegistryPassword?: string;
94
+ VpcEndpoint?: string;
139
95
  }
140
96
  /**
141
- * UpdateServiceConfigs请求参数结构体
97
+ * 资源相关信息
142
98
  */
143
- export interface UpdateServiceConfigsRequest {
144
- /**
145
- * <p>服务ID</p>
146
- */
147
- ServiceId: string;
99
+ export interface ComputeInfo {
148
100
  /**
149
- * <p>期望副本数</p>
101
+ * <p>资源类型及数量</p>
150
102
  */
151
- TargetReplicas?: number;
103
+ ComputeResources?: Array<ComputeResource>;
152
104
  /**
153
- * <p>启动参数、环境变量等参数</p>
105
+ * <p>副本数</p>
154
106
  */
155
- DeploymentConfigs?: Array<DeploymentConfig>;
107
+ Replicas?: number;
156
108
  }
157
109
  /**
158
- * TerminateInstances请求参数结构体
110
+ * ResizeInstanceDisk请求参数结构体
159
111
  */
160
- export interface TerminateInstancesRequest {
112
+ export interface ResizeInstanceDiskRequest {
161
113
  /**
162
- * 实例ID列表。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612) API获取实例ID列表。单次能查询100个InstanceId。
114
+ * 需要扩容云盘的HAI实例ID
163
115
  */
164
- InstanceIds: Array<string>;
116
+ InstanceId: string;
165
117
  /**
166
- * 默认为False,True代表只验证接口连通性
118
+ * 扩容云硬盘大小,单位为GB,必须大于当前云硬盘大小。
167
119
  */
168
- DryRun?: boolean;
120
+ DiskSize: number;
169
121
  }
170
122
  /**
171
- * InquirePriceUpdateServiceConfigs请求参数结构体
172
- */
173
- export type InquirePriceUpdateServiceConfigsRequest = null;
174
- /**
175
- * DescribeServices返回参数结构体
123
+ * DescribeDeployTemplates返回参数结构体
176
124
  */
177
- export interface DescribeServicesResponse {
178
- /**
179
- * <p>总数</p>
180
- */
181
- TotalCount?: number;
125
+ export interface DescribeDeployTemplatesResponse {
182
126
  /**
183
- * <p>服务列表</p>
127
+ * 模板列表
184
128
  */
185
- ServiceInfoSet?: Array<ServiceDetail>;
129
+ TemplateSet?: Array<TemplateDetail>;
186
130
  /**
187
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
131
+ * 支持的推理引擎
188
132
  */
189
- RequestId?: string;
190
- }
191
- /**
192
- * TerminateInstances返回参数结构体
193
- */
194
- export interface TerminateInstancesResponse {
133
+ EngineTypes?: Array<string>;
195
134
  /**
196
135
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
197
136
  */
198
137
  RequestId?: string;
199
138
  }
200
139
  /**
201
- * RunInstances返回参数结构体
140
+ * 推理服务的算力资源
202
141
  */
203
- export interface RunInstancesResponse {
204
- /**
205
- * 实例ID列表
206
- */
207
- InstanceIdSet?: Array<string>;
142
+ export interface ComputeResource {
208
143
  /**
209
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
144
+ * 算力套餐的类型
210
145
  */
211
- RequestId?: string;
212
- }
213
- /**
214
- * HiCache信息
215
- */
216
- export interface HiCacheInfo {
146
+ BundleType: string;
217
147
  /**
218
- * HiCache缓存等级
148
+ * 节点数量
219
149
  */
220
- HiCacheLevel?: string;
150
+ Count: number;
221
151
  }
222
152
  /**
223
- * DescribeRegions请求参数结构体
224
- */
225
- export type DescribeRegionsRequest = null;
226
- /**
227
- * 服务调用信息
153
+ * 地域列表
228
154
  */
229
- export interface CallInfo {
155
+ export interface RegionInfo {
230
156
  /**
231
- * 服务ID
157
+ * 地域
232
158
  */
233
- ServiceId?: string;
159
+ Region?: string;
234
160
  /**
235
- * 服务调用地址
161
+ * 地域名称
236
162
  */
237
- PublicEndpoint?: string;
163
+ RegionName?: string;
238
164
  /**
239
- * 服务调用的API_KEY
165
+ * 地域是否可用状态
166
+ AVAILABLE:可用
167
+
240
168
  */
241
- ApiKey?: string;
169
+ RegionState?: string;
242
170
  /**
243
- * 内网调用地址
171
+ * 学术加速是否支持:
172
+ NO_NEED_SUPPORT表示不需支持;NOT_SUPPORT_YET表示暂未支持;ALREADY_SUPPORT表示已经支持。
244
173
  */
245
- VpcEndpoint?: string;
174
+ ScholarRocketSupportState?: string;
246
175
  }
247
176
  /**
248
- * CreateInferServiceByTemplate返回参数结构体
177
+ * DescribeScenes返回参数结构体
249
178
  */
250
- export interface CreateInferServiceByTemplateResponse {
179
+ export interface DescribeScenesResponse {
251
180
  /**
252
- * <p>服务ID</p>
181
+ * 场景详情
253
182
  */
254
- ServiceId?: string;
183
+ SceneSet?: Array<SceneInfo>;
255
184
  /**
256
185
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
257
186
  */
258
187
  RequestId?: string;
259
188
  }
260
189
  /**
261
- * HAI 实例的网络配置和消耗情况
190
+ * RunInstances请求参数结构体
262
191
  */
263
- export interface NetworkStatus {
192
+ export interface RunInstancesRequest {
264
193
  /**
265
- * HAI 的实例 ID
194
+ * 应用ID通过调用接口[DescribeApplications](https://cloud.tencent.com/document/api/1721/101609)获取。
266
195
  */
267
- InstanceId?: string;
196
+ ApplicationId: string;
268
197
  /**
269
- * 公网 IP 地址
270
- 注意:此字段可能返回 null,表示取不到有效值。
198
+ * 算力套餐类型, 枚举:XL,XL_2X, 3XL, 3XL_2X, 4XL, 24GB_A
271
199
  */
272
- AddressIp?: string;
200
+ BundleType: string;
273
201
  /**
274
- * 出带宽上限,单位Mbps
275
- 注意:此字段可能返回 null,表示取不到有效值。
202
+ * 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
276
203
  */
277
- Bandwidth?: number;
204
+ SystemDisk?: SystemDisk;
278
205
  /**
279
- * 流量包总量,单位GB
206
+ * 购买实例数量,单次请求实例数量上限为10.
280
207
  */
281
- TotalTrafficAmount?: number;
208
+ InstanceCount?: number;
282
209
  /**
283
- * 流量包剩余量,单位GB
210
+ * 实例显示名称,名称长度限制为128个字符.
284
211
  */
285
- RemainingTrafficAmount?: number;
212
+ InstanceName?: string;
213
+ /**
214
+ * 幂等请求的token
215
+ */
216
+ ClientToken?: string;
217
+ /**
218
+ * DryRun为True就是只验接口连通性,默认为False
219
+ */
220
+ DryRun?: boolean;
286
221
  }
287
222
  /**
288
- * 资源相关信息
223
+ * 推理集群的网络设置
289
224
  */
290
- export interface ComputeInfo {
225
+ export interface NetworkSetting {
291
226
  /**
292
- * <p>资源类型及数量</p>
227
+ * 公网访问
293
228
  */
294
- ComputeResources?: Array<ComputeResource>;
229
+ PublicEndpointEnable?: boolean;
295
230
  /**
296
- * <p>副本数</p>
231
+ * 内网访问
297
232
  */
298
- Replicas?: number;
233
+ VpcEndpointEnable?: boolean;
234
+ /**
235
+ * vpc内网ID
236
+ */
237
+ VpcId?: string;
238
+ /**
239
+ * 子网ID
240
+ */
241
+ SubnetId?: string;
299
242
  }
300
243
  /**
301
- * 场景详情
244
+ * DescribeInstances返回参数结构体
302
245
  */
303
- export interface SceneInfo {
246
+ export interface DescribeInstancesResponse {
304
247
  /**
305
- * 场景id
248
+ * 实例总数
306
249
 
307
250
  */
308
- SceneId?: string;
251
+ TotalCount?: number;
309
252
  /**
310
- * 场景名
253
+ * 分页实例详情
311
254
 
312
255
  */
313
- SceneName?: string;
314
- }
315
- /**
316
- * 描述了服务的超参数配置
317
- */
318
- export interface HyperParam {
256
+ InstanceSet?: Array<Instance>;
319
257
  /**
320
- * HiCache缓存
258
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
321
259
  */
322
- HiCache?: HiCacheInfo;
260
+ RequestId?: string;
323
261
  }
324
262
  /**
325
- * ResizeInstanceDisk请求参数结构体
263
+ * 描述了操作系统所在块设备即系统盘的信息
326
264
  */
327
- export interface ResizeInstanceDiskRequest {
265
+ export interface SystemDisk {
328
266
  /**
329
- * 需要扩容云盘的HAI实例ID
267
+ * 系统盘类型。取值范围:<li>CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_HSSD:增强型SSD云盘</li>默认取值:当前有库存的硬盘类型。
330
268
  */
331
- InstanceId: string;
269
+ DiskType?: string;
332
270
  /**
333
- * 扩容云硬盘大小,单位为GB,必须大于当前云硬盘大小。
271
+ * 系统盘大小,单位:GB。默认值为 80,取值范围:80-1000
334
272
  */
335
- DiskSize: number;
273
+ DiskSize?: number;
274
+ /**
275
+ * 系统盘分区盘符
276
+ */
277
+ DiskName?: string;
336
278
  }
337
279
  /**
338
- * DescribeDeployTemplates返回参数结构体
280
+ * 服务详情
339
281
  */
340
- export interface DescribeDeployTemplatesResponse {
282
+ export interface ServiceDetail {
341
283
  /**
342
- * 模板列表
284
+ * 服务id
343
285
  */
344
- TemplateSet?: Array<TemplateDetail>;
286
+ ServiceId?: string;
345
287
  /**
346
- * 支持的推理引擎
288
+ * 服务名称
347
289
  */
348
- EngineTypes?: Array<string>;
290
+ ServiceName?: string;
349
291
  /**
350
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
292
+ * 服务状态
351
293
  */
352
- RequestId?: string;
353
- }
354
- /**
355
- * 推理集群的网络设置
356
- */
357
- export interface NetworkSetting {
294
+ ServiceState?: string;
358
295
  /**
359
- * 公网访问
296
+ * 运行中的副本数
360
297
  */
361
- PublicEndpointEnable?: boolean;
298
+ RunningReplicas?: number;
362
299
  /**
363
- * 内网访问
300
+ * 期望的副本总数
364
301
  */
365
- VpcEndpointEnable?: boolean;
302
+ TotalReplicas?: number;
366
303
  /**
367
- * vpc内网ID
304
+ * 创建时间
368
305
  */
369
- VpcId?: string;
306
+ CreateTime?: string;
370
307
  /**
371
- * 子网ID
308
+ * 算力套餐详情
372
309
  */
373
- SubnetId?: string;
374
- }
375
- /**
376
- * StartInstance请求参数结构体
377
- */
378
- export interface StartInstanceRequest {
310
+ ComputeSet?: Array<ComputeDetail>;
379
311
  /**
380
- * 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612) API获取实例ID。
312
+ * 模型名称
381
313
  */
382
- InstanceId: string;
314
+ ModelName?: string;
383
315
  /**
384
- * 默认为False,True代表只验证接口连通性
316
+ * 服务部署信息
385
317
  */
386
- DryRun?: boolean;
387
- }
388
- /**
389
- * 费用数据结构体
390
- */
391
- export interface Price {
318
+ DeploymentConfigs?: Array<DeploymentConfig>;
392
319
  /**
393
- * 实例价格信息
320
+ * 服务超参数配置
394
321
  */
395
- InstancePrice?: ItemPrice;
322
+ HyperParam?: HyperParam;
396
323
  /**
397
- * 云盘价格信息
324
+ *
398
325
  */
399
- CloudDiskPrice?: ItemPrice;
326
+ SecurityType?: string;
400
327
  /**
401
- * 分实例价格
328
+ *
402
329
  */
403
- PriceDetailSet?: Array<ItemPriceDetail>;
330
+ RoleComputeSet?: Array<ComputeDetail>;
331
+ /**
332
+ *
333
+ */
334
+ TargetReplicas?: number;
404
335
  }
405
336
  /**
406
- * DeployInferService返回参数结构体
337
+ * 探针配置信息
407
338
  */
408
- export interface DeployInferServiceResponse {
339
+ export interface ProbeConfig {
409
340
  /**
410
- * <p>服务ID</p>
341
+ * <p>HTTP GET请求进行健康检查</p>
411
342
  */
412
- ServiceId?: string;
343
+ HttpGet?: HttpConfig;
413
344
  /**
414
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
345
+ * <p>容器启动后,等待多少秒开始第一次探测</p>
415
346
  */
416
- RequestId?: string;
417
- }
418
- /**
419
- * 推理服务的算力资源
420
- */
421
- export interface ComputeResource {
347
+ InitialDelaySeconds?: number;
422
348
  /**
423
- * 算力套餐的类型
349
+ * <p>每次执行探测的间隔时间(秒)</p>
424
350
  */
425
- BundleType: string;
351
+ PeriodSeconds?: number;
426
352
  /**
427
- * 节点数量
353
+ * <p>每次探测等待响应的超时时间(秒)</p>
428
354
  */
429
- Count: number;
355
+ TimeoutSeconds?: number;
356
+ /**
357
+ * <p>探测失败后,最小连续成功次数才被认为成功</p>
358
+ */
359
+ SuccessThreshold?: number;
360
+ /**
361
+ * <p>探测失败后,Kubernetes的重试次数</p>
362
+ */
363
+ FailureThreshold?: number;
364
+ /**
365
+ * <p>TCP Socket请求进行健康检查</p>
366
+ */
367
+ TcpSocket?: TcpSocketConfig;
430
368
  }
431
369
  /**
432
- * DescribeMuskPrompts请求参数结构体
370
+ * 模型详情
433
371
  */
434
- export interface DescribeMuskPromptsRequest {
372
+ export interface ModelDetail {
435
373
  /**
436
- * workgroup id
374
+ * <p>模型名称</p>
437
375
  */
438
- WorkgroupId: string;
376
+ ModelName?: string;
439
377
  /**
440
- * workflow id
378
+ * <p>模型ID</p>
441
379
  */
442
- WorkflowId: string;
380
+ ModelId?: string;
443
381
  /**
444
- * offset
382
+ * <p>应用描述</p>
445
383
  */
446
- Offset: number;
384
+ Description?: string;
447
385
  /**
448
- * limit
386
+ * <p>官方社区链接</p>
449
387
  */
450
- Limit: number;
388
+ CommunityUrl?: string;
451
389
  /**
452
- * 过滤参数 支持过滤的键值: PromptId,Status
390
+ * <p>最佳实践链接</p>
453
391
  */
454
- Filters?: Array<Filter>;
392
+ GuideUrl?: string;
393
+ /**
394
+ * <p>模型状态</p>
395
+ */
396
+ ModelState?: string;
397
+ /**
398
+ * <p>应用对应的标签,如机器学习</p>
399
+ */
400
+ Tags?: Array<string>;
401
+ /**
402
+ * <p>配置环境</p>
403
+ */
404
+ ConfigEnvironment?: string;
455
405
  }
456
406
  /**
457
- * DescribeScenes返回参数结构体
407
+ * DescribeRegions返回参数结构体
458
408
  */
459
- export interface DescribeScenesResponse {
409
+ export interface DescribeRegionsResponse {
460
410
  /**
461
- * 场景详情
411
+ * 地域列表
462
412
  */
463
- SceneSet?: Array<SceneInfo>;
413
+ RegionSet?: Array<RegionInfo>;
464
414
  /**
465
415
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
466
416
  */
467
417
  RequestId?: string;
468
418
  }
469
419
  /**
470
- * 推理集群费用数据结构体
420
+ * DeleteService请求参数结构体
471
421
  */
472
- export interface ServicePriceDetail {
422
+ export interface DeleteServiceRequest {
473
423
  /**
474
- * 推理集群价格信息
424
+ * 服务ID
475
425
  */
476
- ServicePrice?: ItemPrice;
426
+ ServiceId: string;
477
427
  }
478
428
  /**
479
- * 存储信息
429
+ * 服务部署信息
480
430
  */
481
- export interface StorageInfo {
431
+ export interface DeploymentConfig {
482
432
  /**
483
- * 挂载路径
433
+ * <p>容器配置</p>
484
434
  */
485
- MountPath: string;
435
+ Container?: ContainerInfo;
486
436
  /**
487
- * cos挂载信息
437
+ * <p>容器数量</p>
488
438
  */
489
- COSStorage?: COSStorage;
439
+ ContainerCount?: number;
490
440
  }
491
441
  /**
492
- * DescribeApplications请求参数结构体
442
+ * StartInstance返回参数结构体
493
443
  */
494
- export interface DescribeApplicationsRequest {
495
- /**
496
- * 应用id列表。单次请求数量上限为100个。
497
- */
498
- ApplicationIds?: Array<string>;
444
+ export interface StartInstanceResponse {
499
445
  /**
500
- * 过滤器,跟ApplicationIds不能共用,支持的filter主要有:application-id: 精确匹配;scene-id: 精确匹配,通过调用接口 [DescribeScenes](https://cloud.tencent.com/document/api/1721/101608)获取;application-name: 模糊匹配;application-type: 精确匹配,枚举类型如下:PUBLIC_APPLICATION(公共应用)/ PRIVATE_APPLICATION(自定义应用)/ COMMUNITY_APPLICATION(社区应用);
446
+ * task任务id
501
447
  */
502
- Filters?: Array<Filter>;
448
+ TaskId?: number;
503
449
  /**
504
- * 偏移量,不得小于0,默认为0
450
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
505
451
  */
506
- Offset?: number;
452
+ RequestId?: string;
453
+ }
454
+ /**
455
+ * DescribeApplications返回参数结构体
456
+ */
457
+ export interface DescribeApplicationsResponse {
507
458
  /**
508
- * 返回量,不得大于100,默认为20
459
+ * 应用总数
509
460
  */
510
- Limit?: number;
461
+ TotalCount?: number;
511
462
  /**
512
- * 应用列表排序的依据字段。取值范围:"CREATED_TIME":依据应用的创建时间排序。 "APPLICATION_SIZE":依据应用的大小排序。默认按应用的创建时间排序。
463
+ * 分页返回的应用列表
513
464
  */
514
- OrderField?: string;
465
+ ApplicationSet?: Array<ApplicationInfo>;
515
466
  /**
516
- * 输出应用列表的排列顺序。取值范围:"ASC":升序排列。 "DESC":降序排列。默认按降序排列。
467
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
517
468
  */
518
- Order?: string;
469
+ RequestId?: string;
519
470
  }
520
471
  /**
521
- * InquirePriceUpdateServiceConfigs返回参数结构体
472
+ * HAI 实例的网络配置和消耗情况
522
473
  */
523
- export interface InquirePriceUpdateServiceConfigsResponse {
474
+ export interface NetworkStatus {
524
475
  /**
525
- * 发货参数对应的价格组合。
476
+ * HAI 的实例 ID
526
477
  */
527
- Price?: ServicePriceDetail;
478
+ InstanceId?: string;
528
479
  /**
529
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
480
+ * 公网 IP 地址
481
+ 注意:此字段可能返回 null,表示取不到有效值。
530
482
  */
531
- RequestId?: string;
532
- }
533
- /**
534
- * CreateApplication请求参数结构体
535
- */
536
- export interface CreateApplicationRequest {
483
+ AddressIp?: string;
537
484
  /**
538
- * 需要制作自定义应用的HAI实例ID
485
+ * 出带宽上限,单位Mbps
486
+ 注意:此字段可能返回 null,表示取不到有效值。
539
487
  */
540
- InstanceId: string;
488
+ Bandwidth?: number;
541
489
  /**
542
- * 自定义应用的应用名称
490
+ * 流量包总量,单位GB
543
491
  */
544
- ApplicationName: string;
492
+ TotalTrafficAmount?: number;
545
493
  /**
546
- * 自定义应用的描述
494
+ * 流量包剩余量,单位GB
547
495
  */
548
- ApplicationDescription?: string;
496
+ RemainingTrafficAmount?: number;
549
497
  }
550
498
  /**
551
- * InquirePriceRunInstances请求参数结构体
499
+ * DescribeServiceLoginSettings返回参数结构体
552
500
  */
553
- export interface InquirePriceRunInstancesRequest {
501
+ export interface DescribeServiceLoginSettingsResponse {
554
502
  /**
555
- * 应用ID通过调用接口[DescribeApplications](https://cloud.tencent.com/document/api/1721/101609)获取。
503
+ * 服务登录配置详情
556
504
  */
557
- ApplicationId: string;
505
+ LoginSettings?: Array<LoginSetting>;
558
506
  /**
559
- * 算力套餐类型, 枚举:XL,XL_2X, 3XL, 3XL_2X, 4XL, 24GB_A.
507
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
560
508
  */
561
- BundleType: string;
562
- /**
563
- * 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
564
- */
565
- SystemDisk?: SystemDisk;
566
- /**
567
- * 购买实例数量,单次请求实例数量上限为10。
568
- */
569
- InstanceCount?: number;
509
+ RequestId?: string;
510
+ }
511
+ /**
512
+ * 推理集群费用数据结构体
513
+ */
514
+ export interface ServicePriceDetail {
570
515
  /**
571
- * 实例显示名称,名称长度限制为128个字符。
516
+ * 推理集群价格信息
572
517
  */
573
- InstanceName?: string;
518
+ ServicePrice?: ItemPrice;
519
+ }
520
+ /**
521
+ * StartInstance请求参数结构体
522
+ */
523
+ export interface StartInstanceRequest {
574
524
  /**
575
- * 幂等请求token
525
+ * 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612) API获取实例ID。
576
526
  */
577
- ClientToken?: string;
527
+ InstanceId: string;
578
528
  /**
579
- * DryRun为True就是只验接口连通性,默认为False
529
+ * 默认为False,True代表只验证接口连通性
580
530
  */
581
531
  DryRun?: boolean;
532
+ }
533
+ /**
534
+ * DeployInferService返回参数结构体
535
+ */
536
+ export interface DeployInferServiceResponse {
582
537
  /**
583
- * 付费方式,POSTPAID_BY_HOUR按量后付费,PREPAID_BY_MONTH预付费按月,PREPAID_BY_DAY预付费按天
538
+ * <p>服务ID</p>
584
539
  */
585
- InstanceChargeType?: string;
540
+ ServiceId?: string;
586
541
  /**
587
- * 预付费参数
542
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
588
543
  */
589
- InstanceChargePrepaid?: InstanceChargePrepaid;
544
+ RequestId?: string;
590
545
  }
591
546
  /**
592
- * RunInstances请求参数结构体
547
+ * 某服务的登录配置
593
548
  */
594
- export interface RunInstancesRequest {
595
- /**
596
- * 应用ID通过调用接口[DescribeApplications](https://cloud.tencent.com/document/api/1721/101609)获取。
597
- */
598
- ApplicationId: string;
549
+ export interface LoginSetting {
599
550
  /**
600
- * 算力套餐类型, 枚举:XL,XL_2X, 3XL, 3XL_2X, 4XL, 24GB_A
551
+ * 服务名称
601
552
  */
602
- BundleType: string;
553
+ ServiceName?: string;
603
554
  /**
604
- * 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
555
+ * 服务登录url
605
556
  */
606
- SystemDisk?: SystemDisk;
557
+ Url?: string;
558
+ }
559
+ /**
560
+ * DescribeMuskPrompts返回参数结构体
561
+ */
562
+ export interface DescribeMuskPromptsResponse {
607
563
  /**
608
- * 购买实例数量,单次请求实例数量上限为10.
564
+ * total count
609
565
  */
610
- InstanceCount?: number;
566
+ TotalCount?: number;
611
567
  /**
612
- * 实例显示名称,名称长度限制为128个字符.
568
+ * prompt列表详情
613
569
  */
614
- InstanceName?: string;
570
+ MuskPromptInfos?: Array<MuskPromptInfo>;
615
571
  /**
616
- * 幂等请求的token
572
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
617
573
  */
618
- ClientToken?: string;
574
+ RequestId?: string;
575
+ }
576
+ /**
577
+ * UpdateServiceConfigs返回参数结构体
578
+ */
579
+ export interface UpdateServiceConfigsResponse {
619
580
  /**
620
- * DryRun为True就是只验接口连通性,默认为False
581
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
621
582
  */
622
- DryRun?: boolean;
583
+ RequestId?: string;
623
584
  }
624
585
  /**
625
- * DescribeDeployTemplates请求参数结构体
586
+ * RunInstances返回参数结构体
626
587
  */
627
- export interface DescribeDeployTemplatesRequest {
588
+ export interface RunInstancesResponse {
628
589
  /**
629
- * 模型ID
590
+ * 实例ID列表
630
591
  */
631
- ModelId: string;
592
+ InstanceIdSet?: Array<string>;
593
+ /**
594
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
595
+ */
596
+ RequestId?: string;
632
597
  }
633
598
  /**
634
- * DescribeServices请求参数结构体
599
+ * DescribeServicesCallInfo请求参数结构体
635
600
  */
636
- export interface DescribeServicesRequest {
601
+ export interface DescribeServicesCallInfoRequest {
637
602
  /**
638
- * <p>服务列表</p>
603
+ * 推理服务ID列表
639
604
  */
640
605
  ServiceIds?: Array<string>;
641
606
  /**
642
- * <p>分页大小</p>
607
+ * 分页大小
643
608
  */
644
609
  Limit?: number;
645
610
  /**
646
- * <p>偏移量</p>
611
+ * 偏移量
647
612
  */
648
613
  Offset?: number;
649
614
  }
650
615
  /**
651
- * 容器信息
616
+ * StopInstance返回参数结构体
652
617
  */
653
- export interface ContainerInfo {
654
- /**
655
- * <p>镜像相关信息</p>
656
- */
657
- Image?: ImageInfo;
658
- /**
659
- * <p>服务监听端口</p>
660
- */
661
- Port?: string;
662
- /**
663
- * <p>启动命令</p>
664
- */
665
- Scripts?: Array<string>;
666
- /**
667
- * <p>环境变量列表</p>
668
- */
669
- Envs?: Array<EnvParam>;
618
+ export interface StopInstanceResponse {
670
619
  /**
671
- * <p>存储挂载配置</p>
620
+ * task任务id
672
621
  */
673
- Storages?: Array<StorageInfo>;
622
+ TaskId?: number;
674
623
  /**
675
- * <p>探针信息</p>
624
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
676
625
  */
677
- Probe?: ProbeInfo;
626
+ RequestId?: string;
678
627
  }
679
628
  /**
680
- * DescribeInstances返回参数结构体
629
+ * 场景详情
681
630
  */
682
- export interface DescribeInstancesResponse {
631
+ export interface SceneInfo {
683
632
  /**
684
- * 实例总数
633
+ * 场景id
685
634
 
686
635
  */
687
- TotalCount?: number;
636
+ SceneId?: string;
688
637
  /**
689
- * 分页实例详情
638
+ * 场景名
690
639
 
691
640
  */
692
- InstanceSet?: Array<Instance>;
693
- /**
694
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
695
- */
696
- RequestId?: string;
641
+ SceneName?: string;
697
642
  }
698
643
  /**
699
- * 服务元数据信息,如服务名
644
+ * DeployInferService请求参数结构体
700
645
  */
701
- export interface ServiceMetaData {
646
+ export interface DeployInferServiceRequest {
702
647
  /**
703
- * 服务名称
648
+ * <p>服务元数据信息,如服务名</p>
704
649
  */
705
- ServiceName?: string;
650
+ ServiceMetaData?: ServiceMetaData;
706
651
  /**
707
- * 收费类型
652
+ * <p>资源相关信息</p>
708
653
  */
709
- ServiceChargeType?: string;
710
- }
711
- /**
712
- * 环境变量键值对
713
- */
714
- export interface EnvParam {
654
+ ComputeInfo?: ComputeInfo;
715
655
  /**
716
- * 环境变量名
656
+ * <p>服务部署信息</p>
717
657
  */
718
- Name?: string;
658
+ DeploymentConfigs?: Array<DeploymentConfig>;
719
659
  /**
720
- * 环境变量值
660
+ * <p>服务超参数配置</p>
721
661
  */
722
- Value?: string;
662
+ HyperParam?: HyperParam;
663
+ /**
664
+ * <p>网络设置</p>
665
+ */
666
+ NetworkSetting?: NetworkSetting;
667
+ /**
668
+ * <p>安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理</li><li>CONFIDENTIAL: 可信推理</li></ul>
669
+ */
670
+ SecurityType?: string;
723
671
  }
724
672
  /**
725
- * UpdateServiceConfigs返回参数结构体
673
+ * 推理服务TcpSocket的配置
726
674
  */
727
- export interface UpdateServiceConfigsResponse {
675
+ export interface TcpSocketConfig {
728
676
  /**
729
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
677
+ *
730
678
  */
731
- RequestId?: string;
679
+ Port?: number;
732
680
  }
733
681
  /**
734
- * 描述了操作系统所在块设备即系统盘的信息
682
+ * CreateInferServiceByTemplate请求参数结构体
735
683
  */
736
- export interface SystemDisk {
684
+ export interface CreateInferServiceByTemplateRequest {
737
685
  /**
738
- * 系统盘类型。取值范围:<li>CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_HSSD:增强型SSD云盘</li>默认取值:当前有库存的硬盘类型。
686
+ * <p>模版ID</p>
739
687
  */
740
- DiskType?: string;
688
+ TemplateId: string;
741
689
  /**
742
- * 系统盘大小,单位:GB。默认值为 80,取值范围:80-1000
690
+ * <p>服务名称</p>
743
691
  */
744
- DiskSize?: number;
692
+ ServiceName?: string;
745
693
  /**
746
- * 系统盘分区盘符
694
+ * <p>副本数</p>
747
695
  */
748
- DiskName?: string;
696
+ Replicas?: number;
697
+ /**
698
+ * <p>付费方式,POSTPAID_BY_HOUR按量后付费</p>
699
+ */
700
+ ServiceChargeType?: string;
701
+ /**
702
+ * <p>描述了服务的超参数配置</p>
703
+ */
704
+ HyperParam?: HyperParam;
705
+ /**
706
+ * <p>网络设置</p>
707
+ */
708
+ NetworkSetting?: NetworkSetting;
709
+ /**
710
+ * <p>推理服务安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理服务</li><li>CONFIDENTIAL: 可信推理服务</li></ul>
711
+ */
712
+ SecurityType?: string;
749
713
  }
750
714
  /**
751
- * 服务详情
715
+ * 应用信息
752
716
  */
753
- export interface ServiceDetail {
717
+ export interface ApplicationInfo {
754
718
  /**
755
- * 服务id
719
+ * 应用id
720
+
756
721
  */
757
- ServiceId?: string;
722
+ ApplicationId?: string;
758
723
  /**
759
- * 服务名称
724
+ * 应用名称
760
725
  */
761
- ServiceName?: string;
726
+ ApplicationName?: string;
762
727
  /**
763
- * 服务状态
728
+ * 应用描述
729
+
764
730
  */
765
- ServiceState?: string;
731
+ Description?: string;
766
732
  /**
767
- * 运行中的副本数
733
+ * 应用的环境配置
768
734
  */
769
- RunningReplicas?: number;
735
+ ConfigEnvironment?: string;
770
736
  /**
771
- * 期望的副本总数
737
+ * 系统盘大小下限,单位GB
772
738
  */
773
- TotalReplicas?: number;
739
+ MinSystemDiskSize?: number;
774
740
  /**
775
- * 创建时间
741
+ * 应用类型,目前该项取值可以为PUBLIC_APPLICATION(公共应用);PRIVATE_APPLICATION(自定义应用);COMMUNITY_APPLICATION(社区应用)
742
+ */
743
+ ApplicationType?: string;
744
+ /**
745
+ * 应用状态:CREATING-创建中;ONLINE -正常在线;DELETING -删除中;ARREARS - 欠费隔离
746
+ 示例值:ONLINE
747
+ */
748
+ ApplicationState?: string;
749
+ /**
750
+ * 应用创建时间,格式:%Y-%m-%d %H:%M:%S
776
751
  */
777
752
  CreateTime?: string;
778
753
  /**
779
- * 算力套餐详情
754
+ * 应用大小,单位GB
780
755
  */
781
- ComputeSet?: Array<ComputeDetail>;
756
+ ApplicationSize?: number;
757
+ }
758
+ /**
759
+ * 镜像相关配置
760
+ */
761
+ export interface ImageInfo {
782
762
  /**
783
- * 模型名称
763
+ * <p>tcr仓库地址</p>
784
764
  */
785
- ModelName?: string;
765
+ ImageRegistryUrl?: string;
786
766
  /**
787
- * 服务部署信息
767
+ * <p>仓库用户名</p>
788
768
  */
789
- DeploymentConfigs?: Array<DeploymentConfig>;
769
+ ImageRegistryUsername?: string;
790
770
  /**
791
- * 服务超参数配置
771
+ * <p>仓库密码</p>
792
772
  */
793
- HyperParam?: HyperParam;
773
+ ImageRegistryPassword?: string;
774
+ }
775
+ /**
776
+ * 分实例价格
777
+ */
778
+ export interface ItemPriceDetail {
794
779
  /**
795
- *
780
+ * 实例id
796
781
  */
797
- SecurityType?: string;
782
+ InstanceId?: string;
798
783
  /**
799
- *
784
+ * 实例价格详情
800
785
  */
801
- RoleComputeSet?: Array<ComputeDetail>;
786
+ InstancePrice?: ItemPrice;
802
787
  /**
803
- *
788
+ * 磁盘价格详情
804
789
  */
805
- TargetReplicas?: number;
790
+ CloudDiskPrice?: ItemPrice;
791
+ /**
792
+ * 该实例的总价钱
793
+ */
794
+ InstanceTotalPrice?: ItemPrice;
806
795
  }
807
796
  /**
808
- * 某服务的登录配置
797
+ * DescribeRegions请求参数结构体
809
798
  */
810
- export interface LoginSetting {
799
+ export type DescribeRegionsRequest = null;
800
+ /**
801
+ * DescribeServices请求参数结构体
802
+ */
803
+ export interface DescribeServicesRequest {
811
804
  /**
812
- * 服务名称
805
+ * <p>服务列表</p>
813
806
  */
814
- ServiceName?: string;
807
+ ServiceIds?: Array<string>;
815
808
  /**
816
- * 服务登录url
809
+ * <p>分页大小</p>
817
810
  */
818
- Url?: string;
811
+ Limit?: number;
812
+ /**
813
+ * <p>偏移量</p>
814
+ */
815
+ Offset?: number;
819
816
  }
820
817
  /**
821
- * 地域列表
818
+ * DescribeInstanceNetworkStatus请求参数结构体
822
819
  */
823
- export interface RegionInfo {
820
+ export interface DescribeInstanceNetworkStatusRequest {
824
821
  /**
825
- * 地域
822
+ * 实例ID数组,单次请求最多不超过100个实例;实例ID通过调用接口[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612)获取。
826
823
  */
827
- Region?: string;
824
+ InstanceIds: Array<string>;
825
+ }
826
+ /**
827
+ * musk prompt详情
828
+ */
829
+ export interface MuskPromptInfo {
828
830
  /**
829
- * 地域名称
831
+ * workflow id
830
832
  */
831
- RegionName?: string;
833
+ WorkflowId?: string;
832
834
  /**
833
- * 地域是否可用状态
834
- AVAILABLE:可用
835
-
835
+ * workgroup id
836
836
  */
837
- RegionState?: string;
837
+ WorkgroupId?: string;
838
838
  /**
839
- * 学术加速是否支持:
840
- NO_NEED_SUPPORT表示不需支持;NOT_SUPPORT_YET表示暂未支持;ALREADY_SUPPORT表示已经支持。
839
+ * prompt id
841
840
  */
842
- ScholarRocketSupportState?: string;
841
+ PromptId?: string;
842
+ /**
843
+ * 生成的内容
844
+ */
845
+ OutputResource?: Array<string>;
846
+ /**
847
+ * prompt status
848
+ 0: 执行中
849
+ 1: 执行成功
850
+ 2: 执行失败
851
+ */
852
+ Status?: number;
853
+ /**
854
+ * 创建时间
855
+ */
856
+ CreateTime?: string;
857
+ /**
858
+ * 更新时间
859
+ */
860
+ UpdateTime?: string;
861
+ /**
862
+ * 任务执行耗时,单位毫秒
863
+ */
864
+ Cost?: number;
865
+ /**
866
+ * 任务执行失败错误信息
867
+ */
868
+ ErrorMessage?: string;
843
869
  }
844
870
  /**
845
- * 探针配置信息
871
+ * InquirePriceRunInstances请求参数结构体
846
872
  */
847
- export interface ProbeConfig {
873
+ export interface InquirePriceRunInstancesRequest {
874
+ /**
875
+ * 应用ID通过调用接口[DescribeApplications](https://cloud.tencent.com/document/api/1721/101609)获取。
876
+ */
877
+ ApplicationId: string;
878
+ /**
879
+ * 算力套餐类型, 枚举:XL,XL_2X, 3XL, 3XL_2X, 4XL, 24GB_A.
880
+ */
881
+ BundleType: string;
882
+ /**
883
+ * 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
884
+ */
885
+ SystemDisk?: SystemDisk;
848
886
  /**
849
- * <p>HTTP GET请求进行健康检查</p>
887
+ * 购买实例数量,单次请求实例数量上限为10。
850
888
  */
851
- HttpGet?: HttpConfig;
889
+ InstanceCount?: number;
852
890
  /**
853
- * <p>容器启动后,等待多少秒开始第一次探测</p>
891
+ * 实例显示名称,名称长度限制为128个字符。
854
892
  */
855
- InitialDelaySeconds?: number;
893
+ InstanceName?: string;
856
894
  /**
857
- * <p>每次执行探测的间隔时间(秒)</p>
895
+ * 幂等请求token
858
896
  */
859
- PeriodSeconds?: number;
897
+ ClientToken?: string;
860
898
  /**
861
- * <p>每次探测等待响应的超时时间(秒)</p>
899
+ * DryRun为True就是只验接口连通性,默认为False
862
900
  */
863
- TimeoutSeconds?: number;
901
+ DryRun?: boolean;
864
902
  /**
865
- * <p>探测失败后,最小连续成功次数才被认为成功</p>
903
+ * 付费方式,POSTPAID_BY_HOUR按量后付费,PREPAID_BY_MONTH预付费按月,PREPAID_BY_DAY预付费按天
866
904
  */
867
- SuccessThreshold?: number;
905
+ InstanceChargeType?: string;
868
906
  /**
869
- * <p>探测失败后,Kubernetes的重试次数</p>
907
+ * 预付费参数
870
908
  */
871
- FailureThreshold?: number;
909
+ InstanceChargePrepaid?: InstanceChargePrepaid;
872
910
  }
873
911
  /**
874
- * DescribeInstances请求参数结构体
912
+ * 环境变量键值对
875
913
  */
876
- export interface DescribeInstancesRequest {
877
- /**
878
- * 实例元组,数量上限100
879
- */
880
- InstanceIds?: Array<string>;
881
- /**
882
- * 描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有: instance-id,实例id; instance-state,实例状态:RUNNING,PENDING,STOPPED,ARREARS,STOPPED_NO_CHARGE; charge-type,付费方式:PREPAID_BY_MONTH,POSTPAID_BY_HOUR; public-ip-address,公网IP过滤
883
- */
884
- Filters?: Array<Filter>;
914
+ export interface EnvParam {
885
915
  /**
886
- * 偏移量,默认为0,不得大于100
916
+ * 环境变量名
887
917
  */
888
- Offset?: number;
918
+ Name?: string;
889
919
  /**
890
- * 返回量,默认为20,不能小于0
920
+ * 环境变量值
891
921
  */
892
- Limit?: number;
922
+ Value?: string;
893
923
  }
894
924
  /**
895
- * DescribeServicesCallInfo请求参数结构体
925
+ * ResetInstancesPassword返回参数结构体
896
926
  */
897
- export interface DescribeServicesCallInfoRequest {
898
- /**
899
- * 推理服务ID列表
900
- */
901
- ServiceIds?: Array<string>;
927
+ export interface ResetInstancesPasswordResponse {
902
928
  /**
903
- * 分页大小
929
+ * task任务id
904
930
  */
905
- Limit?: number;
931
+ TaskId?: number;
906
932
  /**
907
- * 偏移量
933
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
908
934
  */
909
- Offset?: number;
935
+ RequestId?: string;
910
936
  }
911
937
  /**
912
- * cos挂载信息
938
+ * DeleteService返回参数结构体
913
939
  */
914
- export interface COSStorage {
940
+ export interface DeleteServiceResponse {
915
941
  /**
916
- * cos桶uri
942
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
917
943
  */
918
- URI?: string;
944
+ RequestId?: string;
919
945
  }
920
946
  /**
921
- * 模型详情
947
+ * 实例信息
922
948
  */
923
- export interface ModelDetail {
949
+ export interface Instance {
924
950
  /**
925
- * <p>模型名称</p>
951
+ * 实例id
926
952
  */
927
- ModelName?: string;
953
+ InstanceId?: string;
928
954
  /**
929
- * <p>模型ID</p>
955
+ * 实例名称
930
956
  */
931
- ModelId?: string;
957
+ InstanceName?: string;
932
958
  /**
933
- * <p>应用描述</p>
959
+ * 实例状态:
960
+ PENDING:表示创建中
961
+ LAUNCH_FAILED:表示创建失败
962
+ RUNNING:表示运行中
963
+ ARREARS:表示待回收
964
+ STOPPED_NO_CHARGE:表示关机不收费
965
+ TERMINATING:表示销毁中
966
+ TERMINATED:表示已销毁
934
967
  */
935
- Description?: string;
968
+ InstanceState?: string;
936
969
  /**
937
- * <p>官方社区链接</p>
970
+ * 应用名称
971
+
938
972
  */
939
- CommunityUrl?: string;
973
+ ApplicationName?: string;
940
974
  /**
941
- * <p>最佳实践链接</p>
975
+ * 算力套餐名称
976
+
942
977
  */
943
- GuideUrl?: string;
978
+ BundleName?: string;
944
979
  /**
945
- * <p>模型状态</p>
980
+ * 实例所包含的GPU卡数
946
981
  */
947
- ModelState?: string;
982
+ GPUCount?: number;
948
983
  /**
949
- * <p>应用对应的标签,如机器学习</p>
984
+ * 算力
985
+
950
986
  */
951
- Tags?: Array<string>;
987
+ GPUPerformance?: string;
952
988
  /**
953
- * <p>配置环境</p>
989
+ * 显存,单位:GB
954
990
  */
955
- ConfigEnvironment?: string;
956
- }
957
- /**
958
- * DescribeServiceLoginSettings请求参数结构体
959
- */
960
- export interface DescribeServiceLoginSettingsRequest {
991
+ GPUMemory?: string;
961
992
  /**
962
- * 实例ID通过调用接口[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612)获取。
993
+ * CPU核数,单位:核
963
994
  */
964
- InstanceId: string;
995
+ CPU?: string;
965
996
  /**
966
- * 服务名称
997
+ * 内存,单位:GB
998
+
967
999
  */
968
- ServiceName?: string;
969
- }
970
- /**
971
- * musk prompt详情
972
- */
973
- export interface MuskPromptInfo {
1000
+ Memory?: string;
974
1001
  /**
975
- * workflow id
1002
+ * 系统盘数据
976
1003
  */
977
- WorkflowId?: string;
1004
+ SystemDisk?: SystemDisk;
978
1005
  /**
979
- * workgroup id
1006
+ * 内网ip地址
980
1007
  */
981
- WorkgroupId?: string;
1008
+ PrivateIpAddresses?: Array<string>;
982
1009
  /**
983
- * prompt id
1010
+ * 公网ip地址
984
1011
  */
985
- PromptId?: string;
1012
+ PublicIpAddresses?: Array<string>;
986
1013
  /**
987
- * 生成的内容
1014
+ * 安全组ID
1015
+
988
1016
  */
989
- OutputResource?: Array<string>;
1017
+ SecurityGroupIds?: Array<string>;
990
1018
  /**
991
- * prompt status
992
- 0: 执行中
993
- 1: 执行成功
994
- 2: 执行失败
1019
+ * 实例最新操作
995
1020
  */
996
- Status?: number;
1021
+ LatestOperation?: string;
997
1022
  /**
998
- * 创建时间
1023
+ * 实例最新操作状态:
1024
+ SUCCESS:表示操作成功
1025
+ OPERATING:表示操作执行中
1026
+ FAILED:表示操作失败
1027
+
1028
+ */
1029
+ LatestOperationState?: string;
1030
+ /**
1031
+ * 实例创建时间,时间格式:"YYYY-MM-DD HH:MM:SS"
999
1032
  */
1000
1033
  CreateTime?: string;
1001
1034
  /**
1002
- * 更新时间
1035
+ * 公网出带宽上限,默认10Mbps,单位:Mbps
1003
1036
  */
1004
- UpdateTime?: string;
1037
+ MaxOutBandwidth?: string;
1005
1038
  /**
1006
- * 任务执行耗时,单位毫秒
1039
+ * 每月免费流量,默认500G,单位:GB
1007
1040
  */
1008
- Cost?: number;
1041
+ MaxFreeTraffic?: string;
1009
1042
  /**
1010
- * 任务执行失败错误信息
1043
+ * 应用配置环境
1011
1044
  */
1012
- ErrorMessage?: string;
1045
+ ConfigurationEnvironment?: string;
1046
+ /**
1047
+ * 实例包含的登录服务详情
1048
+ */
1049
+ LoginServices?: Array<LoginService>;
1050
+ /**
1051
+ * 应用服务的操作系统类型;参数:linux、windows
1052
+ */
1053
+ OSType?: string;
1013
1054
  }
1014
1055
  /**
1015
- * DescribeScenes请求参数结构体
1056
+ * InquirePriceUpdateServiceConfigs请求参数结构体
1016
1057
  */
1017
- export interface DescribeScenesRequest {
1058
+ export type InquirePriceUpdateServiceConfigsRequest = null;
1059
+ /**
1060
+ * CreateInferServiceByTemplate返回参数结构体
1061
+ */
1062
+ export interface CreateInferServiceByTemplateResponse {
1018
1063
  /**
1019
- * 场景id列表,单次能查询100个场景id
1064
+ * <p>服务ID</p>
1020
1065
  */
1021
- SceneIds?: Array<string>;
1066
+ ServiceId?: string;
1067
+ /**
1068
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1069
+ */
1070
+ RequestId?: string;
1022
1071
  }
1023
1072
  /**
1024
- * DescribeRegions返回参数结构体
1073
+ * CreateMuskPrompt返回参数结构体
1025
1074
  */
1026
- export interface DescribeRegionsResponse {
1075
+ export interface CreateMuskPromptResponse {
1027
1076
  /**
1028
- * 地域列表
1077
+ * prompt id
1029
1078
  */
1030
- RegionSet?: Array<RegionInfo>;
1079
+ PromptId?: string;
1031
1080
  /**
1032
1081
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1033
1082
  */
1034
1083
  RequestId?: string;
1035
1084
  }
1036
1085
  /**
1037
- * DeleteService请求参数结构体
1086
+ * 服务元数据信息,如服务名
1038
1087
  */
1039
- export interface DeleteServiceRequest {
1088
+ export interface ServiceMetaData {
1040
1089
  /**
1041
- * 服务ID
1090
+ * 服务名称
1042
1091
  */
1043
- ServiceId: string;
1092
+ ServiceName?: string;
1093
+ /**
1094
+ * 收费类型
1095
+ */
1096
+ ServiceChargeType?: string;
1044
1097
  }
1045
1098
  /**
1046
- * DeployInferService请求参数结构体
1099
+ * ResetInstancesPassword请求参数结构体
1047
1100
  */
1048
- export interface DeployInferServiceRequest {
1101
+ export interface ResetInstancesPasswordRequest {
1049
1102
  /**
1050
- * <p>服务元数据信息,如服务名</p>
1103
+ * 实例ID列表
1051
1104
  */
1052
- ServiceMetaData?: ServiceMetaData;
1105
+ InstanceIds: Array<string>;
1053
1106
  /**
1054
- * <p>资源相关信息</p>
1107
+ * 实例密码必须8-30位,推荐使用12位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br><li>小写字母:[a-z]</li><br><li>大写字母:[A-Z]</li><br><li>数字:0-9</li><br><li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;'<>,.?/</li>
1055
1108
  */
1056
- ComputeInfo?: ComputeInfo;
1109
+ Password: string;
1057
1110
  /**
1058
- * <p>服务部署信息</p>
1111
+ * 默认为False,True代表只验证接口连通性
1059
1112
  */
1060
- DeploymentConfigs?: Array<DeploymentConfig>;
1113
+ DryRun?: boolean;
1114
+ }
1115
+ /**
1116
+ * DescribeInstances请求参数结构体
1117
+ */
1118
+ export interface DescribeInstancesRequest {
1061
1119
  /**
1062
- * <p>服务超参数配置</p>
1120
+ * 实例元组,数量上限100
1063
1121
  */
1064
- HyperParam?: HyperParam;
1122
+ InstanceIds?: Array<string>;
1065
1123
  /**
1066
- * <p>网络设置</p>
1124
+ * 描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有: instance-id,实例id; instance-state,实例状态:RUNNING,PENDING,STOPPED,ARREARS,STOPPED_NO_CHARGE; charge-type,付费方式:PREPAID_BY_MONTH,POSTPAID_BY_HOUR; public-ip-address,公网IP过滤
1125
+ */
1126
+ Filters?: Array<Filter>;
1127
+ /**
1128
+ * 偏移量,默认为0,不得大于100
1067
1129
  */
1068
- NetworkSetting?: NetworkSetting;
1130
+ Offset?: number;
1069
1131
  /**
1070
- * <p>安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理</li><li>CONFIDENTIAL: 可信推理</li></ul>
1132
+ * 返回量,默认为20,不能小于0
1071
1133
  */
1072
- SecurityType?: string;
1134
+ Limit?: number;
1073
1135
  }
1074
1136
  /**
1075
- * 服务部署信息
1137
+ * DescribeServiceLoginSettings请求参数结构体
1076
1138
  */
1077
- export interface DeploymentConfig {
1139
+ export interface DescribeServiceLoginSettingsRequest {
1078
1140
  /**
1079
- * <p>容器配置</p>
1141
+ * 实例ID通过调用接口[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612)获取。
1080
1142
  */
1081
- Container?: ContainerInfo;
1143
+ InstanceId: string;
1082
1144
  /**
1083
- * <p>容器数量</p>
1145
+ * 服务名称
1084
1146
  */
1085
- ContainerCount?: number;
1147
+ ServiceName?: string;
1086
1148
  }
1087
1149
  /**
1088
- * StartInstance返回参数结构体
1150
+ * DescribeDeployTemplates请求参数结构体
1089
1151
  */
1090
- export interface StartInstanceResponse {
1152
+ export interface DescribeDeployTemplatesRequest {
1091
1153
  /**
1092
- * task任务id
1154
+ * 模型ID
1093
1155
  */
1094
- TaskId?: number;
1156
+ ModelId: string;
1157
+ }
1158
+ /**
1159
+ * ResizeInstanceDisk返回参数结构体
1160
+ */
1161
+ export interface ResizeInstanceDiskResponse {
1095
1162
  /**
1096
1163
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1097
1164
  */
1098
1165
  RequestId?: string;
1099
1166
  }
1100
1167
  /**
1101
- * CreateMuskPrompt返回参数结构体
1168
+ * InquirePriceUpdateServiceConfigs返回参数结构体
1102
1169
  */
1103
- export interface CreateMuskPromptResponse {
1170
+ export interface InquirePriceUpdateServiceConfigsResponse {
1104
1171
  /**
1105
- * prompt id
1172
+ * 发货参数对应的价格组合。
1106
1173
  */
1107
- PromptId?: string;
1174
+ Price?: ServicePriceDetail;
1108
1175
  /**
1109
1176
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1110
1177
  */
@@ -1128,268 +1195,211 @@ export interface ProbeInfo {
1128
1195
  StartupProbe?: ProbeConfig;
1129
1196
  }
1130
1197
  /**
1131
- * 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
1132
-
1133
- - 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
1134
- - 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
1135
- */
1136
- export interface Filter {
1137
- /**
1138
- * 需要过滤的字段。
1139
- */
1140
- Name: string;
1141
- /**
1142
- * 字段的过滤值。
1143
- */
1144
- Values: Array<string>;
1145
- }
1146
- /**
1147
- * CreateInferServiceByTemplate请求参数结构体
1198
+ * DescribeModels请求参数结构体
1148
1199
  */
1149
- export interface CreateInferServiceByTemplateRequest {
1200
+ export interface DescribeModelsRequest {
1150
1201
  /**
1151
- * <p>模版ID</p>
1202
+ * 模型id
1152
1203
  */
1153
- TemplateId: string;
1204
+ ModelIds?: Array<string>;
1154
1205
  /**
1155
- * <p>服务名称</p>
1206
+ * 过滤器。Name的可选值有scene-id
1156
1207
  */
1157
- ServiceName?: string;
1208
+ Filters?: Array<Filter>;
1158
1209
  /**
1159
- * <p>副本数</p>
1210
+ * 偏移量,不得小于0,默认为0
1160
1211
  */
1161
- Replicas?: number;
1212
+ Offset?: number;
1162
1213
  /**
1163
- * <p>付费方式,POSTPAID_BY_HOUR按量后付费</p>
1214
+ * 返回量,不得大于100,默认为20
1164
1215
  */
1165
- ServiceChargeType?: string;
1216
+ Limit?: number;
1217
+ }
1218
+ /**
1219
+ * CreateMuskPrompt请求参数结构体
1220
+ */
1221
+ export interface CreateMuskPromptRequest {
1166
1222
  /**
1167
- * <p>描述了服务的超参数配置</p>
1223
+ * workgroup id
1168
1224
  */
1169
- HyperParam?: HyperParam;
1225
+ WorkgroupId: string;
1170
1226
  /**
1171
- * <p>网络设置</p>
1227
+ * workflow id
1172
1228
  */
1173
- NetworkSetting?: NetworkSetting;
1229
+ WorkflowId: string;
1174
1230
  /**
1175
- * <p>推理服务安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理服务</li><li>CONFIDENTIAL: 可信推理服务</li></ul>
1231
+ * prompt 参数
1176
1232
  */
1177
- SecurityType?: string;
1233
+ PromptParams: string;
1178
1234
  }
1179
1235
  /**
1180
- * 应用信息
1236
+ * 套餐价格
1181
1237
  */
1182
- export interface ApplicationInfo {
1238
+ export interface ItemPrice {
1183
1239
  /**
1184
- * 应用id
1185
-
1240
+ * 原单价,元
1186
1241
  */
1187
- ApplicationId?: string;
1242
+ UnitPrice?: number;
1188
1243
  /**
1189
- * 应用名称
1244
+ * 折扣后单价,元
1190
1245
  */
1191
- ApplicationName?: string;
1246
+ DiscountUnitPrice?: number;
1192
1247
  /**
1193
- * 应用描述
1248
+ * 折扣
1249
+ */
1250
+ Discount?: number;
1251
+ /**
1252
+ * 单位:时/月
1194
1253
 
1195
1254
  */
1196
- Description?: string;
1255
+ ChargeUnit?: string;
1197
1256
  /**
1198
- * 应用的环境配置
1257
+ * 商品数量
1199
1258
  */
1200
- ConfigEnvironment?: string;
1259
+ Amount?: number;
1201
1260
  /**
1202
- * 系统盘大小下限,单位GB
1261
+ * 原价
1203
1262
  */
1204
- MinSystemDiskSize?: number;
1263
+ OriginPrice?: number;
1205
1264
  /**
1206
- * 应用类型,目前该项取值可以为PUBLIC_APPLICATION(公共应用);PRIVATE_APPLICATION(自定义应用);COMMUNITY_APPLICATION(社区应用)
1265
+ * 折扣价
1207
1266
  */
1208
- ApplicationType?: string;
1267
+ DiscountPrice?: number;
1268
+ }
1269
+ /**
1270
+ * DescribeInstanceNetworkStatus返回参数结构体
1271
+ */
1272
+ export interface DescribeInstanceNetworkStatusResponse {
1209
1273
  /**
1210
- * 应用状态:CREATING-创建中;ONLINE -正常在线;DELETING -删除中;ARREARS - 欠费隔离
1211
- 示例值:ONLINE
1274
+ * 查询结果集长度
1212
1275
  */
1213
- ApplicationState?: string;
1276
+ TotalCount?: number;
1214
1277
  /**
1215
- * 应用创建时间,格式:%Y-%m-%d %H:%M:%S
1278
+ * 查询结果集
1216
1279
  */
1217
- CreateTime?: string;
1280
+ NetworkStatusSet?: Array<NetworkStatus>;
1218
1281
  /**
1219
- * 应用大小,单位GB
1282
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1220
1283
  */
1221
- ApplicationSize?: number;
1284
+ RequestId?: string;
1222
1285
  }
1223
1286
  /**
1224
- * CreateApplication返回参数结构体
1287
+ * InquirePriceRunInstances返回参数结构体
1225
1288
  */
1226
- export interface CreateApplicationResponse {
1289
+ export interface InquirePriceRunInstancesResponse {
1227
1290
  /**
1228
- * HAI自定义应用ID
1291
+ * 发货参数对应的价格组合,当DryRun=True,会返回空
1229
1292
  */
1230
- ApplicationId?: string;
1293
+ Price?: Price;
1231
1294
  /**
1232
1295
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1233
1296
  */
1234
1297
  RequestId?: string;
1235
1298
  }
1236
1299
  /**
1237
- * 实例信息
1300
+ * TerminateInstances请求参数结构体
1238
1301
  */
1239
- export interface Instance {
1240
- /**
1241
- * 实例id
1242
- */
1243
- InstanceId?: string;
1244
- /**
1245
- * 实例名称
1246
- */
1247
- InstanceName?: string;
1248
- /**
1249
- * 实例状态:
1250
- PENDING:表示创建中
1251
- LAUNCH_FAILED:表示创建失败
1252
- RUNNING:表示运行中
1253
- ARREARS:表示待回收
1254
- STOPPED_NO_CHARGE:表示关机不收费
1255
- TERMINATING:表示销毁中
1256
- TERMINATED:表示已销毁
1257
- */
1258
- InstanceState?: string;
1259
- /**
1260
- * 应用名称
1261
-
1262
- */
1263
- ApplicationName?: string;
1264
- /**
1265
- * 算力套餐名称
1266
-
1267
- */
1268
- BundleName?: string;
1269
- /**
1270
- * 实例所包含的GPU卡数
1271
- */
1272
- GPUCount?: number;
1273
- /**
1274
- * 算力
1275
-
1276
- */
1277
- GPUPerformance?: string;
1278
- /**
1279
- * 显存,单位:GB
1280
- */
1281
- GPUMemory?: string;
1282
- /**
1283
- * CPU核数,单位:核
1284
- */
1285
- CPU?: string;
1286
- /**
1287
- * 内存,单位:GB
1288
-
1289
- */
1290
- Memory?: string;
1291
- /**
1292
- * 系统盘数据
1293
- */
1294
- SystemDisk?: SystemDisk;
1295
- /**
1296
- * 内网ip地址
1297
- */
1298
- PrivateIpAddresses?: Array<string>;
1299
- /**
1300
- * 公网ip地址
1301
- */
1302
- PublicIpAddresses?: Array<string>;
1303
- /**
1304
- * 安全组ID
1305
-
1306
- */
1307
- SecurityGroupIds?: Array<string>;
1302
+ export interface TerminateInstancesRequest {
1308
1303
  /**
1309
- * 实例最新操作
1304
+ * 实例ID列表。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612) API获取实例ID列表。单次能查询100个InstanceId。
1310
1305
  */
1311
- LatestOperation?: string;
1306
+ InstanceIds: Array<string>;
1312
1307
  /**
1313
- * 实例最新操作状态:
1314
- SUCCESS:表示操作成功
1315
- OPERATING:表示操作执行中
1316
- FAILED:表示操作失败
1317
-
1308
+ * 默认为False,True代表只验证接口连通性
1318
1309
  */
1319
- LatestOperationState?: string;
1310
+ DryRun?: boolean;
1311
+ }
1312
+ /**
1313
+ * 存储信息
1314
+ */
1315
+ export interface StorageInfo {
1320
1316
  /**
1321
- * 实例创建时间,时间格式:"YYYY-MM-DD HH:MM:SS"
1317
+ * 挂载路径
1322
1318
  */
1323
- CreateTime?: string;
1319
+ MountPath: string;
1324
1320
  /**
1325
- * 公网出带宽上限,默认10Mbps,单位:Mbps
1321
+ * cos挂载信息
1326
1322
  */
1327
- MaxOutBandwidth?: string;
1323
+ COSStorage?: COSStorage;
1324
+ }
1325
+ /**
1326
+ * DescribeServices返回参数结构体
1327
+ */
1328
+ export interface DescribeServicesResponse {
1328
1329
  /**
1329
- * 每月免费流量,默认500G,单位:GB
1330
+ * <p>总数</p>
1330
1331
  */
1331
- MaxFreeTraffic?: string;
1332
+ TotalCount?: number;
1332
1333
  /**
1333
- * 应用配置环境
1334
+ * <p>服务列表</p>
1334
1335
  */
1335
- ConfigurationEnvironment?: string;
1336
+ ServiceInfoSet?: Array<ServiceDetail>;
1336
1337
  /**
1337
- * 实例包含的登录服务详情
1338
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1338
1339
  */
1339
- LoginServices?: Array<LoginService>;
1340
+ RequestId?: string;
1341
+ }
1342
+ /**
1343
+ * HiCache信息
1344
+ */
1345
+ export interface HiCacheInfo {
1340
1346
  /**
1341
- * 应用服务的操作系统类型;参数:linux、windows
1347
+ * HiCache缓存等级
1342
1348
  */
1343
- OSType?: string;
1349
+ HiCacheLevel?: string;
1344
1350
  }
1345
1351
  /**
1346
- * DescribeModels返回参数结构体
1352
+ * 费用数据结构体
1347
1353
  */
1348
- export interface DescribeModelsResponse {
1354
+ export interface Price {
1349
1355
  /**
1350
- * 模型总数
1356
+ * 实例价格信息
1351
1357
  */
1352
- TotalCount?: number;
1358
+ InstancePrice?: ItemPrice;
1353
1359
  /**
1354
- * 分页返回的模型列表
1360
+ * 云盘价格信息
1355
1361
  */
1356
- ModelSet?: Array<ModelDetail>;
1362
+ CloudDiskPrice?: ItemPrice;
1357
1363
  /**
1358
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1364
+ * 分实例价格
1359
1365
  */
1360
- RequestId?: string;
1366
+ PriceDetailSet?: Array<ItemPriceDetail>;
1361
1367
  }
1362
1368
  /**
1363
- * 分实例价格
1369
+ * DescribeMuskPrompts请求参数结构体
1364
1370
  */
1365
- export interface ItemPriceDetail {
1371
+ export interface DescribeMuskPromptsRequest {
1366
1372
  /**
1367
- * 实例id
1373
+ * workgroup id
1368
1374
  */
1369
- InstanceId?: string;
1375
+ WorkgroupId: string;
1370
1376
  /**
1371
- * 实例价格详情
1377
+ * workflow id
1372
1378
  */
1373
- InstancePrice?: ItemPrice;
1379
+ WorkflowId: string;
1374
1380
  /**
1375
- * 磁盘价格详情
1381
+ * offset
1376
1382
  */
1377
- CloudDiskPrice?: ItemPrice;
1383
+ Offset: number;
1378
1384
  /**
1379
- * 该实例的总价钱
1385
+ * limit
1380
1386
  */
1381
- InstanceTotalPrice?: ItemPrice;
1387
+ Limit: number;
1388
+ /**
1389
+ * 过滤参数 支持过滤的键值: PromptId,Status
1390
+ */
1391
+ Filters?: Array<Filter>;
1382
1392
  }
1383
1393
  /**
1384
- * DescribeModels请求参数结构体
1394
+ * DescribeApplications请求参数结构体
1385
1395
  */
1386
- export interface DescribeModelsRequest {
1396
+ export interface DescribeApplicationsRequest {
1387
1397
  /**
1388
- * 模型id
1398
+ * 应用id列表。单次请求数量上限为100个。
1389
1399
  */
1390
- ModelIds?: Array<string>;
1400
+ ApplicationIds?: Array<string>;
1391
1401
  /**
1392
- * 过滤器。Name的可选值有scene-id
1402
+ * 过滤器,跟ApplicationIds不能共用,支持的filter主要有:application-id: 精确匹配;scene-id: 精确匹配,通过调用接口 [DescribeScenes](https://cloud.tencent.com/document/api/1721/101608)获取;application-name: 模糊匹配;application-type: 精确匹配,枚举类型如下:PUBLIC_APPLICATION(公共应用)/ PRIVATE_APPLICATION(自定义应用)/ COMMUNITY_APPLICATION(社区应用);
1393
1403
  */
1394
1404
  Filters?: Array<Filter>;
1395
1405
  /**
@@ -1400,130 +1410,163 @@ export interface DescribeModelsRequest {
1400
1410
  * 返回量,不得大于100,默认为20
1401
1411
  */
1402
1412
  Limit?: number;
1413
+ /**
1414
+ * 应用列表排序的依据字段。取值范围:"CREATED_TIME":依据应用的创建时间排序。 "APPLICATION_SIZE":依据应用的大小排序。默认按应用的创建时间排序。
1415
+ */
1416
+ OrderField?: string;
1417
+ /**
1418
+ * 输出应用列表的排列顺序。取值范围:"ASC":升序排列。 "DESC":降序排列。默认按降序排列。
1419
+ */
1420
+ Order?: string;
1403
1421
  }
1404
1422
  /**
1405
- * CreateMuskPrompt请求参数结构体
1423
+ * CreateApplication请求参数结构体
1406
1424
  */
1407
- export interface CreateMuskPromptRequest {
1425
+ export interface CreateApplicationRequest {
1408
1426
  /**
1409
- * workgroup id
1427
+ * 需要制作自定义应用的HAI实例ID
1410
1428
  */
1411
- WorkgroupId: string;
1429
+ InstanceId: string;
1412
1430
  /**
1413
- * workflow id
1431
+ * 自定义应用的应用名称
1414
1432
  */
1415
- WorkflowId: string;
1433
+ ApplicationName: string;
1416
1434
  /**
1417
- * prompt 参数
1435
+ * 自定义应用的描述
1418
1436
  */
1419
- PromptParams: string;
1437
+ ApplicationDescription?: string;
1420
1438
  }
1421
1439
  /**
1422
- * DescribeApplications返回参数结构体
1440
+ * 容器信息
1423
1441
  */
1424
- export interface DescribeApplicationsResponse {
1442
+ export interface ContainerInfo {
1425
1443
  /**
1426
- * 应用总数
1444
+ * <p>镜像相关信息</p>
1427
1445
  */
1428
- TotalCount?: number;
1446
+ Image?: ImageInfo;
1429
1447
  /**
1430
- * 分页返回的应用列表
1448
+ * <p>服务监听端口</p>
1431
1449
  */
1432
- ApplicationSet?: Array<ApplicationInfo>;
1450
+ Port?: string;
1433
1451
  /**
1434
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1452
+ * <p>启动命令</p>
1435
1453
  */
1436
- RequestId?: string;
1437
- }
1438
- /**
1439
- * http配置信息
1440
- */
1441
- export interface HttpConfig {
1454
+ Scripts?: Array<string>;
1442
1455
  /**
1443
- * <p>指定健康检查的URL路径</p>
1456
+ * <p>环境变量列表</p>
1444
1457
  */
1445
- Path?: string;
1458
+ Envs?: Array<EnvParam>;
1446
1459
  /**
1447
- * <p>指定健康检查的端口</p>
1460
+ * <p>存储挂载配置</p>
1448
1461
  */
1449
- Port?: number;
1462
+ Storages?: Array<StorageInfo>;
1463
+ /**
1464
+ * <p>探针信息</p>
1465
+ */
1466
+ Probe?: ProbeInfo;
1450
1467
  }
1451
1468
  /**
1452
- * 套餐价格
1469
+ * UpdateServiceConfigs请求参数结构体
1453
1470
  */
1454
- export interface ItemPrice {
1455
- /**
1456
- * 原单价,元
1457
- */
1458
- UnitPrice?: number;
1471
+ export interface UpdateServiceConfigsRequest {
1459
1472
  /**
1460
- * 折扣后单价,元
1473
+ * <p>服务ID</p>
1461
1474
  */
1462
- DiscountUnitPrice?: number;
1475
+ ServiceId: string;
1463
1476
  /**
1464
- * 折扣
1477
+ * <p>期望副本数</p>
1465
1478
  */
1466
- Discount?: number;
1479
+ TargetReplicas?: number;
1467
1480
  /**
1468
- * 单位:时/月
1469
-
1481
+ * <p>启动参数、环境变量等参数</p>
1470
1482
  */
1471
- ChargeUnit?: string;
1483
+ DeploymentConfigs?: Array<DeploymentConfig>;
1484
+ }
1485
+ /**
1486
+ * cos挂载信息
1487
+ */
1488
+ export interface COSStorage {
1472
1489
  /**
1473
- * 商品数量
1490
+ * cos桶uri
1474
1491
  */
1475
- Amount?: number;
1492
+ URI?: string;
1493
+ }
1494
+ /**
1495
+ * DescribeScenes请求参数结构体
1496
+ */
1497
+ export interface DescribeScenesRequest {
1476
1498
  /**
1477
- * 原价
1499
+ * 场景id列表,单次能查询100个场景id
1478
1500
  */
1479
- OriginPrice?: number;
1501
+ SceneIds?: Array<string>;
1502
+ }
1503
+ /**
1504
+ * 描述了服务的超参数配置
1505
+ */
1506
+ export interface HyperParam {
1480
1507
  /**
1481
- * 折扣价
1508
+ * HiCache缓存
1482
1509
  */
1483
- DiscountPrice?: number;
1510
+ HiCache?: HiCacheInfo;
1484
1511
  }
1485
1512
  /**
1486
- * DescribeInstanceNetworkStatus返回参数结构体
1513
+ * 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
1514
+
1515
+ - 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
1516
+ - 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
1487
1517
  */
1488
- export interface DescribeInstanceNetworkStatusResponse {
1518
+ export interface Filter {
1489
1519
  /**
1490
- * 查询结果集长度
1520
+ * 需要过滤的字段。
1491
1521
  */
1492
- TotalCount?: number;
1522
+ Name: string;
1493
1523
  /**
1494
- * 查询结果集
1524
+ * 字段的过滤值。
1495
1525
  */
1496
- NetworkStatusSet?: Array<NetworkStatus>;
1526
+ Values: Array<string>;
1527
+ }
1528
+ /**
1529
+ * CreateApplication返回参数结构体
1530
+ */
1531
+ export interface CreateApplicationResponse {
1532
+ /**
1533
+ * HAI自定义应用ID
1534
+ */
1535
+ ApplicationId?: string;
1497
1536
  /**
1498
1537
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1499
1538
  */
1500
1539
  RequestId?: string;
1501
1540
  }
1502
1541
  /**
1503
- * ResetInstancesPassword请求参数结构体
1542
+ * DescribeModels返回参数结构体
1504
1543
  */
1505
- export interface ResetInstancesPasswordRequest {
1544
+ export interface DescribeModelsResponse {
1506
1545
  /**
1507
- * 实例ID列表
1546
+ * 模型总数
1508
1547
  */
1509
- InstanceIds: Array<string>;
1548
+ TotalCount?: number;
1510
1549
  /**
1511
- * 实例密码必须8-30位,推荐使用12位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br><li>小写字母:[a-z]</li><br><li>大写字母:[A-Z]</li><br><li>数字:0-9</li><br><li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;'<>,.?/</li>
1550
+ * 分页返回的模型列表
1512
1551
  */
1513
- Password: string;
1552
+ ModelSet?: Array<ModelDetail>;
1514
1553
  /**
1515
- * 默认为False,True代表只验证接口连通性
1554
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1516
1555
  */
1517
- DryRun?: boolean;
1556
+ RequestId?: string;
1518
1557
  }
1519
1558
  /**
1520
- * DescribeInstanceNetworkStatus请求参数结构体
1559
+ * http配置信息
1521
1560
  */
1522
- export interface DescribeInstanceNetworkStatusRequest {
1561
+ export interface HttpConfig {
1523
1562
  /**
1524
- * 实例ID数组,单次请求最多不超过100个实例;实例ID通过调用接口[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612)获取。
1563
+ * <p>指定健康检查的URL路径</p>
1525
1564
  */
1526
- InstanceIds: Array<string>;
1565
+ Path?: string;
1566
+ /**
1567
+ * <p>指定健康检查的端口</p>
1568
+ */
1569
+ Port?: number;
1527
1570
  }
1528
1571
  /**
1529
1572
  * 模板详情
@@ -1563,19 +1606,6 @@ export interface LoginService {
1563
1606
  */
1564
1607
  ServiceName?: string;
1565
1608
  }
1566
- /**
1567
- * StopInstance返回参数结构体
1568
- */
1569
- export interface StopInstanceResponse {
1570
- /**
1571
- * task任务id
1572
- */
1573
- TaskId?: number;
1574
- /**
1575
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1576
- */
1577
- RequestId?: string;
1578
- }
1579
1609
  /**
1580
1610
  * 实例预付费入参
1581
1611
  */
@@ -1598,20 +1628,3 @@ export interface InstanceChargePrepaid {
1598
1628
  */
1599
1629
  TimeUnit?: string;
1600
1630
  }
1601
- /**
1602
- * DescribeMuskPrompts返回参数结构体
1603
- */
1604
- export interface DescribeMuskPromptsResponse {
1605
- /**
1606
- * total count
1607
- */
1608
- TotalCount?: number;
1609
- /**
1610
- * prompt列表详情
1611
- */
1612
- MuskPromptInfos?: Array<MuskPromptInfo>;
1613
- /**
1614
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1615
- */
1616
- RequestId?: string;
1617
- }