tencentcloud-sdk-nodejs-tione 4.0.472 → 4.0.473
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +310 -0
- package/SERVICE_CHANGELOG.md +426 -84
- package/package.json +1 -1
- package/products.md +17 -17
- package/src/services/tione/v20211111/tione_client.ts +196 -35
- package/src/services/tione/v20211111/tione_models.ts +1687 -281
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +55 -7
- package/tencentcloud/services/tione/v20211111/tione_client.js +81 -9
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1435 -236
|
@@ -1,3 +1,135 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateModelService请求参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface CreateModelServiceRequest {
|
|
5
|
+
/**
|
|
6
|
+
* 镜像信息,配置服务运行所需的镜像地址等信息
|
|
7
|
+
*/
|
|
8
|
+
ImageInfo: ImageInfo;
|
|
9
|
+
/**
|
|
10
|
+
* 新增版本时需要填写
|
|
11
|
+
*/
|
|
12
|
+
ServiceGroupId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 不超过60个字,仅支持英文、数字、下划线"_"、短横"-",只能以英文、数字开头
|
|
15
|
+
*/
|
|
16
|
+
ServiceGroupName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* 模型服务的描述
|
|
19
|
+
*/
|
|
20
|
+
ServiceDescription?: string;
|
|
21
|
+
/**
|
|
22
|
+
* 付费模式,有 PREPAID 、 POSTPAID_BY_HOUR 和 HYBRID_PAID 三种
|
|
23
|
+
*/
|
|
24
|
+
ChargeType?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 预付费模式下所属的资源组id,同服务组下唯一
|
|
27
|
+
*/
|
|
28
|
+
ResourceGroupId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* 模型信息,需要挂载模型时填写
|
|
31
|
+
*/
|
|
32
|
+
ModelInfo?: ModelInfo;
|
|
33
|
+
/**
|
|
34
|
+
* 环境变量,可选参数,用于配置容器中的环境变量
|
|
35
|
+
*/
|
|
36
|
+
Env?: Array<EnvVar>;
|
|
37
|
+
/**
|
|
38
|
+
* 资源描述,指定预付费模式下的cpu,mem,gpu等信息,后付费无需填写
|
|
39
|
+
*/
|
|
40
|
+
Resources?: ResourceInfo;
|
|
41
|
+
/**
|
|
42
|
+
* 使用DescribeBillingSpecs接口返回的规格列表中的值,或者参考实例列表:
|
|
43
|
+
TI.S.MEDIUM.POST 2C4G
|
|
44
|
+
TI.S.LARGE.POST 4C8G
|
|
45
|
+
TI.S.2XLARGE16.POST 8C16G
|
|
46
|
+
TI.S.2XLARGE32.POST 8C32G
|
|
47
|
+
TI.S.4XLARGE32.POST 16C32G
|
|
48
|
+
TI.S.4XLARGE64.POST 16C64G
|
|
49
|
+
TI.S.6XLARGE48.POST 24C48G
|
|
50
|
+
TI.S.6XLARGE96.POST 24C96G
|
|
51
|
+
TI.S.8XLARGE64.POST 32C64G
|
|
52
|
+
TI.S.8XLARGE128.POST 32C128G
|
|
53
|
+
TI.GN7.LARGE20.POST 4C20G T4*1/4
|
|
54
|
+
TI.GN7.2XLARGE40.POST 10C40G T4*1/2
|
|
55
|
+
TI.GN7.2XLARGE32.POST 8C32G T4*1
|
|
56
|
+
TI.GN7.5XLARGE80.POST 20C80G T4*1
|
|
57
|
+
TI.GN7.8XLARGE128.POST 32C128G T4*1
|
|
58
|
+
TI.GN7.10XLARGE160.POST 40C160G T4*2
|
|
59
|
+
TI.GN7.20XLARGE320.POST 80C320G T4*4
|
|
60
|
+
*/
|
|
61
|
+
InstanceType?: string;
|
|
62
|
+
/**
|
|
63
|
+
* 扩缩容类型 支持:自动 - "AUTO", 手动 - "MANUAL",默认为MANUAL
|
|
64
|
+
*/
|
|
65
|
+
ScaleMode?: string;
|
|
66
|
+
/**
|
|
67
|
+
* 实例数量, 不同计费模式和调节模式下对应关系如下
|
|
68
|
+
PREPAID 和 POSTPAID_BY_HOUR:
|
|
69
|
+
手动调节模式下对应 实例数量
|
|
70
|
+
自动调节模式下对应 基于时间的默认策略的实例数量
|
|
71
|
+
HYBRID_PAID:
|
|
72
|
+
后付费实例手动调节模式下对应 实例数量
|
|
73
|
+
后付费实例自动调节模式下对应 时间策略的默认策略的实例数量
|
|
74
|
+
*/
|
|
75
|
+
Replicas?: number;
|
|
76
|
+
/**
|
|
77
|
+
* 自动伸缩信息
|
|
78
|
+
*/
|
|
79
|
+
HorizontalPodAutoscaler?: HorizontalPodAutoscaler;
|
|
80
|
+
/**
|
|
81
|
+
* 是否开启日志投递,开启后需填写配置投递到指定cls
|
|
82
|
+
*/
|
|
83
|
+
LogEnable?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* 日志配置,需要投递服务日志到指定cls时填写
|
|
86
|
+
*/
|
|
87
|
+
LogConfig?: LogConfig;
|
|
88
|
+
/**
|
|
89
|
+
* 是否开启接口鉴权,开启后自动生成token信息,访问需要token鉴权
|
|
90
|
+
*/
|
|
91
|
+
AuthorizationEnable?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* 腾讯云标签
|
|
94
|
+
*/
|
|
95
|
+
Tags?: Array<Tag>;
|
|
96
|
+
/**
|
|
97
|
+
* 是否新增版本
|
|
98
|
+
*/
|
|
99
|
+
NewVersion?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* 定时任务配置,使用定时策略时填写
|
|
102
|
+
*/
|
|
103
|
+
CronScaleJobs?: Array<CronScaleJob>;
|
|
104
|
+
/**
|
|
105
|
+
* 自动伸缩策略配置 HPA : 通过HPA进行弹性伸缩 CRON 通过定时任务进行伸缩
|
|
106
|
+
*/
|
|
107
|
+
ScaleStrategy?: string;
|
|
108
|
+
/**
|
|
109
|
+
* 计费模式[HYBRID_PAID]时生效, 用于标识混合计费模式下的预付费实例数
|
|
110
|
+
*/
|
|
111
|
+
HybridBillingPrepaidReplicas?: number;
|
|
112
|
+
/**
|
|
113
|
+
* [AUTO_ML 自动学习,自动学习正式发布 AUTO_ML_FORMAL, DEFAULT 默认]
|
|
114
|
+
*/
|
|
115
|
+
CreateSource?: string;
|
|
116
|
+
/**
|
|
117
|
+
* 是否开启模型的热更新。默认不开启
|
|
118
|
+
*/
|
|
119
|
+
ModelHotUpdateEnable?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* 定时停止配置
|
|
122
|
+
*/
|
|
123
|
+
ScheduledAction?: ScheduledAction;
|
|
124
|
+
/**
|
|
125
|
+
* 挂载配置,目前只支持CFS
|
|
126
|
+
*/
|
|
127
|
+
VolumeMount?: VolumeMount;
|
|
128
|
+
/**
|
|
129
|
+
* 服务限速限流相关配置
|
|
130
|
+
*/
|
|
131
|
+
ServiceLimit?: ServiceLimit;
|
|
132
|
+
}
|
|
1
133
|
/**
|
|
2
134
|
* 模型描述信息
|
|
3
135
|
*/
|
|
@@ -84,41 +216,13 @@ export interface DescribeLogsRequest {
|
|
|
84
216
|
Filters?: Array<Filter>;
|
|
85
217
|
}
|
|
86
218
|
/**
|
|
87
|
-
*
|
|
219
|
+
* DeleteTrainingModelVersion返回参数结构体
|
|
88
220
|
*/
|
|
89
|
-
export interface
|
|
90
|
-
/**
|
|
91
|
-
* 数据集ID
|
|
92
|
-
*/
|
|
93
|
-
DatasetId?: string;
|
|
94
|
-
/**
|
|
95
|
-
* 偏移量
|
|
96
|
-
*/
|
|
97
|
-
Offset?: number;
|
|
98
|
-
/**
|
|
99
|
-
* 返回个数,默认20,目前最大支持2000条数据
|
|
100
|
-
*/
|
|
101
|
-
Limit?: number;
|
|
102
|
-
/**
|
|
103
|
-
* 标签过滤参数,对应标签值
|
|
104
|
-
*/
|
|
105
|
-
LabelList?: Array<string>;
|
|
106
|
-
/**
|
|
107
|
-
* 标注状态过滤参数:
|
|
108
|
-
STATUS_ANNOTATED,已标注
|
|
109
|
-
STATUS_NON_ANNOTATED,未标注
|
|
110
|
-
STATUS_ALL,全部
|
|
111
|
-
默认为STATUS_ALL
|
|
112
|
-
*/
|
|
113
|
-
AnnotationStatus?: string;
|
|
114
|
-
/**
|
|
115
|
-
* 数据集ID列表
|
|
116
|
-
*/
|
|
117
|
-
DatasetIds?: Array<string>;
|
|
221
|
+
export interface DeleteTrainingModelVersionResponse {
|
|
118
222
|
/**
|
|
119
|
-
*
|
|
223
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
120
224
|
*/
|
|
121
|
-
|
|
225
|
+
RequestId?: string;
|
|
122
226
|
}
|
|
123
227
|
/**
|
|
124
228
|
* 跑批任务详情
|
|
@@ -305,6 +409,20 @@ export interface DescribeDatasetDetailStructuredResponse {
|
|
|
305
409
|
*/
|
|
306
410
|
RequestId?: string;
|
|
307
411
|
}
|
|
412
|
+
/**
|
|
413
|
+
* ModifyServiceGroupWeights返回参数结构体
|
|
414
|
+
*/
|
|
415
|
+
export interface ModifyServiceGroupWeightsResponse {
|
|
416
|
+
/**
|
|
417
|
+
* 更新权重后的服务组信息
|
|
418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
419
|
+
*/
|
|
420
|
+
ServiceGroup: ServiceGroup;
|
|
421
|
+
/**
|
|
422
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
423
|
+
*/
|
|
424
|
+
RequestId?: string;
|
|
425
|
+
}
|
|
308
426
|
/**
|
|
309
427
|
* DescribeBillingResourceGroups请求参数结构体
|
|
310
428
|
*/
|
|
@@ -357,6 +475,35 @@ export interface DescribeTrainingFrameworksResponse {
|
|
|
357
475
|
*/
|
|
358
476
|
RequestId?: string;
|
|
359
477
|
}
|
|
478
|
+
/**
|
|
479
|
+
* 训练指标
|
|
480
|
+
*/
|
|
481
|
+
export interface TrainingMetric {
|
|
482
|
+
/**
|
|
483
|
+
* 指标名
|
|
484
|
+
*/
|
|
485
|
+
MetricName: string;
|
|
486
|
+
/**
|
|
487
|
+
* 数据值
|
|
488
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
489
|
+
*/
|
|
490
|
+
Values: Array<TrainingDataPoint>;
|
|
491
|
+
/**
|
|
492
|
+
* 上报的Epoch. 可能为空
|
|
493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
494
|
+
*/
|
|
495
|
+
Epochs: Array<TrainingDataPoint>;
|
|
496
|
+
/**
|
|
497
|
+
* 上报的Step. 可能为空
|
|
498
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
499
|
+
*/
|
|
500
|
+
Steps: Array<TrainingDataPoint>;
|
|
501
|
+
/**
|
|
502
|
+
* 上报的TotalSteps. 可能为空
|
|
503
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
504
|
+
*/
|
|
505
|
+
TotalSteps: Array<TrainingDataPoint>;
|
|
506
|
+
}
|
|
360
507
|
/**
|
|
361
508
|
* DescribeTrainingModelVersions请求参数结构体
|
|
362
509
|
*/
|
|
@@ -405,6 +552,151 @@ export interface CreateDatasetResponse {
|
|
|
405
552
|
*/
|
|
406
553
|
RequestId?: string;
|
|
407
554
|
}
|
|
555
|
+
/**
|
|
556
|
+
* 描述在线服务
|
|
557
|
+
*/
|
|
558
|
+
export interface Service {
|
|
559
|
+
/**
|
|
560
|
+
* 服务组id
|
|
561
|
+
*/
|
|
562
|
+
ServiceGroupId: string;
|
|
563
|
+
/**
|
|
564
|
+
* 服务id
|
|
565
|
+
*/
|
|
566
|
+
ServiceId: string;
|
|
567
|
+
/**
|
|
568
|
+
* 服务组名
|
|
569
|
+
*/
|
|
570
|
+
ServiceGroupName: string;
|
|
571
|
+
/**
|
|
572
|
+
* 服务描述
|
|
573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
574
|
+
*/
|
|
575
|
+
ServiceDescription: string;
|
|
576
|
+
/**
|
|
577
|
+
* 集群id
|
|
578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
579
|
+
*/
|
|
580
|
+
ClusterId: string;
|
|
581
|
+
/**
|
|
582
|
+
* 地域
|
|
583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
584
|
+
*/
|
|
585
|
+
Region: string;
|
|
586
|
+
/**
|
|
587
|
+
* 命名空间
|
|
588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
589
|
+
*/
|
|
590
|
+
Namespace: string;
|
|
591
|
+
/**
|
|
592
|
+
* 付费类型
|
|
593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
594
|
+
*/
|
|
595
|
+
ChargeType: string;
|
|
596
|
+
/**
|
|
597
|
+
* 后付费资源组id
|
|
598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
599
|
+
*/
|
|
600
|
+
ResourceGroupId: string;
|
|
601
|
+
/**
|
|
602
|
+
* 创建者
|
|
603
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
604
|
+
*/
|
|
605
|
+
CreatedBy: string;
|
|
606
|
+
/**
|
|
607
|
+
* 创建时间
|
|
608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
609
|
+
*/
|
|
610
|
+
CreateTime: string;
|
|
611
|
+
/**
|
|
612
|
+
* 更新时间
|
|
613
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
614
|
+
*/
|
|
615
|
+
UpdateTime: string;
|
|
616
|
+
/**
|
|
617
|
+
* 主账号
|
|
618
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
619
|
+
*/
|
|
620
|
+
Uin: string;
|
|
621
|
+
/**
|
|
622
|
+
* 子账号
|
|
623
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
624
|
+
*/
|
|
625
|
+
SubUin: string;
|
|
626
|
+
/**
|
|
627
|
+
* app_id
|
|
628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
629
|
+
*/
|
|
630
|
+
AppId: number;
|
|
631
|
+
/**
|
|
632
|
+
* 版本号
|
|
633
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
634
|
+
*/
|
|
635
|
+
Version: string;
|
|
636
|
+
/**
|
|
637
|
+
* 服务组下服务的最高版本号
|
|
638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
639
|
+
*/
|
|
640
|
+
LatestVersion: string;
|
|
641
|
+
/**
|
|
642
|
+
* 服务的详细信息
|
|
643
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
644
|
+
*/
|
|
645
|
+
ServiceInfo: ServiceInfo;
|
|
646
|
+
/**
|
|
647
|
+
* 服务的业务状态
|
|
648
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
649
|
+
*/
|
|
650
|
+
BusinessStatus: string;
|
|
651
|
+
/**
|
|
652
|
+
* 服务的创建来源 AUTO_ML,DEFAULT
|
|
653
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
654
|
+
*/
|
|
655
|
+
CreateSource: string;
|
|
656
|
+
/**
|
|
657
|
+
* 费用信息
|
|
658
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
659
|
+
*/
|
|
660
|
+
BillingInfo: string;
|
|
661
|
+
/**
|
|
662
|
+
* 服务状态
|
|
663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
664
|
+
*/
|
|
665
|
+
Status: string;
|
|
666
|
+
/**
|
|
667
|
+
* 模型权重
|
|
668
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
669
|
+
*/
|
|
670
|
+
Weight: number;
|
|
671
|
+
/**
|
|
672
|
+
* 服务所在的 ingress 的 name
|
|
673
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
674
|
+
*/
|
|
675
|
+
IngressName: string;
|
|
676
|
+
/**
|
|
677
|
+
* 服务限速限流相关配置
|
|
678
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
679
|
+
*/
|
|
680
|
+
ServiceLimit: ServiceLimit;
|
|
681
|
+
/**
|
|
682
|
+
* 定时停止的配置
|
|
683
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
684
|
+
*/
|
|
685
|
+
ScheduledAction: ScheduledAction;
|
|
686
|
+
}
|
|
687
|
+
/**
|
|
688
|
+
* ModifyServiceGroupWeights请求参数结构体
|
|
689
|
+
*/
|
|
690
|
+
export interface ModifyServiceGroupWeightsRequest {
|
|
691
|
+
/**
|
|
692
|
+
* 服务组id
|
|
693
|
+
*/
|
|
694
|
+
ServiceGroupId: string;
|
|
695
|
+
/**
|
|
696
|
+
* 权重设置
|
|
697
|
+
*/
|
|
698
|
+
Weights: Array<WeightEntry>;
|
|
699
|
+
}
|
|
408
700
|
/**
|
|
409
701
|
* DescribeTrainingTasks请求参数结构体
|
|
410
702
|
*/
|
|
@@ -451,14 +743,104 @@ export interface DescribeBatchTaskRequest {
|
|
|
451
743
|
BatchTaskId: string;
|
|
452
744
|
}
|
|
453
745
|
/**
|
|
454
|
-
*
|
|
746
|
+
* DescribeDatasetDetailUnstructured请求参数结构体
|
|
455
747
|
*/
|
|
456
|
-
export interface
|
|
748
|
+
export interface DescribeDatasetDetailUnstructuredRequest {
|
|
749
|
+
/**
|
|
750
|
+
* 数据集ID
|
|
751
|
+
*/
|
|
752
|
+
DatasetId?: string;
|
|
753
|
+
/**
|
|
754
|
+
* 偏移量
|
|
755
|
+
*/
|
|
756
|
+
Offset?: number;
|
|
757
|
+
/**
|
|
758
|
+
* 返回个数,默认20,目前最大支持2000条数据
|
|
759
|
+
*/
|
|
760
|
+
Limit?: number;
|
|
761
|
+
/**
|
|
762
|
+
* 标签过滤参数,对应标签值
|
|
763
|
+
*/
|
|
764
|
+
LabelList?: Array<string>;
|
|
765
|
+
/**
|
|
766
|
+
* 标注状态过滤参数:
|
|
767
|
+
STATUS_ANNOTATED,已标注
|
|
768
|
+
STATUS_NON_ANNOTATED,未标注
|
|
769
|
+
STATUS_ALL,全部
|
|
770
|
+
默认为STATUS_ALL
|
|
771
|
+
*/
|
|
772
|
+
AnnotationStatus?: string;
|
|
773
|
+
/**
|
|
774
|
+
* 数据集ID列表
|
|
775
|
+
*/
|
|
776
|
+
DatasetIds?: Array<string>;
|
|
777
|
+
/**
|
|
778
|
+
* 要筛选的文本分类场景标签信息
|
|
779
|
+
*/
|
|
780
|
+
TextClassificationLabels?: Array<TextLabelDistributionInfo>;
|
|
781
|
+
}
|
|
782
|
+
/**
|
|
783
|
+
* 外部挂载信息
|
|
784
|
+
*/
|
|
785
|
+
export interface VolumeMount {
|
|
786
|
+
/**
|
|
787
|
+
* cfs的配置信息
|
|
788
|
+
*/
|
|
789
|
+
CFSConfig: CFSConfig;
|
|
790
|
+
/**
|
|
791
|
+
* 挂载源类型
|
|
792
|
+
*/
|
|
793
|
+
VolumeSourceType?: string;
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
* StopBatchTask返回参数结构体
|
|
797
|
+
*/
|
|
798
|
+
export interface StopBatchTaskResponse {
|
|
457
799
|
/**
|
|
458
800
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
459
801
|
*/
|
|
460
802
|
RequestId?: string;
|
|
461
803
|
}
|
|
804
|
+
/**
|
|
805
|
+
* 服务的调用信息,服务组下唯一
|
|
806
|
+
*/
|
|
807
|
+
export interface ServiceCallInfo {
|
|
808
|
+
/**
|
|
809
|
+
* 服务组id
|
|
810
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
811
|
+
*/
|
|
812
|
+
ServiceGroupId: string;
|
|
813
|
+
/**
|
|
814
|
+
* 内网http调用地址
|
|
815
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
816
|
+
*/
|
|
817
|
+
InnerHttpAddr: string;
|
|
818
|
+
/**
|
|
819
|
+
* 内网https调用地址
|
|
820
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
821
|
+
*/
|
|
822
|
+
InnerHttpsAddr: string;
|
|
823
|
+
/**
|
|
824
|
+
* 内网http调用地址
|
|
825
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
826
|
+
*/
|
|
827
|
+
OuterHttpAddr: string;
|
|
828
|
+
/**
|
|
829
|
+
* 内网https调用地址
|
|
830
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
831
|
+
*/
|
|
832
|
+
OuterHttpsAddr: string;
|
|
833
|
+
/**
|
|
834
|
+
* 调用key
|
|
835
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
836
|
+
*/
|
|
837
|
+
AppKey: string;
|
|
838
|
+
/**
|
|
839
|
+
* 调用secret
|
|
840
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
841
|
+
*/
|
|
842
|
+
AppSecret: string;
|
|
843
|
+
}
|
|
462
844
|
/**
|
|
463
845
|
* cos的路径信息
|
|
464
846
|
*/
|
|
@@ -751,6 +1133,44 @@ export interface FilterLabelInfo {
|
|
|
751
1133
|
*/
|
|
752
1134
|
ContentOmit: boolean;
|
|
753
1135
|
}
|
|
1136
|
+
/**
|
|
1137
|
+
* 工作负载的状态
|
|
1138
|
+
*/
|
|
1139
|
+
export interface WorkloadStatus {
|
|
1140
|
+
/**
|
|
1141
|
+
* 当前实例数
|
|
1142
|
+
*/
|
|
1143
|
+
Replicas: number;
|
|
1144
|
+
/**
|
|
1145
|
+
* 更新的实例数
|
|
1146
|
+
*/
|
|
1147
|
+
UpdatedReplicas: number;
|
|
1148
|
+
/**
|
|
1149
|
+
* 就绪的实例数
|
|
1150
|
+
*/
|
|
1151
|
+
ReadyReplicas: number;
|
|
1152
|
+
/**
|
|
1153
|
+
* 可用的实例数
|
|
1154
|
+
*/
|
|
1155
|
+
AvailableReplicas: number;
|
|
1156
|
+
/**
|
|
1157
|
+
* 不可用的实例数
|
|
1158
|
+
*/
|
|
1159
|
+
UnavailableReplicas: number;
|
|
1160
|
+
/**
|
|
1161
|
+
* Normal 正常运行中
|
|
1162
|
+
Abnormal 服务异常,例如容器启动失败等
|
|
1163
|
+
Waiting 服务等待中,例如容器下载镜像过程等
|
|
1164
|
+
Stopped 已停止
|
|
1165
|
+
Pending 启动中
|
|
1166
|
+
Stopping 停止中
|
|
1167
|
+
*/
|
|
1168
|
+
Status: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* 工作负载的状况信息
|
|
1171
|
+
*/
|
|
1172
|
+
StatefulSetCondition?: Array<StatefulSetCondition>;
|
|
1173
|
+
}
|
|
754
1174
|
/**
|
|
755
1175
|
* CFS存储的配置
|
|
756
1176
|
*/
|
|
@@ -765,13 +1185,69 @@ export interface CFSConfig {
|
|
|
765
1185
|
Path: string;
|
|
766
1186
|
}
|
|
767
1187
|
/**
|
|
768
|
-
*
|
|
1188
|
+
* 接口描述信息
|
|
769
1189
|
*/
|
|
770
|
-
export interface
|
|
1190
|
+
export interface APIConfigDetail {
|
|
771
1191
|
/**
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
1192
|
+
* 接口id
|
|
1193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1194
|
+
*/
|
|
1195
|
+
Id: string;
|
|
1196
|
+
/**
|
|
1197
|
+
* 接口所属服务组id
|
|
1198
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1199
|
+
*/
|
|
1200
|
+
ServiceGroupId: string;
|
|
1201
|
+
/**
|
|
1202
|
+
* 接口描述
|
|
1203
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1204
|
+
*/
|
|
1205
|
+
Description: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* 相对路径
|
|
1208
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1209
|
+
*/
|
|
1210
|
+
RelativeUrl: string;
|
|
1211
|
+
/**
|
|
1212
|
+
* 服务类型 HTTP HTTPS
|
|
1213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1214
|
+
*/
|
|
1215
|
+
ServiceType: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* GET POST
|
|
1218
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1219
|
+
*/
|
|
1220
|
+
HttpMethod: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* 请求示例
|
|
1223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1224
|
+
*/
|
|
1225
|
+
HttpInputExample: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* 回包示例
|
|
1228
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1229
|
+
*/
|
|
1230
|
+
HttpOutputExample: string;
|
|
1231
|
+
/**
|
|
1232
|
+
* 更新成员
|
|
1233
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1234
|
+
*/
|
|
1235
|
+
UpdatedBy: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* 更新时间
|
|
1238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1239
|
+
*/
|
|
1240
|
+
UpdatedAt: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* 主账号uin
|
|
1243
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1244
|
+
*/
|
|
1245
|
+
Uin: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* 子账号subuin
|
|
1248
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1249
|
+
*/
|
|
1250
|
+
SubUin: string;
|
|
775
1251
|
}
|
|
776
1252
|
/**
|
|
777
1253
|
* 推理镜像详情
|
|
@@ -796,13 +1272,30 @@ export interface StopBatchTaskRequest {
|
|
|
796
1272
|
BatchTaskId: string;
|
|
797
1273
|
}
|
|
798
1274
|
/**
|
|
799
|
-
*
|
|
1275
|
+
* 框架版本以及对应的训练模式
|
|
800
1276
|
*/
|
|
801
|
-
export interface
|
|
1277
|
+
export interface FrameworkVersion {
|
|
802
1278
|
/**
|
|
803
|
-
*
|
|
1279
|
+
* 框架版本
|
|
804
1280
|
*/
|
|
805
|
-
|
|
1281
|
+
Version: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* 训练模式
|
|
1284
|
+
*/
|
|
1285
|
+
TrainingModes: Array<string>;
|
|
1286
|
+
/**
|
|
1287
|
+
* 框架运行环境
|
|
1288
|
+
*/
|
|
1289
|
+
Environment?: string;
|
|
1290
|
+
}
|
|
1291
|
+
/**
|
|
1292
|
+
* DescribeModelServiceCallInfo请求参数结构体
|
|
1293
|
+
*/
|
|
1294
|
+
export interface DescribeModelServiceCallInfoRequest {
|
|
1295
|
+
/**
|
|
1296
|
+
* 服务组id
|
|
1297
|
+
*/
|
|
1298
|
+
ServiceGroupId: string;
|
|
806
1299
|
}
|
|
807
1300
|
/**
|
|
808
1301
|
* 数据点
|
|
@@ -817,6 +1310,19 @@ export interface DataPoint {
|
|
|
817
1310
|
*/
|
|
818
1311
|
Value: number;
|
|
819
1312
|
}
|
|
1313
|
+
/**
|
|
1314
|
+
* Tag过滤参数
|
|
1315
|
+
*/
|
|
1316
|
+
export interface TagFilter {
|
|
1317
|
+
/**
|
|
1318
|
+
* 标签键
|
|
1319
|
+
*/
|
|
1320
|
+
TagKey?: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* 多个标签值
|
|
1323
|
+
*/
|
|
1324
|
+
TagValues?: Array<string>;
|
|
1325
|
+
}
|
|
820
1326
|
/**
|
|
821
1327
|
* CreateTrainingModel请求参数结构体
|
|
822
1328
|
*/
|
|
@@ -957,6 +1463,49 @@ export interface StartCmdInfo {
|
|
|
957
1463
|
*/
|
|
958
1464
|
WorkerStartCmd?: string;
|
|
959
1465
|
}
|
|
1466
|
+
/**
|
|
1467
|
+
* DescribeAPIConfigs请求参数结构体
|
|
1468
|
+
*/
|
|
1469
|
+
export interface DescribeAPIConfigsRequest {
|
|
1470
|
+
/**
|
|
1471
|
+
* 偏移量,默认为0
|
|
1472
|
+
*/
|
|
1473
|
+
Offset?: number;
|
|
1474
|
+
/**
|
|
1475
|
+
* 返回数量,默认为20,最大值为100
|
|
1476
|
+
*/
|
|
1477
|
+
Limit?: number;
|
|
1478
|
+
/**
|
|
1479
|
+
* 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
|
|
1480
|
+
*/
|
|
1481
|
+
Order?: string;
|
|
1482
|
+
/**
|
|
1483
|
+
* 排序的依据字段, 取值范围 "CreateTime" "UpdateTime"
|
|
1484
|
+
*/
|
|
1485
|
+
OrderField?: string;
|
|
1486
|
+
/**
|
|
1487
|
+
* 分页参数,支持的分页过滤Name包括:
|
|
1488
|
+
["ClusterId", "ServiceId", "ServiceGroupName", "ServiceGroupId"]
|
|
1489
|
+
*/
|
|
1490
|
+
Filters?: Array<Filter>;
|
|
1491
|
+
}
|
|
1492
|
+
/**
|
|
1493
|
+
* DescribeBillingSpecs请求参数结构体
|
|
1494
|
+
*/
|
|
1495
|
+
export interface DescribeBillingSpecsRequest {
|
|
1496
|
+
/**
|
|
1497
|
+
* 枚举值:TRAIN、NOTEBOOK、INFERENCE
|
|
1498
|
+
*/
|
|
1499
|
+
TaskType: string;
|
|
1500
|
+
/**
|
|
1501
|
+
* 付费模式:POSTPAID_BY_HOUR后付费、PREPAID预付费
|
|
1502
|
+
*/
|
|
1503
|
+
ChargeType: string;
|
|
1504
|
+
/**
|
|
1505
|
+
* 资源类型:CALC 计算资源、CPU CPU资源、GPU GPU资源、CBS云硬盘
|
|
1506
|
+
*/
|
|
1507
|
+
ResourceType?: string;
|
|
1508
|
+
}
|
|
960
1509
|
/**
|
|
961
1510
|
* DeleteBatchTask请求参数结构体
|
|
962
1511
|
*/
|
|
@@ -986,12 +1535,25 @@ export interface DescribeTrainingModelsResponse {
|
|
|
986
1535
|
/**
|
|
987
1536
|
* DescribeBatchTaskInstances返回参数结构体
|
|
988
1537
|
*/
|
|
989
|
-
export interface DescribeBatchTaskInstancesResponse {
|
|
1538
|
+
export interface DescribeBatchTaskInstancesResponse {
|
|
1539
|
+
/**
|
|
1540
|
+
* 实例集
|
|
1541
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1542
|
+
*/
|
|
1543
|
+
BatchInstances: Array<BatchTaskInstance>;
|
|
1544
|
+
/**
|
|
1545
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1546
|
+
*/
|
|
1547
|
+
RequestId?: string;
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* DescribeBillingSpecs返回参数结构体
|
|
1551
|
+
*/
|
|
1552
|
+
export interface DescribeBillingSpecsResponse {
|
|
990
1553
|
/**
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
BatchInstances: Array<BatchTaskInstance>;
|
|
1554
|
+
* 计费项列表
|
|
1555
|
+
*/
|
|
1556
|
+
Specs: Array<Spec>;
|
|
995
1557
|
/**
|
|
996
1558
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
997
1559
|
*/
|
|
@@ -1101,33 +1663,76 @@ export interface TextLabelDistributionInfo {
|
|
|
1101
1663
|
ClassLabelList?: Array<TextLabelDistributionDetailInfoFirstClass>;
|
|
1102
1664
|
}
|
|
1103
1665
|
/**
|
|
1104
|
-
*
|
|
1666
|
+
* 键值对
|
|
1105
1667
|
*/
|
|
1106
|
-
export interface
|
|
1668
|
+
export interface Option {
|
|
1107
1669
|
/**
|
|
1108
1670
|
* 指标名
|
|
1109
1671
|
*/
|
|
1110
|
-
|
|
1672
|
+
Name: string;
|
|
1111
1673
|
/**
|
|
1112
|
-
|
|
1674
|
+
* 指标值
|
|
1675
|
+
*/
|
|
1676
|
+
Value: number;
|
|
1677
|
+
}
|
|
1678
|
+
/**
|
|
1679
|
+
* 资源组
|
|
1680
|
+
*/
|
|
1681
|
+
export interface ResourceGroup {
|
|
1682
|
+
/**
|
|
1683
|
+
* 资源组id
|
|
1684
|
+
*/
|
|
1685
|
+
ResourceGroupId: string;
|
|
1686
|
+
/**
|
|
1687
|
+
* 资源组名称
|
|
1688
|
+
*/
|
|
1689
|
+
ResourceGroupName: string;
|
|
1690
|
+
/**
|
|
1691
|
+
* 可用节点个数(运行中的节点)
|
|
1692
|
+
*/
|
|
1693
|
+
FreeInstance: number;
|
|
1694
|
+
/**
|
|
1695
|
+
* 总节点个数(所有节点)
|
|
1696
|
+
*/
|
|
1697
|
+
TotalInstance: number;
|
|
1698
|
+
/**
|
|
1699
|
+
* 资资源组已用的资源
|
|
1113
1700
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1114
1701
|
*/
|
|
1115
|
-
|
|
1702
|
+
UsedResource: GroupResource;
|
|
1116
1703
|
/**
|
|
1117
|
-
*
|
|
1704
|
+
* 资源组总资源
|
|
1118
1705
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1119
1706
|
*/
|
|
1120
|
-
|
|
1707
|
+
TotalResource: GroupResource;
|
|
1121
1708
|
/**
|
|
1122
|
-
*
|
|
1709
|
+
* 节点信息
|
|
1123
1710
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1124
1711
|
*/
|
|
1125
|
-
|
|
1712
|
+
InstanceSet: Array<Instance>;
|
|
1126
1713
|
/**
|
|
1127
|
-
*
|
|
1714
|
+
* 标签列表
|
|
1128
1715
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1129
1716
|
*/
|
|
1130
|
-
|
|
1717
|
+
TagSet: Array<Tag>;
|
|
1718
|
+
}
|
|
1719
|
+
/**
|
|
1720
|
+
* DescribeBatchTaskInstances请求参数结构体
|
|
1721
|
+
*/
|
|
1722
|
+
export interface DescribeBatchTaskInstancesRequest {
|
|
1723
|
+
/**
|
|
1724
|
+
* 跑批任务id
|
|
1725
|
+
*/
|
|
1726
|
+
BatchTaskId: string;
|
|
1727
|
+
}
|
|
1728
|
+
/**
|
|
1729
|
+
* DescribeModelServiceHistory请求参数结构体
|
|
1730
|
+
*/
|
|
1731
|
+
export interface DescribeModelServiceHistoryRequest {
|
|
1732
|
+
/**
|
|
1733
|
+
* 服务Id
|
|
1734
|
+
*/
|
|
1735
|
+
ServiceId: string;
|
|
1131
1736
|
}
|
|
1132
1737
|
/**
|
|
1133
1738
|
* 描述腾讯云标签
|
|
@@ -1180,17 +1785,13 @@ export interface DescribeDatasetsRequest {
|
|
|
1180
1785
|
Limit?: number;
|
|
1181
1786
|
}
|
|
1182
1787
|
/**
|
|
1183
|
-
*
|
|
1788
|
+
* DeleteTrainingModel返回参数结构体
|
|
1184
1789
|
*/
|
|
1185
|
-
export interface
|
|
1186
|
-
/**
|
|
1187
|
-
* 框架版本
|
|
1188
|
-
*/
|
|
1189
|
-
Version: string;
|
|
1790
|
+
export interface DeleteTrainingModelResponse {
|
|
1190
1791
|
/**
|
|
1191
|
-
*
|
|
1792
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1192
1793
|
*/
|
|
1193
|
-
|
|
1794
|
+
RequestId?: string;
|
|
1194
1795
|
}
|
|
1195
1796
|
/**
|
|
1196
1797
|
* DescribeInferTemplates返回参数结构体
|
|
@@ -1207,34 +1808,66 @@ export interface DescribeInferTemplatesResponse {
|
|
|
1207
1808
|
RequestId?: string;
|
|
1208
1809
|
}
|
|
1209
1810
|
/**
|
|
1210
|
-
*
|
|
1811
|
+
* DescribeModelServiceGroups返回参数结构体
|
|
1211
1812
|
*/
|
|
1212
|
-
export interface
|
|
1813
|
+
export interface DescribeModelServiceGroupsResponse {
|
|
1213
1814
|
/**
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1815
|
+
* 推理服务组数量。
|
|
1816
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1817
|
+
*/
|
|
1818
|
+
TotalCount: number;
|
|
1217
1819
|
/**
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1820
|
+
* 服务组信息
|
|
1821
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1822
|
+
*/
|
|
1823
|
+
ServiceGroups: Array<ServiceGroup>;
|
|
1221
1824
|
/**
|
|
1222
|
-
*
|
|
1825
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1223
1826
|
*/
|
|
1224
|
-
|
|
1827
|
+
RequestId?: string;
|
|
1828
|
+
}
|
|
1829
|
+
/**
|
|
1830
|
+
* 服务的调用信息,服务组下唯一
|
|
1831
|
+
*/
|
|
1832
|
+
export interface InferGatewayCallInfo {
|
|
1833
|
+
/**
|
|
1834
|
+
* 内网http调用地址
|
|
1835
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1836
|
+
*/
|
|
1837
|
+
VpcHttpAddr: string;
|
|
1838
|
+
/**
|
|
1839
|
+
* 内网https调用地址
|
|
1840
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1841
|
+
*/
|
|
1842
|
+
VpcHttpsAddr: string;
|
|
1843
|
+
/**
|
|
1844
|
+
* 内网grpc调用地址
|
|
1845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1846
|
+
*/
|
|
1847
|
+
VpcGrpcTlsAddr: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* 可访问的vpcid
|
|
1850
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1851
|
+
*/
|
|
1852
|
+
VpcId: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* 后端ip对应的子网
|
|
1855
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1856
|
+
*/
|
|
1857
|
+
SubnetId: string;
|
|
1225
1858
|
}
|
|
1226
1859
|
/**
|
|
1227
1860
|
* DescribeInferTemplates请求参数结构体
|
|
1228
1861
|
*/
|
|
1229
1862
|
export declare type DescribeInferTemplatesRequest = null;
|
|
1230
1863
|
/**
|
|
1231
|
-
*
|
|
1864
|
+
* DeleteModelServiceGroup返回参数结构体
|
|
1232
1865
|
*/
|
|
1233
|
-
export interface
|
|
1866
|
+
export interface DeleteModelServiceGroupResponse {
|
|
1234
1867
|
/**
|
|
1235
|
-
*
|
|
1868
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1236
1869
|
*/
|
|
1237
|
-
|
|
1870
|
+
RequestId?: string;
|
|
1238
1871
|
}
|
|
1239
1872
|
/**
|
|
1240
1873
|
* gpu 详情
|
|
@@ -1274,24 +1907,38 @@ export interface DescribeBatchTasksResponse {
|
|
|
1274
1907
|
RequestId?: string;
|
|
1275
1908
|
}
|
|
1276
1909
|
/**
|
|
1277
|
-
*
|
|
1910
|
+
* 定时扩缩任务
|
|
1278
1911
|
*/
|
|
1279
|
-
export interface
|
|
1912
|
+
export interface CronScaleJob {
|
|
1280
1913
|
/**
|
|
1281
|
-
|
|
1914
|
+
* Cron表达式,标识任务的执行时间,精确到分钟级
|
|
1915
|
+
*/
|
|
1916
|
+
Schedule: string;
|
|
1917
|
+
/**
|
|
1918
|
+
* 定时任务名
|
|
1282
1919
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1283
1920
|
*/
|
|
1284
|
-
|
|
1921
|
+
Name?: string;
|
|
1285
1922
|
/**
|
|
1286
|
-
*
|
|
1923
|
+
* 目标实例数
|
|
1287
1924
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1288
1925
|
*/
|
|
1289
|
-
|
|
1926
|
+
TargetReplicas?: number;
|
|
1290
1927
|
/**
|
|
1291
|
-
*
|
|
1928
|
+
* 目标min
|
|
1292
1929
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1293
1930
|
*/
|
|
1294
|
-
|
|
1931
|
+
MinReplicas?: number;
|
|
1932
|
+
/**
|
|
1933
|
+
* 目标max
|
|
1934
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1935
|
+
*/
|
|
1936
|
+
MaxReplicas?: number;
|
|
1937
|
+
/**
|
|
1938
|
+
* 例外时间,Cron表达式,在对应时间内不执行任务。最多支持3条。
|
|
1939
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1940
|
+
*/
|
|
1941
|
+
ExcludeDates?: Array<string>;
|
|
1295
1942
|
}
|
|
1296
1943
|
/**
|
|
1297
1944
|
* 推理镜像组
|
|
@@ -1318,6 +1965,15 @@ export interface InferTemplateGroup {
|
|
|
1318
1965
|
*/
|
|
1319
1966
|
InferTemplates: Array<InferTemplate>;
|
|
1320
1967
|
}
|
|
1968
|
+
/**
|
|
1969
|
+
* DescribeModelServiceHotUpdated返回参数结构体
|
|
1970
|
+
*/
|
|
1971
|
+
export interface DescribeModelServiceHotUpdatedResponse {
|
|
1972
|
+
/**
|
|
1973
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1974
|
+
*/
|
|
1975
|
+
RequestId?: string;
|
|
1976
|
+
}
|
|
1321
1977
|
/**
|
|
1322
1978
|
* 数据集详情
|
|
1323
1979
|
*/
|
|
@@ -1434,17 +2090,54 @@ export interface DatasetInfo {
|
|
|
1434
2090
|
DatasetScope: string;
|
|
1435
2091
|
}
|
|
1436
2092
|
/**
|
|
1437
|
-
*
|
|
2093
|
+
* 图像检测参数信息
|
|
1438
2094
|
*/
|
|
1439
|
-
export interface
|
|
2095
|
+
export interface DetectionLabelInfo {
|
|
1440
2096
|
/**
|
|
1441
|
-
|
|
2097
|
+
* 点坐标列表
|
|
2098
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2099
|
+
*/
|
|
2100
|
+
Points: Array<PointInfo>;
|
|
2101
|
+
/**
|
|
2102
|
+
* 标签
|
|
2103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2104
|
+
*/
|
|
2105
|
+
Labels: Array<string>;
|
|
2106
|
+
/**
|
|
2107
|
+
* 类别
|
|
2108
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2109
|
+
*/
|
|
2110
|
+
FrameType: string;
|
|
2111
|
+
}
|
|
2112
|
+
/**
|
|
2113
|
+
* DescribeModelServiceGroups请求参数结构体
|
|
2114
|
+
*/
|
|
2115
|
+
export interface DescribeModelServiceGroupsRequest {
|
|
2116
|
+
/**
|
|
2117
|
+
* 偏移量,默认为0
|
|
1442
2118
|
*/
|
|
1443
|
-
|
|
2119
|
+
Offset?: number;
|
|
1444
2120
|
/**
|
|
1445
|
-
*
|
|
2121
|
+
* 返回数量,默认为20,最大值为100
|
|
1446
2122
|
*/
|
|
1447
|
-
|
|
2123
|
+
Limit?: number;
|
|
2124
|
+
/**
|
|
2125
|
+
* 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
|
|
2126
|
+
*/
|
|
2127
|
+
Order?: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* 排序的依据字段, 取值范围 "CreateTime" "UpdateTime"
|
|
2130
|
+
*/
|
|
2131
|
+
OrderField?: string;
|
|
2132
|
+
/**
|
|
2133
|
+
* 分页参数,支持的分页过滤Name包括:
|
|
2134
|
+
["ClusterId", "ServiceId", "ServiceGroupName", "ServiceGroupId","Status","CreatedBy","ModelVersionId"]
|
|
2135
|
+
*/
|
|
2136
|
+
Filters?: Array<Filter>;
|
|
2137
|
+
/**
|
|
2138
|
+
* 标签过滤参数
|
|
2139
|
+
*/
|
|
2140
|
+
TagFilters?: Array<TagFilter>;
|
|
1448
2141
|
}
|
|
1449
2142
|
/**
|
|
1450
2143
|
* 二级标签
|
|
@@ -1569,19 +2262,130 @@ export interface ImageInfo {
|
|
|
1569
2262
|
*/
|
|
1570
2263
|
ImageType: string;
|
|
1571
2264
|
/**
|
|
1572
|
-
* 镜像地址
|
|
1573
|
-
*/
|
|
1574
|
-
ImageUrl: string;
|
|
2265
|
+
* 镜像地址
|
|
2266
|
+
*/
|
|
2267
|
+
ImageUrl: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* TCR镜像对应的地域
|
|
2270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2271
|
+
*/
|
|
2272
|
+
RegistryRegion?: string;
|
|
2273
|
+
/**
|
|
2274
|
+
* TCR镜像对应的实例id
|
|
2275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2276
|
+
*/
|
|
2277
|
+
RegistryId?: string;
|
|
2278
|
+
}
|
|
2279
|
+
/**
|
|
2280
|
+
* 推理服务在集群中的信息
|
|
2281
|
+
*/
|
|
2282
|
+
export interface ServiceInfo {
|
|
2283
|
+
/**
|
|
2284
|
+
* 期望运行的Pod数量,停止状态是0
|
|
2285
|
+
不同计费模式和调节模式下对应关系如下
|
|
2286
|
+
PREPAID 和 POSTPAID_BY_HOUR:
|
|
2287
|
+
手动调节模式下对应 实例数量
|
|
2288
|
+
自动调节模式下对应 基于时间的默认策略的实例数量
|
|
2289
|
+
HYBRID_PAID:
|
|
2290
|
+
后付费实例手动调节模式下对应 实例数量
|
|
2291
|
+
后付费实例自动调节模式下对应 时间策略的默认策略的实例数量
|
|
2292
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2293
|
+
*/
|
|
2294
|
+
Replicas: number;
|
|
2295
|
+
/**
|
|
2296
|
+
* 镜像信息
|
|
2297
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2298
|
+
*/
|
|
2299
|
+
ImageInfo: ImageInfo;
|
|
2300
|
+
/**
|
|
2301
|
+
* 环境变量
|
|
2302
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2303
|
+
*/
|
|
2304
|
+
Env: Array<EnvVar>;
|
|
2305
|
+
/**
|
|
2306
|
+
* 资源信息
|
|
2307
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2308
|
+
*/
|
|
2309
|
+
Resources: ResourceInfo;
|
|
2310
|
+
/**
|
|
2311
|
+
* 后付费实例对应的机型规格
|
|
2312
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2313
|
+
*/
|
|
2314
|
+
InstanceType: string;
|
|
2315
|
+
/**
|
|
2316
|
+
* 模型信息
|
|
2317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2318
|
+
*/
|
|
2319
|
+
ModelInfo: ModelInfo;
|
|
2320
|
+
/**
|
|
2321
|
+
* 是否启用日志
|
|
2322
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2323
|
+
*/
|
|
2324
|
+
LogEnable: boolean;
|
|
2325
|
+
/**
|
|
2326
|
+
* 日志配置
|
|
2327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2328
|
+
*/
|
|
2329
|
+
LogConfig: LogConfig;
|
|
2330
|
+
/**
|
|
2331
|
+
* 是否开启鉴权
|
|
2332
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2333
|
+
*/
|
|
2334
|
+
AuthorizationEnable: boolean;
|
|
2335
|
+
/**
|
|
2336
|
+
* hpa配置
|
|
2337
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2338
|
+
*/
|
|
2339
|
+
HorizontalPodAutoscaler: HorizontalPodAutoscaler;
|
|
2340
|
+
/**
|
|
2341
|
+
* 服务的状态描述
|
|
2342
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2343
|
+
*/
|
|
2344
|
+
Status: WorkloadStatus;
|
|
2345
|
+
/**
|
|
2346
|
+
* 权重
|
|
2347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2348
|
+
*/
|
|
2349
|
+
Weight: number;
|
|
2350
|
+
/**
|
|
2351
|
+
* 实例列表
|
|
2352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2353
|
+
*/
|
|
2354
|
+
PodList: Array<string>;
|
|
2355
|
+
/**
|
|
2356
|
+
* 资源总量
|
|
2357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2358
|
+
*/
|
|
2359
|
+
ResourceTotal: ResourceInfo;
|
|
2360
|
+
/**
|
|
2361
|
+
* 历史实例数
|
|
2362
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2363
|
+
*/
|
|
2364
|
+
OldReplicas: number;
|
|
2365
|
+
/**
|
|
2366
|
+
* 计费模式[HYBRID_PAID]时生效, 用于标识混合计费模式下的预付费实例数, 若不填则默认为1
|
|
2367
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2368
|
+
*/
|
|
2369
|
+
HybridBillingPrepaidReplicas: number;
|
|
1575
2370
|
/**
|
|
1576
|
-
*
|
|
2371
|
+
* 历史 HYBRID_PAID 时的实例数,用户恢复服务
|
|
1577
2372
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1578
2373
|
*/
|
|
1579
|
-
|
|
2374
|
+
OldHybridBillingPrepaidReplicas: number;
|
|
1580
2375
|
/**
|
|
1581
|
-
*
|
|
2376
|
+
* 是否开启模型的热更新。默认不开启
|
|
1582
2377
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1583
2378
|
*/
|
|
1584
|
-
|
|
2379
|
+
ModelHotUpdateEnable: boolean;
|
|
2380
|
+
}
|
|
2381
|
+
/**
|
|
2382
|
+
* DescribeModelService请求参数结构体
|
|
2383
|
+
*/
|
|
2384
|
+
export interface DescribeModelServiceRequest {
|
|
2385
|
+
/**
|
|
2386
|
+
* 服务id
|
|
2387
|
+
*/
|
|
2388
|
+
ServiceId: string;
|
|
1585
2389
|
}
|
|
1586
2390
|
/**
|
|
1587
2391
|
* CreateTrainingTask返回参数结构体
|
|
@@ -1596,6 +2400,24 @@ export interface CreateTrainingTaskResponse {
|
|
|
1596
2400
|
*/
|
|
1597
2401
|
RequestId?: string;
|
|
1598
2402
|
}
|
|
2403
|
+
/**
|
|
2404
|
+
* DeleteModelService请求参数结构体
|
|
2405
|
+
*/
|
|
2406
|
+
export interface DeleteModelServiceRequest {
|
|
2407
|
+
/**
|
|
2408
|
+
* 服务id
|
|
2409
|
+
*/
|
|
2410
|
+
ServiceId: string;
|
|
2411
|
+
}
|
|
2412
|
+
/**
|
|
2413
|
+
* DescribeModelServiceGroup请求参数结构体
|
|
2414
|
+
*/
|
|
2415
|
+
export interface DescribeModelServiceGroupRequest {
|
|
2416
|
+
/**
|
|
2417
|
+
* 无
|
|
2418
|
+
*/
|
|
2419
|
+
ServiceGroupId: string;
|
|
2420
|
+
}
|
|
1599
2421
|
/**
|
|
1600
2422
|
* CreateTrainingTask请求参数结构体
|
|
1601
2423
|
*/
|
|
@@ -1604,10 +2426,6 @@ export interface CreateTrainingTaskRequest {
|
|
|
1604
2426
|
* 训练任务名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
|
1605
2427
|
*/
|
|
1606
2428
|
Name: string;
|
|
1607
|
-
/**
|
|
1608
|
-
* 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
|
|
1609
|
-
*/
|
|
1610
|
-
TrainingMode: string;
|
|
1611
2429
|
/**
|
|
1612
2430
|
* 计费模式,eg:PREPAID预付费,即包年包月;POSTPAID_BY_HOUR按小时后付费
|
|
1613
2431
|
*/
|
|
@@ -1620,6 +2438,10 @@ export interface CreateTrainingTaskRequest {
|
|
|
1620
2438
|
* COS代码包路径
|
|
1621
2439
|
*/
|
|
1622
2440
|
CodePackagePath: CosPathInfo;
|
|
2441
|
+
/**
|
|
2442
|
+
* 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
|
|
2443
|
+
*/
|
|
2444
|
+
TrainingMode: string;
|
|
1623
2445
|
/**
|
|
1624
2446
|
* COS训练输出路径
|
|
1625
2447
|
*/
|
|
@@ -1633,9 +2455,13 @@ export interface CreateTrainingTaskRequest {
|
|
|
1633
2455
|
*/
|
|
1634
2456
|
FrameworkName?: string;
|
|
1635
2457
|
/**
|
|
1636
|
-
* 训练框架版本,通过DescribeTrainingFrameworks接口查询,eg:
|
|
2458
|
+
* 训练框架版本,通过DescribeTrainingFrameworks接口查询,eg:1.15、1.9
|
|
1637
2459
|
*/
|
|
1638
2460
|
FrameworkVersion?: string;
|
|
2461
|
+
/**
|
|
2462
|
+
* 训练框架环境,通过DescribeTrainingFrameworks接口查询,eg:tf1.15-py3.7-cpu、torch1.9-py3.8-cuda11.1-gpu
|
|
2463
|
+
*/
|
|
2464
|
+
FrameworkEnvironment?: string;
|
|
1639
2465
|
/**
|
|
1640
2466
|
* 预付费专用资源组ID,通过DescribeBillingResourceGroups接口查询
|
|
1641
2467
|
*/
|
|
@@ -1652,10 +2478,6 @@ export interface CreateTrainingTaskRequest {
|
|
|
1652
2478
|
* 启动命令信息,默认为sh start.sh
|
|
1653
2479
|
*/
|
|
1654
2480
|
StartCmdInfo?: StartCmdInfo;
|
|
1655
|
-
/**
|
|
1656
|
-
* 数据来源,eg:DATASET、COS、CFS、HDFS
|
|
1657
|
-
*/
|
|
1658
|
-
DataSource?: string;
|
|
1659
2481
|
/**
|
|
1660
2482
|
* 数据配置
|
|
1661
2483
|
*/
|
|
@@ -1680,6 +2502,53 @@ export interface CreateTrainingTaskRequest {
|
|
|
1680
2502
|
* 备注,最多500个字
|
|
1681
2503
|
*/
|
|
1682
2504
|
Remark?: string;
|
|
2505
|
+
/**
|
|
2506
|
+
* 数据来源,eg:DATASET、COS、CFS、HDFS
|
|
2507
|
+
*/
|
|
2508
|
+
DataSource?: string;
|
|
2509
|
+
}
|
|
2510
|
+
/**
|
|
2511
|
+
* 实例状况
|
|
2512
|
+
*/
|
|
2513
|
+
export interface StatefulSetCondition {
|
|
2514
|
+
/**
|
|
2515
|
+
* 信息
|
|
2516
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2517
|
+
*/
|
|
2518
|
+
Message: string;
|
|
2519
|
+
/**
|
|
2520
|
+
* 原因
|
|
2521
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2522
|
+
*/
|
|
2523
|
+
Reason: string;
|
|
2524
|
+
/**
|
|
2525
|
+
* Status of the condition, one of True, False, Unknown.
|
|
2526
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2527
|
+
*/
|
|
2528
|
+
Status: string;
|
|
2529
|
+
/**
|
|
2530
|
+
* 类型
|
|
2531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2532
|
+
*/
|
|
2533
|
+
Type: string;
|
|
2534
|
+
/**
|
|
2535
|
+
* 上次更新的时间
|
|
2536
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2537
|
+
*/
|
|
2538
|
+
LastTransitionTime: string;
|
|
2539
|
+
}
|
|
2540
|
+
/**
|
|
2541
|
+
* DescribeModelService返回参数结构体
|
|
2542
|
+
*/
|
|
2543
|
+
export interface DescribeModelServiceResponse {
|
|
2544
|
+
/**
|
|
2545
|
+
* 服务信息
|
|
2546
|
+
*/
|
|
2547
|
+
Service: Service;
|
|
2548
|
+
/**
|
|
2549
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2550
|
+
*/
|
|
2551
|
+
RequestId?: string;
|
|
1683
2552
|
}
|
|
1684
2553
|
/**
|
|
1685
2554
|
* DescribeDatasets返回参数结构体
|
|
@@ -1781,17 +2650,34 @@ export interface Instance {
|
|
|
1781
2650
|
SpecAlias: string;
|
|
1782
2651
|
}
|
|
1783
2652
|
/**
|
|
1784
|
-
*
|
|
2653
|
+
* DescribeModelServices请求参数结构体
|
|
1785
2654
|
*/
|
|
1786
|
-
export interface
|
|
2655
|
+
export interface DescribeModelServicesRequest {
|
|
1787
2656
|
/**
|
|
1788
|
-
*
|
|
2657
|
+
* 偏移量,默认为0
|
|
1789
2658
|
*/
|
|
1790
|
-
|
|
2659
|
+
Offset?: number;
|
|
1791
2660
|
/**
|
|
1792
|
-
*
|
|
2661
|
+
* 返回数量,默认为20,最大值为20
|
|
1793
2662
|
*/
|
|
1794
|
-
|
|
2663
|
+
Limit?: number;
|
|
2664
|
+
/**
|
|
2665
|
+
* 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
|
|
2666
|
+
*/
|
|
2667
|
+
Order?: string;
|
|
2668
|
+
/**
|
|
2669
|
+
* 排序的依据字段, 取值范围 "CreateTime" "UpdateTime"
|
|
2670
|
+
*/
|
|
2671
|
+
OrderField?: string;
|
|
2672
|
+
/**
|
|
2673
|
+
* 分页参数,支持的分页过滤Name包括:
|
|
2674
|
+
["ClusterId", "ServiceId", "ServiceGroupName", "ServiceGroupId","Status","CreatedBy","ModelId"]
|
|
2675
|
+
*/
|
|
2676
|
+
Filters?: Array<Filter>;
|
|
2677
|
+
/**
|
|
2678
|
+
* 标签过滤参数
|
|
2679
|
+
*/
|
|
2680
|
+
TagFilters?: Array<TagFilter>;
|
|
1795
2681
|
}
|
|
1796
2682
|
/**
|
|
1797
2683
|
* DeleteTrainingTask返回参数结构体
|
|
@@ -1984,13 +2870,44 @@ export interface DatasetGroup {
|
|
|
1984
2870
|
DatasetScope: string;
|
|
1985
2871
|
}
|
|
1986
2872
|
/**
|
|
1987
|
-
*
|
|
2873
|
+
* DescribeTrainingModels请求参数结构体
|
|
1988
2874
|
*/
|
|
1989
|
-
export interface
|
|
2875
|
+
export interface DescribeTrainingModelsRequest {
|
|
1990
2876
|
/**
|
|
1991
|
-
|
|
2877
|
+
* 过滤器
|
|
2878
|
+
Filter.Name: 枚举值:
|
|
2879
|
+
keyword (模型名称)
|
|
2880
|
+
TrainingModelId (模型ID)
|
|
2881
|
+
ModelVersionType (模型版本类型) 其值Filter.Values支持: NORMAL(通用) ACCELERATE (加速)
|
|
2882
|
+
TrainingModelSource (模型来源) 其值Filter.Values支持: JOB/COS/AUTO_ML
|
|
2883
|
+
AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2
|
|
2884
|
+
ModelFormat(模型格式)其值Filter.Values支持:
|
|
2885
|
+
TORCH_SCRIPT/PYTORCH/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML
|
|
2886
|
+
Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
2887
|
+
每次请求的Filters的上限为10,Filter.Values的上限为100
|
|
2888
|
+
Filter.Fuzzy取值:true/false,是否支持模糊匹配
|
|
2889
|
+
*/
|
|
2890
|
+
Filters?: Array<Filter>;
|
|
2891
|
+
/**
|
|
2892
|
+
* 排序字段,默认CreateTime
|
|
1992
2893
|
*/
|
|
1993
|
-
|
|
2894
|
+
OrderField?: string;
|
|
2895
|
+
/**
|
|
2896
|
+
* 排序方式,ASC/DESC,默认DESC
|
|
2897
|
+
*/
|
|
2898
|
+
Order?: string;
|
|
2899
|
+
/**
|
|
2900
|
+
* 偏移量
|
|
2901
|
+
*/
|
|
2902
|
+
Offset?: number;
|
|
2903
|
+
/**
|
|
2904
|
+
* 返回结果数量
|
|
2905
|
+
*/
|
|
2906
|
+
Limit?: number;
|
|
2907
|
+
/**
|
|
2908
|
+
* 标签过滤
|
|
2909
|
+
*/
|
|
2910
|
+
TagFilters?: Array<TagFilter>;
|
|
1994
2911
|
}
|
|
1995
2912
|
/**
|
|
1996
2913
|
* 四级标签
|
|
@@ -2053,7 +2970,7 @@ export interface ResourceInfo {
|
|
|
2053
2970
|
*/
|
|
2054
2971
|
Gpu?: number;
|
|
2055
2972
|
/**
|
|
2056
|
-
* Gpu卡型号 T4或者V100
|
|
2973
|
+
* Gpu卡型号 T4或者V100。仅展示当前 GPU 卡型号,若存在多类型同时使用,则参考 RealGpuDetailSet 的值。
|
|
2057
2974
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2058
2975
|
*/
|
|
2059
2976
|
GpuType?: string;
|
|
@@ -2064,6 +2981,11 @@ export interface ResourceInfo {
|
|
|
2064
2981
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2065
2982
|
*/
|
|
2066
2983
|
RealGpu?: number;
|
|
2984
|
+
/**
|
|
2985
|
+
* 创建或更新时无需填写,仅展示需要关注。详细的GPU使用信息。
|
|
2986
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2987
|
+
*/
|
|
2988
|
+
RealGpuDetailSet?: Array<GpuDetail>;
|
|
2067
2989
|
}
|
|
2068
2990
|
/**
|
|
2069
2991
|
* 资源信息
|
|
@@ -2089,46 +3011,45 @@ export interface GroupResource {
|
|
|
2089
3011
|
GpuDetailSet: Array<GpuDetail>;
|
|
2090
3012
|
}
|
|
2091
3013
|
/**
|
|
2092
|
-
*
|
|
3014
|
+
* DescribeModelServiceCallInfo返回参数结构体
|
|
2093
3015
|
*/
|
|
2094
|
-
export interface
|
|
3016
|
+
export interface DescribeModelServiceCallInfoResponse {
|
|
2095
3017
|
/**
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
3018
|
+
* 服务调用信息
|
|
3019
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3020
|
+
*/
|
|
3021
|
+
ServiceCallInfo: ServiceCallInfo;
|
|
2099
3022
|
/**
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
3023
|
+
* 升级网关调用信息
|
|
3024
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3025
|
+
*/
|
|
3026
|
+
InferGatewayCallInfo: InferGatewayCallInfo;
|
|
2103
3027
|
/**
|
|
2104
|
-
*
|
|
3028
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2105
3029
|
*/
|
|
2106
|
-
|
|
3030
|
+
RequestId?: string;
|
|
2107
3031
|
}
|
|
2108
3032
|
/**
|
|
2109
|
-
*
|
|
3033
|
+
* 数据集结构体
|
|
2110
3034
|
*/
|
|
2111
|
-
export interface
|
|
2112
|
-
/**
|
|
2113
|
-
* 标签名称
|
|
2114
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2115
|
-
*/
|
|
2116
|
-
LabelValue?: string;
|
|
3035
|
+
export interface DataSetConfig {
|
|
2117
3036
|
/**
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
3037
|
+
* 数据集ID
|
|
3038
|
+
*/
|
|
3039
|
+
Id: string;
|
|
3040
|
+
}
|
|
3041
|
+
/**
|
|
3042
|
+
* 定时的事务和行为
|
|
3043
|
+
*/
|
|
3044
|
+
export interface ScheduledAction {
|
|
2122
3045
|
/**
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
LabelPercentage?: number;
|
|
3046
|
+
* 是否要定时停止服务,true or false。true 则 ScheduleStopTime 必填, false 则 ScheduleStopTime 不生效
|
|
3047
|
+
*/
|
|
3048
|
+
ScheduleStop?: boolean;
|
|
2127
3049
|
/**
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
ChildLabelList?: Array<TextLabelDistributionDetailInfoFourthClass>;
|
|
3050
|
+
* 要执行定时停止的时间,格式:“2022-01-26 19:46:22”
|
|
3051
|
+
*/
|
|
3052
|
+
ScheduleStopTime?: string;
|
|
2132
3053
|
}
|
|
2133
3054
|
/**
|
|
2134
3055
|
* DeleteTrainingTask请求参数结构体
|
|
@@ -2139,6 +3060,25 @@ export interface DeleteTrainingTaskRequest {
|
|
|
2139
3060
|
*/
|
|
2140
3061
|
Id: string;
|
|
2141
3062
|
}
|
|
3063
|
+
/**
|
|
3064
|
+
* DescribeModelServiceHistory返回参数结构体
|
|
3065
|
+
*/
|
|
3066
|
+
export interface DescribeModelServiceHistoryResponse {
|
|
3067
|
+
/**
|
|
3068
|
+
* 历史版本总数
|
|
3069
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3070
|
+
*/
|
|
3071
|
+
TotalCount: number;
|
|
3072
|
+
/**
|
|
3073
|
+
* 服务版本
|
|
3074
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3075
|
+
*/
|
|
3076
|
+
ServiceHistory: Array<ServiceHistory>;
|
|
3077
|
+
/**
|
|
3078
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3079
|
+
*/
|
|
3080
|
+
RequestId?: string;
|
|
3081
|
+
}
|
|
2142
3082
|
/**
|
|
2143
3083
|
* 过滤器
|
|
2144
3084
|
*/
|
|
@@ -2264,18 +3204,119 @@ export interface CreateDatasetRequest {
|
|
|
2264
3204
|
*/
|
|
2265
3205
|
IsSchemaExisted?: boolean;
|
|
2266
3206
|
/**
|
|
2267
|
-
* 导入文件粒度,按行或者按文件
|
|
2268
|
-
*/
|
|
2269
|
-
ContentType?: string;
|
|
2270
|
-
}
|
|
2271
|
-
/**
|
|
2272
|
-
*
|
|
2273
|
-
*/
|
|
2274
|
-
export interface
|
|
3207
|
+
* 导入文件粒度,按行或者按文件
|
|
3208
|
+
*/
|
|
3209
|
+
ContentType?: string;
|
|
3210
|
+
}
|
|
3211
|
+
/**
|
|
3212
|
+
* CreateModelService返回参数结构体
|
|
3213
|
+
*/
|
|
3214
|
+
export interface CreateModelServiceResponse {
|
|
3215
|
+
/**
|
|
3216
|
+
* 生成的模型服务
|
|
3217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3218
|
+
*/
|
|
3219
|
+
Service: Service;
|
|
3220
|
+
/**
|
|
3221
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3222
|
+
*/
|
|
3223
|
+
RequestId?: string;
|
|
3224
|
+
}
|
|
3225
|
+
/**
|
|
3226
|
+
* 在线服务一个服务组的信息
|
|
3227
|
+
*/
|
|
3228
|
+
export interface ServiceGroup {
|
|
3229
|
+
/**
|
|
3230
|
+
* 服务组id
|
|
3231
|
+
*/
|
|
3232
|
+
ServiceGroupId: string;
|
|
3233
|
+
/**
|
|
3234
|
+
* 服务组名
|
|
3235
|
+
*/
|
|
3236
|
+
ServiceGroupName: string;
|
|
3237
|
+
/**
|
|
3238
|
+
* 创建者
|
|
3239
|
+
*/
|
|
3240
|
+
CreatedBy: string;
|
|
3241
|
+
/**
|
|
3242
|
+
* 创建时间
|
|
3243
|
+
*/
|
|
3244
|
+
CreateTime: string;
|
|
3245
|
+
/**
|
|
3246
|
+
* 更新时间
|
|
3247
|
+
*/
|
|
3248
|
+
UpdateTime: string;
|
|
3249
|
+
/**
|
|
3250
|
+
* 主账号
|
|
3251
|
+
*/
|
|
3252
|
+
Uin: string;
|
|
3253
|
+
/**
|
|
3254
|
+
* 服务组下服务总数
|
|
3255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3256
|
+
*/
|
|
3257
|
+
ServiceCount: number;
|
|
3258
|
+
/**
|
|
3259
|
+
* 服务组下在运行的服务数量
|
|
3260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3261
|
+
*/
|
|
3262
|
+
RunningServiceCount: number;
|
|
3263
|
+
/**
|
|
3264
|
+
* 服务描述
|
|
3265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3266
|
+
*/
|
|
3267
|
+
Services: Array<Service>;
|
|
3268
|
+
/**
|
|
3269
|
+
* 服务组状态,与服务一致
|
|
3270
|
+
CREATING 创建中
|
|
3271
|
+
CREATE_FAILED 创建失败
|
|
3272
|
+
Normal 正常运行中
|
|
3273
|
+
Stopped 已停止
|
|
3274
|
+
Stopping 停止中
|
|
3275
|
+
Abnormal 异常
|
|
3276
|
+
Pending 启动中
|
|
3277
|
+
Waiting 就绪中
|
|
3278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3279
|
+
*/
|
|
3280
|
+
Status: string;
|
|
3281
|
+
/**
|
|
3282
|
+
* 服务组标签
|
|
3283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3284
|
+
*/
|
|
3285
|
+
Tags: Array<Tag>;
|
|
3286
|
+
/**
|
|
3287
|
+
* 服务组下最高版本
|
|
3288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3289
|
+
*/
|
|
3290
|
+
LatestVersion: string;
|
|
3291
|
+
/**
|
|
3292
|
+
* 服务的业务状态
|
|
3293
|
+
CREATING 创建中
|
|
3294
|
+
CREATE_FAILED 创建失败
|
|
3295
|
+
ARREARS_STOP 因欠费被强制停止
|
|
3296
|
+
BILLING 计费中
|
|
3297
|
+
WHITELIST_USING 白名单试用中
|
|
3298
|
+
WHITELIST_STOP 白名单额度不足
|
|
3299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3300
|
+
*/
|
|
3301
|
+
BusinessStatus: string;
|
|
3302
|
+
/**
|
|
3303
|
+
* 服务的计费信息
|
|
3304
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3305
|
+
*/
|
|
3306
|
+
BillingInfo: string;
|
|
3307
|
+
/**
|
|
3308
|
+
* 服务的创建来源
|
|
3309
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3310
|
+
*/
|
|
3311
|
+
CreateSource: string;
|
|
2275
3312
|
/**
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
3313
|
+
* 服务组的权重更新状态
|
|
3314
|
+
UPDATING 更新中
|
|
3315
|
+
UPDATED 更新成功
|
|
3316
|
+
UPDATE_FAILED 更新失败
|
|
3317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3318
|
+
*/
|
|
3319
|
+
WeightUpdateStatus: string;
|
|
2279
3320
|
}
|
|
2280
3321
|
/**
|
|
2281
3322
|
* 模型列表
|
|
@@ -2300,6 +3341,58 @@ export interface TrainingModelDTO {
|
|
|
2300
3341
|
*/
|
|
2301
3342
|
CreateTime: string;
|
|
2302
3343
|
}
|
|
3344
|
+
/**
|
|
3345
|
+
* 服务的限流限速等配置
|
|
3346
|
+
*/
|
|
3347
|
+
export interface ServiceLimit {
|
|
3348
|
+
/**
|
|
3349
|
+
* 是否开启实例层面限流限速,true or false。true 则 InstanceRpsLimit 必填, false 则 InstanceRpsLimit 不生效
|
|
3350
|
+
*/
|
|
3351
|
+
EnableInstanceRpsLimit?: boolean;
|
|
3352
|
+
/**
|
|
3353
|
+
* 每个服务实例的 request per second 限速, 0 为不限流
|
|
3354
|
+
*/
|
|
3355
|
+
InstanceRpsLimit?: number;
|
|
3356
|
+
}
|
|
3357
|
+
/**
|
|
3358
|
+
* DescribeModelServiceGroup返回参数结构体
|
|
3359
|
+
*/
|
|
3360
|
+
export interface DescribeModelServiceGroupResponse {
|
|
3361
|
+
/**
|
|
3362
|
+
* 服务组信息
|
|
3363
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3364
|
+
*/
|
|
3365
|
+
ServiceGroup: ServiceGroup;
|
|
3366
|
+
/**
|
|
3367
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3368
|
+
*/
|
|
3369
|
+
RequestId?: string;
|
|
3370
|
+
}
|
|
3371
|
+
/**
|
|
3372
|
+
* 三级标签
|
|
3373
|
+
*/
|
|
3374
|
+
export interface TextLabelDistributionDetailInfoThirdClass {
|
|
3375
|
+
/**
|
|
3376
|
+
* 标签名称
|
|
3377
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3378
|
+
*/
|
|
3379
|
+
LabelValue?: string;
|
|
3380
|
+
/**
|
|
3381
|
+
* 标签个数
|
|
3382
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3383
|
+
*/
|
|
3384
|
+
LabelCount?: number;
|
|
3385
|
+
/**
|
|
3386
|
+
* 标签占比
|
|
3387
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3388
|
+
*/
|
|
3389
|
+
LabelPercentage?: number;
|
|
3390
|
+
/**
|
|
3391
|
+
* 子标签分布
|
|
3392
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3393
|
+
*/
|
|
3394
|
+
ChildLabelList?: Array<TextLabelDistributionDetailInfoFourthClass>;
|
|
3395
|
+
}
|
|
2303
3396
|
/**
|
|
2304
3397
|
* 自定义指标
|
|
2305
3398
|
*/
|
|
@@ -2367,6 +3460,25 @@ export interface LogIdentity {
|
|
|
2367
3460
|
*/
|
|
2368
3461
|
Timestamp: string;
|
|
2369
3462
|
}
|
|
3463
|
+
/**
|
|
3464
|
+
* DescribeAPIConfigs返回参数结构体
|
|
3465
|
+
*/
|
|
3466
|
+
export interface DescribeAPIConfigsResponse {
|
|
3467
|
+
/**
|
|
3468
|
+
* 接口数量
|
|
3469
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3470
|
+
*/
|
|
3471
|
+
TotalCount: number;
|
|
3472
|
+
/**
|
|
3473
|
+
* 接口详情
|
|
3474
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3475
|
+
*/
|
|
3476
|
+
Details: Array<APIConfigDetail>;
|
|
3477
|
+
/**
|
|
3478
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3479
|
+
*/
|
|
3480
|
+
RequestId?: string;
|
|
3481
|
+
}
|
|
2370
3482
|
/**
|
|
2371
3483
|
* DescribeDatasetDetailStructured请求参数结构体
|
|
2372
3484
|
*/
|
|
@@ -2422,6 +3534,26 @@ export interface DeleteDatasetResponse {
|
|
|
2422
3534
|
*/
|
|
2423
3535
|
RequestId?: string;
|
|
2424
3536
|
}
|
|
3537
|
+
/**
|
|
3538
|
+
* hpa的描述
|
|
3539
|
+
*/
|
|
3540
|
+
export interface HorizontalPodAutoscaler {
|
|
3541
|
+
/**
|
|
3542
|
+
* 最小实例数
|
|
3543
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3544
|
+
*/
|
|
3545
|
+
MinReplicas: number;
|
|
3546
|
+
/**
|
|
3547
|
+
* 最大实例数
|
|
3548
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3549
|
+
*/
|
|
3550
|
+
MaxReplicas: number;
|
|
3551
|
+
/**
|
|
3552
|
+
* 扩缩容指标
|
|
3553
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3554
|
+
*/
|
|
3555
|
+
HpaMetrics: Array<Option>;
|
|
3556
|
+
}
|
|
2425
3557
|
/**
|
|
2426
3558
|
* 自定义训练指标数据点
|
|
2427
3559
|
*/
|
|
@@ -2435,6 +3567,36 @@ export interface CustomTrainingPoint {
|
|
|
2435
3567
|
*/
|
|
2436
3568
|
YValue?: number;
|
|
2437
3569
|
}
|
|
3570
|
+
/**
|
|
3571
|
+
* 服务历史版本
|
|
3572
|
+
*/
|
|
3573
|
+
export interface ServiceHistory {
|
|
3574
|
+
/**
|
|
3575
|
+
* 版本
|
|
3576
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3577
|
+
*/
|
|
3578
|
+
Revision: string;
|
|
3579
|
+
/**
|
|
3580
|
+
* 更新时间
|
|
3581
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3582
|
+
*/
|
|
3583
|
+
UpdateTime: string;
|
|
3584
|
+
/**
|
|
3585
|
+
* 镜像
|
|
3586
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3587
|
+
*/
|
|
3588
|
+
Image: string;
|
|
3589
|
+
/**
|
|
3590
|
+
* 模型文件
|
|
3591
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3592
|
+
*/
|
|
3593
|
+
ModelFile: string;
|
|
3594
|
+
/**
|
|
3595
|
+
* 原始数据
|
|
3596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3597
|
+
*/
|
|
3598
|
+
RawData: string;
|
|
3599
|
+
}
|
|
2438
3600
|
/**
|
|
2439
3601
|
* 训练任务详情
|
|
2440
3602
|
*/
|
|
@@ -2470,10 +3632,10 @@ export interface TrainingTaskDetail {
|
|
|
2470
3632
|
*/
|
|
2471
3633
|
FrameworkVersion: string;
|
|
2472
3634
|
/**
|
|
2473
|
-
*
|
|
3635
|
+
* 框架运行环境
|
|
2474
3636
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2475
3637
|
*/
|
|
2476
|
-
|
|
3638
|
+
FrameworkEnvironment: string;
|
|
2477
3639
|
/**
|
|
2478
3640
|
* 计费模式
|
|
2479
3641
|
*/
|
|
@@ -2493,10 +3655,10 @@ export interface TrainingTaskDetail {
|
|
|
2493
3655
|
*/
|
|
2494
3656
|
Tags: Array<Tag>;
|
|
2495
3657
|
/**
|
|
2496
|
-
*
|
|
3658
|
+
* 训练模式,eg:PS_WORKER、DDP、MPI、HOROVOD
|
|
2497
3659
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2498
3660
|
*/
|
|
2499
|
-
|
|
3661
|
+
TrainingMode: string;
|
|
2500
3662
|
/**
|
|
2501
3663
|
* 代码包
|
|
2502
3664
|
*/
|
|
@@ -2544,9 +3706,10 @@ export interface TrainingTaskDetail {
|
|
|
2544
3706
|
*/
|
|
2545
3707
|
SubnetId: string;
|
|
2546
3708
|
/**
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
3709
|
+
* 自定义镜像信息
|
|
3710
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3711
|
+
*/
|
|
3712
|
+
ImageInfo: ImageInfo;
|
|
2550
3713
|
/**
|
|
2551
3714
|
* 运行时长
|
|
2552
3715
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -2609,6 +3772,10 @@ export interface TrainingTaskDetail {
|
|
|
2609
3772
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2610
3773
|
*/
|
|
2611
3774
|
Message: string;
|
|
3775
|
+
/**
|
|
3776
|
+
* 任务状态
|
|
3777
|
+
*/
|
|
3778
|
+
Status: string;
|
|
2612
3779
|
}
|
|
2613
3780
|
/**
|
|
2614
3781
|
* DescribeTrainingTasks返回参数结构体
|
|
@@ -2678,6 +3845,15 @@ export interface DescribeLogsResponse {
|
|
|
2678
3845
|
*/
|
|
2679
3846
|
RequestId?: string;
|
|
2680
3847
|
}
|
|
3848
|
+
/**
|
|
3849
|
+
* DeleteModelServiceGroup请求参数结构体
|
|
3850
|
+
*/
|
|
3851
|
+
export interface DeleteModelServiceGroupRequest {
|
|
3852
|
+
/**
|
|
3853
|
+
* 服务id
|
|
3854
|
+
*/
|
|
3855
|
+
ServiceGroupId: string;
|
|
3856
|
+
}
|
|
2681
3857
|
/**
|
|
2682
3858
|
* 模型版本列表
|
|
2683
3859
|
*/
|
|
@@ -2797,6 +3973,15 @@ export interface TrainingModelVersionDTO {
|
|
|
2797
3973
|
*/
|
|
2798
3974
|
ModelHotUpdatePath: CosPathInfo;
|
|
2799
3975
|
}
|
|
3976
|
+
/**
|
|
3977
|
+
* PushTrainingMetrics请求参数结构体
|
|
3978
|
+
*/
|
|
3979
|
+
export interface PushTrainingMetricsRequest {
|
|
3980
|
+
/**
|
|
3981
|
+
* 指标数据
|
|
3982
|
+
*/
|
|
3983
|
+
Data?: Array<MetricData>;
|
|
3984
|
+
}
|
|
2800
3985
|
/**
|
|
2801
3986
|
* DescribeTrainingTask请求参数结构体
|
|
2802
3987
|
*/
|
|
@@ -2843,10 +4028,10 @@ export interface TrainingTaskSetItem {
|
|
|
2843
4028
|
*/
|
|
2844
4029
|
FrameworkVersion: string;
|
|
2845
4030
|
/**
|
|
2846
|
-
*
|
|
4031
|
+
* 框架运行环境
|
|
2847
4032
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2848
4033
|
*/
|
|
2849
|
-
|
|
4034
|
+
FrameworkEnvironment: string;
|
|
2850
4035
|
/**
|
|
2851
4036
|
* 计费模式
|
|
2852
4037
|
*/
|
|
@@ -2865,10 +4050,10 @@ export interface TrainingTaskSetItem {
|
|
|
2865
4050
|
*/
|
|
2866
4051
|
ResourceConfigInfos: Array<ResourceConfigInfo>;
|
|
2867
4052
|
/**
|
|
2868
|
-
*
|
|
4053
|
+
* 训练模式eg:PS_WORKER、DDP、MPI、HOROVOD
|
|
2869
4054
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2870
4055
|
*/
|
|
2871
|
-
|
|
4056
|
+
TrainingMode: string;
|
|
2872
4057
|
/**
|
|
2873
4058
|
* 任务状态
|
|
2874
4059
|
*/
|
|
@@ -2923,6 +4108,11 @@ export interface TrainingTaskSetItem {
|
|
|
2923
4108
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2924
4109
|
*/
|
|
2925
4110
|
Message: string;
|
|
4111
|
+
/**
|
|
4112
|
+
* 标签配置
|
|
4113
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4114
|
+
*/
|
|
4115
|
+
Tags: Array<Tag>;
|
|
2926
4116
|
}
|
|
2927
4117
|
/**
|
|
2928
4118
|
* DescribeTrainingModelVersions返回参数结构体
|
|
@@ -3007,6 +4197,19 @@ export interface DescribeTrainingModelVersionRequest {
|
|
|
3007
4197
|
*/
|
|
3008
4198
|
TrainingModelVersionId: string;
|
|
3009
4199
|
}
|
|
4200
|
+
/**
|
|
4201
|
+
* 服务的权重
|
|
4202
|
+
*/
|
|
4203
|
+
export interface WeightEntry {
|
|
4204
|
+
/**
|
|
4205
|
+
* 服务id
|
|
4206
|
+
*/
|
|
4207
|
+
ServiceId: string;
|
|
4208
|
+
/**
|
|
4209
|
+
* 流量权重值,同 ServiceGroup 下 总和应为 100
|
|
4210
|
+
*/
|
|
4211
|
+
Weight: number;
|
|
4212
|
+
}
|
|
3010
4213
|
/**
|
|
3011
4214
|
* PushTrainingMetrics返回参数结构体
|
|
3012
4215
|
*/
|
|
@@ -3074,6 +4277,21 @@ export interface DescribeTrainingTaskPodsResponse {
|
|
|
3074
4277
|
*/
|
|
3075
4278
|
RequestId?: string;
|
|
3076
4279
|
}
|
|
4280
|
+
/**
|
|
4281
|
+
* 环境变量
|
|
4282
|
+
*/
|
|
4283
|
+
export interface EnvVar {
|
|
4284
|
+
/**
|
|
4285
|
+
* 环境变量key
|
|
4286
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4287
|
+
*/
|
|
4288
|
+
Name?: string;
|
|
4289
|
+
/**
|
|
4290
|
+
* 环境变量value
|
|
4291
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4292
|
+
*/
|
|
4293
|
+
Value?: string;
|
|
4294
|
+
}
|
|
3077
4295
|
/**
|
|
3078
4296
|
* OCR场景标签列表
|
|
3079
4297
|
*/
|
|
@@ -3120,44 +4338,21 @@ export interface OcrLabelInfo {
|
|
|
3120
4338
|
Direction: string;
|
|
3121
4339
|
}
|
|
3122
4340
|
/**
|
|
3123
|
-
*
|
|
4341
|
+
* DeleteTrainingModel请求参数结构体
|
|
3124
4342
|
*/
|
|
3125
|
-
export interface
|
|
3126
|
-
/**
|
|
3127
|
-
* 过滤器
|
|
3128
|
-
Filter.Name: 枚举值:
|
|
3129
|
-
keyword (模型名称)
|
|
3130
|
-
TrainingModelId (模型ID)
|
|
3131
|
-
ModelVersionType (模型版本类型) 其值Filter.Values支持: NORMAL(通用) ACCELERATE (加速)
|
|
3132
|
-
TrainingModelSource (模型来源) 其值Filter.Values支持: JOB/COS/AUTO_ML
|
|
3133
|
-
AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2
|
|
3134
|
-
ModelFormat(模型格式)其值Filter.Values支持:
|
|
3135
|
-
TORCH_SCRIPT/PYTORCH/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML
|
|
3136
|
-
Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
3137
|
-
每次请求的Filters的上限为10,Filter.Values的上限为100
|
|
3138
|
-
Filter.Fuzzy取值:true/false,是否支持模糊匹配
|
|
3139
|
-
*/
|
|
3140
|
-
Filters?: Array<Filter>;
|
|
3141
|
-
/**
|
|
3142
|
-
* 排序字段,默认CreateTime
|
|
3143
|
-
*/
|
|
3144
|
-
OrderField?: string;
|
|
3145
|
-
/**
|
|
3146
|
-
* 排序方式,ASC/DESC,默认DESC
|
|
3147
|
-
*/
|
|
3148
|
-
Order?: string;
|
|
4343
|
+
export interface DeleteTrainingModelRequest {
|
|
3149
4344
|
/**
|
|
3150
|
-
*
|
|
4345
|
+
* 模型ID
|
|
3151
4346
|
*/
|
|
3152
|
-
|
|
4347
|
+
TrainingModelId: string;
|
|
3153
4348
|
/**
|
|
3154
|
-
*
|
|
4349
|
+
* 是否同步清理cos
|
|
3155
4350
|
*/
|
|
3156
|
-
|
|
4351
|
+
EnableDeleteCos?: boolean;
|
|
3157
4352
|
/**
|
|
3158
|
-
*
|
|
4353
|
+
* 删除模型类型,枚举值:NORMAL 普通,ACCELERATE 加速,不传则删除所有
|
|
3159
4354
|
*/
|
|
3160
|
-
|
|
4355
|
+
ModelVersionType?: string;
|
|
3161
4356
|
}
|
|
3162
4357
|
/**
|
|
3163
4358
|
* 点信息描述
|
|
@@ -3175,45 +4370,21 @@ export interface PointInfo {
|
|
|
3175
4370
|
Y: number;
|
|
3176
4371
|
}
|
|
3177
4372
|
/**
|
|
3178
|
-
*
|
|
4373
|
+
* DescribeModelServiceHotUpdated请求参数结构体
|
|
3179
4374
|
*/
|
|
3180
|
-
export interface
|
|
3181
|
-
/**
|
|
3182
|
-
* 资源组id
|
|
3183
|
-
*/
|
|
3184
|
-
ResourceGroupId: string;
|
|
4375
|
+
export interface DescribeModelServiceHotUpdatedRequest {
|
|
3185
4376
|
/**
|
|
3186
|
-
*
|
|
4377
|
+
* 镜像信息,配置服务运行所需的镜像地址等信息
|
|
3187
4378
|
*/
|
|
3188
|
-
|
|
4379
|
+
ImageInfo: ImageInfo;
|
|
3189
4380
|
/**
|
|
3190
|
-
*
|
|
4381
|
+
* 模型信息,需要挂载模型时填写
|
|
3191
4382
|
*/
|
|
3192
|
-
|
|
4383
|
+
ModelInfo?: ModelInfo;
|
|
3193
4384
|
/**
|
|
3194
|
-
*
|
|
4385
|
+
* 挂载信息
|
|
3195
4386
|
*/
|
|
3196
|
-
|
|
3197
|
-
/**
|
|
3198
|
-
* 资资源组已用的资源
|
|
3199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3200
|
-
*/
|
|
3201
|
-
UsedResource: GroupResource;
|
|
3202
|
-
/**
|
|
3203
|
-
* 资源组总资源
|
|
3204
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3205
|
-
*/
|
|
3206
|
-
TotalResource: GroupResource;
|
|
3207
|
-
/**
|
|
3208
|
-
* 节点信息
|
|
3209
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3210
|
-
*/
|
|
3211
|
-
InstanceSet: Array<Instance>;
|
|
3212
|
-
/**
|
|
3213
|
-
* 标签列表
|
|
3214
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3215
|
-
*/
|
|
3216
|
-
TagSet: Array<Tag>;
|
|
4387
|
+
VolumeMount?: VolumeMount;
|
|
3217
4388
|
}
|
|
3218
4389
|
/**
|
|
3219
4390
|
* DescribeTrainingTask返回参数结构体
|
|
@@ -3242,6 +4413,15 @@ export interface DescribeBatchTaskResponse {
|
|
|
3242
4413
|
*/
|
|
3243
4414
|
RequestId?: string;
|
|
3244
4415
|
}
|
|
4416
|
+
/**
|
|
4417
|
+
* DeleteModelService返回参数结构体
|
|
4418
|
+
*/
|
|
4419
|
+
export interface DeleteModelServiceResponse {
|
|
4420
|
+
/**
|
|
4421
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4422
|
+
*/
|
|
4423
|
+
RequestId?: string;
|
|
4424
|
+
}
|
|
3245
4425
|
/**
|
|
3246
4426
|
* 指标数据
|
|
3247
4427
|
*/
|
|
@@ -3345,6 +4525,25 @@ export interface TextLabelDistributionDetailInfoFirstClass {
|
|
|
3345
4525
|
*/
|
|
3346
4526
|
ChildLabelList?: Array<TextLabelDistributionDetailInfoSecondClass>;
|
|
3347
4527
|
}
|
|
4528
|
+
/**
|
|
4529
|
+
* DescribeModelServices返回参数结构体
|
|
4530
|
+
*/
|
|
4531
|
+
export interface DescribeModelServicesResponse {
|
|
4532
|
+
/**
|
|
4533
|
+
* 服务数量
|
|
4534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4535
|
+
*/
|
|
4536
|
+
TotalCount: number;
|
|
4537
|
+
/**
|
|
4538
|
+
* 无
|
|
4539
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4540
|
+
*/
|
|
4541
|
+
Services: Array<Service>;
|
|
4542
|
+
/**
|
|
4543
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4544
|
+
*/
|
|
4545
|
+
RequestId?: string;
|
|
4546
|
+
}
|
|
3348
4547
|
/**
|
|
3349
4548
|
* StopTrainingTask请求参数结构体
|
|
3350
4549
|
*/
|