tencentcloud-sdk-nodejs-tione 4.1.11 → 4.1.17
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.
|
@@ -87,6 +87,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
87
87
|
async CreatePresignedNotebookUrl(req, cb) {
|
|
88
88
|
return this.request("CreatePresignedNotebookUrl", req, cb);
|
|
89
89
|
}
|
|
90
|
+
async DescribeLogs(req, cb) {
|
|
91
|
+
return this.request("DescribeLogs", req, cb);
|
|
92
|
+
}
|
|
90
93
|
async DeleteModelService(req, cb) {
|
|
91
94
|
return this.request("DeleteModelService", req, cb);
|
|
92
95
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreateModelServiceRequest, DescribeModelAccelerateVersionsRequest, StopModelAccelerateTaskRequest, DeleteTrainingModelVersionResponse, StartTrainingTaskRequest, DescribeBillingResourceGroupsRequest, DeleteNotebookRequest, DescribeTrainingModelVersionsRequest, CreateDatasetResponse, DescribeTrainingTasksRequest, DescribeBillingResourceGroupResponse, DescribeBillingResourceGroupsResponse, StartNotebookResponse, DescribeTrainingTaskPodsRequest, DescribeTrainingModelVersionRequest, StartNotebookRequest, PushTrainingMetricsRequest, DescribeModelAccelerateVersionsResponse, DescribeBuildInImagesRequest, ModifyModelServiceRequest, ChatCompletionRequest, DescribeModelServiceCallInfoRequest, CreateTrainingModelRequest, DescribeModelServiceGroupsResponse, DescribeBillingResourceInstanceRunningJobsResponse, CreateNotebookRequest, CreatePresignedNotebookUrlResponse, DescribeDatasetsRequest, DeleteTrainingModelResponse, DescribeInferTemplatesResponse, DescribeBillingSpecsRequest, DescribeInferTemplatesRequest, DeleteModelServiceGroupResponse, DescribeModelServiceResponse, DescribeModelAccelerateTaskResponse, DescribeModelServiceGroupsRequest, DescribeModelServiceRequest, CreateTrainingTaskResponse, DeleteModelServiceRequest, DescribeModelServiceGroupRequest, CreateTrainingTaskRequest, CreatePresignedNotebookUrlRequest, StopNotebookResponse, DescribeModelServiceHotUpdatedResponse, DescribeBuildInImagesResponse, DescribeDatasetsResponse, CreateNotebookResponse, DescribeBillingSpecsPriceRequest, DescribeBillingSpecsResponse, DeleteTrainingTaskResponse, DescribeNotebooksResponse, DescribeModelServiceCallInfoResponse, DescribeNotebooksRequest, DeleteNotebookResponse, DeleteTrainingTaskRequest, DescribeBillingResourceInstanceRunningJobsRequest, ModifyModelServiceResponse, CreateDatasetRequest, CreateModelServiceResponse, DescribeModelServiceGroupResponse, DescribeNotebookResponse, CreateTrainingModelResponse, StopModelAccelerateTaskResponse, DescribeModelAccelerateTaskRequest, DeleteDatasetResponse, DescribeTrainingTasksResponse, DescribeNotebookRequest, StopNotebookRequest, DeleteModelServiceGroupRequest, DescribeBillingResourceGroupRequest, DescribeTrainingTaskRequest, ChatCompletionResponse, DescribeTrainingModelVersionsResponse, DeleteDatasetRequest, PushTrainingMetricsResponse, StopTrainingTaskResponse, DescribeTrainingTaskPodsResponse, DeleteTrainingModelRequest, DescribeModelServiceHotUpdatedRequest, DescribeTrainingTaskResponse, DeleteModelServiceResponse, DeleteTrainingModelVersionRequest, DescribeBillingSpecsPriceResponse, DescribeTrainingModelVersionResponse, StopTrainingTaskRequest, StartTrainingTaskResponse } from "./tione_models";
|
|
2
|
+
import { CreateModelServiceRequest, DescribeLogsRequest, DescribeModelAccelerateVersionsRequest, StopModelAccelerateTaskRequest, DeleteTrainingModelVersionResponse, StartTrainingTaskRequest, DescribeBillingResourceGroupsRequest, DeleteNotebookRequest, DescribeTrainingModelVersionsRequest, CreateDatasetResponse, DescribeTrainingTasksRequest, DescribeBillingResourceGroupResponse, DescribeBillingResourceGroupsResponse, StartNotebookResponse, DescribeTrainingTaskPodsRequest, DescribeTrainingModelVersionRequest, StartNotebookRequest, PushTrainingMetricsRequest, DescribeModelAccelerateVersionsResponse, DescribeBuildInImagesRequest, ModifyModelServiceRequest, ChatCompletionRequest, DescribeModelServiceCallInfoRequest, CreateTrainingModelRequest, DescribeModelServiceGroupsResponse, DescribeBillingResourceInstanceRunningJobsResponse, CreateNotebookRequest, CreatePresignedNotebookUrlResponse, DescribeDatasetsRequest, DeleteTrainingModelResponse, DescribeInferTemplatesResponse, DescribeBillingSpecsRequest, DescribeInferTemplatesRequest, DeleteModelServiceGroupResponse, DescribeModelServiceResponse, DescribeModelAccelerateTaskResponse, DescribeModelServiceGroupsRequest, DescribeModelServiceRequest, CreateTrainingTaskResponse, DeleteModelServiceRequest, DescribeModelServiceGroupRequest, CreateTrainingTaskRequest, CreatePresignedNotebookUrlRequest, StopNotebookResponse, DescribeModelServiceHotUpdatedResponse, DescribeBuildInImagesResponse, DescribeDatasetsResponse, CreateNotebookResponse, DescribeBillingSpecsPriceRequest, DescribeBillingSpecsResponse, DeleteTrainingTaskResponse, DescribeNotebooksResponse, DescribeModelServiceCallInfoResponse, DescribeNotebooksRequest, DeleteNotebookResponse, DeleteTrainingTaskRequest, DescribeBillingResourceInstanceRunningJobsRequest, ModifyModelServiceResponse, CreateDatasetRequest, CreateModelServiceResponse, DescribeModelServiceGroupResponse, DescribeNotebookResponse, CreateTrainingModelResponse, StopModelAccelerateTaskResponse, DescribeModelAccelerateTaskRequest, DeleteDatasetResponse, DescribeTrainingTasksResponse, DescribeNotebookRequest, DescribeLogsResponse, StopNotebookRequest, DeleteModelServiceGroupRequest, DescribeBillingResourceGroupRequest, DescribeTrainingTaskRequest, ChatCompletionResponse, DescribeTrainingModelVersionsResponse, DeleteDatasetRequest, PushTrainingMetricsResponse, StopTrainingTaskResponse, DescribeTrainingTaskPodsResponse, DeleteTrainingModelRequest, DescribeModelServiceHotUpdatedRequest, DescribeTrainingTaskResponse, DeleteModelServiceResponse, DeleteTrainingModelVersionRequest, DescribeBillingSpecsPriceResponse, DescribeTrainingModelVersionResponse, StopTrainingTaskRequest, StartTrainingTaskResponse } from "./tione_models";
|
|
3
3
|
/**
|
|
4
4
|
* tione client
|
|
5
5
|
* @class
|
|
@@ -118,6 +118,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
118
118
|
* 生成Notebook访问链接
|
|
119
119
|
*/
|
|
120
120
|
CreatePresignedNotebookUrl(req: CreatePresignedNotebookUrlRequest, cb?: (error: string, rep: CreatePresignedNotebookUrlResponse) => void): Promise<CreatePresignedNotebookUrlResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* 获取任务式建模训练任务,Notebook,在线服务和批量预测任务的日志API
|
|
123
|
+
*/
|
|
124
|
+
DescribeLogs(req: DescribeLogsRequest, cb?: (error: string, rep: DescribeLogsResponse) => void): Promise<DescribeLogsResponse>;
|
|
121
125
|
/**
|
|
122
126
|
* 根据服务id删除模型服务
|
|
123
127
|
*/
|
|
@@ -196,6 +196,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
196
196
|
async CreatePresignedNotebookUrl(req, cb) {
|
|
197
197
|
return this.request("CreatePresignedNotebookUrl", req, cb);
|
|
198
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* 获取任务式建模训练任务,Notebook,在线服务和批量预测任务的日志API
|
|
201
|
+
*/
|
|
202
|
+
async DescribeLogs(req, cb) {
|
|
203
|
+
return this.request("DescribeLogs", req, cb);
|
|
204
|
+
}
|
|
199
205
|
/**
|
|
200
206
|
* 根据服务id删除模型服务
|
|
201
207
|
*/
|
|
@@ -175,183 +175,75 @@ export interface CreateModelServiceRequest {
|
|
|
175
175
|
PreStopCommand?: Array<string>;
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
178
|
-
*
|
|
178
|
+
* DescribeLogs请求参数结构体
|
|
179
179
|
*/
|
|
180
|
-
export interface
|
|
181
|
-
/**
|
|
182
|
-
* 服务组id
|
|
183
|
-
*/
|
|
184
|
-
ServiceGroupId?: string;
|
|
185
|
-
/**
|
|
186
|
-
* 服务id
|
|
187
|
-
*/
|
|
188
|
-
ServiceId?: string;
|
|
189
|
-
/**
|
|
190
|
-
* 服务组名
|
|
191
|
-
*/
|
|
192
|
-
ServiceGroupName?: string;
|
|
193
|
-
/**
|
|
194
|
-
* 服务描述
|
|
195
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
196
|
-
*/
|
|
197
|
-
ServiceDescription?: string;
|
|
198
|
-
/**
|
|
199
|
-
* 服务的详细信息
|
|
200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
201
|
-
*/
|
|
202
|
-
ServiceInfo?: ServiceInfo;
|
|
203
|
-
/**
|
|
204
|
-
* 集群id
|
|
205
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
206
|
-
*/
|
|
207
|
-
ClusterId?: string;
|
|
208
|
-
/**
|
|
209
|
-
* 地域
|
|
210
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
211
|
-
*/
|
|
212
|
-
Region?: string;
|
|
213
|
-
/**
|
|
214
|
-
* 命名空间
|
|
215
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
216
|
-
*/
|
|
217
|
-
Namespace?: string;
|
|
218
|
-
/**
|
|
219
|
-
* 付费类型
|
|
220
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
221
|
-
*/
|
|
222
|
-
ChargeType?: string;
|
|
223
|
-
/**
|
|
224
|
-
* 包年包月服务的资源组id,按量计费的服务为空
|
|
225
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
226
|
-
*/
|
|
227
|
-
ResourceGroupId?: string;
|
|
228
|
-
/**
|
|
229
|
-
* 包年包月服务对应的资源组名字
|
|
230
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
231
|
-
*/
|
|
232
|
-
ResourceGroupName?: string;
|
|
233
|
-
/**
|
|
234
|
-
* 服务的标签
|
|
235
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
236
|
-
*/
|
|
237
|
-
Tags?: Array<Tag>;
|
|
238
|
-
/**
|
|
239
|
-
* 服务所在的 ingress 的 name
|
|
240
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
241
|
-
*/
|
|
242
|
-
IngressName?: string;
|
|
243
|
-
/**
|
|
244
|
-
* 创建者
|
|
245
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
246
|
-
*/
|
|
247
|
-
CreatedBy?: string;
|
|
248
|
-
/**
|
|
249
|
-
* 创建时间
|
|
250
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
251
|
-
*/
|
|
252
|
-
CreateTime?: string;
|
|
253
|
-
/**
|
|
254
|
-
* 更新时间
|
|
255
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
256
|
-
*/
|
|
257
|
-
UpdateTime?: string;
|
|
258
|
-
/**
|
|
259
|
-
* 主账号
|
|
260
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
261
|
-
*/
|
|
262
|
-
Uin?: string;
|
|
263
|
-
/**
|
|
264
|
-
* 子账号
|
|
265
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
266
|
-
*/
|
|
267
|
-
SubUin?: string;
|
|
268
|
-
/**
|
|
269
|
-
* app_id
|
|
270
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
271
|
-
*/
|
|
272
|
-
AppId?: number;
|
|
180
|
+
export interface DescribeLogsRequest {
|
|
273
181
|
/**
|
|
274
|
-
*
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
281
|
-
* @deprecated
|
|
282
|
-
*/
|
|
283
|
-
ServiceLimit?: ServiceLimit;
|
|
284
|
-
/**
|
|
285
|
-
* 已废弃,以ServiceInfo中的对应为准
|
|
286
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
287
|
-
* @deprecated
|
|
182
|
+
* 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
|
|
183
|
+
枚举值:
|
|
184
|
+
- TRAIN
|
|
185
|
+
- NOTEBOOK
|
|
186
|
+
- INFER
|
|
187
|
+
- BATCH
|
|
288
188
|
*/
|
|
289
|
-
|
|
189
|
+
Service: string;
|
|
290
190
|
/**
|
|
291
|
-
*
|
|
292
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
191
|
+
* 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
|
|
293
192
|
*/
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* 服务状态
|
|
297
|
-
CREATING 创建中
|
|
298
|
-
CREATE_FAILED 创建失败
|
|
299
|
-
Normal 正常运行中
|
|
300
|
-
Stopped 已停止
|
|
301
|
-
Stopping 停止中
|
|
302
|
-
Abnormal 异常
|
|
303
|
-
Pending 启动中
|
|
304
|
-
Waiting 就绪中
|
|
305
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
306
|
-
*/
|
|
307
|
-
Status?: string;
|
|
308
|
-
/**
|
|
309
|
-
* 费用信息
|
|
310
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
311
|
-
*/
|
|
312
|
-
BillingInfo?: string;
|
|
193
|
+
StartTime?: string;
|
|
313
194
|
/**
|
|
314
|
-
*
|
|
315
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
195
|
+
* 日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间
|
|
316
196
|
*/
|
|
317
|
-
|
|
197
|
+
EndTime?: string;
|
|
318
198
|
/**
|
|
319
|
-
*
|
|
320
|
-
AUTO_ML: 来自自动学习的一键发布
|
|
321
|
-
DEFAULT: 其他来源
|
|
322
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
199
|
+
* 日志查询条数,默认值100,最大值100
|
|
323
200
|
*/
|
|
324
|
-
|
|
201
|
+
Limit?: number;
|
|
325
202
|
/**
|
|
326
|
-
*
|
|
327
|
-
|
|
203
|
+
* 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:
|
|
204
|
+
- Service类型为TRAIN:
|
|
205
|
+
调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId
|
|
206
|
+
- Service类型为NOTEBOOK:
|
|
207
|
+
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName
|
|
208
|
+
- Service类型为INFER:
|
|
209
|
+
调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId
|
|
210
|
+
- Service类型为BATCH:
|
|
211
|
+
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
|
|
328
212
|
*/
|
|
329
|
-
|
|
213
|
+
ServiceId?: string;
|
|
330
214
|
/**
|
|
331
|
-
*
|
|
332
|
-
|
|
215
|
+
* Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:
|
|
216
|
+
- Service类型为TRAIN:
|
|
217
|
+
调用[DescribeTrainingTaskPods接口](/document/product/851/75088)查询训练任务pod列表,PodName为接口返回值中Response.PodNames
|
|
218
|
+
- Service类型为NOTEBOOK:
|
|
219
|
+
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName
|
|
220
|
+
- Service类型为INFER:
|
|
221
|
+
调用[DescribeModelService接口](/document/product/851/82287)查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos
|
|
222
|
+
- Service类型为BATCH:
|
|
223
|
+
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail. PodList
|
|
224
|
+
注:支持结尾通配符*
|
|
333
225
|
*/
|
|
334
|
-
|
|
226
|
+
PodName?: string;
|
|
335
227
|
/**
|
|
336
|
-
*
|
|
337
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
228
|
+
* 排序方向(可选值为ASC, DESC ),默认为DESC
|
|
338
229
|
*/
|
|
339
|
-
|
|
230
|
+
Order?: string;
|
|
340
231
|
/**
|
|
341
|
-
*
|
|
342
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
232
|
+
* 按哪个字段排序(可选值为Timestamp),默认值为Timestamp
|
|
343
233
|
*/
|
|
344
|
-
|
|
234
|
+
OrderField?: string;
|
|
345
235
|
/**
|
|
346
|
-
*
|
|
347
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
236
|
+
* 日志查询上下文,查询下一页的时候需要回传这个字段,该字段来自本接口的返回
|
|
348
237
|
*/
|
|
349
|
-
|
|
238
|
+
Context?: string;
|
|
350
239
|
/**
|
|
351
|
-
*
|
|
352
|
-
|
|
240
|
+
* 过滤条件
|
|
241
|
+
注意:
|
|
242
|
+
1. Filter.Name:目前只支持Key(也就是按关键字过滤日志)
|
|
243
|
+
2. Filter.Values:表示过滤日志的关键字;Values为多个的时候表示同时满足
|
|
244
|
+
3. Filter. Negative和Filter. Fuzzy没有使用
|
|
353
245
|
*/
|
|
354
|
-
|
|
246
|
+
Filters?: Array<Filter>;
|
|
355
247
|
}
|
|
356
248
|
/**
|
|
357
249
|
* DescribeModelAccelerateVersions请求参数结构体
|
|
@@ -739,6 +631,185 @@ export interface CreateDatasetResponse {
|
|
|
739
631
|
*/
|
|
740
632
|
RequestId?: string;
|
|
741
633
|
}
|
|
634
|
+
/**
|
|
635
|
+
* 描述在线服务
|
|
636
|
+
*/
|
|
637
|
+
export interface Service {
|
|
638
|
+
/**
|
|
639
|
+
* 服务组id
|
|
640
|
+
*/
|
|
641
|
+
ServiceGroupId?: string;
|
|
642
|
+
/**
|
|
643
|
+
* 服务id
|
|
644
|
+
*/
|
|
645
|
+
ServiceId?: string;
|
|
646
|
+
/**
|
|
647
|
+
* 服务组名
|
|
648
|
+
*/
|
|
649
|
+
ServiceGroupName?: string;
|
|
650
|
+
/**
|
|
651
|
+
* 服务描述
|
|
652
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
653
|
+
*/
|
|
654
|
+
ServiceDescription?: string;
|
|
655
|
+
/**
|
|
656
|
+
* 服务的详细信息
|
|
657
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
658
|
+
*/
|
|
659
|
+
ServiceInfo?: ServiceInfo;
|
|
660
|
+
/**
|
|
661
|
+
* 集群id
|
|
662
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
663
|
+
*/
|
|
664
|
+
ClusterId?: string;
|
|
665
|
+
/**
|
|
666
|
+
* 地域
|
|
667
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
668
|
+
*/
|
|
669
|
+
Region?: string;
|
|
670
|
+
/**
|
|
671
|
+
* 命名空间
|
|
672
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
673
|
+
*/
|
|
674
|
+
Namespace?: string;
|
|
675
|
+
/**
|
|
676
|
+
* 付费类型
|
|
677
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
678
|
+
*/
|
|
679
|
+
ChargeType?: string;
|
|
680
|
+
/**
|
|
681
|
+
* 包年包月服务的资源组id,按量计费的服务为空
|
|
682
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
683
|
+
*/
|
|
684
|
+
ResourceGroupId?: string;
|
|
685
|
+
/**
|
|
686
|
+
* 包年包月服务对应的资源组名字
|
|
687
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
688
|
+
*/
|
|
689
|
+
ResourceGroupName?: string;
|
|
690
|
+
/**
|
|
691
|
+
* 服务的标签
|
|
692
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
693
|
+
*/
|
|
694
|
+
Tags?: Array<Tag>;
|
|
695
|
+
/**
|
|
696
|
+
* 服务所在的 ingress 的 name
|
|
697
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
698
|
+
*/
|
|
699
|
+
IngressName?: string;
|
|
700
|
+
/**
|
|
701
|
+
* 创建者
|
|
702
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
703
|
+
*/
|
|
704
|
+
CreatedBy?: string;
|
|
705
|
+
/**
|
|
706
|
+
* 创建时间
|
|
707
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
708
|
+
*/
|
|
709
|
+
CreateTime?: string;
|
|
710
|
+
/**
|
|
711
|
+
* 更新时间
|
|
712
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
713
|
+
*/
|
|
714
|
+
UpdateTime?: string;
|
|
715
|
+
/**
|
|
716
|
+
* 主账号
|
|
717
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
718
|
+
*/
|
|
719
|
+
Uin?: string;
|
|
720
|
+
/**
|
|
721
|
+
* 子账号
|
|
722
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
723
|
+
*/
|
|
724
|
+
SubUin?: string;
|
|
725
|
+
/**
|
|
726
|
+
* app_id
|
|
727
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
728
|
+
*/
|
|
729
|
+
AppId?: number;
|
|
730
|
+
/**
|
|
731
|
+
* 服务的业务状态
|
|
732
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
733
|
+
*/
|
|
734
|
+
BusinessStatus?: string;
|
|
735
|
+
/**
|
|
736
|
+
* 已废弃,以ServiceInfo中的对应为准
|
|
737
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
738
|
+
* @deprecated
|
|
739
|
+
*/
|
|
740
|
+
ServiceLimit?: ServiceLimit;
|
|
741
|
+
/**
|
|
742
|
+
* 已废弃,以ServiceInfo中的对应为准
|
|
743
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
744
|
+
* @deprecated
|
|
745
|
+
*/
|
|
746
|
+
ScheduledAction?: ScheduledAction;
|
|
747
|
+
/**
|
|
748
|
+
* 服务创建失败的原因,创建成功后该字段为默认值 CREATE_SUCCEED
|
|
749
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
750
|
+
*/
|
|
751
|
+
CreateFailedReason?: string;
|
|
752
|
+
/**
|
|
753
|
+
* 服务状态
|
|
754
|
+
CREATING 创建中
|
|
755
|
+
CREATE_FAILED 创建失败
|
|
756
|
+
Normal 正常运行中
|
|
757
|
+
Stopped 已停止
|
|
758
|
+
Stopping 停止中
|
|
759
|
+
Abnormal 异常
|
|
760
|
+
Pending 启动中
|
|
761
|
+
Waiting 就绪中
|
|
762
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
763
|
+
*/
|
|
764
|
+
Status?: string;
|
|
765
|
+
/**
|
|
766
|
+
* 费用信息
|
|
767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
768
|
+
*/
|
|
769
|
+
BillingInfo?: string;
|
|
770
|
+
/**
|
|
771
|
+
* 模型权重
|
|
772
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
773
|
+
*/
|
|
774
|
+
Weight?: number;
|
|
775
|
+
/**
|
|
776
|
+
* 服务的创建来源
|
|
777
|
+
AUTO_ML: 来自自动学习的一键发布
|
|
778
|
+
DEFAULT: 其他来源
|
|
779
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
780
|
+
*/
|
|
781
|
+
CreateSource?: string;
|
|
782
|
+
/**
|
|
783
|
+
* 版本号
|
|
784
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
785
|
+
*/
|
|
786
|
+
Version?: string;
|
|
787
|
+
/**
|
|
788
|
+
* 服务组下服务的最高版本号
|
|
789
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
790
|
+
*/
|
|
791
|
+
LatestVersion?: string;
|
|
792
|
+
/**
|
|
793
|
+
* 资源组类别 托管 NORMAL,纳管 SW
|
|
794
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
795
|
+
*/
|
|
796
|
+
ResourceGroupSWType?: string;
|
|
797
|
+
/**
|
|
798
|
+
* 服务的归档状态 Waiting 等待归档中,Archived 已归档
|
|
799
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
800
|
+
*/
|
|
801
|
+
ArchiveStatus?: string;
|
|
802
|
+
/**
|
|
803
|
+
* 服务的部署类型 [STANDARD 标准部署,DIST 分布式多机部署] 默认STANDARD
|
|
804
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
805
|
+
*/
|
|
806
|
+
DeployType?: string;
|
|
807
|
+
/**
|
|
808
|
+
* 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
|
809
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
810
|
+
*/
|
|
811
|
+
InstancePerReplicas?: string;
|
|
812
|
+
}
|
|
742
813
|
/**
|
|
743
814
|
* 跨租户弹性网卡下Pod调用信息
|
|
744
815
|
*/
|
|
@@ -4370,6 +4441,31 @@ export interface CreateTrainingModelResponse {
|
|
|
4370
4441
|
*/
|
|
4371
4442
|
RequestId?: string;
|
|
4372
4443
|
}
|
|
4444
|
+
/**
|
|
4445
|
+
* 单条日志数据结构
|
|
4446
|
+
*/
|
|
4447
|
+
export interface LogIdentity {
|
|
4448
|
+
/**
|
|
4449
|
+
* 单条日志的ID
|
|
4450
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4451
|
+
*/
|
|
4452
|
+
Id: string;
|
|
4453
|
+
/**
|
|
4454
|
+
* 单条日志的内容
|
|
4455
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4456
|
+
*/
|
|
4457
|
+
Message: string;
|
|
4458
|
+
/**
|
|
4459
|
+
* 这条日志对应的Pod名称
|
|
4460
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4461
|
+
*/
|
|
4462
|
+
PodName: string;
|
|
4463
|
+
/**
|
|
4464
|
+
* 日志的时间戳(RFC3339格式的时间字符串)
|
|
4465
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4466
|
+
*/
|
|
4467
|
+
Timestamp: string;
|
|
4468
|
+
}
|
|
4373
4469
|
/**
|
|
4374
4470
|
* StopModelAccelerateTask返回参数结构体
|
|
4375
4471
|
*/
|
|
@@ -4717,6 +4813,25 @@ export interface LocalDisk {
|
|
|
4717
4813
|
*/
|
|
4718
4814
|
LocalPath?: string;
|
|
4719
4815
|
}
|
|
4816
|
+
/**
|
|
4817
|
+
* DescribeLogs返回参数结构体
|
|
4818
|
+
*/
|
|
4819
|
+
export interface DescribeLogsResponse {
|
|
4820
|
+
/**
|
|
4821
|
+
* 分页的游标
|
|
4822
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4823
|
+
*/
|
|
4824
|
+
Context?: string;
|
|
4825
|
+
/**
|
|
4826
|
+
* 日志数组
|
|
4827
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4828
|
+
*/
|
|
4829
|
+
Content?: Array<LogIdentity>;
|
|
4830
|
+
/**
|
|
4831
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4832
|
+
*/
|
|
4833
|
+
RequestId?: string;
|
|
4834
|
+
}
|
|
4720
4835
|
/**
|
|
4721
4836
|
* 编码后的启动命令信息
|
|
4722
4837
|
*/
|