tencentcloud-sdk-nodejs-tione 4.1.339 → 4.1.341
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 +1359 -646
|
@@ -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;
|
|
252
|
-
/**
|
|
253
|
-
* <p>日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时</p>
|
|
254
|
-
*/
|
|
255
|
-
StartTime?: string;
|
|
256
|
-
/**
|
|
257
|
-
* <p>日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间</p>
|
|
258
|
-
*/
|
|
259
|
-
EndTime?: string;
|
|
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;
|
|
243
|
+
export interface AccessRule {
|
|
280
244
|
/**
|
|
281
|
-
* <p
|
|
245
|
+
* <p>模块</p>
|
|
282
246
|
*/
|
|
283
|
-
|
|
247
|
+
Module?: string;
|
|
284
248
|
/**
|
|
285
|
-
* <p
|
|
249
|
+
* <p>功能权限点</p>
|
|
286
250
|
*/
|
|
287
|
-
|
|
251
|
+
ActionType?: Array<string>;
|
|
288
252
|
/**
|
|
289
|
-
* <p
|
|
253
|
+
* <p>数据权限点</p>
|
|
290
254
|
*/
|
|
291
|
-
|
|
255
|
+
DataActionType?: Array<string>;
|
|
292
256
|
/**
|
|
293
|
-
* <p
|
|
257
|
+
* <p>功能权限点名称</p>
|
|
294
258
|
*/
|
|
295
|
-
|
|
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
|
-
*
|
|
1283
|
+
* DescribeWorkspaceQuotas返回参数结构体
|
|
1290
1284
|
*/
|
|
1291
|
-
export interface
|
|
1292
|
-
/**
|
|
1293
|
-
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
1294
|
-
*/
|
|
1295
|
-
TiProjectId?: string;
|
|
1285
|
+
export interface DescribeWorkspaceQuotasResponse {
|
|
1296
1286
|
/**
|
|
1297
|
-
*
|
|
1298
|
-
*/
|
|
1299
|
-
Id?: string;
|
|
1300
|
-
/**
|
|
1301
|
-
* 数据源名称
|
|
1302
|
-
*/
|
|
1303
|
-
Name?: string;
|
|
1304
|
-
/**
|
|
1305
|
-
* 数据源权限,取值有RW RO
|
|
1306
|
-
*/
|
|
1307
|
-
Permission?: string;
|
|
1308
|
-
/**
|
|
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存储的配置
|
|
@@ -2042,181 +2096,38 @@ export interface ChatCompletionRequest {
|
|
|
2042
2096
|
/**
|
|
2043
2097
|
* <p>仅当模型为自行部署的开源大模型时生效。默认 512,模型可生成内容的最长 token 数量,最大不能超过模型支持的上下文长度。</p>
|
|
2044
2098
|
*/
|
|
2045
|
-
MaxTokens?: number;
|
|
2046
|
-
}
|
|
2047
|
-
/**
|
|
2048
|
-
*
|
|
2049
|
-
*/
|
|
2050
|
-
export interface
|
|
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,表示取不到有效值。
|
|
2196
|
-
*/
|
|
2197
|
-
CallbackUrl?: string;
|
|
2198
|
-
/**
|
|
2199
|
-
* <p>任务subUin信息</p>
|
|
2200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2201
|
-
*/
|
|
2202
|
-
SubUin?: string;
|
|
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
|
*/
|
|
@@ -2937,6 +2965,14 @@ export interface CreateNotebookRequest {
|
|
|
2937
2965
|
* <p>描述</p>
|
|
2938
2966
|
*/
|
|
2939
2967
|
Description?: string;
|
|
2968
|
+
/**
|
|
2969
|
+
* <p>资源供应属性</p>
|
|
2970
|
+
*/
|
|
2971
|
+
ResourceSupplyAttribute?: ResourceSupplyAttribute;
|
|
2972
|
+
/**
|
|
2973
|
+
* <p>队列ID</p>
|
|
2974
|
+
*/
|
|
2975
|
+
Queues?: Array<string>;
|
|
2940
2976
|
}
|
|
2941
2977
|
/**
|
|
2942
2978
|
* CreatePresignedNotebookUrl返回参数结构体
|
|
@@ -3010,6 +3046,23 @@ export interface HorizontalPodAutoscaler {
|
|
|
3010
3046
|
*/
|
|
3011
3047
|
ScaleDownStabilizationWindowSeconds?: number;
|
|
3012
3048
|
}
|
|
3049
|
+
/**
|
|
3050
|
+
* DescribeWorkspaceMembers返回参数结构体
|
|
3051
|
+
*/
|
|
3052
|
+
export interface DescribeWorkspaceMembersResponse {
|
|
3053
|
+
/**
|
|
3054
|
+
* <p>总数</p>
|
|
3055
|
+
*/
|
|
3056
|
+
TotalCount?: number;
|
|
3057
|
+
/**
|
|
3058
|
+
* <p>用户列表</p>
|
|
3059
|
+
*/
|
|
3060
|
+
Members?: Array<UserRoleInfo>;
|
|
3061
|
+
/**
|
|
3062
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3063
|
+
*/
|
|
3064
|
+
RequestId?: string;
|
|
3065
|
+
}
|
|
3013
3066
|
/**
|
|
3014
3067
|
* CreateTrainingModel返回参数结构体
|
|
3015
3068
|
*/
|
|
@@ -3142,17 +3195,38 @@ export interface ExposePortConfig {
|
|
|
3142
3195
|
ClbHost?: string;
|
|
3143
3196
|
}
|
|
3144
3197
|
/**
|
|
3145
|
-
*
|
|
3198
|
+
* DescribeRoles返回参数结构体
|
|
3146
3199
|
*/
|
|
3147
|
-
export interface
|
|
3200
|
+
export interface DescribeRolesResponse {
|
|
3148
3201
|
/**
|
|
3149
|
-
* <p
|
|
3202
|
+
* <p>总数</p>
|
|
3150
3203
|
*/
|
|
3151
|
-
|
|
3204
|
+
TotalCount?: number;
|
|
3152
3205
|
/**
|
|
3153
|
-
* <p
|
|
3206
|
+
* <p>角色列表</p>
|
|
3154
3207
|
*/
|
|
3155
|
-
|
|
3208
|
+
Roles?: Array<RoleInfo>;
|
|
3209
|
+
/**
|
|
3210
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3211
|
+
*/
|
|
3212
|
+
RequestId?: string;
|
|
3213
|
+
}
|
|
3214
|
+
/**
|
|
3215
|
+
* ModifyModelServiceAuthorization请求参数结构体
|
|
3216
|
+
*/
|
|
3217
|
+
export interface ModifyModelServiceAuthorizationRequest {
|
|
3218
|
+
/**
|
|
3219
|
+
* 服务组Id
|
|
3220
|
+
*/
|
|
3221
|
+
ServiceGroupId: string;
|
|
3222
|
+
/**
|
|
3223
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
3224
|
+
*/
|
|
3225
|
+
TiProjectId?: string;
|
|
3226
|
+
/**
|
|
3227
|
+
* 是否开启鉴权,true表示开启
|
|
3228
|
+
*/
|
|
3229
|
+
AuthorizationEnable?: boolean;
|
|
3156
3230
|
}
|
|
3157
3231
|
/**
|
|
3158
3232
|
* DescribeMountLimits请求参数结构体
|
|
@@ -3208,6 +3282,15 @@ export interface ImageSecret {
|
|
|
3208
3282
|
*/
|
|
3209
3283
|
SecretId?: string;
|
|
3210
3284
|
}
|
|
3285
|
+
/**
|
|
3286
|
+
* DescribeWorkspaceQuotaUsage请求参数结构体
|
|
3287
|
+
*/
|
|
3288
|
+
export interface DescribeWorkspaceQuotaUsageRequest {
|
|
3289
|
+
/**
|
|
3290
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
3291
|
+
*/
|
|
3292
|
+
TiProjectId?: string;
|
|
3293
|
+
}
|
|
3211
3294
|
/**
|
|
3212
3295
|
* DeleteExport返回参数结构体
|
|
3213
3296
|
*/
|
|
@@ -3283,13 +3366,25 @@ export interface ModifyModelServiceAuthTokenRequest {
|
|
|
3283
3366
|
AuthToken?: AuthToken;
|
|
3284
3367
|
}
|
|
3285
3368
|
/**
|
|
3286
|
-
*
|
|
3369
|
+
* ModifyRole请求参数结构体
|
|
3287
3370
|
*/
|
|
3288
|
-
export interface
|
|
3371
|
+
export interface ModifyRoleRequest {
|
|
3289
3372
|
/**
|
|
3290
|
-
*
|
|
3373
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
3291
3374
|
*/
|
|
3292
|
-
|
|
3375
|
+
TiProjectId?: string;
|
|
3376
|
+
/**
|
|
3377
|
+
* <p>角色ID</p>
|
|
3378
|
+
*/
|
|
3379
|
+
RoleId?: string;
|
|
3380
|
+
/**
|
|
3381
|
+
* <p>角色名称</p>
|
|
3382
|
+
*/
|
|
3383
|
+
RoleName?: string;
|
|
3384
|
+
/**
|
|
3385
|
+
* <p>描述</p>
|
|
3386
|
+
*/
|
|
3387
|
+
Description?: string;
|
|
3293
3388
|
}
|
|
3294
3389
|
/**
|
|
3295
3390
|
* 描述标注任务详细信息
|
|
@@ -3437,6 +3532,15 @@ export interface LogIdentity {
|
|
|
3437
3532
|
*/
|
|
3438
3533
|
PkgLogId?: string;
|
|
3439
3534
|
}
|
|
3535
|
+
/**
|
|
3536
|
+
* 服务的调度策略配置
|
|
3537
|
+
*/
|
|
3538
|
+
export interface SchedulingPolicy {
|
|
3539
|
+
/**
|
|
3540
|
+
* 是否启用了跨资源组调度开关
|
|
3541
|
+
*/
|
|
3542
|
+
CrossResourceGroupScheduling?: boolean;
|
|
3543
|
+
}
|
|
3440
3544
|
/**
|
|
3441
3545
|
* 挂载的实例列表
|
|
3442
3546
|
*/
|
|
@@ -3502,11 +3606,36 @@ export interface DescribeDatasetsRequest {
|
|
|
3502
3606
|
/**
|
|
3503
3607
|
* <p>是否检查CFS。若开启,则在CFS挂载好之前,不会返回数据集列表。</p>
|
|
3504
3608
|
*/
|
|
3505
|
-
CFSChecking?: boolean;
|
|
3609
|
+
CFSChecking?: boolean;
|
|
3610
|
+
/**
|
|
3611
|
+
* <p>是否返回CFS详情。</p>
|
|
3612
|
+
*/
|
|
3613
|
+
CFSDetail?: boolean;
|
|
3614
|
+
}
|
|
3615
|
+
/**
|
|
3616
|
+
* 工作空间任务信息
|
|
3617
|
+
*/
|
|
3618
|
+
export interface WorkspaceTaskInfo {
|
|
3619
|
+
/**
|
|
3620
|
+
* <p>任务ID</p>
|
|
3621
|
+
*/
|
|
3622
|
+
TaskId?: string;
|
|
3623
|
+
/**
|
|
3624
|
+
* <p>任务名称</p>
|
|
3625
|
+
*/
|
|
3626
|
+
TaskName?: string;
|
|
3627
|
+
/**
|
|
3628
|
+
* <p>地域</p>
|
|
3629
|
+
*/
|
|
3630
|
+
Region?: string;
|
|
3631
|
+
/**
|
|
3632
|
+
* <p>任务类型</p>
|
|
3633
|
+
*/
|
|
3634
|
+
ResourceTaskType?: string;
|
|
3506
3635
|
/**
|
|
3507
|
-
* <p
|
|
3636
|
+
* <p>任务所属资源组</p>
|
|
3508
3637
|
*/
|
|
3509
|
-
|
|
3638
|
+
ResourceGroupId?: string;
|
|
3510
3639
|
}
|
|
3511
3640
|
/**
|
|
3512
3641
|
* 优化模型版本列表
|
|
@@ -3698,21 +3827,63 @@ export interface TrainParam {
|
|
|
3698
3827
|
*/
|
|
3699
3828
|
export type DescribeInferTemplatesRequest = null;
|
|
3700
3829
|
/**
|
|
3701
|
-
*
|
|
3830
|
+
* DescribeWorkspace返回参数结构体
|
|
3702
3831
|
*/
|
|
3703
|
-
export interface
|
|
3832
|
+
export interface DescribeWorkspaceResponse {
|
|
3704
3833
|
/**
|
|
3705
|
-
*
|
|
3834
|
+
* <p>项目ID</p>
|
|
3706
3835
|
*/
|
|
3707
|
-
|
|
3836
|
+
TiProjectId?: string;
|
|
3708
3837
|
/**
|
|
3709
|
-
* <p
|
|
3838
|
+
* <p>名称</p>
|
|
3710
3839
|
*/
|
|
3711
|
-
|
|
3840
|
+
Name?: string;
|
|
3712
3841
|
/**
|
|
3713
|
-
*
|
|
3842
|
+
* <p>描述</p>
|
|
3714
3843
|
*/
|
|
3715
|
-
|
|
3844
|
+
Description?: string;
|
|
3845
|
+
/**
|
|
3846
|
+
* <p>创建时间</p>
|
|
3847
|
+
*/
|
|
3848
|
+
CreateTime?: string;
|
|
3849
|
+
/**
|
|
3850
|
+
* <p>运行中的任务信息</p>
|
|
3851
|
+
*/
|
|
3852
|
+
RunningTasks?: Array<WorkspaceTaskInfo>;
|
|
3853
|
+
/**
|
|
3854
|
+
* <p>空间创建人信息</p>
|
|
3855
|
+
*/
|
|
3856
|
+
Creator?: UserBriefInfo;
|
|
3857
|
+
/**
|
|
3858
|
+
* <p>当前空间拥有的角色信息</p>
|
|
3859
|
+
*/
|
|
3860
|
+
OwnedRoles?: Array<RoleBriefInfo>;
|
|
3861
|
+
/**
|
|
3862
|
+
* <p>空间成员信息</p>
|
|
3863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3864
|
+
*/
|
|
3865
|
+
MemberInfo?: MemberInfo;
|
|
3866
|
+
/**
|
|
3867
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3868
|
+
*/
|
|
3869
|
+
RequestId?: string;
|
|
3870
|
+
}
|
|
3871
|
+
/**
|
|
3872
|
+
* 训练诊断工具配置
|
|
3873
|
+
*/
|
|
3874
|
+
export interface TrainToolConfig {
|
|
3875
|
+
/**
|
|
3876
|
+
* <p>是否开启 Hang 检测</p><p>默认值:false</p>
|
|
3877
|
+
*/
|
|
3878
|
+
EnableHangMonitor?: boolean;
|
|
3879
|
+
/**
|
|
3880
|
+
* <p>Hang 检测的节点列表</p>
|
|
3881
|
+
*/
|
|
3882
|
+
HangMonitorNodes?: Array<string>;
|
|
3883
|
+
/**
|
|
3884
|
+
* <p>Hang 超时时间</p><p>取值范围:[1, 14400]</p><p>单位:分</p>
|
|
3885
|
+
*/
|
|
3886
|
+
LogHangTimeoutInMinute?: number;
|
|
3716
3887
|
}
|
|
3717
3888
|
/**
|
|
3718
3889
|
* DeleteModelServiceGroup返回参数结构体
|
|
@@ -3723,6 +3894,23 @@ export interface DeleteModelServiceGroupResponse {
|
|
|
3723
3894
|
*/
|
|
3724
3895
|
RequestId?: string;
|
|
3725
3896
|
}
|
|
3897
|
+
/**
|
|
3898
|
+
* DescribeRoleUsers返回参数结构体
|
|
3899
|
+
*/
|
|
3900
|
+
export interface DescribeRoleUsersResponse {
|
|
3901
|
+
/**
|
|
3902
|
+
* <p>符合过滤条件的用户总数</p>
|
|
3903
|
+
*/
|
|
3904
|
+
TotalCount?: number;
|
|
3905
|
+
/**
|
|
3906
|
+
* <p>用户列表</p>
|
|
3907
|
+
*/
|
|
3908
|
+
Users?: Array<UserRoleInfo>;
|
|
3909
|
+
/**
|
|
3910
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3911
|
+
*/
|
|
3912
|
+
RequestId?: string;
|
|
3913
|
+
}
|
|
3726
3914
|
/**
|
|
3727
3915
|
* 对应设备的物料信息
|
|
3728
3916
|
*/
|
|
@@ -3840,32 +4028,21 @@ export interface PresetImageInfo {
|
|
|
3840
4028
|
ImageType?: string;
|
|
3841
4029
|
}
|
|
3842
4030
|
/**
|
|
3843
|
-
*
|
|
4031
|
+
* DescribeTrainingTask请求参数结构体
|
|
3844
4032
|
*/
|
|
3845
|
-
export interface
|
|
3846
|
-
/**
|
|
3847
|
-
* GPU 显卡类型;枚举值: V100 A100 T4
|
|
3848
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3849
|
-
*/
|
|
3850
|
-
Name?: string;
|
|
4033
|
+
export interface DescribeTrainingTaskRequest {
|
|
3851
4034
|
/**
|
|
3852
|
-
*
|
|
3853
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4035
|
+
* 训练任务ID
|
|
3854
4036
|
*/
|
|
3855
|
-
|
|
3856
|
-
}
|
|
3857
|
-
/**
|
|
3858
|
-
* CreateExport返回参数结构体
|
|
3859
|
-
*/
|
|
3860
|
-
export interface CreateExportResponse {
|
|
4037
|
+
Id: string;
|
|
3861
4038
|
/**
|
|
3862
|
-
*
|
|
4039
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
3863
4040
|
*/
|
|
3864
|
-
|
|
4041
|
+
TiProjectId?: string;
|
|
3865
4042
|
/**
|
|
3866
|
-
*
|
|
4043
|
+
* 训练任务实例ID
|
|
3867
4044
|
*/
|
|
3868
|
-
|
|
4045
|
+
InstanceId?: string;
|
|
3869
4046
|
}
|
|
3870
4047
|
/**
|
|
3871
4048
|
* 定时扩缩任务
|
|
@@ -3947,6 +4124,19 @@ export interface PrivateLinkInfo {
|
|
|
3947
4124
|
*/
|
|
3948
4125
|
SubUinName?: string;
|
|
3949
4126
|
}
|
|
4127
|
+
/**
|
|
4128
|
+
* DeleteRole请求参数结构体
|
|
4129
|
+
*/
|
|
4130
|
+
export interface DeleteRoleRequest {
|
|
4131
|
+
/**
|
|
4132
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
4133
|
+
*/
|
|
4134
|
+
TiProjectId?: string;
|
|
4135
|
+
/**
|
|
4136
|
+
* <p>角色ID</p>
|
|
4137
|
+
*/
|
|
4138
|
+
RoleId?: string;
|
|
4139
|
+
}
|
|
3950
4140
|
/**
|
|
3951
4141
|
* DescribeNotebooks返回参数结构体
|
|
3952
4142
|
*/
|
|
@@ -4324,13 +4514,37 @@ export interface SubAccountInfo {
|
|
|
4324
4514
|
UpdateTime?: string;
|
|
4325
4515
|
}
|
|
4326
4516
|
/**
|
|
4327
|
-
*
|
|
4517
|
+
* 资源级权限记录
|
|
4328
4518
|
*/
|
|
4329
|
-
export interface
|
|
4519
|
+
export interface ResourcePermission {
|
|
4330
4520
|
/**
|
|
4331
|
-
*
|
|
4521
|
+
* <p>资源类型</p>
|
|
4332
4522
|
*/
|
|
4333
|
-
|
|
4523
|
+
ResourceType?: string;
|
|
4524
|
+
/**
|
|
4525
|
+
* <p>资源ID</p>
|
|
4526
|
+
*/
|
|
4527
|
+
Id?: string;
|
|
4528
|
+
/**
|
|
4529
|
+
* <p>权限值</p>
|
|
4530
|
+
*/
|
|
4531
|
+
Permission?: string;
|
|
4532
|
+
/**
|
|
4533
|
+
* <p>资源名称</p>
|
|
4534
|
+
*/
|
|
4535
|
+
Name?: string;
|
|
4536
|
+
/**
|
|
4537
|
+
* <p>创建者子账号</p>
|
|
4538
|
+
*/
|
|
4539
|
+
SubUin?: string;
|
|
4540
|
+
/**
|
|
4541
|
+
* <p>创建者昵称</p>
|
|
4542
|
+
*/
|
|
4543
|
+
SubUinName?: string;
|
|
4544
|
+
/**
|
|
4545
|
+
* <p>数据源简要信息</p>
|
|
4546
|
+
*/
|
|
4547
|
+
DataSourceBrief?: DataSourceBrief;
|
|
4334
4548
|
}
|
|
4335
4549
|
/**
|
|
4336
4550
|
* 镜像描述信息
|
|
@@ -4513,82 +4727,218 @@ export interface ServiceInfo {
|
|
|
4513
4727
|
* <p>Pod列表信息</p>
|
|
4514
4728
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4515
4729
|
*/
|
|
4516
|
-
PodInfos?: Array<Pod>;
|
|
4730
|
+
PodInfos?: Array<Pod>;
|
|
4731
|
+
/**
|
|
4732
|
+
* <p>服务限速限流相关配置</p>
|
|
4733
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4734
|
+
*/
|
|
4735
|
+
ServiceLimit?: ServiceLimit;
|
|
4736
|
+
/**
|
|
4737
|
+
* <p>是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。</p>
|
|
4738
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4739
|
+
*/
|
|
4740
|
+
ModelTurboEnable?: boolean;
|
|
4741
|
+
/**
|
|
4742
|
+
* <p>挂载</p>
|
|
4743
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4744
|
+
*/
|
|
4745
|
+
VolumeMount?: VolumeMount;
|
|
4746
|
+
/**
|
|
4747
|
+
* <p>推理代码信息</p>
|
|
4748
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4749
|
+
*/
|
|
4750
|
+
InferCodeInfo?: InferCodeInfo;
|
|
4751
|
+
/**
|
|
4752
|
+
* <p>服务的启动命令</p>
|
|
4753
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4754
|
+
*/
|
|
4755
|
+
Command?: string;
|
|
4756
|
+
/**
|
|
4757
|
+
* <p>开启TIONE内网访问外部设置</p>
|
|
4758
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4759
|
+
*/
|
|
4760
|
+
ServiceEIP?: ServiceEIP;
|
|
4761
|
+
/**
|
|
4762
|
+
* <p>服务端口,默认为8501</p>
|
|
4763
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4764
|
+
*/
|
|
4765
|
+
ServicePort?: number;
|
|
4766
|
+
/**
|
|
4767
|
+
* <p>服务的优雅退出时限。单位为秒,默认值为30,最小为1</p>
|
|
4768
|
+
*/
|
|
4769
|
+
TerminationGracePeriodSeconds?: number;
|
|
4770
|
+
/**
|
|
4771
|
+
* <p>服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束</p>
|
|
4772
|
+
*/
|
|
4773
|
+
PreStopCommand?: Array<string>;
|
|
4774
|
+
/**
|
|
4775
|
+
* <p>是否启用grpc端口</p>
|
|
4776
|
+
*/
|
|
4777
|
+
GrpcEnable?: boolean;
|
|
4778
|
+
/**
|
|
4779
|
+
* <p>健康探针</p>
|
|
4780
|
+
*/
|
|
4781
|
+
HealthProbe?: HealthProbe;
|
|
4782
|
+
/**
|
|
4783
|
+
* <p>滚动更新配置</p>
|
|
4784
|
+
*/
|
|
4785
|
+
RollingUpdate?: RollingUpdate;
|
|
4786
|
+
/**
|
|
4787
|
+
* <p>单副本下的实例数,仅在部署类型为DIST、ROLE时生效,默认1</p>
|
|
4788
|
+
*/
|
|
4789
|
+
InstancePerReplicas?: number;
|
|
4790
|
+
/**
|
|
4791
|
+
* <p>批量数据盘挂载配置</p>
|
|
4792
|
+
*/
|
|
4793
|
+
VolumeMounts?: Array<VolumeMount>;
|
|
4794
|
+
/**
|
|
4795
|
+
* <p>调度策略 [binpack] 优先占满整机,尽量避免碎卡(默认值)[spread] 优先分散在各个节点,确保服务高可用</p>
|
|
4796
|
+
*/
|
|
4797
|
+
SchedulingStrategy?: string;
|
|
4798
|
+
/**
|
|
4799
|
+
* <p>服务实际运行的节点数</p>
|
|
4800
|
+
*/
|
|
4801
|
+
NodeCount?: number;
|
|
4802
|
+
/**
|
|
4803
|
+
* <p>推理模板Id</p><p>参数格式:推理模板 ID</p>
|
|
4804
|
+
*/
|
|
4805
|
+
InferTemplateId?: string;
|
|
4806
|
+
}
|
|
4807
|
+
/**
|
|
4808
|
+
* 出参类型
|
|
4809
|
+
*/
|
|
4810
|
+
export interface TrainingTaskSetItem {
|
|
4811
|
+
/**
|
|
4812
|
+
* <p>训练任务ID</p>
|
|
4813
|
+
*/
|
|
4814
|
+
Id?: string;
|
|
4815
|
+
/**
|
|
4816
|
+
* <p>训练任务名称</p>
|
|
4817
|
+
*/
|
|
4818
|
+
Name?: string;
|
|
4819
|
+
/**
|
|
4820
|
+
* <p>框架名称</p>
|
|
4821
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4822
|
+
*/
|
|
4823
|
+
FrameworkName?: string;
|
|
4824
|
+
/**
|
|
4825
|
+
* <p>训练框架版本</p>
|
|
4826
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4827
|
+
*/
|
|
4828
|
+
FrameworkVersion?: string;
|
|
4829
|
+
/**
|
|
4830
|
+
* <p>框架运行环境</p>
|
|
4831
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4832
|
+
*/
|
|
4833
|
+
FrameworkEnvironment?: string;
|
|
4834
|
+
/**
|
|
4835
|
+
* <p>计费模式</p>
|
|
4836
|
+
*/
|
|
4837
|
+
ChargeType?: string;
|
|
4838
|
+
/**
|
|
4839
|
+
* <p>计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中</p>
|
|
4840
|
+
*/
|
|
4841
|
+
ChargeStatus?: string;
|
|
4842
|
+
/**
|
|
4843
|
+
* <p>预付费专用资源组</p>
|
|
4844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4845
|
+
*/
|
|
4846
|
+
ResourceGroupId?: string;
|
|
4847
|
+
/**
|
|
4848
|
+
* <p>资源配置</p>
|
|
4849
|
+
*/
|
|
4850
|
+
ResourceConfigInfos?: Array<ResourceConfigInfo>;
|
|
4851
|
+
/**
|
|
4852
|
+
* <p>训练模式eg:PS_WORKER、DDP、MPI、HOROVOD</p>
|
|
4853
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4854
|
+
*/
|
|
4855
|
+
TrainingMode?: string;
|
|
4856
|
+
/**
|
|
4857
|
+
* <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>
|
|
4858
|
+
*/
|
|
4859
|
+
Status?: string;
|
|
4860
|
+
/**
|
|
4861
|
+
* <p>运行时长</p>
|
|
4862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4863
|
+
*/
|
|
4864
|
+
RuntimeInSeconds?: number;
|
|
4517
4865
|
/**
|
|
4518
|
-
* <p
|
|
4519
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4866
|
+
* <p>创建时间</p>
|
|
4520
4867
|
*/
|
|
4521
|
-
|
|
4868
|
+
CreateTime?: string;
|
|
4522
4869
|
/**
|
|
4523
|
-
* <p
|
|
4870
|
+
* <p>训练开始时间</p>
|
|
4524
4871
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4525
4872
|
*/
|
|
4526
|
-
|
|
4873
|
+
StartTime?: string;
|
|
4527
4874
|
/**
|
|
4528
|
-
* <p
|
|
4875
|
+
* <p>训练结束时间</p>
|
|
4529
4876
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4530
4877
|
*/
|
|
4531
|
-
|
|
4878
|
+
EndTime?: string;
|
|
4532
4879
|
/**
|
|
4533
|
-
* <p
|
|
4534
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4880
|
+
* <p>训练输出</p>
|
|
4535
4881
|
*/
|
|
4536
|
-
|
|
4882
|
+
Output?: CosPathInfo;
|
|
4537
4883
|
/**
|
|
4538
|
-
* <p
|
|
4884
|
+
* <p>失败原因</p>
|
|
4539
4885
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4540
4886
|
*/
|
|
4541
|
-
|
|
4887
|
+
FailureReason?: string;
|
|
4542
4888
|
/**
|
|
4543
|
-
* <p
|
|
4544
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4889
|
+
* <p>更新时间</p>
|
|
4545
4890
|
*/
|
|
4546
|
-
|
|
4891
|
+
UpdateTime?: string;
|
|
4547
4892
|
/**
|
|
4548
|
-
* <p
|
|
4549
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4893
|
+
* <p>计费金额信息,eg:2.00元/小时 (按量计费)</p>
|
|
4550
4894
|
*/
|
|
4551
|
-
|
|
4895
|
+
BillingInfo?: string;
|
|
4552
4896
|
/**
|
|
4553
|
-
* <p
|
|
4897
|
+
* <p>预付费专用资源组名称</p>
|
|
4554
4898
|
*/
|
|
4555
|
-
|
|
4899
|
+
ResourceGroupName?: string;
|
|
4556
4900
|
/**
|
|
4557
|
-
* <p
|
|
4901
|
+
* <p>自定义镜像信息</p>
|
|
4902
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4558
4903
|
*/
|
|
4559
|
-
|
|
4904
|
+
ImageInfo?: ImageInfo;
|
|
4560
4905
|
/**
|
|
4561
|
-
* <p
|
|
4906
|
+
* <p>任务信息</p>
|
|
4907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4562
4908
|
*/
|
|
4563
|
-
|
|
4909
|
+
Message?: string;
|
|
4564
4910
|
/**
|
|
4565
|
-
* <p
|
|
4911
|
+
* <p>标签配置</p>
|
|
4912
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4566
4913
|
*/
|
|
4567
|
-
|
|
4914
|
+
Tags?: Array<Tag>;
|
|
4568
4915
|
/**
|
|
4569
|
-
* <p
|
|
4916
|
+
* <p>回调地址</p>
|
|
4917
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4570
4918
|
*/
|
|
4571
|
-
|
|
4919
|
+
CallbackUrl?: string;
|
|
4572
4920
|
/**
|
|
4573
|
-
* <p
|
|
4921
|
+
* <p>任务subUin信息</p>
|
|
4922
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4574
4923
|
*/
|
|
4575
|
-
|
|
4924
|
+
SubUin?: string;
|
|
4576
4925
|
/**
|
|
4577
|
-
* <p
|
|
4926
|
+
* <p>任务创建者名称</p>
|
|
4927
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4578
4928
|
*/
|
|
4579
|
-
|
|
4929
|
+
SubUinName?: string;
|
|
4580
4930
|
/**
|
|
4581
|
-
* <p
|
|
4931
|
+
* <p>任务AppId</p>
|
|
4582
4932
|
*/
|
|
4583
|
-
|
|
4933
|
+
AppId?: string;
|
|
4584
4934
|
/**
|
|
4585
|
-
* <p
|
|
4935
|
+
* <p>环境变量</p>
|
|
4586
4936
|
*/
|
|
4587
|
-
|
|
4937
|
+
Envs?: Array<EnvVar>;
|
|
4588
4938
|
/**
|
|
4589
|
-
* <p
|
|
4939
|
+
* <p>操作者信息</p>
|
|
4590
4940
|
*/
|
|
4591
|
-
|
|
4941
|
+
LatestOperatorInfo?: OperatorInfo;
|
|
4592
4942
|
}
|
|
4593
4943
|
/**
|
|
4594
4944
|
* StopNotebook返回参数结构体
|
|
@@ -4599,6 +4949,27 @@ export interface StopNotebookResponse {
|
|
|
4599
4949
|
*/
|
|
4600
4950
|
RequestId?: string;
|
|
4601
4951
|
}
|
|
4952
|
+
/**
|
|
4953
|
+
* ModifyUserGrant请求参数结构体
|
|
4954
|
+
*/
|
|
4955
|
+
export interface ModifyUserGrantRequest {
|
|
4956
|
+
/**
|
|
4957
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
4958
|
+
*/
|
|
4959
|
+
TiProjectId?: string;
|
|
4960
|
+
/**
|
|
4961
|
+
* <p>用户列表</p>
|
|
4962
|
+
*/
|
|
4963
|
+
SubUins?: Array<string>;
|
|
4964
|
+
/**
|
|
4965
|
+
* <p>角色列表</p>
|
|
4966
|
+
*/
|
|
4967
|
+
RoleIds?: Array<string>;
|
|
4968
|
+
/**
|
|
4969
|
+
* <p>授权类型</p>
|
|
4970
|
+
*/
|
|
4971
|
+
Grant?: string;
|
|
4972
|
+
}
|
|
4602
4973
|
/**
|
|
4603
4974
|
* DescribeModelService请求参数结构体
|
|
4604
4975
|
*/
|
|
@@ -4639,6 +5010,36 @@ export interface ModifyModelServiceAuthTokenResponse {
|
|
|
4639
5010
|
*/
|
|
4640
5011
|
RequestId?: string;
|
|
4641
5012
|
}
|
|
5013
|
+
/**
|
|
5014
|
+
* ModifyWorkspaceMembers请求参数结构体
|
|
5015
|
+
*/
|
|
5016
|
+
export interface ModifyWorkspaceMembersRequest {
|
|
5017
|
+
/**
|
|
5018
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
5019
|
+
*/
|
|
5020
|
+
TiProjectId?: string;
|
|
5021
|
+
}
|
|
5022
|
+
/**
|
|
5023
|
+
* 计费项询价结果
|
|
5024
|
+
*/
|
|
5025
|
+
export interface SpecPrice {
|
|
5026
|
+
/**
|
|
5027
|
+
* 计费项名称
|
|
5028
|
+
*/
|
|
5029
|
+
SpecName?: string;
|
|
5030
|
+
/**
|
|
5031
|
+
* 原价,单位:分。最大值42亿,超过则返回0
|
|
5032
|
+
*/
|
|
5033
|
+
TotalCost?: number;
|
|
5034
|
+
/**
|
|
5035
|
+
* 优惠后的价格,单位:分
|
|
5036
|
+
*/
|
|
5037
|
+
RealTotalCost?: number;
|
|
5038
|
+
/**
|
|
5039
|
+
* 计费项数量
|
|
5040
|
+
*/
|
|
5041
|
+
SpecCount?: number;
|
|
5042
|
+
}
|
|
4642
5043
|
/**
|
|
4643
5044
|
* ModifyModelServiceAuthorization返回参数结构体
|
|
4644
5045
|
*/
|
|
@@ -4692,6 +5093,27 @@ export interface DeleteModelServiceAuthTokenRequest {
|
|
|
4692
5093
|
*/
|
|
4693
5094
|
AuthTokenValue?: string;
|
|
4694
5095
|
}
|
|
5096
|
+
/**
|
|
5097
|
+
* ModifyRoleUserGrant请求参数结构体
|
|
5098
|
+
*/
|
|
5099
|
+
export interface ModifyRoleUserGrantRequest {
|
|
5100
|
+
/**
|
|
5101
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
5102
|
+
*/
|
|
5103
|
+
TiProjectId?: string;
|
|
5104
|
+
/**
|
|
5105
|
+
* <p>角色ID列表</p>
|
|
5106
|
+
*/
|
|
5107
|
+
RoleIds?: Array<string>;
|
|
5108
|
+
/**
|
|
5109
|
+
* <p>用户UIN列表</p>
|
|
5110
|
+
*/
|
|
5111
|
+
SubUins?: Array<string>;
|
|
5112
|
+
/**
|
|
5113
|
+
* <p>授权方式</p>
|
|
5114
|
+
*/
|
|
5115
|
+
Grant?: string;
|
|
5116
|
+
}
|
|
4695
5117
|
/**
|
|
4696
5118
|
* CreateTrainingTask请求参数结构体
|
|
4697
5119
|
*/
|
|
@@ -4860,6 +5282,15 @@ export interface StorageExtraConf {
|
|
|
4860
5282
|
*/
|
|
4861
5283
|
CFSProtocol?: string;
|
|
4862
5284
|
}
|
|
5285
|
+
/**
|
|
5286
|
+
* DescribeWorkspaceQuotaUsage返回参数结构体
|
|
5287
|
+
*/
|
|
5288
|
+
export interface DescribeWorkspaceQuotaUsageResponse {
|
|
5289
|
+
/**
|
|
5290
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5291
|
+
*/
|
|
5292
|
+
RequestId?: string;
|
|
5293
|
+
}
|
|
4863
5294
|
/**
|
|
4864
5295
|
* ModifyNotebook返回参数结构体
|
|
4865
5296
|
*/
|
|
@@ -4869,6 +5300,21 @@ export interface ModifyNotebookResponse {
|
|
|
4869
5300
|
*/
|
|
4870
5301
|
RequestId?: string;
|
|
4871
5302
|
}
|
|
5303
|
+
/**
|
|
5304
|
+
* 空间成员信息
|
|
5305
|
+
*/
|
|
5306
|
+
export interface MemberInfo {
|
|
5307
|
+
/**
|
|
5308
|
+
* <p>超管成员列表</p>
|
|
5309
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5310
|
+
*/
|
|
5311
|
+
SuperAdmins?: Array<UserBriefInfo>;
|
|
5312
|
+
/**
|
|
5313
|
+
* <p>空间内管理员列表</p>
|
|
5314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5315
|
+
*/
|
|
5316
|
+
Admins?: Array<UserBriefInfo>;
|
|
5317
|
+
}
|
|
4872
5318
|
/**
|
|
4873
5319
|
* DescribeModelService返回参数结构体
|
|
4874
5320
|
*/
|
|
@@ -5221,25 +5667,25 @@ export interface DescribeAnnotatedTaskListResponse {
|
|
|
5221
5667
|
RequestId?: string;
|
|
5222
5668
|
}
|
|
5223
5669
|
/**
|
|
5224
|
-
*
|
|
5670
|
+
* ModifyRoleAccessRules请求参数结构体
|
|
5225
5671
|
*/
|
|
5226
|
-
export
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5672
|
+
export type ModifyRoleAccessRulesRequest = null;
|
|
5673
|
+
/**
|
|
5674
|
+
* DescribeWorkspace请求参数结构体
|
|
5675
|
+
*/
|
|
5676
|
+
export interface DescribeWorkspaceRequest {
|
|
5231
5677
|
/**
|
|
5232
|
-
*
|
|
5678
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
5233
5679
|
*/
|
|
5234
|
-
|
|
5680
|
+
TiProjectId?: string;
|
|
5235
5681
|
/**
|
|
5236
|
-
*
|
|
5682
|
+
* <p>是否包含运行中的任务</p>
|
|
5237
5683
|
*/
|
|
5238
|
-
|
|
5684
|
+
WithRunningTasks?: boolean;
|
|
5239
5685
|
/**
|
|
5240
|
-
*
|
|
5686
|
+
* <p>是否包含有管理权限的人员信息</p>
|
|
5241
5687
|
*/
|
|
5242
|
-
|
|
5688
|
+
WithMembers?: boolean;
|
|
5243
5689
|
}
|
|
5244
5690
|
/**
|
|
5245
5691
|
* CreateExport请求参数结构体
|
|
@@ -5336,6 +5782,10 @@ export interface SmartRouterResourceSpec {
|
|
|
5336
5782
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5337
5783
|
*/
|
|
5338
5784
|
ResourceSupplyAttribute?: ResourceSupplyAttribute;
|
|
5785
|
+
/**
|
|
5786
|
+
* <p>资源组类型(output only,查询时回显供前端区分资源组表单)。枚举值:NORMAL(托管资源组)/ SW(纳管资源组)。按量计费(ChargeType=POSTPAID_BY_HOUR)时为空;写入时仍以查询到的资源组实际类型为准,调用方无需传入</p>
|
|
5787
|
+
*/
|
|
5788
|
+
ResourceGroupSWType?: string;
|
|
5339
5789
|
}
|
|
5340
5790
|
/**
|
|
5341
5791
|
* DeleteTrainingTask返回参数结构体
|
|
@@ -5786,6 +6236,55 @@ export interface ResourceInfo {
|
|
|
5786
6236
|
*/
|
|
5787
6237
|
Rdma?: number;
|
|
5788
6238
|
}
|
|
6239
|
+
/**
|
|
6240
|
+
* ModifyRoleUserGrant返回参数结构体
|
|
6241
|
+
*/
|
|
6242
|
+
export interface ModifyRoleUserGrantResponse {
|
|
6243
|
+
/**
|
|
6244
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6245
|
+
*/
|
|
6246
|
+
RequestId?: string;
|
|
6247
|
+
}
|
|
6248
|
+
/**
|
|
6249
|
+
* 任务建模Pod信息
|
|
6250
|
+
*/
|
|
6251
|
+
export interface PodInfo {
|
|
6252
|
+
/**
|
|
6253
|
+
* pod名
|
|
6254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6255
|
+
*/
|
|
6256
|
+
Name?: string;
|
|
6257
|
+
/**
|
|
6258
|
+
* pod的IP
|
|
6259
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6260
|
+
*/
|
|
6261
|
+
IP?: string;
|
|
6262
|
+
/**
|
|
6263
|
+
* pod状态。eg:SUBMITTING提交中、PENDING排队中、RUNNING运行中、SUCCEEDED已完成、FAILED异常、TERMINATING停止中、TERMINATED已停止
|
|
6264
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6265
|
+
*/
|
|
6266
|
+
Status?: string;
|
|
6267
|
+
/**
|
|
6268
|
+
* pod启动时间
|
|
6269
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6270
|
+
*/
|
|
6271
|
+
StartTime?: string;
|
|
6272
|
+
/**
|
|
6273
|
+
* pod结束时间
|
|
6274
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6275
|
+
*/
|
|
6276
|
+
EndTime?: string;
|
|
6277
|
+
/**
|
|
6278
|
+
* pod资源配置
|
|
6279
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6280
|
+
*/
|
|
6281
|
+
ResourceConfigInfo?: ResourceConfigInfo;
|
|
6282
|
+
/**
|
|
6283
|
+
* Pod所属任务的SubUin信息
|
|
6284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6285
|
+
*/
|
|
6286
|
+
SubUin?: string;
|
|
6287
|
+
}
|
|
5789
6288
|
/**
|
|
5790
6289
|
* 资源信息
|
|
5791
6290
|
*/
|
|
@@ -5854,17 +6353,54 @@ export interface DataSetConfig {
|
|
|
5854
6353
|
Id: string;
|
|
5855
6354
|
}
|
|
5856
6355
|
/**
|
|
5857
|
-
*
|
|
6356
|
+
* 模型专业参数
|
|
5858
6357
|
*/
|
|
5859
|
-
export interface
|
|
6358
|
+
export interface HyperParameter {
|
|
5860
6359
|
/**
|
|
5861
|
-
*
|
|
6360
|
+
* 最大nnz数
|
|
6361
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6362
|
+
*/
|
|
6363
|
+
MaxNNZ?: string;
|
|
6364
|
+
/**
|
|
6365
|
+
* slot数
|
|
6366
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6367
|
+
*/
|
|
6368
|
+
SlotNum?: string;
|
|
6369
|
+
/**
|
|
6370
|
+
* gpu cache 使用率
|
|
6371
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6372
|
+
*/
|
|
6373
|
+
CpuCachePercentage?: string;
|
|
6374
|
+
/**
|
|
6375
|
+
* cpu cache 使用率
|
|
6376
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6377
|
+
*/
|
|
6378
|
+
GpuCachePercentage?: string;
|
|
6379
|
+
/**
|
|
6380
|
+
* 是否开启分布式模式(true/false)
|
|
6381
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6382
|
+
*/
|
|
6383
|
+
EnableDistributed?: string;
|
|
6384
|
+
/**
|
|
6385
|
+
* TORCH_SCRIPT、MMDETECTION、DETECTRON2、HUGGINGFACE格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为3
|
|
6386
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6387
|
+
*/
|
|
6388
|
+
MinBlockSizePt?: string;
|
|
6389
|
+
/**
|
|
6390
|
+
* FROZEN_GRAPH、SAVED_MODEL格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为10
|
|
6391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6392
|
+
*/
|
|
6393
|
+
MinBlockSizeTf?: string;
|
|
6394
|
+
/**
|
|
6395
|
+
* Stable Diffusion 模型优化参数
|
|
6396
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5862
6397
|
*/
|
|
5863
|
-
|
|
6398
|
+
PipelineArgs?: string;
|
|
5864
6399
|
/**
|
|
5865
|
-
*
|
|
6400
|
+
* Stable Diffusion 模型优化参数,控制Lora模型的影响效果
|
|
6401
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5866
6402
|
*/
|
|
5867
|
-
|
|
6403
|
+
LoraScale?: string;
|
|
5868
6404
|
}
|
|
5869
6405
|
/**
|
|
5870
6406
|
* DescribeNotebooks请求参数结构体
|
|
@@ -5912,6 +6448,19 @@ export interface CamTag {
|
|
|
5912
6448
|
*/
|
|
5913
6449
|
Value: string;
|
|
5914
6450
|
}
|
|
6451
|
+
/**
|
|
6452
|
+
* DeleteDataset返回参数结构体
|
|
6453
|
+
*/
|
|
6454
|
+
export interface DeleteDatasetResponse {
|
|
6455
|
+
/**
|
|
6456
|
+
* <p>删除的datasetId</p>
|
|
6457
|
+
*/
|
|
6458
|
+
DatasetId?: string;
|
|
6459
|
+
/**
|
|
6460
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6461
|
+
*/
|
|
6462
|
+
RequestId?: string;
|
|
6463
|
+
}
|
|
5915
6464
|
/**
|
|
5916
6465
|
* DeleteNotebook返回参数结构体
|
|
5917
6466
|
*/
|
|
@@ -5922,17 +6471,69 @@ export interface DeleteNotebookResponse {
|
|
|
5922
6471
|
RequestId?: string;
|
|
5923
6472
|
}
|
|
5924
6473
|
/**
|
|
5925
|
-
*
|
|
6474
|
+
* DeleteRole返回参数结构体
|
|
5926
6475
|
*/
|
|
5927
|
-
export interface
|
|
6476
|
+
export interface DeleteRoleResponse {
|
|
5928
6477
|
/**
|
|
5929
|
-
*
|
|
6478
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5930
6479
|
*/
|
|
5931
|
-
|
|
6480
|
+
RequestId?: string;
|
|
6481
|
+
}
|
|
6482
|
+
/**
|
|
6483
|
+
* DescribeModelServiceHotUpdated请求参数结构体
|
|
6484
|
+
*/
|
|
6485
|
+
export interface DescribeModelServiceHotUpdatedRequest {
|
|
5932
6486
|
/**
|
|
5933
|
-
*
|
|
6487
|
+
* 镜像信息,配置服务运行所需的镜像地址等信息
|
|
5934
6488
|
*/
|
|
5935
|
-
|
|
6489
|
+
ImageInfo: ImageInfo;
|
|
6490
|
+
/**
|
|
6491
|
+
* 模型信息,需要挂载模型时填写
|
|
6492
|
+
*/
|
|
6493
|
+
ModelInfo?: ModelInfo;
|
|
6494
|
+
/**
|
|
6495
|
+
* 挂载信息
|
|
6496
|
+
*/
|
|
6497
|
+
VolumeMount?: VolumeMount;
|
|
6498
|
+
}
|
|
6499
|
+
/**
|
|
6500
|
+
* 指标数据
|
|
6501
|
+
*/
|
|
6502
|
+
export interface MetricData {
|
|
6503
|
+
/**
|
|
6504
|
+
* 训练任务id
|
|
6505
|
+
*/
|
|
6506
|
+
TaskId: string;
|
|
6507
|
+
/**
|
|
6508
|
+
* 时间戳.unix timestamp,单位为秒
|
|
6509
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6510
|
+
*/
|
|
6511
|
+
Timestamp?: number;
|
|
6512
|
+
/**
|
|
6513
|
+
* 用户uin
|
|
6514
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6515
|
+
*/
|
|
6516
|
+
Uin?: string;
|
|
6517
|
+
/**
|
|
6518
|
+
* 本次上报数据所处的训练周期数。
|
|
6519
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6520
|
+
*/
|
|
6521
|
+
Epoch?: number;
|
|
6522
|
+
/**
|
|
6523
|
+
* 本次上报数据所处的训练迭代次数。
|
|
6524
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6525
|
+
*/
|
|
6526
|
+
Step?: number;
|
|
6527
|
+
/**
|
|
6528
|
+
* 训练停止所需的迭代总数。
|
|
6529
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6530
|
+
*/
|
|
6531
|
+
TotalSteps?: number;
|
|
6532
|
+
/**
|
|
6533
|
+
* 数据点。数组元素为不同指标的数据。数组长度不超过10。
|
|
6534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6535
|
+
*/
|
|
6536
|
+
Points?: Array<DataPoint>;
|
|
5936
6537
|
}
|
|
5937
6538
|
/**
|
|
5938
6539
|
* CreateModelServiceAuthToken返回参数结构体
|
|
@@ -6190,21 +6791,46 @@ export interface NotebookDetail {
|
|
|
6190
6791
|
LatestOperatorInfo?: OperatorInfo;
|
|
6191
6792
|
}
|
|
6192
6793
|
/**
|
|
6193
|
-
*
|
|
6794
|
+
* 表格数据集表头信息
|
|
6194
6795
|
*/
|
|
6195
|
-
export interface
|
|
6796
|
+
export interface SchemaInfo {
|
|
6196
6797
|
/**
|
|
6197
|
-
*
|
|
6798
|
+
* 长度30字符内
|
|
6198
6799
|
*/
|
|
6199
|
-
|
|
6800
|
+
Name: string;
|
|
6200
6801
|
/**
|
|
6201
|
-
*
|
|
6802
|
+
* 数据类型
|
|
6202
6803
|
*/
|
|
6203
|
-
|
|
6804
|
+
Type: string;
|
|
6805
|
+
}
|
|
6806
|
+
/**
|
|
6807
|
+
* DescribeAccessRules返回参数结构体
|
|
6808
|
+
*/
|
|
6809
|
+
export interface DescribeAccessRulesResponse {
|
|
6204
6810
|
/**
|
|
6205
|
-
* <p
|
|
6811
|
+
* <p>当前用户有哪些权限</p>
|
|
6206
6812
|
*/
|
|
6207
|
-
|
|
6813
|
+
AccessRules?: Array<AccessRule>;
|
|
6814
|
+
/**
|
|
6815
|
+
* <p>权限点全量集合</p>
|
|
6816
|
+
*/
|
|
6817
|
+
FullAccessRules?: Array<AccessRule>;
|
|
6818
|
+
/**
|
|
6819
|
+
* <p>当前用户拥有的空间外角色</p>
|
|
6820
|
+
*/
|
|
6821
|
+
GlobalRoles?: Array<string>;
|
|
6822
|
+
/**
|
|
6823
|
+
* <p>当前用户可见的空间列表</p>
|
|
6824
|
+
*/
|
|
6825
|
+
Workspaces?: Array<Workspace>;
|
|
6826
|
+
/**
|
|
6827
|
+
* <p>当前用户有哪些空间外权限</p>
|
|
6828
|
+
*/
|
|
6829
|
+
OutsideAccessRules?: Array<AccessRule>;
|
|
6830
|
+
/**
|
|
6831
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6832
|
+
*/
|
|
6833
|
+
RequestId?: string;
|
|
6208
6834
|
}
|
|
6209
6835
|
/**
|
|
6210
6836
|
* ModifyModelService返回参数结构体
|
|
@@ -6221,44 +6847,25 @@ export interface ModifyModelServiceResponse {
|
|
|
6221
6847
|
RequestId?: string;
|
|
6222
6848
|
}
|
|
6223
6849
|
/**
|
|
6224
|
-
*
|
|
6850
|
+
* 数据源简要信息
|
|
6225
6851
|
*/
|
|
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;
|
|
6852
|
+
export interface DataSourceBrief {
|
|
6242
6853
|
/**
|
|
6243
|
-
*
|
|
6244
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6854
|
+
* <p>存储实例ID</p>
|
|
6245
6855
|
*/
|
|
6246
|
-
|
|
6856
|
+
StorageId?: string;
|
|
6247
6857
|
/**
|
|
6248
|
-
*
|
|
6249
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6858
|
+
* <p>存储实例名称</p>
|
|
6250
6859
|
*/
|
|
6251
|
-
|
|
6860
|
+
StorageName?: string;
|
|
6252
6861
|
/**
|
|
6253
|
-
*
|
|
6254
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6862
|
+
* <p>存储目录</p>
|
|
6255
6863
|
*/
|
|
6256
|
-
|
|
6864
|
+
WorkDir?: string;
|
|
6257
6865
|
/**
|
|
6258
|
-
*
|
|
6259
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6866
|
+
* <p>数据源读写权限,RW/RO</p>
|
|
6260
6867
|
*/
|
|
6261
|
-
|
|
6868
|
+
Permission?: string;
|
|
6262
6869
|
}
|
|
6263
6870
|
/**
|
|
6264
6871
|
* 探针行为
|
|
@@ -6636,6 +7243,21 @@ export interface ServiceLimit {
|
|
|
6636
7243
|
*/
|
|
6637
7244
|
InstanceReqLimit?: number;
|
|
6638
7245
|
}
|
|
7246
|
+
/**
|
|
7247
|
+
* 角色简要信息
|
|
7248
|
+
*/
|
|
7249
|
+
export interface RoleBriefInfo {
|
|
7250
|
+
/**
|
|
7251
|
+
* <p>角色id</p>
|
|
7252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7253
|
+
*/
|
|
7254
|
+
RoleId?: string;
|
|
7255
|
+
/**
|
|
7256
|
+
* <p>角色名称</p>
|
|
7257
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7258
|
+
*/
|
|
7259
|
+
RoleName?: string;
|
|
7260
|
+
}
|
|
6639
7261
|
/**
|
|
6640
7262
|
* DescribeModelServiceGroup返回参数结构体
|
|
6641
7263
|
*/
|
|
@@ -6964,6 +7586,21 @@ export interface PublicAlgoVersion {
|
|
|
6964
7586
|
*/
|
|
6965
7587
|
PublicAlgoSeriesId?: string;
|
|
6966
7588
|
}
|
|
7589
|
+
/**
|
|
7590
|
+
* 用户简要信息
|
|
7591
|
+
*/
|
|
7592
|
+
export interface UserBriefInfo {
|
|
7593
|
+
/**
|
|
7594
|
+
* <p>子用户uin</p>
|
|
7595
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7596
|
+
*/
|
|
7597
|
+
SubUin?: string;
|
|
7598
|
+
/**
|
|
7599
|
+
* <p>子用户名</p>
|
|
7600
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7601
|
+
*/
|
|
7602
|
+
SubUinName?: string;
|
|
7603
|
+
}
|
|
6967
7604
|
/**
|
|
6968
7605
|
* 共享弹性网卡信息
|
|
6969
7606
|
*/
|
|
@@ -7002,13 +7639,17 @@ export interface DescribeTrainingTasksResponse {
|
|
|
7002
7639
|
RequestId?: string;
|
|
7003
7640
|
}
|
|
7004
7641
|
/**
|
|
7005
|
-
*
|
|
7642
|
+
* DescribeRoleUsers请求参数结构体
|
|
7006
7643
|
*/
|
|
7007
|
-
export interface
|
|
7644
|
+
export interface DescribeRoleUsersRequest {
|
|
7008
7645
|
/**
|
|
7009
|
-
*
|
|
7646
|
+
* <p>角色ID</p>
|
|
7010
7647
|
*/
|
|
7011
|
-
|
|
7648
|
+
RoleId: string;
|
|
7649
|
+
/**
|
|
7650
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7651
|
+
*/
|
|
7652
|
+
TiProjectId?: string;
|
|
7012
7653
|
}
|
|
7013
7654
|
/**
|
|
7014
7655
|
* DescribeModelAccelerateTask请求参数结构体
|
|
@@ -7049,18 +7690,57 @@ export interface Container {
|
|
|
7049
7690
|
Status: ContainerStatus;
|
|
7050
7691
|
}
|
|
7051
7692
|
/**
|
|
7052
|
-
*
|
|
7693
|
+
* ModifyUserGrant返回参数结构体
|
|
7053
7694
|
*/
|
|
7054
|
-
export interface
|
|
7695
|
+
export interface ModifyUserGrantResponse {
|
|
7055
7696
|
/**
|
|
7056
|
-
*
|
|
7697
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7057
7698
|
*/
|
|
7058
|
-
|
|
7699
|
+
RequestId?: string;
|
|
7700
|
+
}
|
|
7701
|
+
/**
|
|
7702
|
+
* UpdateSubAccountLinuxUserInfo返回参数结构体
|
|
7703
|
+
*/
|
|
7704
|
+
export interface UpdateSubAccountLinuxUserInfoResponse {
|
|
7705
|
+
/**
|
|
7706
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7707
|
+
*/
|
|
7708
|
+
RequestId?: string;
|
|
7709
|
+
}
|
|
7710
|
+
/**
|
|
7711
|
+
* CreateRole返回参数结构体
|
|
7712
|
+
*/
|
|
7713
|
+
export interface CreateRoleResponse {
|
|
7714
|
+
/**
|
|
7715
|
+
* <p>角色ID</p>
|
|
7716
|
+
*/
|
|
7717
|
+
RoleId?: string;
|
|
7059
7718
|
/**
|
|
7060
7719
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7061
7720
|
*/
|
|
7062
7721
|
RequestId?: string;
|
|
7063
7722
|
}
|
|
7723
|
+
/**
|
|
7724
|
+
* 用户+角色信息
|
|
7725
|
+
*/
|
|
7726
|
+
export interface UserRoleInfo {
|
|
7727
|
+
/**
|
|
7728
|
+
* <p>子账号</p>
|
|
7729
|
+
*/
|
|
7730
|
+
SubUin?: string;
|
|
7731
|
+
/**
|
|
7732
|
+
* <p>名称</p>
|
|
7733
|
+
*/
|
|
7734
|
+
NickName?: string;
|
|
7735
|
+
/**
|
|
7736
|
+
* <p>创建时间</p>
|
|
7737
|
+
*/
|
|
7738
|
+
CreateTime?: string;
|
|
7739
|
+
/**
|
|
7740
|
+
* <p>角色列表</p>
|
|
7741
|
+
*/
|
|
7742
|
+
Roles?: Array<RoleInfo>;
|
|
7743
|
+
}
|
|
7064
7744
|
/**
|
|
7065
7745
|
* 挂载限制
|
|
7066
7746
|
*/
|
|
@@ -7520,41 +8200,74 @@ export interface ResourceSpec {
|
|
|
7520
8200
|
*/
|
|
7521
8201
|
export interface DescribeLogsResponse {
|
|
7522
8202
|
/**
|
|
7523
|
-
* <p>分页的游标</p>
|
|
7524
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8203
|
+
* <p>分页的游标</p>
|
|
8204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8205
|
+
*/
|
|
8206
|
+
Context?: string;
|
|
8207
|
+
/**
|
|
8208
|
+
* <p>日志数组</p>
|
|
8209
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8210
|
+
*/
|
|
8211
|
+
Content?: Array<LogIdentity>;
|
|
8212
|
+
/**
|
|
8213
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8214
|
+
*/
|
|
8215
|
+
RequestId?: string;
|
|
8216
|
+
}
|
|
8217
|
+
/**
|
|
8218
|
+
* DeleteTrainingTask请求参数结构体
|
|
8219
|
+
*/
|
|
8220
|
+
export interface DeleteTrainingTaskRequest {
|
|
8221
|
+
/**
|
|
8222
|
+
* 训练任务ID
|
|
8223
|
+
*/
|
|
8224
|
+
Id: string;
|
|
8225
|
+
/**
|
|
8226
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8227
|
+
*/
|
|
8228
|
+
TiProjectId?: string;
|
|
8229
|
+
}
|
|
8230
|
+
/**
|
|
8231
|
+
* 键值对
|
|
8232
|
+
*/
|
|
8233
|
+
export interface Option {
|
|
8234
|
+
/**
|
|
8235
|
+
* <p>指标名</p>
|
|
8236
|
+
*/
|
|
8237
|
+
Name: string;
|
|
8238
|
+
/**
|
|
8239
|
+
* <p>指标值</p>
|
|
8240
|
+
*/
|
|
8241
|
+
Value: number;
|
|
8242
|
+
}
|
|
8243
|
+
/**
|
|
8244
|
+
* 角色信息
|
|
8245
|
+
*/
|
|
8246
|
+
export interface RoleInfo {
|
|
8247
|
+
/**
|
|
8248
|
+
* <p>角色ID</p>
|
|
7525
8249
|
*/
|
|
7526
|
-
|
|
8250
|
+
RoleId?: string;
|
|
7527
8251
|
/**
|
|
7528
|
-
* <p
|
|
7529
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8252
|
+
* <p>名称</p>
|
|
7530
8253
|
*/
|
|
7531
|
-
|
|
8254
|
+
RoleName?: string;
|
|
7532
8255
|
/**
|
|
7533
|
-
*
|
|
8256
|
+
* <p>角色类型。"SYSTEM" 内置角色,"CUSTOMER" 自定义角色</p>
|
|
7534
8257
|
*/
|
|
7535
|
-
|
|
7536
|
-
}
|
|
7537
|
-
/**
|
|
7538
|
-
* 编码后的启动命令信息
|
|
7539
|
-
*/
|
|
7540
|
-
export interface EncodedStartCmdInfo {
|
|
8258
|
+
RoleType?: string;
|
|
7541
8259
|
/**
|
|
7542
|
-
*
|
|
8260
|
+
* <p>描述</p>
|
|
7543
8261
|
*/
|
|
7544
|
-
|
|
7545
|
-
}
|
|
7546
|
-
/**
|
|
7547
|
-
* StopNotebook请求参数结构体
|
|
7548
|
-
*/
|
|
7549
|
-
export interface StopNotebookRequest {
|
|
8262
|
+
Description?: string;
|
|
7550
8263
|
/**
|
|
7551
|
-
*
|
|
8264
|
+
* <p>创建时间</p>
|
|
7552
8265
|
*/
|
|
7553
|
-
|
|
8266
|
+
CreateTime?: string;
|
|
7554
8267
|
/**
|
|
7555
|
-
* <p
|
|
8268
|
+
* <p>绑定的用户数</p>
|
|
7556
8269
|
*/
|
|
7557
|
-
|
|
8270
|
+
UserCount?: number;
|
|
7558
8271
|
}
|
|
7559
8272
|
/**
|
|
7560
8273
|
* DeleteModelServiceGroup请求参数结构体
|
|
@@ -7860,7 +8573,7 @@ export interface DescribeBillingResourceGroupRequest {
|
|
|
7860
8573
|
*/
|
|
7861
8574
|
ResourceGroupId: string;
|
|
7862
8575
|
/**
|
|
7863
|
-
* <p>TI工作空间ID</p><p
|
|
8576
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7864
8577
|
*/
|
|
7865
8578
|
TiProjectId?: string;
|
|
7866
8579
|
/**
|
|
@@ -7920,25 +8633,21 @@ export interface SSHConfig {
|
|
|
7920
8633
|
PodSSHInfo?: PodSSHInfo;
|
|
7921
8634
|
}
|
|
7922
8635
|
/**
|
|
7923
|
-
*
|
|
8636
|
+
* CreateRole请求参数结构体
|
|
7924
8637
|
*/
|
|
7925
|
-
export interface
|
|
8638
|
+
export interface CreateRoleRequest {
|
|
7926
8639
|
/**
|
|
7927
8640
|
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7928
8641
|
*/
|
|
7929
8642
|
TiProjectId?: string;
|
|
7930
8643
|
/**
|
|
7931
|
-
*
|
|
7932
|
-
*/
|
|
7933
|
-
Offset?: number;
|
|
7934
|
-
/**
|
|
7935
|
-
* 每页数量(0 表示全量)
|
|
8644
|
+
* <p>角色名称</p>
|
|
7936
8645
|
*/
|
|
7937
|
-
|
|
8646
|
+
RoleName?: string;
|
|
7938
8647
|
/**
|
|
7939
|
-
*
|
|
8648
|
+
* <p>角色备注</p>
|
|
7940
8649
|
*/
|
|
7941
|
-
|
|
8650
|
+
Description?: string;
|
|
7942
8651
|
}
|
|
7943
8652
|
/**
|
|
7944
8653
|
* ChatCompletion返回参数结构体
|
|
@@ -7978,6 +8687,39 @@ export interface GooseFSx {
|
|
|
7978
8687
|
*/
|
|
7979
8688
|
Path?: string;
|
|
7980
8689
|
}
|
|
8690
|
+
/**
|
|
8691
|
+
* DescribeWorkspaceMembers请求参数结构体
|
|
8692
|
+
*/
|
|
8693
|
+
export interface DescribeWorkspaceMembersRequest {
|
|
8694
|
+
/**
|
|
8695
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8696
|
+
*/
|
|
8697
|
+
TiProjectId?: string;
|
|
8698
|
+
/**
|
|
8699
|
+
* <p>过滤条件</p>
|
|
8700
|
+
*/
|
|
8701
|
+
Filters?: Array<Filter>;
|
|
8702
|
+
/**
|
|
8703
|
+
* <p>偏移量</p>
|
|
8704
|
+
*/
|
|
8705
|
+
Offset?: number;
|
|
8706
|
+
/**
|
|
8707
|
+
* <p>数量</p>
|
|
8708
|
+
*/
|
|
8709
|
+
Limit?: number;
|
|
8710
|
+
/**
|
|
8711
|
+
* <p>排序字段</p>
|
|
8712
|
+
*/
|
|
8713
|
+
OrderField?: string;
|
|
8714
|
+
/**
|
|
8715
|
+
* <p>排序方式</p>
|
|
8716
|
+
*/
|
|
8717
|
+
Order?: string;
|
|
8718
|
+
/**
|
|
8719
|
+
* <p>是否包含角色信息</p>
|
|
8720
|
+
*/
|
|
8721
|
+
WithRoles?: boolean;
|
|
8722
|
+
}
|
|
7981
8723
|
/**
|
|
7982
8724
|
* 聚合后的公共算法版本
|
|
7983
8725
|
*/
|
|
@@ -8007,18 +8749,43 @@ export interface DescribeTrainingTaskPodsRequest {
|
|
|
8007
8749
|
TiProjectId?: string;
|
|
8008
8750
|
}
|
|
8009
8751
|
/**
|
|
8010
|
-
*
|
|
8752
|
+
* UpdateMountLimit返回参数结构体
|
|
8011
8753
|
*/
|
|
8012
|
-
export interface
|
|
8013
|
-
/**
|
|
8014
|
-
* <p>模型版本列表</p>
|
|
8015
|
-
*/
|
|
8016
|
-
TrainingModelVersions?: Array<TrainingModelVersionDTO>;
|
|
8754
|
+
export interface UpdateMountLimitResponse {
|
|
8017
8755
|
/**
|
|
8018
8756
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8019
8757
|
*/
|
|
8020
8758
|
RequestId?: string;
|
|
8021
8759
|
}
|
|
8760
|
+
/**
|
|
8761
|
+
* DescribeRole请求参数结构体
|
|
8762
|
+
*/
|
|
8763
|
+
export interface DescribeRoleRequest {
|
|
8764
|
+
/**
|
|
8765
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8766
|
+
*/
|
|
8767
|
+
TiProjectId?: string;
|
|
8768
|
+
/**
|
|
8769
|
+
* <p>角色ID</p>
|
|
8770
|
+
*/
|
|
8771
|
+
RoleId?: string;
|
|
8772
|
+
/**
|
|
8773
|
+
* <p>资源类型</p>
|
|
8774
|
+
*/
|
|
8775
|
+
ResourceType?: string;
|
|
8776
|
+
/**
|
|
8777
|
+
* <p>偏移值</p>
|
|
8778
|
+
*/
|
|
8779
|
+
Offset?: number;
|
|
8780
|
+
/**
|
|
8781
|
+
* <p>分页数量</p>
|
|
8782
|
+
*/
|
|
8783
|
+
Limit?: number;
|
|
8784
|
+
/**
|
|
8785
|
+
* <p>过滤条件</p>
|
|
8786
|
+
*/
|
|
8787
|
+
Filters?: Array<Filter>;
|
|
8788
|
+
}
|
|
8022
8789
|
/**
|
|
8023
8790
|
* DescribeSubAccountLinuxUserInfos返回参数结构体
|
|
8024
8791
|
*/
|
|
@@ -8561,21 +9328,21 @@ export interface DeleteTrainingModelRequest {
|
|
|
8561
9328
|
ModelVersionType?: string;
|
|
8562
9329
|
}
|
|
8563
9330
|
/**
|
|
8564
|
-
*
|
|
9331
|
+
* DescribeBillingResourceInstanceRunningJobs请求参数结构体
|
|
8565
9332
|
*/
|
|
8566
|
-
export interface
|
|
9333
|
+
export interface DescribeBillingResourceInstanceRunningJobsRequest {
|
|
8567
9334
|
/**
|
|
8568
|
-
*
|
|
9335
|
+
* 资源组id
|
|
8569
9336
|
*/
|
|
8570
|
-
|
|
9337
|
+
ResourceGroupId: string;
|
|
8571
9338
|
/**
|
|
8572
|
-
*
|
|
9339
|
+
* 资源组节点id
|
|
8573
9340
|
*/
|
|
8574
|
-
|
|
9341
|
+
ResourceInstanceId: string;
|
|
8575
9342
|
/**
|
|
8576
|
-
*
|
|
9343
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8577
9344
|
*/
|
|
8578
|
-
|
|
9345
|
+
TiProjectId?: string;
|
|
8579
9346
|
}
|
|
8580
9347
|
/**
|
|
8581
9348
|
* DescribeTrainingTask返回参数结构体
|
|
@@ -8696,44 +9463,22 @@ export interface DescribePlatformImagesRequest {
|
|
|
8696
9463
|
Limit?: number;
|
|
8697
9464
|
}
|
|
8698
9465
|
/**
|
|
8699
|
-
*
|
|
9466
|
+
* ModifyRoleAccessRules返回参数结构体
|
|
8700
9467
|
*/
|
|
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;
|
|
9468
|
+
export interface ModifyRoleAccessRulesResponse {
|
|
8710
9469
|
/**
|
|
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>
|
|
9470
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8731
9471
|
*/
|
|
8732
|
-
|
|
9472
|
+
RequestId?: string;
|
|
9473
|
+
}
|
|
9474
|
+
/**
|
|
9475
|
+
* DescribeWorkspaceQuotas请求参数结构体
|
|
9476
|
+
*/
|
|
9477
|
+
export interface DescribeWorkspaceQuotasRequest {
|
|
8733
9478
|
/**
|
|
8734
|
-
* <p
|
|
9479
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8735
9480
|
*/
|
|
8736
|
-
|
|
9481
|
+
TiProjectId?: string;
|
|
8737
9482
|
}
|
|
8738
9483
|
/**
|
|
8739
9484
|
* 探针结构信息
|
|
@@ -8765,52 +9510,55 @@ export interface Probe {
|
|
|
8765
9510
|
SuccessThreshold?: number;
|
|
8766
9511
|
}
|
|
8767
9512
|
/**
|
|
8768
|
-
*
|
|
9513
|
+
* 默认Nginx网关结构
|
|
8769
9514
|
*/
|
|
8770
|
-
export interface
|
|
9515
|
+
export interface DefaultNginxGatewayCallInfo {
|
|
8771
9516
|
/**
|
|
8772
|
-
*
|
|
9517
|
+
* host
|
|
9518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8773
9519
|
*/
|
|
8774
|
-
|
|
9520
|
+
Host?: string;
|
|
8775
9521
|
}
|
|
8776
9522
|
/**
|
|
8777
|
-
*
|
|
9523
|
+
* DescribeRole返回参数结构体
|
|
8778
9524
|
*/
|
|
8779
|
-
export interface
|
|
9525
|
+
export interface DescribeRoleResponse {
|
|
8780
9526
|
/**
|
|
8781
|
-
*
|
|
9527
|
+
* <p>角色ID</p>
|
|
8782
9528
|
*/
|
|
8783
|
-
|
|
9529
|
+
RoleId?: string;
|
|
8784
9530
|
/**
|
|
8785
|
-
*
|
|
8786
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9531
|
+
* <p>角色名称</p>
|
|
8787
9532
|
*/
|
|
8788
|
-
|
|
9533
|
+
RoleName?: string;
|
|
8789
9534
|
/**
|
|
8790
|
-
*
|
|
8791
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9535
|
+
* <p>角色类型</p>
|
|
8792
9536
|
*/
|
|
8793
|
-
|
|
9537
|
+
RoleType?: string;
|
|
8794
9538
|
/**
|
|
8795
|
-
*
|
|
8796
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9539
|
+
* <p>描述</p>
|
|
8797
9540
|
*/
|
|
8798
|
-
|
|
9541
|
+
Description?: string;
|
|
8799
9542
|
/**
|
|
8800
|
-
*
|
|
8801
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9543
|
+
* <p>创建时间</p>
|
|
8802
9544
|
*/
|
|
8803
|
-
|
|
9545
|
+
CreateTime?: string;
|
|
8804
9546
|
/**
|
|
8805
|
-
*
|
|
8806
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9547
|
+
* <p>权限规则列表</p>
|
|
8807
9548
|
*/
|
|
8808
|
-
|
|
9549
|
+
AccessRules?: Array<AccessRule>;
|
|
8809
9550
|
/**
|
|
8810
|
-
*
|
|
8811
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9551
|
+
* <p>资源级权限列表</p>
|
|
8812
9552
|
*/
|
|
8813
|
-
|
|
9553
|
+
ResourcePermissions?: Array<ResourcePermission>;
|
|
9554
|
+
/**
|
|
9555
|
+
* <p>总数</p>
|
|
9556
|
+
*/
|
|
9557
|
+
TotalCount?: number;
|
|
9558
|
+
/**
|
|
9559
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9560
|
+
*/
|
|
9561
|
+
RequestId?: string;
|
|
8814
9562
|
}
|
|
8815
9563
|
/**
|
|
8816
9564
|
* DeleteTrainingModelVersion请求参数结构体
|
|
@@ -8830,13 +9578,13 @@ export interface DeleteTrainingModelVersionRequest {
|
|
|
8830
9578
|
EnableDeleteCos?: boolean;
|
|
8831
9579
|
}
|
|
8832
9580
|
/**
|
|
8833
|
-
*
|
|
9581
|
+
* CreateExport返回参数结构体
|
|
8834
9582
|
*/
|
|
8835
|
-
export interface
|
|
9583
|
+
export interface CreateExportResponse {
|
|
8836
9584
|
/**
|
|
8837
|
-
*
|
|
9585
|
+
* 日志下载任务的ID
|
|
8838
9586
|
*/
|
|
8839
|
-
|
|
9587
|
+
ExportId?: string;
|
|
8840
9588
|
/**
|
|
8841
9589
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8842
9590
|
*/
|
|
@@ -8873,52 +9621,17 @@ export interface DescribeTrainingModelVersionResponse {
|
|
|
8873
9621
|
RequestId?: string;
|
|
8874
9622
|
}
|
|
8875
9623
|
/**
|
|
8876
|
-
*
|
|
9624
|
+
* StopNotebook请求参数结构体
|
|
8877
9625
|
*/
|
|
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>;
|
|
9626
|
+
export interface StopNotebookRequest {
|
|
8913
9627
|
/**
|
|
8914
|
-
*
|
|
9628
|
+
* notebook id
|
|
8915
9629
|
*/
|
|
8916
|
-
|
|
9630
|
+
Id: string;
|
|
8917
9631
|
/**
|
|
8918
|
-
*
|
|
8919
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9632
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8920
9633
|
*/
|
|
8921
|
-
|
|
9634
|
+
TiProjectId?: string;
|
|
8922
9635
|
}
|
|
8923
9636
|
/**
|
|
8924
9637
|
* DescribeDataSource返回参数结构体
|