tencentcloud-sdk-nodejs-tione 4.1.339 → 4.1.340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/services/tione/v20211111/tione_client.js +178 -133
- package/package.json +1 -1
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +455 -144
- package/tencentcloud/services/tione/v20211111/tione_client.js +554 -213
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1352 -651
|
@@ -238,61 +238,25 @@ export interface DescribePresetImageListRequest {
|
|
|
238
238
|
Order?: Array<string>;
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
|
-
*
|
|
241
|
+
* 访问规则
|
|
242
242
|
*/
|
|
243
|
-
export interface
|
|
244
|
-
/**
|
|
245
|
-
* <p>服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测<br>枚举值:</p><ul><li>TRAIN</li><li>NOTEBOOK</li><li>INFER</li><li>BATCH</li></ul>
|
|
246
|
-
*/
|
|
247
|
-
Service: string;
|
|
248
|
-
/**
|
|
249
|
-
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
250
|
-
*/
|
|
251
|
-
TiProjectId?: string;
|
|
243
|
+
export interface AccessRule {
|
|
252
244
|
/**
|
|
253
|
-
* <p
|
|
245
|
+
* <p>模块</p>
|
|
254
246
|
*/
|
|
255
|
-
|
|
247
|
+
Module?: string;
|
|
256
248
|
/**
|
|
257
|
-
* <p
|
|
249
|
+
* <p>功能权限点</p>
|
|
258
250
|
*/
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* <p>日志查询条数,默认值100,最大值1000</p>
|
|
262
|
-
*/
|
|
263
|
-
Limit?: number;
|
|
264
|
-
/**
|
|
265
|
-
* <p>服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:</p><ul><li>Service类型为TRAIN:<br>调用<a href="/document/product/851/75089">DescribeTrainingTask接口</a>查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId</li><li>Service类型为NOTEBOOK:<br>调用<a href="/document/product/851/95662">DescribeNotebook接口</a>查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName</li><li>Service类型为INFER:<br>调用<a href="/document/product/851/82285">DescribeModelServiceGroup接口</a>查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId</li><li>Service类型为BATCH:<br>调用<a href="/document/product/851/80180">DescribeBatchTask接口</a>查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId</li></ul>
|
|
266
|
-
*/
|
|
267
|
-
ServiceId?: string;
|
|
268
|
-
/**
|
|
269
|
-
* <p>Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:</p><ul><li>Service类型为TRAIN:<br>调用<a href="/document/product/851/75088">DescribeTrainingTaskPods接口</a>查询训练任务pod列表,PodName为接口返回值中Response.PodNames</li><li>Service类型为NOTEBOOK:<br>调用<a href="/document/product/851/95662">DescribeNotebook接口</a>查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName</li><li>Service类型为INFER:<br>调用<a href="/document/product/851/82287">DescribeModelService接口</a>查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos</li><li>Service类型为BATCH:<br>调用<a href="/document/product/851/80180">DescribeBatchTask接口</a>查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail. PodList<br>注:支持结尾通配符*</li></ul>
|
|
270
|
-
*/
|
|
271
|
-
PodName?: string;
|
|
272
|
-
/**
|
|
273
|
-
* <p>排序方向(可选值为ASC, DESC ),默认为DESC</p>
|
|
274
|
-
*/
|
|
275
|
-
Order?: string;
|
|
276
|
-
/**
|
|
277
|
-
* <p>按哪个字段排序(可选值为Timestamp),默认值为Timestamp</p>
|
|
278
|
-
*/
|
|
279
|
-
OrderField?: string;
|
|
280
|
-
/**
|
|
281
|
-
* <p>日志查询上下文,查询下一页的时候需要回传这个字段,该字段来自本接口的返回</p>
|
|
282
|
-
*/
|
|
283
|
-
Context?: string;
|
|
251
|
+
ActionType?: Array<string>;
|
|
284
252
|
/**
|
|
285
|
-
* <p
|
|
253
|
+
* <p>数据权限点</p>
|
|
286
254
|
*/
|
|
287
|
-
|
|
255
|
+
DataActionType?: Array<string>;
|
|
288
256
|
/**
|
|
289
|
-
* <p
|
|
257
|
+
* <p>功能权限点名称</p>
|
|
290
258
|
*/
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* <p>日志类别</p><p>枚举值:</p><ul><li>stdout: stdout</li><li>stderr: stderr</li></ul><p>默认值:""</p>
|
|
294
|
-
*/
|
|
295
|
-
LogStream?: string;
|
|
259
|
+
ActionTypeName?: Array<string>;
|
|
296
260
|
}
|
|
297
261
|
/**
|
|
298
262
|
* DescribeModelAccelerateVersions请求参数结构体
|
|
@@ -604,6 +568,19 @@ export interface ModifyServiceGroupWeightsResponse {
|
|
|
604
568
|
*/
|
|
605
569
|
RequestId?: string;
|
|
606
570
|
}
|
|
571
|
+
/**
|
|
572
|
+
* 定时的事务和行为
|
|
573
|
+
*/
|
|
574
|
+
export interface ScheduledAction {
|
|
575
|
+
/**
|
|
576
|
+
* 是否要定时停止服务,true or false。true 则 ScheduleStopTime 必填, false 则 ScheduleStopTime 不生效
|
|
577
|
+
*/
|
|
578
|
+
ScheduleStop?: boolean;
|
|
579
|
+
/**
|
|
580
|
+
* 要执行定时停止的时间,格式:“2022-01-26T19:46:22+08:00”
|
|
581
|
+
*/
|
|
582
|
+
ScheduleStopTime?: string;
|
|
583
|
+
}
|
|
607
584
|
/**
|
|
608
585
|
* 大模型生成Token统计
|
|
609
586
|
*/
|
|
@@ -721,21 +698,13 @@ export interface Filter {
|
|
|
721
698
|
Fuzzy?: boolean;
|
|
722
699
|
}
|
|
723
700
|
/**
|
|
724
|
-
*
|
|
701
|
+
* ModifyWorkspaceMembers返回参数结构体
|
|
725
702
|
*/
|
|
726
|
-
export interface
|
|
727
|
-
/**
|
|
728
|
-
* <p>是否开启 Hang 检测</p><p>默认值:false</p>
|
|
729
|
-
*/
|
|
730
|
-
EnableHangMonitor?: boolean;
|
|
731
|
-
/**
|
|
732
|
-
* <p>Hang 检测的节点列表</p>
|
|
733
|
-
*/
|
|
734
|
-
HangMonitorNodes?: Array<string>;
|
|
703
|
+
export interface ModifyWorkspaceMembersResponse {
|
|
735
704
|
/**
|
|
736
|
-
*
|
|
705
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
737
706
|
*/
|
|
738
|
-
|
|
707
|
+
RequestId?: string;
|
|
739
708
|
}
|
|
740
709
|
/**
|
|
741
710
|
* DescribeTrainingModelVersions请求参数结构体
|
|
@@ -781,6 +750,111 @@ export interface CreateDatasetResponse {
|
|
|
781
750
|
*/
|
|
782
751
|
RequestId?: string;
|
|
783
752
|
}
|
|
753
|
+
/**
|
|
754
|
+
* DescribeLogs请求参数结构体
|
|
755
|
+
*/
|
|
756
|
+
export interface DescribeLogsRequest {
|
|
757
|
+
/**
|
|
758
|
+
* <p>服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测<br>枚举值:</p><ul><li>TRAIN</li><li>NOTEBOOK</li><li>INFER</li><li>BATCH</li></ul>
|
|
759
|
+
*/
|
|
760
|
+
Service: string;
|
|
761
|
+
/**
|
|
762
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
763
|
+
*/
|
|
764
|
+
TiProjectId?: string;
|
|
765
|
+
/**
|
|
766
|
+
* <p>日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时</p>
|
|
767
|
+
*/
|
|
768
|
+
StartTime?: string;
|
|
769
|
+
/**
|
|
770
|
+
* <p>日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间</p>
|
|
771
|
+
*/
|
|
772
|
+
EndTime?: string;
|
|
773
|
+
/**
|
|
774
|
+
* <p>日志查询条数,默认值100,最大值1000</p>
|
|
775
|
+
*/
|
|
776
|
+
Limit?: number;
|
|
777
|
+
/**
|
|
778
|
+
* <p>服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:</p><ul><li>Service类型为TRAIN:<br>调用<a href="/document/product/851/75089">DescribeTrainingTask接口</a>查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId</li><li>Service类型为NOTEBOOK:<br>调用<a href="/document/product/851/95662">DescribeNotebook接口</a>查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName</li><li>Service类型为INFER:<br>调用<a href="/document/product/851/82285">DescribeModelServiceGroup接口</a>查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId</li><li>Service类型为BATCH:<br>调用<a href="/document/product/851/80180">DescribeBatchTask接口</a>查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId</li></ul>
|
|
779
|
+
*/
|
|
780
|
+
ServiceId?: string;
|
|
781
|
+
/**
|
|
782
|
+
* <p>Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:</p><ul><li>Service类型为TRAIN:<br>调用<a href="/document/product/851/75088">DescribeTrainingTaskPods接口</a>查询训练任务pod列表,PodName为接口返回值中Response.PodNames</li><li>Service类型为NOTEBOOK:<br>调用<a href="/document/product/851/95662">DescribeNotebook接口</a>查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName</li><li>Service类型为INFER:<br>调用<a href="/document/product/851/82287">DescribeModelService接口</a>查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos</li><li>Service类型为BATCH:<br>调用<a href="/document/product/851/80180">DescribeBatchTask接口</a>查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail. PodList<br>注:支持结尾通配符*</li></ul>
|
|
783
|
+
*/
|
|
784
|
+
PodName?: string;
|
|
785
|
+
/**
|
|
786
|
+
* <p>排序方向(可选值为ASC, DESC ),默认为DESC</p>
|
|
787
|
+
*/
|
|
788
|
+
Order?: string;
|
|
789
|
+
/**
|
|
790
|
+
* <p>按哪个字段排序(可选值为Timestamp),默认值为Timestamp</p>
|
|
791
|
+
*/
|
|
792
|
+
OrderField?: string;
|
|
793
|
+
/**
|
|
794
|
+
* <p>日志查询上下文,查询下一页的时候需要回传这个字段,该字段来自本接口的返回</p>
|
|
795
|
+
*/
|
|
796
|
+
Context?: string;
|
|
797
|
+
/**
|
|
798
|
+
* <p>过滤条件<br>注意: </p><ol><li>Filter.Name:目前只支持Key(也就是按关键字过滤日志)</li><li>Filter.Values:表示过滤日志的关键字;Values为多个的时候表示同时满足</li><li>Filter. Negative和Filter. Fuzzy没有使用</li></ol>
|
|
799
|
+
*/
|
|
800
|
+
Filters?: Array<Filter>;
|
|
801
|
+
/**
|
|
802
|
+
* <p>使用OFFSET分页查询时,指定返回的数据偏移量,默认为0</p>
|
|
803
|
+
*/
|
|
804
|
+
Offset?: number;
|
|
805
|
+
/**
|
|
806
|
+
* <p>日志类别</p><p>枚举值:</p><ul><li>stdout: stdout</li><li>stderr: stderr</li></ul><p>默认值:""</p>
|
|
807
|
+
*/
|
|
808
|
+
LogStream?: string;
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* 设备对应的镜像信息
|
|
812
|
+
*/
|
|
813
|
+
export interface DeviceImageInfo {
|
|
814
|
+
/**
|
|
815
|
+
* 设备类型, 支持GPU等
|
|
816
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
817
|
+
*/
|
|
818
|
+
DeviceType?: string;
|
|
819
|
+
/**
|
|
820
|
+
* 镜像信息
|
|
821
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
822
|
+
*/
|
|
823
|
+
ImageInfo?: ImageInfo;
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* ModifyRole返回参数结构体
|
|
827
|
+
*/
|
|
828
|
+
export interface ModifyRoleResponse {
|
|
829
|
+
/**
|
|
830
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
831
|
+
*/
|
|
832
|
+
RequestId?: string;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* 跨租户弹性网卡下Pod调用信息
|
|
836
|
+
*/
|
|
837
|
+
export interface CrossTenantENIInfo {
|
|
838
|
+
/**
|
|
839
|
+
* Pod IP
|
|
840
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
841
|
+
*/
|
|
842
|
+
PrimaryIP?: string;
|
|
843
|
+
/**
|
|
844
|
+
* Pod Port
|
|
845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
846
|
+
*/
|
|
847
|
+
Port?: string;
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* 编码后的启动命令信息
|
|
851
|
+
*/
|
|
852
|
+
export interface EncodedStartCmdInfo {
|
|
853
|
+
/**
|
|
854
|
+
* 任务的启动命令,以base64格式输入,注意转换时需要完整输入{"StartCmd":"","PsStartCmd":"","WorkerStartCmd":""}
|
|
855
|
+
*/
|
|
856
|
+
StartCmdInfo?: string;
|
|
857
|
+
}
|
|
784
858
|
/**
|
|
785
859
|
* 描述在线服务
|
|
786
860
|
*/
|
|
@@ -981,86 +1055,6 @@ export interface Service {
|
|
|
981
1055
|
*/
|
|
982
1056
|
ResourceSupplyAttribute?: ResourceSupplyAttribute;
|
|
983
1057
|
}
|
|
984
|
-
/**
|
|
985
|
-
* 设备对应的镜像信息
|
|
986
|
-
*/
|
|
987
|
-
export interface DeviceImageInfo {
|
|
988
|
-
/**
|
|
989
|
-
* 设备类型, 支持GPU等
|
|
990
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
991
|
-
*/
|
|
992
|
-
DeviceType?: string;
|
|
993
|
-
/**
|
|
994
|
-
* 镜像信息
|
|
995
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
996
|
-
*/
|
|
997
|
-
ImageInfo?: ImageInfo;
|
|
998
|
-
}
|
|
999
|
-
/**
|
|
1000
|
-
* 跨租户弹性网卡下Pod调用信息
|
|
1001
|
-
*/
|
|
1002
|
-
export interface CrossTenantENIInfo {
|
|
1003
|
-
/**
|
|
1004
|
-
* Pod IP
|
|
1005
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1006
|
-
*/
|
|
1007
|
-
PrimaryIP?: string;
|
|
1008
|
-
/**
|
|
1009
|
-
* Pod Port
|
|
1010
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1011
|
-
*/
|
|
1012
|
-
Port?: string;
|
|
1013
|
-
}
|
|
1014
|
-
/**
|
|
1015
|
-
* 模型专业参数
|
|
1016
|
-
*/
|
|
1017
|
-
export interface HyperParameter {
|
|
1018
|
-
/**
|
|
1019
|
-
* 最大nnz数
|
|
1020
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1021
|
-
*/
|
|
1022
|
-
MaxNNZ?: string;
|
|
1023
|
-
/**
|
|
1024
|
-
* slot数
|
|
1025
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1026
|
-
*/
|
|
1027
|
-
SlotNum?: string;
|
|
1028
|
-
/**
|
|
1029
|
-
* gpu cache 使用率
|
|
1030
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1031
|
-
*/
|
|
1032
|
-
CpuCachePercentage?: string;
|
|
1033
|
-
/**
|
|
1034
|
-
* cpu cache 使用率
|
|
1035
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1036
|
-
*/
|
|
1037
|
-
GpuCachePercentage?: string;
|
|
1038
|
-
/**
|
|
1039
|
-
* 是否开启分布式模式(true/false)
|
|
1040
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1041
|
-
*/
|
|
1042
|
-
EnableDistributed?: string;
|
|
1043
|
-
/**
|
|
1044
|
-
* TORCH_SCRIPT、MMDETECTION、DETECTRON2、HUGGINGFACE格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为3
|
|
1045
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1046
|
-
*/
|
|
1047
|
-
MinBlockSizePt?: string;
|
|
1048
|
-
/**
|
|
1049
|
-
* FROZEN_GRAPH、SAVED_MODEL格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为10
|
|
1050
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1051
|
-
*/
|
|
1052
|
-
MinBlockSizeTf?: string;
|
|
1053
|
-
/**
|
|
1054
|
-
* Stable Diffusion 模型优化参数
|
|
1055
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1056
|
-
*/
|
|
1057
|
-
PipelineArgs?: string;
|
|
1058
|
-
/**
|
|
1059
|
-
* Stable Diffusion 模型优化参数,控制Lora模型的影响效果
|
|
1060
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1061
|
-
*/
|
|
1062
|
-
LoraScale?: string;
|
|
1063
|
-
}
|
|
1064
1058
|
/**
|
|
1065
1059
|
* 工作空间绑定的资源组信息
|
|
1066
1060
|
*/
|
|
@@ -1286,29 +1280,13 @@ export interface ModifyNotebookTagsResponse {
|
|
|
1286
1280
|
RequestId?: string;
|
|
1287
1281
|
}
|
|
1288
1282
|
/**
|
|
1289
|
-
*
|
|
1290
|
-
*/
|
|
1291
|
-
export interface
|
|
1292
|
-
/**
|
|
1293
|
-
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
1294
|
-
*/
|
|
1295
|
-
TiProjectId?: string;
|
|
1296
|
-
/**
|
|
1297
|
-
* 数据源ID
|
|
1298
|
-
*/
|
|
1299
|
-
Id?: string;
|
|
1300
|
-
/**
|
|
1301
|
-
* 数据源名称
|
|
1302
|
-
*/
|
|
1303
|
-
Name?: string;
|
|
1304
|
-
/**
|
|
1305
|
-
* 数据源权限,取值有RW RO
|
|
1306
|
-
*/
|
|
1307
|
-
Permission?: string;
|
|
1283
|
+
* DescribeWorkspaceQuotas返回参数结构体
|
|
1284
|
+
*/
|
|
1285
|
+
export interface DescribeWorkspaceQuotasResponse {
|
|
1308
1286
|
/**
|
|
1309
|
-
*
|
|
1287
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1310
1288
|
*/
|
|
1311
|
-
|
|
1289
|
+
RequestId?: string;
|
|
1312
1290
|
}
|
|
1313
1291
|
/**
|
|
1314
1292
|
* DescribeBillingResourceGroup返回参数结构体
|
|
@@ -1434,21 +1412,50 @@ export interface DescribeBillingResourceGroupsResponse {
|
|
|
1434
1412
|
RequestId?: string;
|
|
1435
1413
|
}
|
|
1436
1414
|
/**
|
|
1437
|
-
*
|
|
1415
|
+
* DescribeSubAccountLinuxUserInfos请求参数结构体
|
|
1438
1416
|
*/
|
|
1439
|
-
export interface
|
|
1417
|
+
export interface DescribeSubAccountLinuxUserInfosRequest {
|
|
1440
1418
|
/**
|
|
1441
|
-
*
|
|
1419
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
1442
1420
|
*/
|
|
1443
|
-
|
|
1421
|
+
TiProjectId?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* 分页偏移量(0 表示全量)
|
|
1424
|
+
*/
|
|
1425
|
+
Offset?: number;
|
|
1426
|
+
/**
|
|
1427
|
+
* 每页数量(0 表示全量)
|
|
1428
|
+
*/
|
|
1429
|
+
Limit?: number;
|
|
1430
|
+
/**
|
|
1431
|
+
* 过滤条件
|
|
1432
|
+
*/
|
|
1433
|
+
Filters?: Array<Filter>;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* UpdateDataSource请求参数结构体
|
|
1437
|
+
*/
|
|
1438
|
+
export interface UpdateDataSourceRequest {
|
|
1444
1439
|
/**
|
|
1445
1440
|
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
1446
1441
|
*/
|
|
1447
1442
|
TiProjectId?: string;
|
|
1448
1443
|
/**
|
|
1449
|
-
*
|
|
1444
|
+
* 数据源ID
|
|
1450
1445
|
*/
|
|
1451
|
-
|
|
1446
|
+
Id?: string;
|
|
1447
|
+
/**
|
|
1448
|
+
* 数据源名称
|
|
1449
|
+
*/
|
|
1450
|
+
Name?: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* 数据源权限,取值有RW RO
|
|
1453
|
+
*/
|
|
1454
|
+
Permission?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* 数据源挂载配置
|
|
1457
|
+
*/
|
|
1458
|
+
MountConfigure?: MountConfigureInfo;
|
|
1452
1459
|
}
|
|
1453
1460
|
/**
|
|
1454
1461
|
* StartNotebook返回参数结构体
|
|
@@ -1601,14 +1608,61 @@ export interface OperatorInfo {
|
|
|
1601
1608
|
OperationType?: string;
|
|
1602
1609
|
}
|
|
1603
1610
|
/**
|
|
1604
|
-
*
|
|
1611
|
+
* DeleteModelService返回参数结构体
|
|
1605
1612
|
*/
|
|
1606
|
-
export interface
|
|
1613
|
+
export interface DeleteModelServiceResponse {
|
|
1607
1614
|
/**
|
|
1608
|
-
*
|
|
1615
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1616
|
+
*/
|
|
1617
|
+
RequestId?: string;
|
|
1618
|
+
}
|
|
1619
|
+
/**
|
|
1620
|
+
* 工作负载的状态
|
|
1621
|
+
*/
|
|
1622
|
+
export interface WorkloadStatus {
|
|
1623
|
+
/**
|
|
1624
|
+
* 当前实例数
|
|
1625
|
+
*/
|
|
1626
|
+
Replicas: number;
|
|
1627
|
+
/**
|
|
1628
|
+
* 更新的实例数
|
|
1629
|
+
*/
|
|
1630
|
+
UpdatedReplicas: number;
|
|
1631
|
+
/**
|
|
1632
|
+
* 就绪的实例数
|
|
1633
|
+
*/
|
|
1634
|
+
ReadyReplicas: number;
|
|
1635
|
+
/**
|
|
1636
|
+
* 可用的实例数
|
|
1637
|
+
*/
|
|
1638
|
+
AvailableReplicas: number;
|
|
1639
|
+
/**
|
|
1640
|
+
* 不可用的实例数
|
|
1641
|
+
*/
|
|
1642
|
+
UnavailableReplicas: number;
|
|
1643
|
+
/**
|
|
1644
|
+
* Normal 正常运行中
|
|
1645
|
+
Abnormal 服务异常,例如容器启动失败等
|
|
1646
|
+
Waiting 服务等待中,例如容器下载镜像过程等
|
|
1647
|
+
Stopped 已停止
|
|
1648
|
+
Pending 启动中
|
|
1649
|
+
Stopping 停止中
|
|
1650
|
+
*/
|
|
1651
|
+
Status: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* 工作负载的状况信息
|
|
1654
|
+
* @deprecated
|
|
1655
|
+
*/
|
|
1656
|
+
StatefulSetCondition?: Array<StatefulSetCondition>;
|
|
1657
|
+
/**
|
|
1658
|
+
* 工作负载历史的状况信息
|
|
1659
|
+
*/
|
|
1660
|
+
Conditions?: Array<StatefulSetCondition>;
|
|
1661
|
+
/**
|
|
1662
|
+
* 状态异常时,展示原因
|
|
1609
1663
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1610
1664
|
*/
|
|
1611
|
-
|
|
1665
|
+
Reason?: string;
|
|
1612
1666
|
}
|
|
1613
1667
|
/**
|
|
1614
1668
|
* CFS存储的配置
|
|
@@ -2036,187 +2090,44 @@ export interface ChatCompletionRequest {
|
|
|
2036
2090
|
*/
|
|
2037
2091
|
Temperature?: number;
|
|
2038
2092
|
/**
|
|
2039
|
-
* <p>仅当模型为自行部署的开源大模型时生效。核采样,默认值为1,取值范围[0,1]。指的是预先设置一个概率界限 p,然后将所有可能生成的token,根据概率大小从高到低排列,依次选取。当这些选取的token的累积概率大于或等于 p 值时停止,然后从已经选取的token中进行采样,生成下一个token。例如top_p为0.1时意味着模型只考虑累积概率为10%的token。建议仅修改此参数或Temperature,不建议两者都修改。</p>
|
|
2040
|
-
*/
|
|
2041
|
-
TopP?: number;
|
|
2042
|
-
/**
|
|
2043
|
-
* <p>仅当模型为自行部署的开源大模型时生效。默认 512,模型可生成内容的最长 token 数量,最大不能超过模型支持的上下文长度。</p>
|
|
2044
|
-
*/
|
|
2045
|
-
MaxTokens?: number;
|
|
2046
|
-
}
|
|
2047
|
-
/**
|
|
2048
|
-
* 智能路由完整对象(挂在 ServiceGroup 的 44 号)
|
|
2049
|
-
*/
|
|
2050
|
-
export interface SmartRouter {
|
|
2051
|
-
/**
|
|
2052
|
-
* 智能路由开关状态(true=已开启,false=未开启/已停止)
|
|
2053
|
-
*/
|
|
2054
|
-
Enabled?: boolean;
|
|
2055
|
-
/**
|
|
2056
|
-
* 绑定的服务组 ID(一对一)
|
|
2057
|
-
*/
|
|
2058
|
-
ServiceGroupId?: string;
|
|
2059
|
-
/**
|
|
2060
|
-
* 组件列表(gateway + scheduler;repeated 为未来扩展预留)
|
|
2061
|
-
*/
|
|
2062
|
-
ComponentList?: Array<SmartRouterComponent>;
|
|
2063
|
-
/**
|
|
2064
|
-
* 创建人
|
|
2065
|
-
*/
|
|
2066
|
-
Creator?: string;
|
|
2067
|
-
/**
|
|
2068
|
-
* 创建时间
|
|
2069
|
-
*/
|
|
2070
|
-
CreateTime?: string;
|
|
2071
|
-
/**
|
|
2072
|
-
* 更新时间
|
|
2073
|
-
*/
|
|
2074
|
-
UpdateTime?: string;
|
|
2075
|
-
}
|
|
2076
|
-
/**
|
|
2077
|
-
* CreateMountLimit返回参数结构体
|
|
2078
|
-
*/
|
|
2079
|
-
export interface CreateMountLimitResponse {
|
|
2080
|
-
/**
|
|
2081
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2082
|
-
*/
|
|
2083
|
-
RequestId?: string;
|
|
2084
|
-
}
|
|
2085
|
-
/**
|
|
2086
|
-
* 出参类型
|
|
2087
|
-
*/
|
|
2088
|
-
export interface TrainingTaskSetItem {
|
|
2089
|
-
/**
|
|
2090
|
-
* <p>训练任务ID</p>
|
|
2091
|
-
*/
|
|
2092
|
-
Id?: string;
|
|
2093
|
-
/**
|
|
2094
|
-
* <p>训练任务名称</p>
|
|
2095
|
-
*/
|
|
2096
|
-
Name?: string;
|
|
2097
|
-
/**
|
|
2098
|
-
* <p>框架名称</p>
|
|
2099
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2100
|
-
*/
|
|
2101
|
-
FrameworkName?: string;
|
|
2102
|
-
/**
|
|
2103
|
-
* <p>训练框架版本</p>
|
|
2104
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2105
|
-
*/
|
|
2106
|
-
FrameworkVersion?: string;
|
|
2107
|
-
/**
|
|
2108
|
-
* <p>框架运行环境</p>
|
|
2109
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2110
|
-
*/
|
|
2111
|
-
FrameworkEnvironment?: string;
|
|
2112
|
-
/**
|
|
2113
|
-
* <p>计费模式</p>
|
|
2114
|
-
*/
|
|
2115
|
-
ChargeType?: string;
|
|
2116
|
-
/**
|
|
2117
|
-
* <p>计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中</p>
|
|
2118
|
-
*/
|
|
2119
|
-
ChargeStatus?: string;
|
|
2120
|
-
/**
|
|
2121
|
-
* <p>预付费专用资源组</p>
|
|
2122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2123
|
-
*/
|
|
2124
|
-
ResourceGroupId?: string;
|
|
2125
|
-
/**
|
|
2126
|
-
* <p>资源配置</p>
|
|
2127
|
-
*/
|
|
2128
|
-
ResourceConfigInfos?: Array<ResourceConfigInfo>;
|
|
2129
|
-
/**
|
|
2130
|
-
* <p>训练模式eg:PS_WORKER、DDP、MPI、HOROVOD</p>
|
|
2131
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2132
|
-
*/
|
|
2133
|
-
TrainingMode?: string;
|
|
2134
|
-
/**
|
|
2135
|
-
* <p>任务状态</p><p>枚举值:</p><ul><li>SUBMITTING: 提交中</li><li>PENDING: 排队中</li><li>STARTING: 启动中</li><li>RUNNING: 运行中</li><li>STOPPING: 停止中</li><li>STOPPED: 已停止</li><li>FAILED: 异常</li><li>SUCCEED: 已完成</li><li>SUBMIT_FAILED: 提交失败</li></ul>
|
|
2136
|
-
*/
|
|
2137
|
-
Status?: string;
|
|
2138
|
-
/**
|
|
2139
|
-
* <p>运行时长</p>
|
|
2140
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2141
|
-
*/
|
|
2142
|
-
RuntimeInSeconds?: number;
|
|
2143
|
-
/**
|
|
2144
|
-
* <p>创建时间</p>
|
|
2145
|
-
*/
|
|
2146
|
-
CreateTime?: string;
|
|
2147
|
-
/**
|
|
2148
|
-
* <p>训练开始时间</p>
|
|
2149
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2150
|
-
*/
|
|
2151
|
-
StartTime?: string;
|
|
2152
|
-
/**
|
|
2153
|
-
* <p>训练结束时间</p>
|
|
2154
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2155
|
-
*/
|
|
2156
|
-
EndTime?: string;
|
|
2157
|
-
/**
|
|
2158
|
-
* <p>训练输出</p>
|
|
2159
|
-
*/
|
|
2160
|
-
Output?: CosPathInfo;
|
|
2161
|
-
/**
|
|
2162
|
-
* <p>失败原因</p>
|
|
2163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2164
|
-
*/
|
|
2165
|
-
FailureReason?: string;
|
|
2166
|
-
/**
|
|
2167
|
-
* <p>更新时间</p>
|
|
2168
|
-
*/
|
|
2169
|
-
UpdateTime?: string;
|
|
2170
|
-
/**
|
|
2171
|
-
* <p>计费金额信息,eg:2.00元/小时 (按量计费)</p>
|
|
2172
|
-
*/
|
|
2173
|
-
BillingInfo?: string;
|
|
2174
|
-
/**
|
|
2175
|
-
* <p>预付费专用资源组名称</p>
|
|
2176
|
-
*/
|
|
2177
|
-
ResourceGroupName?: string;
|
|
2178
|
-
/**
|
|
2179
|
-
* <p>自定义镜像信息</p>
|
|
2180
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2181
|
-
*/
|
|
2182
|
-
ImageInfo?: ImageInfo;
|
|
2183
|
-
/**
|
|
2184
|
-
* <p>任务信息</p>
|
|
2185
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2186
|
-
*/
|
|
2187
|
-
Message?: string;
|
|
2188
|
-
/**
|
|
2189
|
-
* <p>标签配置</p>
|
|
2190
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2191
|
-
*/
|
|
2192
|
-
Tags?: Array<Tag>;
|
|
2193
|
-
/**
|
|
2194
|
-
* <p>回调地址</p>
|
|
2195
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2093
|
+
* <p>仅当模型为自行部署的开源大模型时生效。核采样,默认值为1,取值范围[0,1]。指的是预先设置一个概率界限 p,然后将所有可能生成的token,根据概率大小从高到低排列,依次选取。当这些选取的token的累积概率大于或等于 p 值时停止,然后从已经选取的token中进行采样,生成下一个token。例如top_p为0.1时意味着模型只考虑累积概率为10%的token。建议仅修改此参数或Temperature,不建议两者都修改。</p>
|
|
2196
2094
|
*/
|
|
2197
|
-
|
|
2095
|
+
TopP?: number;
|
|
2198
2096
|
/**
|
|
2199
|
-
* <p
|
|
2200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2097
|
+
* <p>仅当模型为自行部署的开源大模型时生效。默认 512,模型可生成内容的最长 token 数量,最大不能超过模型支持的上下文长度。</p>
|
|
2201
2098
|
*/
|
|
2202
|
-
|
|
2099
|
+
MaxTokens?: number;
|
|
2100
|
+
}
|
|
2101
|
+
/**
|
|
2102
|
+
* DescribeAccessRules请求参数结构体
|
|
2103
|
+
*/
|
|
2104
|
+
export interface DescribeAccessRulesRequest {
|
|
2203
2105
|
/**
|
|
2204
|
-
* <p
|
|
2205
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2106
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
2206
2107
|
*/
|
|
2207
|
-
|
|
2108
|
+
TiProjectId?: string;
|
|
2109
|
+
}
|
|
2110
|
+
/**
|
|
2111
|
+
* CreateMountLimit返回参数结构体
|
|
2112
|
+
*/
|
|
2113
|
+
export interface CreateMountLimitResponse {
|
|
2208
2114
|
/**
|
|
2209
|
-
*
|
|
2115
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2210
2116
|
*/
|
|
2211
|
-
|
|
2117
|
+
RequestId?: string;
|
|
2118
|
+
}
|
|
2119
|
+
/**
|
|
2120
|
+
* DescribeBillingSpecsPrice返回参数结构体
|
|
2121
|
+
*/
|
|
2122
|
+
export interface DescribeBillingSpecsPriceResponse {
|
|
2212
2123
|
/**
|
|
2213
|
-
*
|
|
2124
|
+
* 计费项价格,支持批量返回
|
|
2214
2125
|
*/
|
|
2215
|
-
|
|
2126
|
+
SpecsPrice?: Array<SpecPrice>;
|
|
2216
2127
|
/**
|
|
2217
|
-
*
|
|
2128
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2218
2129
|
*/
|
|
2219
|
-
|
|
2130
|
+
RequestId?: string;
|
|
2220
2131
|
}
|
|
2221
2132
|
/**
|
|
2222
2133
|
* ModifyNotebook请求参数结构体
|
|
@@ -2379,6 +2290,21 @@ export interface DataPoint {
|
|
|
2379
2290
|
*/
|
|
2380
2291
|
Value: number;
|
|
2381
2292
|
}
|
|
2293
|
+
/**
|
|
2294
|
+
* gpu 详情
|
|
2295
|
+
*/
|
|
2296
|
+
export interface GpuDetail {
|
|
2297
|
+
/**
|
|
2298
|
+
* GPU 显卡类型;枚举值: V100 A100 T4
|
|
2299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2300
|
+
*/
|
|
2301
|
+
Name?: string;
|
|
2302
|
+
/**
|
|
2303
|
+
* GPU 显卡数;单位为1/100卡,比如100代表1卡
|
|
2304
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2305
|
+
*/
|
|
2306
|
+
Value?: number;
|
|
2307
|
+
}
|
|
2382
2308
|
/**
|
|
2383
2309
|
* DescribeNotebook返回参数结构体
|
|
2384
2310
|
*/
|
|
@@ -2541,17 +2467,17 @@ export interface CreateTrainingModelRequest {
|
|
|
2541
2467
|
IsQAT?: boolean;
|
|
2542
2468
|
}
|
|
2543
2469
|
/**
|
|
2544
|
-
*
|
|
2470
|
+
* DescribeTrainingModelVersions返回参数结构体
|
|
2545
2471
|
*/
|
|
2546
|
-
export interface
|
|
2472
|
+
export interface DescribeTrainingModelVersionsResponse {
|
|
2547
2473
|
/**
|
|
2548
|
-
*
|
|
2474
|
+
* <p>模型版本列表</p>
|
|
2549
2475
|
*/
|
|
2550
|
-
|
|
2476
|
+
TrainingModelVersions?: Array<TrainingModelVersionDTO>;
|
|
2551
2477
|
/**
|
|
2552
|
-
*
|
|
2478
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2553
2479
|
*/
|
|
2554
|
-
|
|
2480
|
+
RequestId?: string;
|
|
2555
2481
|
}
|
|
2556
2482
|
/**
|
|
2557
2483
|
* 启动命令信息
|
|
@@ -2615,6 +2541,46 @@ export interface Event {
|
|
|
2615
2541
|
*/
|
|
2616
2542
|
ResourceName: string;
|
|
2617
2543
|
}
|
|
2544
|
+
/**
|
|
2545
|
+
* 智能路由组件(运行时视图,对齐 ModelService.RoleSpec + ServiceInfo.Status)
|
|
2546
|
+
*/
|
|
2547
|
+
export interface SmartRouterComponent {
|
|
2548
|
+
/**
|
|
2549
|
+
* <p>组件名称:{ServiceGroupId}-gateway / {ServiceGroupId}-scheduler</p>
|
|
2550
|
+
*/
|
|
2551
|
+
Name?: string;
|
|
2552
|
+
/**
|
|
2553
|
+
* <p>组件类型:"Gateway" / "Scheduler"</p>
|
|
2554
|
+
*/
|
|
2555
|
+
Type?: string;
|
|
2556
|
+
/**
|
|
2557
|
+
* <p>组件镜像(从 K8s Deployment 实时查询)</p>
|
|
2558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2559
|
+
*/
|
|
2560
|
+
ImageInfo?: ImageInfo;
|
|
2561
|
+
/**
|
|
2562
|
+
* <p>期望配置(Replicas/Cpu/Memory/Env)</p>
|
|
2563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2564
|
+
*/
|
|
2565
|
+
ResourceConfig?: SmartRouterResourceConfig;
|
|
2566
|
+
/**
|
|
2567
|
+
* <p>组件状态:CREATING 创建中 / CREATE_FAILED 创建失败 / Normal 正常运行中 / Stopped 已停止 / Stopping 停止中 / Abnormal 异常 / Pending 启动中 / Waiting 就绪中</p>
|
|
2568
|
+
*/
|
|
2569
|
+
Status?: string;
|
|
2570
|
+
/**
|
|
2571
|
+
* <p>资源规格(查询时回显用户创建/修改时的资源选择)。公有云场景展示:ChargeType / Zone / ResourceSupplyAttribute;内网版场景展示:QueueId</p>
|
|
2572
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2573
|
+
*/
|
|
2574
|
+
ResourceSpec?: SmartRouterResourceSpec;
|
|
2575
|
+
/**
|
|
2576
|
+
* <p>业务状态(组件级计费状态,Gateway/Scheduler 独立判定):Billing 计费中 / Normal 正常(未计费或已停止计费)/ WhitelistUsing 白名单使用中(免计费)</p>
|
|
2577
|
+
*/
|
|
2578
|
+
BusinessStatus?: string;
|
|
2579
|
+
/**
|
|
2580
|
+
* <p>费用信息(组件级计费明细 JSON 字符串,格式与 Service.BillingInfo 一致,前端可复用同一渲染逻辑)</p>
|
|
2581
|
+
*/
|
|
2582
|
+
BillingInfo?: string;
|
|
2583
|
+
}
|
|
2618
2584
|
/**
|
|
2619
2585
|
* DescribeBillingResourceGroupAttachedWorkspaces请求参数结构体
|
|
2620
2586
|
*/
|
|
@@ -2696,6 +2662,68 @@ export interface Spec {
|
|
|
2696
2662
|
*/
|
|
2697
2663
|
CategoryId?: string;
|
|
2698
2664
|
}
|
|
2665
|
+
/**
|
|
2666
|
+
* 智能路由完整对象(挂在 ServiceGroup 的 44 号)
|
|
2667
|
+
*/
|
|
2668
|
+
export interface SmartRouter {
|
|
2669
|
+
/**
|
|
2670
|
+
* 智能路由开关状态(true=已开启,false=未开启/已停止)
|
|
2671
|
+
*/
|
|
2672
|
+
Enabled?: boolean;
|
|
2673
|
+
/**
|
|
2674
|
+
* 绑定的服务组 ID(一对一)
|
|
2675
|
+
*/
|
|
2676
|
+
ServiceGroupId?: string;
|
|
2677
|
+
/**
|
|
2678
|
+
* 组件列表(gateway + scheduler;repeated 为未来扩展预留)
|
|
2679
|
+
*/
|
|
2680
|
+
ComponentList?: Array<SmartRouterComponent>;
|
|
2681
|
+
/**
|
|
2682
|
+
* 创建人
|
|
2683
|
+
*/
|
|
2684
|
+
Creator?: string;
|
|
2685
|
+
/**
|
|
2686
|
+
* 创建时间
|
|
2687
|
+
*/
|
|
2688
|
+
CreateTime?: string;
|
|
2689
|
+
/**
|
|
2690
|
+
* 更新时间
|
|
2691
|
+
*/
|
|
2692
|
+
UpdateTime?: string;
|
|
2693
|
+
}
|
|
2694
|
+
/**
|
|
2695
|
+
* DescribeRoles请求参数结构体
|
|
2696
|
+
*/
|
|
2697
|
+
export interface DescribeRolesRequest {
|
|
2698
|
+
/**
|
|
2699
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
2700
|
+
*/
|
|
2701
|
+
TiProjectId?: string;
|
|
2702
|
+
/**
|
|
2703
|
+
* <p>过滤条件</p>
|
|
2704
|
+
*/
|
|
2705
|
+
Filters?: Array<Filter>;
|
|
2706
|
+
/**
|
|
2707
|
+
* <p>偏移值</p>
|
|
2708
|
+
*/
|
|
2709
|
+
Offset?: number;
|
|
2710
|
+
/**
|
|
2711
|
+
* <p>分页数量</p>
|
|
2712
|
+
*/
|
|
2713
|
+
Limit?: number;
|
|
2714
|
+
/**
|
|
2715
|
+
* <p>排序方式</p>
|
|
2716
|
+
*/
|
|
2717
|
+
Order?: string;
|
|
2718
|
+
/**
|
|
2719
|
+
* <p>排序字段</p>
|
|
2720
|
+
*/
|
|
2721
|
+
OrderField?: string;
|
|
2722
|
+
/**
|
|
2723
|
+
* <p>是否返回绑定的用户数</p>
|
|
2724
|
+
*/
|
|
2725
|
+
WithUserCount?: boolean;
|
|
2726
|
+
}
|
|
2699
2727
|
/**
|
|
2700
2728
|
* DescribeDataSource请求参数结构体
|
|
2701
2729
|
*/
|
|
@@ -3010,6 +3038,23 @@ export interface HorizontalPodAutoscaler {
|
|
|
3010
3038
|
*/
|
|
3011
3039
|
ScaleDownStabilizationWindowSeconds?: number;
|
|
3012
3040
|
}
|
|
3041
|
+
/**
|
|
3042
|
+
* DescribeWorkspaceMembers返回参数结构体
|
|
3043
|
+
*/
|
|
3044
|
+
export interface DescribeWorkspaceMembersResponse {
|
|
3045
|
+
/**
|
|
3046
|
+
* <p>总数</p>
|
|
3047
|
+
*/
|
|
3048
|
+
TotalCount?: number;
|
|
3049
|
+
/**
|
|
3050
|
+
* <p>用户列表</p>
|
|
3051
|
+
*/
|
|
3052
|
+
Members?: Array<UserRoleInfo>;
|
|
3053
|
+
/**
|
|
3054
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3055
|
+
*/
|
|
3056
|
+
RequestId?: string;
|
|
3057
|
+
}
|
|
3013
3058
|
/**
|
|
3014
3059
|
* CreateTrainingModel返回参数结构体
|
|
3015
3060
|
*/
|
|
@@ -3142,17 +3187,38 @@ export interface ExposePortConfig {
|
|
|
3142
3187
|
ClbHost?: string;
|
|
3143
3188
|
}
|
|
3144
3189
|
/**
|
|
3145
|
-
*
|
|
3190
|
+
* DescribeRoles返回参数结构体
|
|
3146
3191
|
*/
|
|
3147
|
-
export interface
|
|
3192
|
+
export interface DescribeRolesResponse {
|
|
3148
3193
|
/**
|
|
3149
|
-
* <p
|
|
3194
|
+
* <p>总数</p>
|
|
3150
3195
|
*/
|
|
3151
|
-
|
|
3196
|
+
TotalCount?: number;
|
|
3152
3197
|
/**
|
|
3153
|
-
* <p
|
|
3198
|
+
* <p>角色列表</p>
|
|
3154
3199
|
*/
|
|
3155
|
-
|
|
3200
|
+
Roles?: Array<RoleInfo>;
|
|
3201
|
+
/**
|
|
3202
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3203
|
+
*/
|
|
3204
|
+
RequestId?: string;
|
|
3205
|
+
}
|
|
3206
|
+
/**
|
|
3207
|
+
* ModifyModelServiceAuthorization请求参数结构体
|
|
3208
|
+
*/
|
|
3209
|
+
export interface ModifyModelServiceAuthorizationRequest {
|
|
3210
|
+
/**
|
|
3211
|
+
* 服务组Id
|
|
3212
|
+
*/
|
|
3213
|
+
ServiceGroupId: string;
|
|
3214
|
+
/**
|
|
3215
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
3216
|
+
*/
|
|
3217
|
+
TiProjectId?: string;
|
|
3218
|
+
/**
|
|
3219
|
+
* 是否开启鉴权,true表示开启
|
|
3220
|
+
*/
|
|
3221
|
+
AuthorizationEnable?: boolean;
|
|
3156
3222
|
}
|
|
3157
3223
|
/**
|
|
3158
3224
|
* DescribeMountLimits请求参数结构体
|
|
@@ -3208,6 +3274,15 @@ export interface ImageSecret {
|
|
|
3208
3274
|
*/
|
|
3209
3275
|
SecretId?: string;
|
|
3210
3276
|
}
|
|
3277
|
+
/**
|
|
3278
|
+
* DescribeWorkspaceQuotaUsage请求参数结构体
|
|
3279
|
+
*/
|
|
3280
|
+
export interface DescribeWorkspaceQuotaUsageRequest {
|
|
3281
|
+
/**
|
|
3282
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
3283
|
+
*/
|
|
3284
|
+
TiProjectId?: string;
|
|
3285
|
+
}
|
|
3211
3286
|
/**
|
|
3212
3287
|
* DeleteExport返回参数结构体
|
|
3213
3288
|
*/
|
|
@@ -3283,13 +3358,25 @@ export interface ModifyModelServiceAuthTokenRequest {
|
|
|
3283
3358
|
AuthToken?: AuthToken;
|
|
3284
3359
|
}
|
|
3285
3360
|
/**
|
|
3286
|
-
*
|
|
3361
|
+
* ModifyRole请求参数结构体
|
|
3287
3362
|
*/
|
|
3288
|
-
export interface
|
|
3363
|
+
export interface ModifyRoleRequest {
|
|
3289
3364
|
/**
|
|
3290
|
-
*
|
|
3365
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
3291
3366
|
*/
|
|
3292
|
-
|
|
3367
|
+
TiProjectId?: string;
|
|
3368
|
+
/**
|
|
3369
|
+
* <p>角色ID</p>
|
|
3370
|
+
*/
|
|
3371
|
+
RoleId?: string;
|
|
3372
|
+
/**
|
|
3373
|
+
* <p>角色名称</p>
|
|
3374
|
+
*/
|
|
3375
|
+
RoleName?: string;
|
|
3376
|
+
/**
|
|
3377
|
+
* <p>描述</p>
|
|
3378
|
+
*/
|
|
3379
|
+
Description?: string;
|
|
3293
3380
|
}
|
|
3294
3381
|
/**
|
|
3295
3382
|
* 描述标注任务详细信息
|
|
@@ -3437,6 +3524,15 @@ export interface LogIdentity {
|
|
|
3437
3524
|
*/
|
|
3438
3525
|
PkgLogId?: string;
|
|
3439
3526
|
}
|
|
3527
|
+
/**
|
|
3528
|
+
* 服务的调度策略配置
|
|
3529
|
+
*/
|
|
3530
|
+
export interface SchedulingPolicy {
|
|
3531
|
+
/**
|
|
3532
|
+
* 是否启用了跨资源组调度开关
|
|
3533
|
+
*/
|
|
3534
|
+
CrossResourceGroupScheduling?: boolean;
|
|
3535
|
+
}
|
|
3440
3536
|
/**
|
|
3441
3537
|
* 挂载的实例列表
|
|
3442
3538
|
*/
|
|
@@ -3502,11 +3598,36 @@ export interface DescribeDatasetsRequest {
|
|
|
3502
3598
|
/**
|
|
3503
3599
|
* <p>是否检查CFS。若开启,则在CFS挂载好之前,不会返回数据集列表。</p>
|
|
3504
3600
|
*/
|
|
3505
|
-
CFSChecking?: boolean;
|
|
3601
|
+
CFSChecking?: boolean;
|
|
3602
|
+
/**
|
|
3603
|
+
* <p>是否返回CFS详情。</p>
|
|
3604
|
+
*/
|
|
3605
|
+
CFSDetail?: boolean;
|
|
3606
|
+
}
|
|
3607
|
+
/**
|
|
3608
|
+
* 工作空间任务信息
|
|
3609
|
+
*/
|
|
3610
|
+
export interface WorkspaceTaskInfo {
|
|
3611
|
+
/**
|
|
3612
|
+
* <p>任务ID</p>
|
|
3613
|
+
*/
|
|
3614
|
+
TaskId?: string;
|
|
3615
|
+
/**
|
|
3616
|
+
* <p>任务名称</p>
|
|
3617
|
+
*/
|
|
3618
|
+
TaskName?: string;
|
|
3619
|
+
/**
|
|
3620
|
+
* <p>地域</p>
|
|
3621
|
+
*/
|
|
3622
|
+
Region?: string;
|
|
3623
|
+
/**
|
|
3624
|
+
* <p>任务类型</p>
|
|
3625
|
+
*/
|
|
3626
|
+
ResourceTaskType?: string;
|
|
3506
3627
|
/**
|
|
3507
|
-
* <p
|
|
3628
|
+
* <p>任务所属资源组</p>
|
|
3508
3629
|
*/
|
|
3509
|
-
|
|
3630
|
+
ResourceGroupId?: string;
|
|
3510
3631
|
}
|
|
3511
3632
|
/**
|
|
3512
3633
|
* 优化模型版本列表
|
|
@@ -3698,21 +3819,63 @@ export interface TrainParam {
|
|
|
3698
3819
|
*/
|
|
3699
3820
|
export type DescribeInferTemplatesRequest = null;
|
|
3700
3821
|
/**
|
|
3701
|
-
*
|
|
3822
|
+
* DescribeWorkspace返回参数结构体
|
|
3702
3823
|
*/
|
|
3703
|
-
export interface
|
|
3824
|
+
export interface DescribeWorkspaceResponse {
|
|
3704
3825
|
/**
|
|
3705
|
-
*
|
|
3826
|
+
* <p>项目ID</p>
|
|
3706
3827
|
*/
|
|
3707
|
-
|
|
3828
|
+
TiProjectId?: string;
|
|
3708
3829
|
/**
|
|
3709
|
-
* <p
|
|
3830
|
+
* <p>名称</p>
|
|
3710
3831
|
*/
|
|
3711
|
-
|
|
3832
|
+
Name?: string;
|
|
3712
3833
|
/**
|
|
3713
|
-
*
|
|
3834
|
+
* <p>描述</p>
|
|
3714
3835
|
*/
|
|
3715
|
-
|
|
3836
|
+
Description?: string;
|
|
3837
|
+
/**
|
|
3838
|
+
* <p>创建时间</p>
|
|
3839
|
+
*/
|
|
3840
|
+
CreateTime?: string;
|
|
3841
|
+
/**
|
|
3842
|
+
* <p>运行中的任务信息</p>
|
|
3843
|
+
*/
|
|
3844
|
+
RunningTasks?: Array<WorkspaceTaskInfo>;
|
|
3845
|
+
/**
|
|
3846
|
+
* <p>空间创建人信息</p>
|
|
3847
|
+
*/
|
|
3848
|
+
Creator?: UserBriefInfo;
|
|
3849
|
+
/**
|
|
3850
|
+
* <p>当前空间拥有的角色信息</p>
|
|
3851
|
+
*/
|
|
3852
|
+
OwnedRoles?: Array<RoleBriefInfo>;
|
|
3853
|
+
/**
|
|
3854
|
+
* <p>空间成员信息</p>
|
|
3855
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3856
|
+
*/
|
|
3857
|
+
MemberInfo?: MemberInfo;
|
|
3858
|
+
/**
|
|
3859
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3860
|
+
*/
|
|
3861
|
+
RequestId?: string;
|
|
3862
|
+
}
|
|
3863
|
+
/**
|
|
3864
|
+
* 训练诊断工具配置
|
|
3865
|
+
*/
|
|
3866
|
+
export interface TrainToolConfig {
|
|
3867
|
+
/**
|
|
3868
|
+
* <p>是否开启 Hang 检测</p><p>默认值:false</p>
|
|
3869
|
+
*/
|
|
3870
|
+
EnableHangMonitor?: boolean;
|
|
3871
|
+
/**
|
|
3872
|
+
* <p>Hang 检测的节点列表</p>
|
|
3873
|
+
*/
|
|
3874
|
+
HangMonitorNodes?: Array<string>;
|
|
3875
|
+
/**
|
|
3876
|
+
* <p>Hang 超时时间</p><p>取值范围:[1, 14400]</p><p>单位:分</p>
|
|
3877
|
+
*/
|
|
3878
|
+
LogHangTimeoutInMinute?: number;
|
|
3716
3879
|
}
|
|
3717
3880
|
/**
|
|
3718
3881
|
* DeleteModelServiceGroup返回参数结构体
|
|
@@ -3723,6 +3886,23 @@ export interface DeleteModelServiceGroupResponse {
|
|
|
3723
3886
|
*/
|
|
3724
3887
|
RequestId?: string;
|
|
3725
3888
|
}
|
|
3889
|
+
/**
|
|
3890
|
+
* DescribeRoleUsers返回参数结构体
|
|
3891
|
+
*/
|
|
3892
|
+
export interface DescribeRoleUsersResponse {
|
|
3893
|
+
/**
|
|
3894
|
+
* <p>符合过滤条件的用户总数</p>
|
|
3895
|
+
*/
|
|
3896
|
+
TotalCount?: number;
|
|
3897
|
+
/**
|
|
3898
|
+
* <p>用户列表</p>
|
|
3899
|
+
*/
|
|
3900
|
+
Users?: Array<UserRoleInfo>;
|
|
3901
|
+
/**
|
|
3902
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3903
|
+
*/
|
|
3904
|
+
RequestId?: string;
|
|
3905
|
+
}
|
|
3726
3906
|
/**
|
|
3727
3907
|
* 对应设备的物料信息
|
|
3728
3908
|
*/
|
|
@@ -3840,32 +4020,21 @@ export interface PresetImageInfo {
|
|
|
3840
4020
|
ImageType?: string;
|
|
3841
4021
|
}
|
|
3842
4022
|
/**
|
|
3843
|
-
*
|
|
4023
|
+
* DescribeTrainingTask请求参数结构体
|
|
3844
4024
|
*/
|
|
3845
|
-
export interface
|
|
3846
|
-
/**
|
|
3847
|
-
* GPU 显卡类型;枚举值: V100 A100 T4
|
|
3848
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3849
|
-
*/
|
|
3850
|
-
Name?: string;
|
|
4025
|
+
export interface DescribeTrainingTaskRequest {
|
|
3851
4026
|
/**
|
|
3852
|
-
*
|
|
3853
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4027
|
+
* 训练任务ID
|
|
3854
4028
|
*/
|
|
3855
|
-
|
|
3856
|
-
}
|
|
3857
|
-
/**
|
|
3858
|
-
* CreateExport返回参数结构体
|
|
3859
|
-
*/
|
|
3860
|
-
export interface CreateExportResponse {
|
|
4029
|
+
Id: string;
|
|
3861
4030
|
/**
|
|
3862
|
-
*
|
|
4031
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
3863
4032
|
*/
|
|
3864
|
-
|
|
4033
|
+
TiProjectId?: string;
|
|
3865
4034
|
/**
|
|
3866
|
-
*
|
|
4035
|
+
* 训练任务实例ID
|
|
3867
4036
|
*/
|
|
3868
|
-
|
|
4037
|
+
InstanceId?: string;
|
|
3869
4038
|
}
|
|
3870
4039
|
/**
|
|
3871
4040
|
* 定时扩缩任务
|
|
@@ -3947,6 +4116,19 @@ export interface PrivateLinkInfo {
|
|
|
3947
4116
|
*/
|
|
3948
4117
|
SubUinName?: string;
|
|
3949
4118
|
}
|
|
4119
|
+
/**
|
|
4120
|
+
* DeleteRole请求参数结构体
|
|
4121
|
+
*/
|
|
4122
|
+
export interface DeleteRoleRequest {
|
|
4123
|
+
/**
|
|
4124
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
4125
|
+
*/
|
|
4126
|
+
TiProjectId?: string;
|
|
4127
|
+
/**
|
|
4128
|
+
* <p>角色ID</p>
|
|
4129
|
+
*/
|
|
4130
|
+
RoleId?: string;
|
|
4131
|
+
}
|
|
3950
4132
|
/**
|
|
3951
4133
|
* DescribeNotebooks返回参数结构体
|
|
3952
4134
|
*/
|
|
@@ -4324,13 +4506,37 @@ export interface SubAccountInfo {
|
|
|
4324
4506
|
UpdateTime?: string;
|
|
4325
4507
|
}
|
|
4326
4508
|
/**
|
|
4327
|
-
*
|
|
4509
|
+
* 资源级权限记录
|
|
4328
4510
|
*/
|
|
4329
|
-
export interface
|
|
4511
|
+
export interface ResourcePermission {
|
|
4330
4512
|
/**
|
|
4331
|
-
*
|
|
4513
|
+
* <p>资源类型</p>
|
|
4332
4514
|
*/
|
|
4333
|
-
|
|
4515
|
+
ResourceType?: string;
|
|
4516
|
+
/**
|
|
4517
|
+
* <p>资源ID</p>
|
|
4518
|
+
*/
|
|
4519
|
+
Id?: string;
|
|
4520
|
+
/**
|
|
4521
|
+
* <p>权限值</p>
|
|
4522
|
+
*/
|
|
4523
|
+
Permission?: string;
|
|
4524
|
+
/**
|
|
4525
|
+
* <p>资源名称</p>
|
|
4526
|
+
*/
|
|
4527
|
+
Name?: string;
|
|
4528
|
+
/**
|
|
4529
|
+
* <p>创建者子账号</p>
|
|
4530
|
+
*/
|
|
4531
|
+
SubUin?: string;
|
|
4532
|
+
/**
|
|
4533
|
+
* <p>创建者昵称</p>
|
|
4534
|
+
*/
|
|
4535
|
+
SubUinName?: string;
|
|
4536
|
+
/**
|
|
4537
|
+
* <p>数据源简要信息</p>
|
|
4538
|
+
*/
|
|
4539
|
+
DataSourceBrief?: DataSourceBrief;
|
|
4334
4540
|
}
|
|
4335
4541
|
/**
|
|
4336
4542
|
* 镜像描述信息
|
|
@@ -4510,85 +4716,221 @@ export interface ServiceInfo {
|
|
|
4510
4716
|
*/
|
|
4511
4717
|
Pods?: Pod;
|
|
4512
4718
|
/**
|
|
4513
|
-
* <p>Pod列表信息</p>
|
|
4719
|
+
* <p>Pod列表信息</p>
|
|
4720
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4721
|
+
*/
|
|
4722
|
+
PodInfos?: Array<Pod>;
|
|
4723
|
+
/**
|
|
4724
|
+
* <p>服务限速限流相关配置</p>
|
|
4725
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4726
|
+
*/
|
|
4727
|
+
ServiceLimit?: ServiceLimit;
|
|
4728
|
+
/**
|
|
4729
|
+
* <p>是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。</p>
|
|
4730
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4731
|
+
*/
|
|
4732
|
+
ModelTurboEnable?: boolean;
|
|
4733
|
+
/**
|
|
4734
|
+
* <p>挂载</p>
|
|
4735
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4736
|
+
*/
|
|
4737
|
+
VolumeMount?: VolumeMount;
|
|
4738
|
+
/**
|
|
4739
|
+
* <p>推理代码信息</p>
|
|
4740
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4741
|
+
*/
|
|
4742
|
+
InferCodeInfo?: InferCodeInfo;
|
|
4743
|
+
/**
|
|
4744
|
+
* <p>服务的启动命令</p>
|
|
4745
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4746
|
+
*/
|
|
4747
|
+
Command?: string;
|
|
4748
|
+
/**
|
|
4749
|
+
* <p>开启TIONE内网访问外部设置</p>
|
|
4750
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4751
|
+
*/
|
|
4752
|
+
ServiceEIP?: ServiceEIP;
|
|
4753
|
+
/**
|
|
4754
|
+
* <p>服务端口,默认为8501</p>
|
|
4755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4756
|
+
*/
|
|
4757
|
+
ServicePort?: number;
|
|
4758
|
+
/**
|
|
4759
|
+
* <p>服务的优雅退出时限。单位为秒,默认值为30,最小为1</p>
|
|
4760
|
+
*/
|
|
4761
|
+
TerminationGracePeriodSeconds?: number;
|
|
4762
|
+
/**
|
|
4763
|
+
* <p>服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束</p>
|
|
4764
|
+
*/
|
|
4765
|
+
PreStopCommand?: Array<string>;
|
|
4766
|
+
/**
|
|
4767
|
+
* <p>是否启用grpc端口</p>
|
|
4768
|
+
*/
|
|
4769
|
+
GrpcEnable?: boolean;
|
|
4770
|
+
/**
|
|
4771
|
+
* <p>健康探针</p>
|
|
4772
|
+
*/
|
|
4773
|
+
HealthProbe?: HealthProbe;
|
|
4774
|
+
/**
|
|
4775
|
+
* <p>滚动更新配置</p>
|
|
4776
|
+
*/
|
|
4777
|
+
RollingUpdate?: RollingUpdate;
|
|
4778
|
+
/**
|
|
4779
|
+
* <p>单副本下的实例数,仅在部署类型为DIST、ROLE时生效,默认1</p>
|
|
4780
|
+
*/
|
|
4781
|
+
InstancePerReplicas?: number;
|
|
4782
|
+
/**
|
|
4783
|
+
* <p>批量数据盘挂载配置</p>
|
|
4784
|
+
*/
|
|
4785
|
+
VolumeMounts?: Array<VolumeMount>;
|
|
4786
|
+
/**
|
|
4787
|
+
* <p>调度策略 [binpack] 优先占满整机,尽量避免碎卡(默认值)[spread] 优先分散在各个节点,确保服务高可用</p>
|
|
4788
|
+
*/
|
|
4789
|
+
SchedulingStrategy?: string;
|
|
4790
|
+
/**
|
|
4791
|
+
* <p>服务实际运行的节点数</p>
|
|
4792
|
+
*/
|
|
4793
|
+
NodeCount?: number;
|
|
4794
|
+
/**
|
|
4795
|
+
* <p>推理模板Id</p><p>参数格式:推理模板 ID</p>
|
|
4796
|
+
*/
|
|
4797
|
+
InferTemplateId?: string;
|
|
4798
|
+
}
|
|
4799
|
+
/**
|
|
4800
|
+
* 出参类型
|
|
4801
|
+
*/
|
|
4802
|
+
export interface TrainingTaskSetItem {
|
|
4803
|
+
/**
|
|
4804
|
+
* <p>训练任务ID</p>
|
|
4805
|
+
*/
|
|
4806
|
+
Id?: string;
|
|
4807
|
+
/**
|
|
4808
|
+
* <p>训练任务名称</p>
|
|
4809
|
+
*/
|
|
4810
|
+
Name?: string;
|
|
4811
|
+
/**
|
|
4812
|
+
* <p>框架名称</p>
|
|
4813
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4814
|
+
*/
|
|
4815
|
+
FrameworkName?: string;
|
|
4816
|
+
/**
|
|
4817
|
+
* <p>训练框架版本</p>
|
|
4818
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4819
|
+
*/
|
|
4820
|
+
FrameworkVersion?: string;
|
|
4821
|
+
/**
|
|
4822
|
+
* <p>框架运行环境</p>
|
|
4823
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4824
|
+
*/
|
|
4825
|
+
FrameworkEnvironment?: string;
|
|
4826
|
+
/**
|
|
4827
|
+
* <p>计费模式</p>
|
|
4828
|
+
*/
|
|
4829
|
+
ChargeType?: string;
|
|
4830
|
+
/**
|
|
4831
|
+
* <p>计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中</p>
|
|
4832
|
+
*/
|
|
4833
|
+
ChargeStatus?: string;
|
|
4834
|
+
/**
|
|
4835
|
+
* <p>预付费专用资源组</p>
|
|
4836
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4837
|
+
*/
|
|
4838
|
+
ResourceGroupId?: string;
|
|
4839
|
+
/**
|
|
4840
|
+
* <p>资源配置</p>
|
|
4841
|
+
*/
|
|
4842
|
+
ResourceConfigInfos?: Array<ResourceConfigInfo>;
|
|
4843
|
+
/**
|
|
4844
|
+
* <p>训练模式eg:PS_WORKER、DDP、MPI、HOROVOD</p>
|
|
4845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4846
|
+
*/
|
|
4847
|
+
TrainingMode?: string;
|
|
4848
|
+
/**
|
|
4849
|
+
* <p>任务状态</p><p>枚举值:</p><ul><li>SUBMITTING: 提交中</li><li>PENDING: 排队中</li><li>STARTING: 启动中</li><li>RUNNING: 运行中</li><li>STOPPING: 停止中</li><li>STOPPED: 已停止</li><li>FAILED: 异常</li><li>SUCCEED: 已完成</li><li>SUBMIT_FAILED: 提交失败</li></ul>
|
|
4850
|
+
*/
|
|
4851
|
+
Status?: string;
|
|
4852
|
+
/**
|
|
4853
|
+
* <p>运行时长</p>
|
|
4514
4854
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4515
4855
|
*/
|
|
4516
|
-
|
|
4856
|
+
RuntimeInSeconds?: number;
|
|
4517
4857
|
/**
|
|
4518
|
-
* <p
|
|
4519
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4858
|
+
* <p>创建时间</p>
|
|
4520
4859
|
*/
|
|
4521
|
-
|
|
4860
|
+
CreateTime?: string;
|
|
4522
4861
|
/**
|
|
4523
|
-
* <p
|
|
4862
|
+
* <p>训练开始时间</p>
|
|
4524
4863
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4525
4864
|
*/
|
|
4526
|
-
|
|
4865
|
+
StartTime?: string;
|
|
4527
4866
|
/**
|
|
4528
|
-
* <p
|
|
4867
|
+
* <p>训练结束时间</p>
|
|
4529
4868
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4530
4869
|
*/
|
|
4531
|
-
|
|
4870
|
+
EndTime?: string;
|
|
4532
4871
|
/**
|
|
4533
|
-
* <p
|
|
4534
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4872
|
+
* <p>训练输出</p>
|
|
4535
4873
|
*/
|
|
4536
|
-
|
|
4874
|
+
Output?: CosPathInfo;
|
|
4537
4875
|
/**
|
|
4538
|
-
* <p
|
|
4876
|
+
* <p>失败原因</p>
|
|
4539
4877
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4540
4878
|
*/
|
|
4541
|
-
|
|
4879
|
+
FailureReason?: string;
|
|
4542
4880
|
/**
|
|
4543
|
-
* <p
|
|
4544
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4881
|
+
* <p>更新时间</p>
|
|
4545
4882
|
*/
|
|
4546
|
-
|
|
4883
|
+
UpdateTime?: string;
|
|
4547
4884
|
/**
|
|
4548
|
-
* <p
|
|
4549
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4885
|
+
* <p>计费金额信息,eg:2.00元/小时 (按量计费)</p>
|
|
4550
4886
|
*/
|
|
4551
|
-
|
|
4887
|
+
BillingInfo?: string;
|
|
4552
4888
|
/**
|
|
4553
|
-
* <p
|
|
4889
|
+
* <p>预付费专用资源组名称</p>
|
|
4554
4890
|
*/
|
|
4555
|
-
|
|
4891
|
+
ResourceGroupName?: string;
|
|
4556
4892
|
/**
|
|
4557
|
-
* <p
|
|
4893
|
+
* <p>自定义镜像信息</p>
|
|
4894
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4558
4895
|
*/
|
|
4559
|
-
|
|
4896
|
+
ImageInfo?: ImageInfo;
|
|
4560
4897
|
/**
|
|
4561
|
-
* <p
|
|
4898
|
+
* <p>任务信息</p>
|
|
4899
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4562
4900
|
*/
|
|
4563
|
-
|
|
4901
|
+
Message?: string;
|
|
4564
4902
|
/**
|
|
4565
|
-
* <p
|
|
4903
|
+
* <p>标签配置</p>
|
|
4904
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4566
4905
|
*/
|
|
4567
|
-
|
|
4906
|
+
Tags?: Array<Tag>;
|
|
4568
4907
|
/**
|
|
4569
|
-
* <p
|
|
4908
|
+
* <p>回调地址</p>
|
|
4909
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4570
4910
|
*/
|
|
4571
|
-
|
|
4911
|
+
CallbackUrl?: string;
|
|
4572
4912
|
/**
|
|
4573
|
-
* <p
|
|
4913
|
+
* <p>任务subUin信息</p>
|
|
4914
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4574
4915
|
*/
|
|
4575
|
-
|
|
4916
|
+
SubUin?: string;
|
|
4576
4917
|
/**
|
|
4577
|
-
* <p
|
|
4918
|
+
* <p>任务创建者名称</p>
|
|
4919
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4578
4920
|
*/
|
|
4579
|
-
|
|
4921
|
+
SubUinName?: string;
|
|
4580
4922
|
/**
|
|
4581
|
-
* <p
|
|
4923
|
+
* <p>任务AppId</p>
|
|
4582
4924
|
*/
|
|
4583
|
-
|
|
4925
|
+
AppId?: string;
|
|
4584
4926
|
/**
|
|
4585
|
-
* <p
|
|
4927
|
+
* <p>环境变量</p>
|
|
4586
4928
|
*/
|
|
4587
|
-
|
|
4929
|
+
Envs?: Array<EnvVar>;
|
|
4588
4930
|
/**
|
|
4589
|
-
* <p
|
|
4931
|
+
* <p>操作者信息</p>
|
|
4590
4932
|
*/
|
|
4591
|
-
|
|
4933
|
+
LatestOperatorInfo?: OperatorInfo;
|
|
4592
4934
|
}
|
|
4593
4935
|
/**
|
|
4594
4936
|
* StopNotebook返回参数结构体
|
|
@@ -4599,6 +4941,27 @@ export interface StopNotebookResponse {
|
|
|
4599
4941
|
*/
|
|
4600
4942
|
RequestId?: string;
|
|
4601
4943
|
}
|
|
4944
|
+
/**
|
|
4945
|
+
* ModifyUserGrant请求参数结构体
|
|
4946
|
+
*/
|
|
4947
|
+
export interface ModifyUserGrantRequest {
|
|
4948
|
+
/**
|
|
4949
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
4950
|
+
*/
|
|
4951
|
+
TiProjectId?: string;
|
|
4952
|
+
/**
|
|
4953
|
+
* <p>用户列表</p>
|
|
4954
|
+
*/
|
|
4955
|
+
SubUins?: Array<string>;
|
|
4956
|
+
/**
|
|
4957
|
+
* <p>角色列表</p>
|
|
4958
|
+
*/
|
|
4959
|
+
RoleIds?: Array<string>;
|
|
4960
|
+
/**
|
|
4961
|
+
* <p>授权类型</p>
|
|
4962
|
+
*/
|
|
4963
|
+
Grant?: string;
|
|
4964
|
+
}
|
|
4602
4965
|
/**
|
|
4603
4966
|
* DescribeModelService请求参数结构体
|
|
4604
4967
|
*/
|
|
@@ -4639,6 +5002,36 @@ export interface ModifyModelServiceAuthTokenResponse {
|
|
|
4639
5002
|
*/
|
|
4640
5003
|
RequestId?: string;
|
|
4641
5004
|
}
|
|
5005
|
+
/**
|
|
5006
|
+
* ModifyWorkspaceMembers请求参数结构体
|
|
5007
|
+
*/
|
|
5008
|
+
export interface ModifyWorkspaceMembersRequest {
|
|
5009
|
+
/**
|
|
5010
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
5011
|
+
*/
|
|
5012
|
+
TiProjectId?: string;
|
|
5013
|
+
}
|
|
5014
|
+
/**
|
|
5015
|
+
* 计费项询价结果
|
|
5016
|
+
*/
|
|
5017
|
+
export interface SpecPrice {
|
|
5018
|
+
/**
|
|
5019
|
+
* 计费项名称
|
|
5020
|
+
*/
|
|
5021
|
+
SpecName?: string;
|
|
5022
|
+
/**
|
|
5023
|
+
* 原价,单位:分。最大值42亿,超过则返回0
|
|
5024
|
+
*/
|
|
5025
|
+
TotalCost?: number;
|
|
5026
|
+
/**
|
|
5027
|
+
* 优惠后的价格,单位:分
|
|
5028
|
+
*/
|
|
5029
|
+
RealTotalCost?: number;
|
|
5030
|
+
/**
|
|
5031
|
+
* 计费项数量
|
|
5032
|
+
*/
|
|
5033
|
+
SpecCount?: number;
|
|
5034
|
+
}
|
|
4642
5035
|
/**
|
|
4643
5036
|
* ModifyModelServiceAuthorization返回参数结构体
|
|
4644
5037
|
*/
|
|
@@ -4692,6 +5085,27 @@ export interface DeleteModelServiceAuthTokenRequest {
|
|
|
4692
5085
|
*/
|
|
4693
5086
|
AuthTokenValue?: string;
|
|
4694
5087
|
}
|
|
5088
|
+
/**
|
|
5089
|
+
* ModifyRoleUserGrant请求参数结构体
|
|
5090
|
+
*/
|
|
5091
|
+
export interface ModifyRoleUserGrantRequest {
|
|
5092
|
+
/**
|
|
5093
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
5094
|
+
*/
|
|
5095
|
+
TiProjectId?: string;
|
|
5096
|
+
/**
|
|
5097
|
+
* <p>角色ID列表</p>
|
|
5098
|
+
*/
|
|
5099
|
+
RoleIds?: Array<string>;
|
|
5100
|
+
/**
|
|
5101
|
+
* <p>用户UIN列表</p>
|
|
5102
|
+
*/
|
|
5103
|
+
SubUins?: Array<string>;
|
|
5104
|
+
/**
|
|
5105
|
+
* <p>授权方式</p>
|
|
5106
|
+
*/
|
|
5107
|
+
Grant?: string;
|
|
5108
|
+
}
|
|
4695
5109
|
/**
|
|
4696
5110
|
* CreateTrainingTask请求参数结构体
|
|
4697
5111
|
*/
|
|
@@ -4860,6 +5274,15 @@ export interface StorageExtraConf {
|
|
|
4860
5274
|
*/
|
|
4861
5275
|
CFSProtocol?: string;
|
|
4862
5276
|
}
|
|
5277
|
+
/**
|
|
5278
|
+
* DescribeWorkspaceQuotaUsage返回参数结构体
|
|
5279
|
+
*/
|
|
5280
|
+
export interface DescribeWorkspaceQuotaUsageResponse {
|
|
5281
|
+
/**
|
|
5282
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5283
|
+
*/
|
|
5284
|
+
RequestId?: string;
|
|
5285
|
+
}
|
|
4863
5286
|
/**
|
|
4864
5287
|
* ModifyNotebook返回参数结构体
|
|
4865
5288
|
*/
|
|
@@ -4869,6 +5292,21 @@ export interface ModifyNotebookResponse {
|
|
|
4869
5292
|
*/
|
|
4870
5293
|
RequestId?: string;
|
|
4871
5294
|
}
|
|
5295
|
+
/**
|
|
5296
|
+
* 空间成员信息
|
|
5297
|
+
*/
|
|
5298
|
+
export interface MemberInfo {
|
|
5299
|
+
/**
|
|
5300
|
+
* <p>超管成员列表</p>
|
|
5301
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5302
|
+
*/
|
|
5303
|
+
SuperAdmins?: Array<UserBriefInfo>;
|
|
5304
|
+
/**
|
|
5305
|
+
* <p>空间内管理员列表</p>
|
|
5306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5307
|
+
*/
|
|
5308
|
+
Admins?: Array<UserBriefInfo>;
|
|
5309
|
+
}
|
|
4872
5310
|
/**
|
|
4873
5311
|
* DescribeModelService返回参数结构体
|
|
4874
5312
|
*/
|
|
@@ -5221,25 +5659,25 @@ export interface DescribeAnnotatedTaskListResponse {
|
|
|
5221
5659
|
RequestId?: string;
|
|
5222
5660
|
}
|
|
5223
5661
|
/**
|
|
5224
|
-
*
|
|
5662
|
+
* ModifyRoleAccessRules请求参数结构体
|
|
5225
5663
|
*/
|
|
5226
|
-
export
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5664
|
+
export type ModifyRoleAccessRulesRequest = null;
|
|
5665
|
+
/**
|
|
5666
|
+
* DescribeWorkspace请求参数结构体
|
|
5667
|
+
*/
|
|
5668
|
+
export interface DescribeWorkspaceRequest {
|
|
5231
5669
|
/**
|
|
5232
|
-
*
|
|
5670
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
5233
5671
|
*/
|
|
5234
|
-
|
|
5672
|
+
TiProjectId?: string;
|
|
5235
5673
|
/**
|
|
5236
|
-
*
|
|
5674
|
+
* <p>是否包含运行中的任务</p>
|
|
5237
5675
|
*/
|
|
5238
|
-
|
|
5676
|
+
WithRunningTasks?: boolean;
|
|
5239
5677
|
/**
|
|
5240
|
-
*
|
|
5678
|
+
* <p>是否包含有管理权限的人员信息</p>
|
|
5241
5679
|
*/
|
|
5242
|
-
|
|
5680
|
+
WithMembers?: boolean;
|
|
5243
5681
|
}
|
|
5244
5682
|
/**
|
|
5245
5683
|
* CreateExport请求参数结构体
|
|
@@ -5786,6 +6224,55 @@ export interface ResourceInfo {
|
|
|
5786
6224
|
*/
|
|
5787
6225
|
Rdma?: number;
|
|
5788
6226
|
}
|
|
6227
|
+
/**
|
|
6228
|
+
* ModifyRoleUserGrant返回参数结构体
|
|
6229
|
+
*/
|
|
6230
|
+
export interface ModifyRoleUserGrantResponse {
|
|
6231
|
+
/**
|
|
6232
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6233
|
+
*/
|
|
6234
|
+
RequestId?: string;
|
|
6235
|
+
}
|
|
6236
|
+
/**
|
|
6237
|
+
* 任务建模Pod信息
|
|
6238
|
+
*/
|
|
6239
|
+
export interface PodInfo {
|
|
6240
|
+
/**
|
|
6241
|
+
* pod名
|
|
6242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6243
|
+
*/
|
|
6244
|
+
Name?: string;
|
|
6245
|
+
/**
|
|
6246
|
+
* pod的IP
|
|
6247
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6248
|
+
*/
|
|
6249
|
+
IP?: string;
|
|
6250
|
+
/**
|
|
6251
|
+
* pod状态。eg:SUBMITTING提交中、PENDING排队中、RUNNING运行中、SUCCEEDED已完成、FAILED异常、TERMINATING停止中、TERMINATED已停止
|
|
6252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6253
|
+
*/
|
|
6254
|
+
Status?: string;
|
|
6255
|
+
/**
|
|
6256
|
+
* pod启动时间
|
|
6257
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6258
|
+
*/
|
|
6259
|
+
StartTime?: string;
|
|
6260
|
+
/**
|
|
6261
|
+
* pod结束时间
|
|
6262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6263
|
+
*/
|
|
6264
|
+
EndTime?: string;
|
|
6265
|
+
/**
|
|
6266
|
+
* pod资源配置
|
|
6267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6268
|
+
*/
|
|
6269
|
+
ResourceConfigInfo?: ResourceConfigInfo;
|
|
6270
|
+
/**
|
|
6271
|
+
* Pod所属任务的SubUin信息
|
|
6272
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6273
|
+
*/
|
|
6274
|
+
SubUin?: string;
|
|
6275
|
+
}
|
|
5789
6276
|
/**
|
|
5790
6277
|
* 资源信息
|
|
5791
6278
|
*/
|
|
@@ -5854,17 +6341,54 @@ export interface DataSetConfig {
|
|
|
5854
6341
|
Id: string;
|
|
5855
6342
|
}
|
|
5856
6343
|
/**
|
|
5857
|
-
*
|
|
6344
|
+
* 模型专业参数
|
|
5858
6345
|
*/
|
|
5859
|
-
export interface
|
|
6346
|
+
export interface HyperParameter {
|
|
5860
6347
|
/**
|
|
5861
|
-
*
|
|
6348
|
+
* 最大nnz数
|
|
6349
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6350
|
+
*/
|
|
6351
|
+
MaxNNZ?: string;
|
|
6352
|
+
/**
|
|
6353
|
+
* slot数
|
|
6354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6355
|
+
*/
|
|
6356
|
+
SlotNum?: string;
|
|
6357
|
+
/**
|
|
6358
|
+
* gpu cache 使用率
|
|
6359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6360
|
+
*/
|
|
6361
|
+
CpuCachePercentage?: string;
|
|
6362
|
+
/**
|
|
6363
|
+
* cpu cache 使用率
|
|
6364
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6365
|
+
*/
|
|
6366
|
+
GpuCachePercentage?: string;
|
|
6367
|
+
/**
|
|
6368
|
+
* 是否开启分布式模式(true/false)
|
|
6369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6370
|
+
*/
|
|
6371
|
+
EnableDistributed?: string;
|
|
6372
|
+
/**
|
|
6373
|
+
* TORCH_SCRIPT、MMDETECTION、DETECTRON2、HUGGINGFACE格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为3
|
|
6374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6375
|
+
*/
|
|
6376
|
+
MinBlockSizePt?: string;
|
|
6377
|
+
/**
|
|
6378
|
+
* FROZEN_GRAPH、SAVED_MODEL格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为10
|
|
6379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6380
|
+
*/
|
|
6381
|
+
MinBlockSizeTf?: string;
|
|
6382
|
+
/**
|
|
6383
|
+
* Stable Diffusion 模型优化参数
|
|
6384
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5862
6385
|
*/
|
|
5863
|
-
|
|
6386
|
+
PipelineArgs?: string;
|
|
5864
6387
|
/**
|
|
5865
|
-
*
|
|
6388
|
+
* Stable Diffusion 模型优化参数,控制Lora模型的影响效果
|
|
6389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5866
6390
|
*/
|
|
5867
|
-
|
|
6391
|
+
LoraScale?: string;
|
|
5868
6392
|
}
|
|
5869
6393
|
/**
|
|
5870
6394
|
* DescribeNotebooks请求参数结构体
|
|
@@ -5912,6 +6436,19 @@ export interface CamTag {
|
|
|
5912
6436
|
*/
|
|
5913
6437
|
Value: string;
|
|
5914
6438
|
}
|
|
6439
|
+
/**
|
|
6440
|
+
* DeleteDataset返回参数结构体
|
|
6441
|
+
*/
|
|
6442
|
+
export interface DeleteDatasetResponse {
|
|
6443
|
+
/**
|
|
6444
|
+
* <p>删除的datasetId</p>
|
|
6445
|
+
*/
|
|
6446
|
+
DatasetId?: string;
|
|
6447
|
+
/**
|
|
6448
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6449
|
+
*/
|
|
6450
|
+
RequestId?: string;
|
|
6451
|
+
}
|
|
5915
6452
|
/**
|
|
5916
6453
|
* DeleteNotebook返回参数结构体
|
|
5917
6454
|
*/
|
|
@@ -5922,17 +6459,69 @@ export interface DeleteNotebookResponse {
|
|
|
5922
6459
|
RequestId?: string;
|
|
5923
6460
|
}
|
|
5924
6461
|
/**
|
|
5925
|
-
*
|
|
6462
|
+
* DeleteRole返回参数结构体
|
|
5926
6463
|
*/
|
|
5927
|
-
export interface
|
|
6464
|
+
export interface DeleteRoleResponse {
|
|
5928
6465
|
/**
|
|
5929
|
-
*
|
|
6466
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5930
6467
|
*/
|
|
5931
|
-
|
|
6468
|
+
RequestId?: string;
|
|
6469
|
+
}
|
|
6470
|
+
/**
|
|
6471
|
+
* DescribeModelServiceHotUpdated请求参数结构体
|
|
6472
|
+
*/
|
|
6473
|
+
export interface DescribeModelServiceHotUpdatedRequest {
|
|
5932
6474
|
/**
|
|
5933
|
-
*
|
|
6475
|
+
* 镜像信息,配置服务运行所需的镜像地址等信息
|
|
5934
6476
|
*/
|
|
5935
|
-
|
|
6477
|
+
ImageInfo: ImageInfo;
|
|
6478
|
+
/**
|
|
6479
|
+
* 模型信息,需要挂载模型时填写
|
|
6480
|
+
*/
|
|
6481
|
+
ModelInfo?: ModelInfo;
|
|
6482
|
+
/**
|
|
6483
|
+
* 挂载信息
|
|
6484
|
+
*/
|
|
6485
|
+
VolumeMount?: VolumeMount;
|
|
6486
|
+
}
|
|
6487
|
+
/**
|
|
6488
|
+
* 指标数据
|
|
6489
|
+
*/
|
|
6490
|
+
export interface MetricData {
|
|
6491
|
+
/**
|
|
6492
|
+
* 训练任务id
|
|
6493
|
+
*/
|
|
6494
|
+
TaskId: string;
|
|
6495
|
+
/**
|
|
6496
|
+
* 时间戳.unix timestamp,单位为秒
|
|
6497
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6498
|
+
*/
|
|
6499
|
+
Timestamp?: number;
|
|
6500
|
+
/**
|
|
6501
|
+
* 用户uin
|
|
6502
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6503
|
+
*/
|
|
6504
|
+
Uin?: string;
|
|
6505
|
+
/**
|
|
6506
|
+
* 本次上报数据所处的训练周期数。
|
|
6507
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6508
|
+
*/
|
|
6509
|
+
Epoch?: number;
|
|
6510
|
+
/**
|
|
6511
|
+
* 本次上报数据所处的训练迭代次数。
|
|
6512
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6513
|
+
*/
|
|
6514
|
+
Step?: number;
|
|
6515
|
+
/**
|
|
6516
|
+
* 训练停止所需的迭代总数。
|
|
6517
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6518
|
+
*/
|
|
6519
|
+
TotalSteps?: number;
|
|
6520
|
+
/**
|
|
6521
|
+
* 数据点。数组元素为不同指标的数据。数组长度不超过10。
|
|
6522
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6523
|
+
*/
|
|
6524
|
+
Points?: Array<DataPoint>;
|
|
5936
6525
|
}
|
|
5937
6526
|
/**
|
|
5938
6527
|
* CreateModelServiceAuthToken返回参数结构体
|
|
@@ -6190,21 +6779,46 @@ export interface NotebookDetail {
|
|
|
6190
6779
|
LatestOperatorInfo?: OperatorInfo;
|
|
6191
6780
|
}
|
|
6192
6781
|
/**
|
|
6193
|
-
*
|
|
6782
|
+
* 表格数据集表头信息
|
|
6194
6783
|
*/
|
|
6195
|
-
export interface
|
|
6784
|
+
export interface SchemaInfo {
|
|
6196
6785
|
/**
|
|
6197
|
-
*
|
|
6786
|
+
* 长度30字符内
|
|
6198
6787
|
*/
|
|
6199
|
-
|
|
6788
|
+
Name: string;
|
|
6200
6789
|
/**
|
|
6201
|
-
*
|
|
6790
|
+
* 数据类型
|
|
6202
6791
|
*/
|
|
6203
|
-
|
|
6792
|
+
Type: string;
|
|
6793
|
+
}
|
|
6794
|
+
/**
|
|
6795
|
+
* DescribeAccessRules返回参数结构体
|
|
6796
|
+
*/
|
|
6797
|
+
export interface DescribeAccessRulesResponse {
|
|
6204
6798
|
/**
|
|
6205
|
-
* <p
|
|
6799
|
+
* <p>当前用户有哪些权限</p>
|
|
6206
6800
|
*/
|
|
6207
|
-
|
|
6801
|
+
AccessRules?: Array<AccessRule>;
|
|
6802
|
+
/**
|
|
6803
|
+
* <p>权限点全量集合</p>
|
|
6804
|
+
*/
|
|
6805
|
+
FullAccessRules?: Array<AccessRule>;
|
|
6806
|
+
/**
|
|
6807
|
+
* <p>当前用户拥有的空间外角色</p>
|
|
6808
|
+
*/
|
|
6809
|
+
GlobalRoles?: Array<string>;
|
|
6810
|
+
/**
|
|
6811
|
+
* <p>当前用户可见的空间列表</p>
|
|
6812
|
+
*/
|
|
6813
|
+
Workspaces?: Array<Workspace>;
|
|
6814
|
+
/**
|
|
6815
|
+
* <p>当前用户有哪些空间外权限</p>
|
|
6816
|
+
*/
|
|
6817
|
+
OutsideAccessRules?: Array<AccessRule>;
|
|
6818
|
+
/**
|
|
6819
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6820
|
+
*/
|
|
6821
|
+
RequestId?: string;
|
|
6208
6822
|
}
|
|
6209
6823
|
/**
|
|
6210
6824
|
* ModifyModelService返回参数结构体
|
|
@@ -6221,44 +6835,25 @@ export interface ModifyModelServiceResponse {
|
|
|
6221
6835
|
RequestId?: string;
|
|
6222
6836
|
}
|
|
6223
6837
|
/**
|
|
6224
|
-
*
|
|
6838
|
+
* 数据源简要信息
|
|
6225
6839
|
*/
|
|
6226
|
-
export interface
|
|
6227
|
-
/**
|
|
6228
|
-
* pod名
|
|
6229
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6230
|
-
*/
|
|
6231
|
-
Name?: string;
|
|
6232
|
-
/**
|
|
6233
|
-
* pod的IP
|
|
6234
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6235
|
-
*/
|
|
6236
|
-
IP?: string;
|
|
6237
|
-
/**
|
|
6238
|
-
* pod状态。eg:SUBMITTING提交中、PENDING排队中、RUNNING运行中、SUCCEEDED已完成、FAILED异常、TERMINATING停止中、TERMINATED已停止
|
|
6239
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6240
|
-
*/
|
|
6241
|
-
Status?: string;
|
|
6840
|
+
export interface DataSourceBrief {
|
|
6242
6841
|
/**
|
|
6243
|
-
*
|
|
6244
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6842
|
+
* <p>存储实例ID</p>
|
|
6245
6843
|
*/
|
|
6246
|
-
|
|
6844
|
+
StorageId?: string;
|
|
6247
6845
|
/**
|
|
6248
|
-
*
|
|
6249
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6846
|
+
* <p>存储实例名称</p>
|
|
6250
6847
|
*/
|
|
6251
|
-
|
|
6848
|
+
StorageName?: string;
|
|
6252
6849
|
/**
|
|
6253
|
-
*
|
|
6254
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6850
|
+
* <p>存储目录</p>
|
|
6255
6851
|
*/
|
|
6256
|
-
|
|
6852
|
+
WorkDir?: string;
|
|
6257
6853
|
/**
|
|
6258
|
-
*
|
|
6259
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6854
|
+
* <p>数据源读写权限,RW/RO</p>
|
|
6260
6855
|
*/
|
|
6261
|
-
|
|
6856
|
+
Permission?: string;
|
|
6262
6857
|
}
|
|
6263
6858
|
/**
|
|
6264
6859
|
* 探针行为
|
|
@@ -6636,6 +7231,21 @@ export interface ServiceLimit {
|
|
|
6636
7231
|
*/
|
|
6637
7232
|
InstanceReqLimit?: number;
|
|
6638
7233
|
}
|
|
7234
|
+
/**
|
|
7235
|
+
* 角色简要信息
|
|
7236
|
+
*/
|
|
7237
|
+
export interface RoleBriefInfo {
|
|
7238
|
+
/**
|
|
7239
|
+
* <p>角色id</p>
|
|
7240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7241
|
+
*/
|
|
7242
|
+
RoleId?: string;
|
|
7243
|
+
/**
|
|
7244
|
+
* <p>角色名称</p>
|
|
7245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7246
|
+
*/
|
|
7247
|
+
RoleName?: string;
|
|
7248
|
+
}
|
|
6639
7249
|
/**
|
|
6640
7250
|
* DescribeModelServiceGroup返回参数结构体
|
|
6641
7251
|
*/
|
|
@@ -6964,6 +7574,21 @@ export interface PublicAlgoVersion {
|
|
|
6964
7574
|
*/
|
|
6965
7575
|
PublicAlgoSeriesId?: string;
|
|
6966
7576
|
}
|
|
7577
|
+
/**
|
|
7578
|
+
* 用户简要信息
|
|
7579
|
+
*/
|
|
7580
|
+
export interface UserBriefInfo {
|
|
7581
|
+
/**
|
|
7582
|
+
* <p>子用户uin</p>
|
|
7583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7584
|
+
*/
|
|
7585
|
+
SubUin?: string;
|
|
7586
|
+
/**
|
|
7587
|
+
* <p>子用户名</p>
|
|
7588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7589
|
+
*/
|
|
7590
|
+
SubUinName?: string;
|
|
7591
|
+
}
|
|
6967
7592
|
/**
|
|
6968
7593
|
* 共享弹性网卡信息
|
|
6969
7594
|
*/
|
|
@@ -7002,13 +7627,17 @@ export interface DescribeTrainingTasksResponse {
|
|
|
7002
7627
|
RequestId?: string;
|
|
7003
7628
|
}
|
|
7004
7629
|
/**
|
|
7005
|
-
*
|
|
7630
|
+
* DescribeRoleUsers请求参数结构体
|
|
7006
7631
|
*/
|
|
7007
|
-
export interface
|
|
7632
|
+
export interface DescribeRoleUsersRequest {
|
|
7008
7633
|
/**
|
|
7009
|
-
*
|
|
7634
|
+
* <p>角色ID</p>
|
|
7010
7635
|
*/
|
|
7011
|
-
|
|
7636
|
+
RoleId: string;
|
|
7637
|
+
/**
|
|
7638
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7639
|
+
*/
|
|
7640
|
+
TiProjectId?: string;
|
|
7012
7641
|
}
|
|
7013
7642
|
/**
|
|
7014
7643
|
* DescribeModelAccelerateTask请求参数结构体
|
|
@@ -7049,18 +7678,57 @@ export interface Container {
|
|
|
7049
7678
|
Status: ContainerStatus;
|
|
7050
7679
|
}
|
|
7051
7680
|
/**
|
|
7052
|
-
*
|
|
7681
|
+
* ModifyUserGrant返回参数结构体
|
|
7053
7682
|
*/
|
|
7054
|
-
export interface
|
|
7683
|
+
export interface ModifyUserGrantResponse {
|
|
7055
7684
|
/**
|
|
7056
|
-
*
|
|
7685
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7057
7686
|
*/
|
|
7058
|
-
|
|
7687
|
+
RequestId?: string;
|
|
7688
|
+
}
|
|
7689
|
+
/**
|
|
7690
|
+
* UpdateSubAccountLinuxUserInfo返回参数结构体
|
|
7691
|
+
*/
|
|
7692
|
+
export interface UpdateSubAccountLinuxUserInfoResponse {
|
|
7693
|
+
/**
|
|
7694
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7695
|
+
*/
|
|
7696
|
+
RequestId?: string;
|
|
7697
|
+
}
|
|
7698
|
+
/**
|
|
7699
|
+
* CreateRole返回参数结构体
|
|
7700
|
+
*/
|
|
7701
|
+
export interface CreateRoleResponse {
|
|
7702
|
+
/**
|
|
7703
|
+
* <p>角色ID</p>
|
|
7704
|
+
*/
|
|
7705
|
+
RoleId?: string;
|
|
7059
7706
|
/**
|
|
7060
7707
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7061
7708
|
*/
|
|
7062
7709
|
RequestId?: string;
|
|
7063
7710
|
}
|
|
7711
|
+
/**
|
|
7712
|
+
* 用户+角色信息
|
|
7713
|
+
*/
|
|
7714
|
+
export interface UserRoleInfo {
|
|
7715
|
+
/**
|
|
7716
|
+
* <p>子账号</p>
|
|
7717
|
+
*/
|
|
7718
|
+
SubUin?: string;
|
|
7719
|
+
/**
|
|
7720
|
+
* <p>名称</p>
|
|
7721
|
+
*/
|
|
7722
|
+
NickName?: string;
|
|
7723
|
+
/**
|
|
7724
|
+
* <p>创建时间</p>
|
|
7725
|
+
*/
|
|
7726
|
+
CreateTime?: string;
|
|
7727
|
+
/**
|
|
7728
|
+
* <p>角色列表</p>
|
|
7729
|
+
*/
|
|
7730
|
+
Roles?: Array<RoleInfo>;
|
|
7731
|
+
}
|
|
7064
7732
|
/**
|
|
7065
7733
|
* 挂载限制
|
|
7066
7734
|
*/
|
|
@@ -7520,41 +8188,74 @@ export interface ResourceSpec {
|
|
|
7520
8188
|
*/
|
|
7521
8189
|
export interface DescribeLogsResponse {
|
|
7522
8190
|
/**
|
|
7523
|
-
* <p>分页的游标</p>
|
|
7524
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8191
|
+
* <p>分页的游标</p>
|
|
8192
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8193
|
+
*/
|
|
8194
|
+
Context?: string;
|
|
8195
|
+
/**
|
|
8196
|
+
* <p>日志数组</p>
|
|
8197
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8198
|
+
*/
|
|
8199
|
+
Content?: Array<LogIdentity>;
|
|
8200
|
+
/**
|
|
8201
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8202
|
+
*/
|
|
8203
|
+
RequestId?: string;
|
|
8204
|
+
}
|
|
8205
|
+
/**
|
|
8206
|
+
* DeleteTrainingTask请求参数结构体
|
|
8207
|
+
*/
|
|
8208
|
+
export interface DeleteTrainingTaskRequest {
|
|
8209
|
+
/**
|
|
8210
|
+
* 训练任务ID
|
|
8211
|
+
*/
|
|
8212
|
+
Id: string;
|
|
8213
|
+
/**
|
|
8214
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8215
|
+
*/
|
|
8216
|
+
TiProjectId?: string;
|
|
8217
|
+
}
|
|
8218
|
+
/**
|
|
8219
|
+
* 键值对
|
|
8220
|
+
*/
|
|
8221
|
+
export interface Option {
|
|
8222
|
+
/**
|
|
8223
|
+
* <p>指标名</p>
|
|
8224
|
+
*/
|
|
8225
|
+
Name: string;
|
|
8226
|
+
/**
|
|
8227
|
+
* <p>指标值</p>
|
|
8228
|
+
*/
|
|
8229
|
+
Value: number;
|
|
8230
|
+
}
|
|
8231
|
+
/**
|
|
8232
|
+
* 角色信息
|
|
8233
|
+
*/
|
|
8234
|
+
export interface RoleInfo {
|
|
8235
|
+
/**
|
|
8236
|
+
* <p>角色ID</p>
|
|
7525
8237
|
*/
|
|
7526
|
-
|
|
8238
|
+
RoleId?: string;
|
|
7527
8239
|
/**
|
|
7528
|
-
* <p
|
|
7529
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8240
|
+
* <p>名称</p>
|
|
7530
8241
|
*/
|
|
7531
|
-
|
|
8242
|
+
RoleName?: string;
|
|
7532
8243
|
/**
|
|
7533
|
-
*
|
|
8244
|
+
* <p>角色类型。"SYSTEM" 内置角色,"CUSTOMER" 自定义角色</p>
|
|
7534
8245
|
*/
|
|
7535
|
-
|
|
7536
|
-
}
|
|
7537
|
-
/**
|
|
7538
|
-
* 编码后的启动命令信息
|
|
7539
|
-
*/
|
|
7540
|
-
export interface EncodedStartCmdInfo {
|
|
8246
|
+
RoleType?: string;
|
|
7541
8247
|
/**
|
|
7542
|
-
*
|
|
8248
|
+
* <p>描述</p>
|
|
7543
8249
|
*/
|
|
7544
|
-
|
|
7545
|
-
}
|
|
7546
|
-
/**
|
|
7547
|
-
* StopNotebook请求参数结构体
|
|
7548
|
-
*/
|
|
7549
|
-
export interface StopNotebookRequest {
|
|
8250
|
+
Description?: string;
|
|
7550
8251
|
/**
|
|
7551
|
-
*
|
|
8252
|
+
* <p>创建时间</p>
|
|
7552
8253
|
*/
|
|
7553
|
-
|
|
8254
|
+
CreateTime?: string;
|
|
7554
8255
|
/**
|
|
7555
|
-
* <p
|
|
8256
|
+
* <p>绑定的用户数</p>
|
|
7556
8257
|
*/
|
|
7557
|
-
|
|
8258
|
+
UserCount?: number;
|
|
7558
8259
|
}
|
|
7559
8260
|
/**
|
|
7560
8261
|
* DeleteModelServiceGroup请求参数结构体
|
|
@@ -7860,7 +8561,7 @@ export interface DescribeBillingResourceGroupRequest {
|
|
|
7860
8561
|
*/
|
|
7861
8562
|
ResourceGroupId: string;
|
|
7862
8563
|
/**
|
|
7863
|
-
* <p>TI工作空间ID</p><p
|
|
8564
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7864
8565
|
*/
|
|
7865
8566
|
TiProjectId?: string;
|
|
7866
8567
|
/**
|
|
@@ -7920,25 +8621,21 @@ export interface SSHConfig {
|
|
|
7920
8621
|
PodSSHInfo?: PodSSHInfo;
|
|
7921
8622
|
}
|
|
7922
8623
|
/**
|
|
7923
|
-
*
|
|
8624
|
+
* CreateRole请求参数结构体
|
|
7924
8625
|
*/
|
|
7925
|
-
export interface
|
|
8626
|
+
export interface CreateRoleRequest {
|
|
7926
8627
|
/**
|
|
7927
8628
|
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7928
8629
|
*/
|
|
7929
8630
|
TiProjectId?: string;
|
|
7930
8631
|
/**
|
|
7931
|
-
*
|
|
7932
|
-
*/
|
|
7933
|
-
Offset?: number;
|
|
7934
|
-
/**
|
|
7935
|
-
* 每页数量(0 表示全量)
|
|
8632
|
+
* <p>角色名称</p>
|
|
7936
8633
|
*/
|
|
7937
|
-
|
|
8634
|
+
RoleName?: string;
|
|
7938
8635
|
/**
|
|
7939
|
-
*
|
|
8636
|
+
* <p>角色备注</p>
|
|
7940
8637
|
*/
|
|
7941
|
-
|
|
8638
|
+
Description?: string;
|
|
7942
8639
|
}
|
|
7943
8640
|
/**
|
|
7944
8641
|
* ChatCompletion返回参数结构体
|
|
@@ -7978,6 +8675,39 @@ export interface GooseFSx {
|
|
|
7978
8675
|
*/
|
|
7979
8676
|
Path?: string;
|
|
7980
8677
|
}
|
|
8678
|
+
/**
|
|
8679
|
+
* DescribeWorkspaceMembers请求参数结构体
|
|
8680
|
+
*/
|
|
8681
|
+
export interface DescribeWorkspaceMembersRequest {
|
|
8682
|
+
/**
|
|
8683
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8684
|
+
*/
|
|
8685
|
+
TiProjectId?: string;
|
|
8686
|
+
/**
|
|
8687
|
+
* <p>过滤条件</p>
|
|
8688
|
+
*/
|
|
8689
|
+
Filters?: Array<Filter>;
|
|
8690
|
+
/**
|
|
8691
|
+
* <p>偏移量</p>
|
|
8692
|
+
*/
|
|
8693
|
+
Offset?: number;
|
|
8694
|
+
/**
|
|
8695
|
+
* <p>数量</p>
|
|
8696
|
+
*/
|
|
8697
|
+
Limit?: number;
|
|
8698
|
+
/**
|
|
8699
|
+
* <p>排序字段</p>
|
|
8700
|
+
*/
|
|
8701
|
+
OrderField?: string;
|
|
8702
|
+
/**
|
|
8703
|
+
* <p>排序方式</p>
|
|
8704
|
+
*/
|
|
8705
|
+
Order?: string;
|
|
8706
|
+
/**
|
|
8707
|
+
* <p>是否包含角色信息</p>
|
|
8708
|
+
*/
|
|
8709
|
+
WithRoles?: boolean;
|
|
8710
|
+
}
|
|
7981
8711
|
/**
|
|
7982
8712
|
* 聚合后的公共算法版本
|
|
7983
8713
|
*/
|
|
@@ -8007,18 +8737,43 @@ export interface DescribeTrainingTaskPodsRequest {
|
|
|
8007
8737
|
TiProjectId?: string;
|
|
8008
8738
|
}
|
|
8009
8739
|
/**
|
|
8010
|
-
*
|
|
8740
|
+
* UpdateMountLimit返回参数结构体
|
|
8011
8741
|
*/
|
|
8012
|
-
export interface
|
|
8013
|
-
/**
|
|
8014
|
-
* <p>模型版本列表</p>
|
|
8015
|
-
*/
|
|
8016
|
-
TrainingModelVersions?: Array<TrainingModelVersionDTO>;
|
|
8742
|
+
export interface UpdateMountLimitResponse {
|
|
8017
8743
|
/**
|
|
8018
8744
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8019
8745
|
*/
|
|
8020
8746
|
RequestId?: string;
|
|
8021
8747
|
}
|
|
8748
|
+
/**
|
|
8749
|
+
* DescribeRole请求参数结构体
|
|
8750
|
+
*/
|
|
8751
|
+
export interface DescribeRoleRequest {
|
|
8752
|
+
/**
|
|
8753
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8754
|
+
*/
|
|
8755
|
+
TiProjectId?: string;
|
|
8756
|
+
/**
|
|
8757
|
+
* <p>角色ID</p>
|
|
8758
|
+
*/
|
|
8759
|
+
RoleId?: string;
|
|
8760
|
+
/**
|
|
8761
|
+
* <p>资源类型</p>
|
|
8762
|
+
*/
|
|
8763
|
+
ResourceType?: string;
|
|
8764
|
+
/**
|
|
8765
|
+
* <p>偏移值</p>
|
|
8766
|
+
*/
|
|
8767
|
+
Offset?: number;
|
|
8768
|
+
/**
|
|
8769
|
+
* <p>分页数量</p>
|
|
8770
|
+
*/
|
|
8771
|
+
Limit?: number;
|
|
8772
|
+
/**
|
|
8773
|
+
* <p>过滤条件</p>
|
|
8774
|
+
*/
|
|
8775
|
+
Filters?: Array<Filter>;
|
|
8776
|
+
}
|
|
8022
8777
|
/**
|
|
8023
8778
|
* DescribeSubAccountLinuxUserInfos返回参数结构体
|
|
8024
8779
|
*/
|
|
@@ -8561,21 +9316,21 @@ export interface DeleteTrainingModelRequest {
|
|
|
8561
9316
|
ModelVersionType?: string;
|
|
8562
9317
|
}
|
|
8563
9318
|
/**
|
|
8564
|
-
*
|
|
9319
|
+
* DescribeBillingResourceInstanceRunningJobs请求参数结构体
|
|
8565
9320
|
*/
|
|
8566
|
-
export interface
|
|
9321
|
+
export interface DescribeBillingResourceInstanceRunningJobsRequest {
|
|
8567
9322
|
/**
|
|
8568
|
-
*
|
|
9323
|
+
* 资源组id
|
|
8569
9324
|
*/
|
|
8570
|
-
|
|
9325
|
+
ResourceGroupId: string;
|
|
8571
9326
|
/**
|
|
8572
|
-
*
|
|
9327
|
+
* 资源组节点id
|
|
8573
9328
|
*/
|
|
8574
|
-
|
|
9329
|
+
ResourceInstanceId: string;
|
|
8575
9330
|
/**
|
|
8576
|
-
*
|
|
9331
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8577
9332
|
*/
|
|
8578
|
-
|
|
9333
|
+
TiProjectId?: string;
|
|
8579
9334
|
}
|
|
8580
9335
|
/**
|
|
8581
9336
|
* DescribeTrainingTask返回参数结构体
|
|
@@ -8696,44 +9451,22 @@ export interface DescribePlatformImagesRequest {
|
|
|
8696
9451
|
Limit?: number;
|
|
8697
9452
|
}
|
|
8698
9453
|
/**
|
|
8699
|
-
*
|
|
9454
|
+
* ModifyRoleAccessRules返回参数结构体
|
|
8700
9455
|
*/
|
|
8701
|
-
export interface
|
|
8702
|
-
/**
|
|
8703
|
-
* <p>组件名称:{ServiceGroupId}-gateway / {ServiceGroupId}-scheduler</p>
|
|
8704
|
-
*/
|
|
8705
|
-
Name?: string;
|
|
8706
|
-
/**
|
|
8707
|
-
* <p>组件类型:"Gateway" / "Scheduler"</p>
|
|
8708
|
-
*/
|
|
8709
|
-
Type?: string;
|
|
9456
|
+
export interface ModifyRoleAccessRulesResponse {
|
|
8710
9457
|
/**
|
|
8711
|
-
*
|
|
8712
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8713
|
-
*/
|
|
8714
|
-
ImageInfo?: ImageInfo;
|
|
8715
|
-
/**
|
|
8716
|
-
* <p>期望配置(Replicas/Cpu/Memory/Env)</p>
|
|
8717
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8718
|
-
*/
|
|
8719
|
-
ResourceConfig?: SmartRouterResourceConfig;
|
|
8720
|
-
/**
|
|
8721
|
-
* <p>组件状态:CREATING 创建中 / CREATE_FAILED 创建失败 / Normal 正常运行中 / Stopped 已停止 / Stopping 停止中 / Abnormal 异常 / Pending 启动中 / Waiting 就绪中</p>
|
|
8722
|
-
*/
|
|
8723
|
-
Status?: string;
|
|
8724
|
-
/**
|
|
8725
|
-
* <p>资源规格(查询时回显用户创建/修改时的资源选择)。公有云场景展示:ChargeType / Zone / ResourceSupplyAttribute;内网版场景展示:QueueId</p>
|
|
8726
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8727
|
-
*/
|
|
8728
|
-
ResourceSpec?: SmartRouterResourceSpec;
|
|
8729
|
-
/**
|
|
8730
|
-
* <p>业务状态(组件级计费状态,Gateway/Scheduler 独立判定):Billing 计费中 / Normal 正常(未计费或已停止计费)/ WhitelistUsing 白名单使用中(免计费)</p>
|
|
9458
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8731
9459
|
*/
|
|
8732
|
-
|
|
9460
|
+
RequestId?: string;
|
|
9461
|
+
}
|
|
9462
|
+
/**
|
|
9463
|
+
* DescribeWorkspaceQuotas请求参数结构体
|
|
9464
|
+
*/
|
|
9465
|
+
export interface DescribeWorkspaceQuotasRequest {
|
|
8733
9466
|
/**
|
|
8734
|
-
* <p
|
|
9467
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8735
9468
|
*/
|
|
8736
|
-
|
|
9469
|
+
TiProjectId?: string;
|
|
8737
9470
|
}
|
|
8738
9471
|
/**
|
|
8739
9472
|
* 探针结构信息
|
|
@@ -8765,52 +9498,55 @@ export interface Probe {
|
|
|
8765
9498
|
SuccessThreshold?: number;
|
|
8766
9499
|
}
|
|
8767
9500
|
/**
|
|
8768
|
-
*
|
|
9501
|
+
* 默认Nginx网关结构
|
|
8769
9502
|
*/
|
|
8770
|
-
export interface
|
|
9503
|
+
export interface DefaultNginxGatewayCallInfo {
|
|
8771
9504
|
/**
|
|
8772
|
-
*
|
|
9505
|
+
* host
|
|
9506
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8773
9507
|
*/
|
|
8774
|
-
|
|
9508
|
+
Host?: string;
|
|
8775
9509
|
}
|
|
8776
9510
|
/**
|
|
8777
|
-
*
|
|
9511
|
+
* DescribeRole返回参数结构体
|
|
8778
9512
|
*/
|
|
8779
|
-
export interface
|
|
9513
|
+
export interface DescribeRoleResponse {
|
|
8780
9514
|
/**
|
|
8781
|
-
*
|
|
9515
|
+
* <p>角色ID</p>
|
|
8782
9516
|
*/
|
|
8783
|
-
|
|
9517
|
+
RoleId?: string;
|
|
8784
9518
|
/**
|
|
8785
|
-
*
|
|
8786
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9519
|
+
* <p>角色名称</p>
|
|
8787
9520
|
*/
|
|
8788
|
-
|
|
9521
|
+
RoleName?: string;
|
|
8789
9522
|
/**
|
|
8790
|
-
*
|
|
8791
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9523
|
+
* <p>角色类型</p>
|
|
8792
9524
|
*/
|
|
8793
|
-
|
|
9525
|
+
RoleType?: string;
|
|
8794
9526
|
/**
|
|
8795
|
-
*
|
|
8796
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9527
|
+
* <p>描述</p>
|
|
8797
9528
|
*/
|
|
8798
|
-
|
|
9529
|
+
Description?: string;
|
|
8799
9530
|
/**
|
|
8800
|
-
*
|
|
8801
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9531
|
+
* <p>创建时间</p>
|
|
8802
9532
|
*/
|
|
8803
|
-
|
|
9533
|
+
CreateTime?: string;
|
|
8804
9534
|
/**
|
|
8805
|
-
*
|
|
8806
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9535
|
+
* <p>权限规则列表</p>
|
|
8807
9536
|
*/
|
|
8808
|
-
|
|
9537
|
+
AccessRules?: Array<AccessRule>;
|
|
8809
9538
|
/**
|
|
8810
|
-
*
|
|
8811
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9539
|
+
* <p>资源级权限列表</p>
|
|
8812
9540
|
*/
|
|
8813
|
-
|
|
9541
|
+
ResourcePermissions?: Array<ResourcePermission>;
|
|
9542
|
+
/**
|
|
9543
|
+
* <p>总数</p>
|
|
9544
|
+
*/
|
|
9545
|
+
TotalCount?: number;
|
|
9546
|
+
/**
|
|
9547
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9548
|
+
*/
|
|
9549
|
+
RequestId?: string;
|
|
8814
9550
|
}
|
|
8815
9551
|
/**
|
|
8816
9552
|
* DeleteTrainingModelVersion请求参数结构体
|
|
@@ -8830,13 +9566,13 @@ export interface DeleteTrainingModelVersionRequest {
|
|
|
8830
9566
|
EnableDeleteCos?: boolean;
|
|
8831
9567
|
}
|
|
8832
9568
|
/**
|
|
8833
|
-
*
|
|
9569
|
+
* CreateExport返回参数结构体
|
|
8834
9570
|
*/
|
|
8835
|
-
export interface
|
|
9571
|
+
export interface CreateExportResponse {
|
|
8836
9572
|
/**
|
|
8837
|
-
*
|
|
9573
|
+
* 日志下载任务的ID
|
|
8838
9574
|
*/
|
|
8839
|
-
|
|
9575
|
+
ExportId?: string;
|
|
8840
9576
|
/**
|
|
8841
9577
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8842
9578
|
*/
|
|
@@ -8873,52 +9609,17 @@ export interface DescribeTrainingModelVersionResponse {
|
|
|
8873
9609
|
RequestId?: string;
|
|
8874
9610
|
}
|
|
8875
9611
|
/**
|
|
8876
|
-
*
|
|
9612
|
+
* StopNotebook请求参数结构体
|
|
8877
9613
|
*/
|
|
8878
|
-
export interface
|
|
8879
|
-
/**
|
|
8880
|
-
* 当前实例数
|
|
8881
|
-
*/
|
|
8882
|
-
Replicas: number;
|
|
8883
|
-
/**
|
|
8884
|
-
* 更新的实例数
|
|
8885
|
-
*/
|
|
8886
|
-
UpdatedReplicas: number;
|
|
8887
|
-
/**
|
|
8888
|
-
* 就绪的实例数
|
|
8889
|
-
*/
|
|
8890
|
-
ReadyReplicas: number;
|
|
8891
|
-
/**
|
|
8892
|
-
* 可用的实例数
|
|
8893
|
-
*/
|
|
8894
|
-
AvailableReplicas: number;
|
|
8895
|
-
/**
|
|
8896
|
-
* 不可用的实例数
|
|
8897
|
-
*/
|
|
8898
|
-
UnavailableReplicas: number;
|
|
8899
|
-
/**
|
|
8900
|
-
* Normal 正常运行中
|
|
8901
|
-
Abnormal 服务异常,例如容器启动失败等
|
|
8902
|
-
Waiting 服务等待中,例如容器下载镜像过程等
|
|
8903
|
-
Stopped 已停止
|
|
8904
|
-
Pending 启动中
|
|
8905
|
-
Stopping 停止中
|
|
8906
|
-
*/
|
|
8907
|
-
Status: string;
|
|
8908
|
-
/**
|
|
8909
|
-
* 工作负载的状况信息
|
|
8910
|
-
* @deprecated
|
|
8911
|
-
*/
|
|
8912
|
-
StatefulSetCondition?: Array<StatefulSetCondition>;
|
|
9614
|
+
export interface StopNotebookRequest {
|
|
8913
9615
|
/**
|
|
8914
|
-
*
|
|
9616
|
+
* notebook id
|
|
8915
9617
|
*/
|
|
8916
|
-
|
|
9618
|
+
Id: string;
|
|
8917
9619
|
/**
|
|
8918
|
-
*
|
|
8919
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9620
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8920
9621
|
*/
|
|
8921
|
-
|
|
9622
|
+
TiProjectId?: string;
|
|
8922
9623
|
}
|
|
8923
9624
|
/**
|
|
8924
9625
|
* DescribeDataSource返回参数结构体
|