diff --git a/api/desc/ai/pcm-ai.api b/api/desc/ai/pcm-ai.api index da96190a..fcaf9d30 100644 --- a/api/desc/ai/pcm-ai.api +++ b/api/desc/ai/pcm-ai.api @@ -141,7 +141,7 @@ type ExportParams { type SearchCondition { Coefficient string `json:"coefficient,optional" copier:"Coefficient"` FrameInVideo int64 `json:"frameInVideo,optional" copier:"FrameInVideo"` - Hard string `json:"coefficient,optional" copier:"Hard"` + Hard string `json:"hard,optional" copier:"Hard"` Kvp string `json:"kvp,optional" copier:"Kvp"` ImportOrigin string `json:"importOrigin,optional" copier:"ImportOrigin"` LabelList SearchLabels `json:"labelList,optional" copier:"LabelList"` @@ -310,7 +310,7 @@ type OperatorParam { type ( ListImportTasksReq { ProjectId string `path:"projectId"` - DatasetId string `path:"datasetId""` + DatasetId string `path:"datasetId"` Limit int32 `form:"limit,optional"` Offset int32 `form:"offSet,optional"` /****************parmas from modelArtsType ********************/ @@ -1510,7 +1510,7 @@ type ( Metadatas MetadataS `json:"metadata,optional"` AlgorithmsCtRq AlgorithmsCtRq `json:"algorithm,optional"` SpecsCtRq SpecsCtRq `json:"spec,optional"` - ProjectId string `path:"projectId""` + ProjectId string `path:"projectId"` /****************智算类型 ModelartsType parmas ********************/ ModelArtsType string `json:"modelArtsType,optional"` /****************parmas from octpus diff --git a/api/desc/pcm.api b/api/desc/pcm.api index 065dd8d9..f3d8018f 100644 --- a/api/desc/pcm.api +++ b/api/desc/pcm.api @@ -11,7 +11,7 @@ import ( ) info( - title: "type title here" + title: "pcm api service" desc: "type desc here" author: "type author here" email: "type email here" @@ -24,65 +24,83 @@ info( group : core ) service pcm { + @doc "查询P端服务列表" @handler participantListHandler get /core/participantList returns (participantListResp) + @doc "yaml提交任务" @handler scheduleTaskByYamlHandler post /core/scheduleTaskByYaml (scheduleTaskByYamlReq) returns (scheduleTaskByYamlResp) + @doc "删除任务" @handler deleteTaskHandler delete /core/deleteTask/:id (deleteTaskReq) - // 任务列表接口 + @doc "查询任务列表" @handler TaskListHandler get /core/taskList (taskListReq)returns (taskListResp) - // 任务详情接口 + @doc "查询任务详情" @handler TaskDetailHandler get /core/taskDetail/:taskId (taskDetailReq) returns (taskDetailResp) + @doc "任务概览" @handler JobTotalHandler get /core/jobTotal returns (jobTotalResp) + @doc "数据中心概览" @handler listCenterHandler get /core/listCenter returns (listCenterResp) + @doc "查询集群列表" @handler listClusterHandler get /core/listCluster/:centerId (listClusterReq) returns (listClusterResp) + @doc "提交任务(超算)" @handler submitJobHandler post /core/submitJob (submitJobReq) returns (submitJobResp) + @doc "获取region" @handler getRegionHandler get /core/getRegion returns (getRegionResp) + @doc "获取region列表" @handler listRegionHandler get /core/listRegion returns (listRegionResp) + @doc "查询算力" @handler getComputingPowerHandler get /core/getComputingPower returns (cpResp) + @doc "查询通用信息" @handler getGeneralInfoHandler get /core/getGeneralInfo returns (GiResp) + @doc "查询各域资源信息" @handler listDomainResourceHandler get /core/listDomainResource returns (DomainResourceResp) + @doc "查询控制面板配置信息" @handler getResourcePanelConfigHandler get /core/getResourcePanelConfigHandler returns (ResourcePanelConfigResp) + @doc "设置控制面板配置信息" @handler putResourcePanelConfigHandler put /core/resourcePanelConfigHandler (ResourcePanelConfigReq) + @doc "获取算力统计信息" @handler getComputilityStatisticsHandler get /core/getComputilityStatistics returns (ComputilityStatisticsResp) + @doc "获取节点资产" @handler nodeAssetsHandler get /core/assets returns (NodeAssetsResp) + @doc "保存hashcat" @handler saveHashcatHandler post /core/saveHashcat (SaveHashcatReq) + @doc "获取hashcat" @handler getHashcatHandler get /core/getHashcat/:crackTaskId (getHashcatHandlerReq) returns (getHashcatHandlerResp) } @@ -93,12 +111,15 @@ service pcm { group : hpc ) service pcm { + @doc "超算查询任务列表" @handler listJobHandler get /hpc/listJob (listJobReq) returns (listJobResp) + @doc "超算查询历史任务列表" @handler listHistoryJobHandler get /hpc/listHistoryJob (listHistoryJobReq) returns (listHistoryJobResp) + @doc "超算查询资产列表" @handler queueAssetsHandler get /queue/assets returns (QueueAssetsResp) } @@ -109,9 +130,11 @@ service pcm { group : cloud ) service pcm { + @doc "云算任务列表" @handler cloudListHandler get /task/list returns (cloudListResp) + @doc "yaml删除" @handler deleteYamlHandler get /cloud/DeleteYaml (ApplyReq) returns (DeleteResp) } @@ -122,89 +145,122 @@ service pcm { group : ai ) service pcm { + @doc "查询数据集列表" @handler listDataSetHandler get /ai/listDataSet/:projectId (DataSetReq) returns (DataSetResp) + @doc "创建数据集" @handler CreateDataSetHandler post /ai/createDataSet/:projectId (CreateDataSetReq) returns (CreateDataSetResp) + @doc "删除数据集" @handler DeleteDataSetHandler delete /ai/deleteDataSet/:projectId/:datasetId (DeleteDataSetReq) returns (DeleteDataSetResp) - // creat task 创建导入任务 + + @doc "创建导入任务" @handler CreateTaskHandler post /ai/CreateTask/:projectId/:datasetId (ImportTaskDataReq) returns (ImportTaskDataResp) - // get taskList 查询数据集导入任务列表 + + @doc "查询数据集导入任务列表" @handler ListImportHandler get /ai/ListImport/:projectId/:datasetId (ListImportTasksReq) returns (ListImportTasksResp) - // ListTrainingJobs 查询训练作业列表 + + @doc "查询训练作业列表" @handler GetListTrainingJobsHandler get /ai/GetListTrainingJobs/:projectId (ListTrainingJobsreq) returns (ListTrainingJobsresp) - // DeleteTrainingJob 删除训练作业 + + @doc "删除训练作业" @handler DeleteTrainingJobHandler delete /ai/DeleteTrainingJob/:projectId/:trainingJobId (DeleteTrainingJobReq) returns (DeleteTrainingJobResp) - // CreateAlgorithm 创建算法 + + @doc "创建算法" @handler CreateAlgorithmHandler post /ai/CreateAlgorithm/:projectId (CreateAlgorithmReq) returns (CreateAlgorithmResp) - // ListAlgorithms 查询创建算法列表 + + @doc "查询创建算法列表" @handler ListAlgorithms - //get /ai/ListAlgorithms (ListAlgorithmsReq) returns (ListAlgorithmsResp) get /ai/ListAlgorithms/:projectId (ListAlgorithmsReq) returns (ListAlgorithmsResp) - // DeleteAlgorithm 删除算法 + + @doc "删除算法" @handler DeleteAlgorithm delete /ai/DeleteAlgorithm/:projectId/:algorithmId (DeleteAlgorithmReq) returns (DeleteAlgorithmResp) - // CreateTrainingJob 创建训练作业 + + @doc "创建训练作业" @handler CreateTrainingJobHandler post /ai/CreateTrainingJob/:projectId (CreateTrainingJobReq) returns (CreateTrainingJobResp) - // ShowAlgorithmByUuid 展示算法详情 + + @doc "展示算法详情" @handler ShowAlgorithmByUuid get /ai/ShowAlgorithmByUuid/:projectId/:algorithmId (ShowAlgorithmByUuidReq) returns (ShowAlgorithmByUuidResp) - // creat export task 创建导出任务 + @doc "创建导出任务" @handler CreateExportTaskHandler post /ai/CreateExportTask/:projectId/:datasetId (CreateExportTaskReq) returns (ExportTaskDataResp) - @handler GetExportTasksOfDatasetHandler + + @doc "获取导出任务数据集" + @handler GetExportTasksOfDatasetHandler get /ai/GetExportTasksOfDataset/:projectId/:datasetId (GetExportTasksOfDatasetReq) returns (GetExportTasksOfDatasetResp) + + @doc "获取导出任务数据集状态" @handler GetExportTaskStatusOfDatasetHandler get /ai/GetExportTaskStatusOfDataset/:projectId/:resourceId/:taskId (GetExportTaskStatusOfDatasetReq) returns (GetExportTaskStatusOfDatasetResp) - // create processor task 创建处理任务 + @doc "创建处理任务" @handler CreateProcessorTaskHandler post /ai/CreateProcessorTask (CreateProcessorTaskReq) returns (CreateProcessorTaskResp) - // create service 创建服务 + @doc "创建服务" @handler CreateServiceHandler post /ai/CreateService/:projectId (CreateServiceReq) returns (CreateServiceResp) - // list services 展示服务 + + @doc "展示服务" @handler ListServicesHandler get /ai/ListServices/:projectId (ListServicesReq) returns (ListServicesResp) - // Show service 展示服务详情 + + @doc "展示服务详情" @handler ShowServiceHandler get /ai/ShowService/:projectId/:serviceId (ShowServiceReq) returns (ShowServiceResp) - // Delete service 删除服务 + + @doc "删除服务" @handler DeleteServiceHandler delete /ai/DeleteService/:projectId/:serviceId (DeleteServiceReq) returns (DeleteServiceResp) - // ListClusters查询专属资源池列表 + + @doc "查询专属资源池列表" @handler ListClustersHandler get /ai/ListClusters (ListClustersReq) returns (ListClustersResp) /******************Notebook Method start*************************/ + + @doc "查询notebook列表" @handler listNotebookHandler get /ai/listNotebook (ListNotebookReq) returns (ListNotebookResp) + + @doc "创建notebook" @handler createNotebookHandler post /ai/createNotebook (CreateNotebookReq) returns (CreateNotebookResp) + + @doc "启动notebook" @handler startNotebookHandler post /ai/startNotebook (StartNotebookReq) returns (StartNotebookResp) + + @doc "停止notebook" @handler stopNotebookHandler post /ai/stopNotebook (StopNotebookReq) returns (StopNotebookResp) + + @doc "查询notebook存储" @handler getNotebookStorageHandler get /ai/getNotebookStorage (GetNotebookStorageReq) returns (GetNotebookStorageResp) + + @doc "挂载notebook存储" @handler mountNotebookStorageHandler post /ai/mountNotebookStorage (MountNotebookStorageReq) returns (MountNotebookStorageResp) /******************Notebook Method end*************************/ /******************Visualization Job Method start*************************/ + @doc "获取虚拟化任务" @handler getVisualizationJobHandler get /ai/getVisualizationJob (GetVisualizationJobReq) returns (GetVisualizationJobResp) + @doc "创建虚拟化任务" @handler createVisualizationJobHandler post /ai/CreateVisualizationJob (CreateVisualizationJobReq) returns (CreateVisualizationJobResp) /******************Visualization Job Method start*************************/ @@ -216,10 +272,13 @@ service pcm { group : storage ) service pcm { + @doc "存储概览" @handler screenStorageHandler get /storage/screenStorage (StorageScreenReq) returns (StorageScreenResp) + @doc "日常算力查询" @handler dailyPowerScreenHandler get /storage/dailyPowerScreen (DailyPowerScreenReq) returns (DailyPowerScreenResp) + @doc "算力中心算力情况" @handler perCenterComputerPowersHandler get /storage/perCenterComputerPowers (PerCenterComputerPowersReq) returns (PerCenterComputerPowersResp) } @@ -230,18 +289,23 @@ service pcm { group : image ) service pcm { + @doc "镜像上传" @handler uploadHandler post /upload + @doc "镜像分块" @handler chunkHandler post /chunk + @doc "查询镜像列表" @handler imageListHandler get /image/list returns (imageListResp) + @doc "数据集检查" @handler dataSetCheckHandler get /dataSet/check/:fileMd5 (checkReq) returns (checkResp) + @doc "上传数据集" @handler uploadDataSetHandler post /dataSet/upload } @@ -252,87 +316,151 @@ service pcm { group : vm ) service pcm { - /*概览*/ + @doc "openstack计算中心概览" @handler GetComputeLimitsHandler get /vm/getComputeLimits (GetComputeLimitsReq) returns (GetComputeLimitsResp) + + @doc "查询卷列表" @handler GetVolumeLimitsHandler get /vm/getVolumeLimits (GetVolumeLimitsReq) returns (GetVolumeLimitsResp) - /*实例*/ + + @doc "查询虚拟机列表" @handler ListServerHandler get /vm/listServer (ListServersReq) returns (ListServersResp) + + @doc "查询虚拟机详情列表" @handler ListServersDetailedHandler get /vm/listServersDetailed (ListServersDetailedReq) returns (ListServersDetailedResp) + + @doc "删除虚拟机" @handler DeleteServerHandler delete /vm/deleteServer (DeleteServerReq) returns (DeleteServerResp) + + @doc "创建虚拟机" @handler CreateServerHandler post /vm/createServer (CreateServerReq) returns (CreateServerResp) + + @doc "根据ID查询虚拟机详情" @handler GetServersDetailedByIdHandler get /vm/getServersDetailedById (GetServersDetailedByIdReq) returns (GetServersDetailedByIdResp) + + @doc "更新虚拟机" @handler UpdateServerHandler put /vm/updateServer (UpdateServerReq) returns (UpdateServerResp) + + @doc "启动虚拟机" @handler StartServerHandler post /vm/startServer (StartServerReq) returns (StartServerResp) + + @doc "停止虚拟机" @handler StopServerHandler post /vm/stopServer (StopServerReq) returns (StopServerResp) + + @doc "重启虚拟机" @handler RebootServerHandler post /vm/rebootServer (RebootServerReq) returns (RebootServerResp) + + @doc "暂停虚拟机" @handler PauseServerHandler post /vm/pauseServer (PauseServerReq) returns (PauseServerResp) - /*镜像*/ + + @doc "查询镜像列表" @handler ListImagesHandler get /vm/listImages (ListImagesReq) returns (ListImagesResp) + + @doc "删除镜像" @handler DeleteImageHandler delete /vm/deleteImage (DeleteImageReq) returns (DeleteImageResp) + + @doc "创建镜像" @handler CreateImageHandler post /vm/createImage (CreateImageReq) returns (CreateImageResp) + + @doc "上传镜像" @handler UploadImageHandler put /vm/uploadImage (UploadOsImageReq) returns (UploadOsImageResp) - /*网络*/ + @doc "查询网络列表" @handler ListNetworksHandler get /vm/listNetworks (ListNetworksReq) returns (ListNetworksResp) + + @doc "删除网络" @handler DeleteNetworkHandler delete /vm/deleteNetwork (DeleteNetworkReq) returns (DeleteNetworkResp) + + @doc "创建网络" @handler CreateNetworkHandler post /vm/createNetwork (CreateNetworkReq) returns (CreateNetworkResp) + + @doc "创建子网" @handler CreateSubnetHandler post /vm/createSubnet (CreateSubnetReq) returns (CreateSubnetResp) + + @doc "查询网络详情" @handler ShowNetworkDetailsHandler get /vm/showNetworkDetails (ShowNetworkDetailsReq) returns (ShowNetworkDetailsResp) + + @doc "更新网络" @handler UpdateNetworkHandler put /vm/updateNetwork (UpdateNetworkReq) returns (UpdateNetworkResp) + + @doc "批量创建网络" @handler BulkCreateNetworksHandler post /vm/bulkCreateNetworks (BulkCreateNetworksReq) returns (BulkCreateNetworksResp) - /*卷*/ + @doc "查询卷详情列表" @handler ListVolumesDetailHandler get /vm/listVolumesDetail (ListVolumesDetailReq) returns (ListVolumesDetailResp) + + @doc "删除卷" @handler DeleteVolumeHandler delete /vm/deleteVolume (DeleteVolumeReq) returns (DeleteVolumeResp) + + @doc "创建卷" @handler CreateVolumeHandler post /vm/createVolume (CreateVolumeReq) returns (CreateVolumeResp) + + @doc "查询规格详情列表" @handler ListFlavorsDetailHandler get /vm/listFlavorsDetail (ListFlavorsDetailReq) returns (ListFlavorsDetailResp) + + @doc "查询规格类型列表" @handler ListVolumeTypesHandler get /vm/listVolumeTypes (ListVolumeTypesReq) returns (ListVolumeTypesResp) + + @doc "更新卷" @handler UpdateVolumeHandler put /vm/updateVolume (UpdateVolumeReq) returns (UpdateVolumeResp) + + @doc "创建卷类型" @handler CreateVolumeTypesHandler post /vm/createVolumeTypes (CreateVolumeTypeReq) returns (CreateVolumeTypeResp) + + @doc "删除卷类型" @handler DeleteVolumeTypeHandler delete /vm/deleteVolumeType (DeleteVolumeTypeReq) returns (DeleteVolumeTypeResp) + + @doc "查询卷列表" @handler ListVolumesHandler get /vm/listVolumes (ListVolumesReq) returns (ListVolumesResp) + + @doc "根据ID获取卷详情" @handler GetVolumeDetailedByIdHandler get /vm/getVolumeDetailedById (GetVolumeDetailedByIdReq) returns (GetVolumeDetailedByIdResp) - // Bare Metal + @doc "查询节点列表" @handler ListNodesHandler get /vm/listNodes (ListNodesReq) returns (ListNodesResp) + + @doc "创建节点" @handler CreateNodeHandler post /vm/createNode (CreateNodeReq) returns (CreateNodeResp) + + @doc "删除节点" @handler DeleteNodeHandler delete /vm/deleteNode (DeleteNodeReq) returns (DeleteNodeResp) + + @doc "查询节点详情" @handler ShowNodeDetailsHandler get /vm/showNodeDetails (ShowNodeDetailsReq) returns (ShowNodeDetailsResp) } diff --git a/api/desc/pcm.json b/api/desc/pcm.json new file mode 100644 index 00000000..8e37ad67 --- /dev/null +++ b/api/desc/pcm.json @@ -0,0 +1,17038 @@ +{ + "swagger": "2.0", + "info": { + "title": "pcm api service", + "description": "type desc here", + "version": "type version here" + }, + "host": "localhost:8888", + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "pcm/v1/ai/CreateAlgorithm/{projectId}": { + "post": { + "summary": "创建算法", + "operationId": "CreateAlgorithmHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateAlgorithmResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateAlgorithmReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/CreateExportTask/{projectId}/{datasetId}": { + "post": { + "summary": "创建导出任务", + "operationId": "CreateExportTaskHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ExportTaskDataResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "datasetId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateExportTaskReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/CreateProcessorTask": { + "post": { + "summary": "创建处理任务", + "operationId": "CreateProcessorTaskHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateProcessorTaskResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateProcessorTaskReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/CreateService/{projectId}": { + "post": { + "summary": "创建服务", + "operationId": "CreateServiceHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateServiceResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateServiceReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/CreateTask/{projectId}/{datasetId}": { + "post": { + "summary": "创建导入任务", + "operationId": "CreateTaskHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ImportTaskDataResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "datasetId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ImportTaskDataReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/CreateTrainingJob/{projectId}": { + "post": { + "summary": "创建训练作业", + "operationId": "CreateTrainingJobHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateTrainingJobResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateTrainingJobReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/CreateVisualizationJob": { + "post": { + "summary": "创建虚拟化任务", + "operationId": "createVisualizationJobHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateVisualizationJobResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateVisualizationJobReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/DeleteAlgorithm/{projectId}/{algorithmId}": { + "delete": { + "summary": "删除算法", + "operationId": "DeleteAlgorithm", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteAlgorithmResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "algorithmId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteAlgorithmReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/DeleteService/{projectId}/{serviceId}": { + "delete": { + "summary": "删除服务", + "operationId": "DeleteServiceHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteServiceResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "serviceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteServiceReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/DeleteTrainingJob/{projectId}/{trainingJobId}": { + "delete": { + "summary": "删除训练作业", + "operationId": "DeleteTrainingJobHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteTrainingJobResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "trainingJobId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteTrainingJobReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/GetExportTaskStatusOfDataset/{projectId}/{resourceId}/{taskId}": { + "get": { + "summary": "获取导出任务数据集状态", + "operationId": "GetExportTaskStatusOfDatasetHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetExportTaskStatusOfDatasetResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "modelartsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/GetExportTasksOfDataset/{projectId}/{datasetId}": { + "get": { + "summary": "获取导出任务数据集", + "operationId": "GetExportTasksOfDatasetHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetExportTasksOfDatasetResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "datasetId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "ExportType", + "in": "query", + "required": true, + "type": "integer", + "format": "int32" + }, + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "offset", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "modelartsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/GetListTrainingJobs/{projectId}": { + "get": { + "summary": "查询训练作业列表", + "operationId": "GetListTrainingJobsHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListTrainingJobsresp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "offSet", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "modelArtsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/ListAlgorithms/{projectId}": { + "get": { + "summary": "查询创建算法列表", + "operationId": "ListAlgorithms", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListAlgorithmsResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "offset", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "modelArtsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/ListClusters": { + "get": { + "summary": "查询专属资源池列表", + "operationId": "ListClustersHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListClustersResp" + } + } + }, + "parameters": [ + { + "name": "ProjectId", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "ClusterName", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "offset", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "SortBy", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Order", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "modelartsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/ListImport/{projectId}/{datasetId}": { + "get": { + "summary": "查询数据集导入任务列表", + "operationId": "ListImportHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListImportTasksResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "datasetId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "offSet", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "modelArtsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/ListServices/{projectId}": { + "get": { + "summary": "展示服务", + "operationId": "ListServicesHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListServicesResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "offSet", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "modelArtsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/ShowAlgorithmByUuid/{projectId}/{algorithmId}": { + "get": { + "summary": "展示算法详情", + "operationId": "ShowAlgorithmByUuid", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ShowAlgorithmByUuidResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "algorithmId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "modelartsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/ShowService/{projectId}/{serviceId}": { + "get": { + "summary": "展示服务详情", + "operationId": "ShowServiceHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ShowServiceResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "serviceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "modelartsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/createDataSet/{projectId}": { + "post": { + "summary": "创建数据集", + "operationId": "CreateDataSetHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateDataSetResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "description": "/******************find datasetList end*************************/,/******************Create dataset start*************************/", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateDataSetReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/createNotebook": { + "post": { + "summary": "创建notebook", + "operationId": "createNotebookHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateNotebookResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateNotebookReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/deleteDataSet/{projectId}/{datasetId}": { + "delete": { + "summary": "删除数据集", + "operationId": "DeleteDataSetHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteDataSetResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "datasetId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "description": "/******************CreateTrainingJob end*************************/,/******************Delete dataset start*************************/", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteDataSetReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/getNotebookStorage": { + "get": { + "summary": "查询notebook存储", + "operationId": "getNotebookStorageHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetNotebookStorageResp" + } + } + }, + "parameters": [ + { + "name": "InstanceId", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "ProjectId", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "modelArtsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/getVisualizationJob": { + "get": { + "summary": "获取虚拟化任务", + "operationId": "getVisualizationJobHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetVisualizationJobResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "param", + "in": "query", + "required": true, + "type": "invalid", + "format": "UNKNOWN" + }, + { + "name": "modelArtsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/listDataSet/{projectId}": { + "get": { + "summary": "查询数据集列表", + "operationId": "listDataSetHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DataSetResp" + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "offSet", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "modelArtsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/listNotebook": { + "get": { + "summary": "查询notebook列表", + "operationId": "listNotebookHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListNotebookResp" + } + } + }, + "parameters": [ + { + "name": "ProjectId", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Param", + "in": "query", + "required": true, + "type": "invalid", + "format": "UNKNOWN" + }, + { + "name": "modelArtsType", + "in": "query", + "required": false, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/mountNotebookStorage": { + "post": { + "summary": "挂载notebook存储", + "operationId": "mountNotebookStorageHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/MountNotebookStorageResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MountNotebookStorageReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/startNotebook": { + "post": { + "summary": "启动notebook", + "operationId": "startNotebookHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/StartNotebookResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StartNotebookReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/ai/stopNotebook": { + "post": { + "summary": "停止notebook", + "operationId": "stopNotebookHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/StopNotebookResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StopNotebookReq" + } + } + ], + "requestBody": {}, + "tags": [ + "ai" + ] + } + }, + "pcm/v1/chunk": { + "post": { + "summary": "镜像分块", + "operationId": "chunkHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": {} + } + }, + "requestBody": {}, + "tags": [ + "image" + ] + } + }, + "pcm/v1/cloud/DeleteYaml": { + "get": { + "summary": "yaml删除", + "operationId": "deleteYamlHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteResp" + } + } + }, + "parameters": [ + { + "name": "yamlString", + "in": "query", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "cloud" + ] + } + }, + "pcm/v1/core/assets": { + "get": { + "summary": "获取节点资产", + "operationId": "nodeAssetsHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/NodeAssetsResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/deleteTask/{id}": { + "delete": { + "summary": "删除任务", + "operationId": "deleteTaskHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": {} + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/deleteTaskReq" + } + } + ], + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/getComputilityStatistics": { + "get": { + "summary": "获取算力统计信息", + "operationId": "getComputilityStatisticsHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ComputilityStatisticsResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/getComputingPower": { + "get": { + "summary": "查询算力", + "operationId": "getComputingPowerHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cpResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/getGeneralInfo": { + "get": { + "summary": "查询通用信息", + "operationId": "getGeneralInfoHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GiResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/getHashcat/{crackTaskId}": { + "get": { + "summary": "获取hashcat", + "operationId": "getHashcatHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/getHashcatHandlerResp" + } + } + }, + "parameters": [ + { + "name": "crackTaskId", + "in": "path", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/getRegion": { + "get": { + "summary": "获取region", + "operationId": "getRegionHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/getRegionResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/getResourcePanelConfigHandler": { + "get": { + "summary": "查询控制面板配置信息", + "operationId": "getResourcePanelConfigHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ResourcePanelConfigResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/jobTotal": { + "get": { + "summary": "任务概览", + "operationId": "JobTotalHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jobTotalResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/listCenter": { + "get": { + "summary": "数据中心概览", + "operationId": "listCenterHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/listCenterResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/listCluster/{centerId}": { + "get": { + "summary": "查询集群列表", + "operationId": "listClusterHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/listClusterResp" + } + } + }, + "parameters": [ + { + "name": "centerId", + "in": "path", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/listDomainResource": { + "get": { + "summary": "查询各域资源信息", + "operationId": "listDomainResourceHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DomainResourceResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/listRegion": { + "get": { + "summary": "获取region列表", + "operationId": "listRegionHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/listRegionResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/participantList": { + "get": { + "summary": "查询P端服务列表", + "operationId": "participantListHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/participantListResp" + } + } + }, + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/resourcePanelConfigHandler": { + "put": { + "summary": "设置控制面板配置信息", + "operationId": "putResourcePanelConfigHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": {} + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcePanelConfigReq" + } + } + ], + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/saveHashcat": { + "post": { + "summary": "保存hashcat", + "operationId": "saveHashcatHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": {} + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SaveHashcatReq" + } + } + ], + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/scheduleTaskByYaml": { + "post": { + "summary": "yaml提交任务", + "operationId": "scheduleTaskByYamlHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/scheduleTaskByYamlResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/scheduleTaskByYamlReq" + } + } + ], + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/submitJob": { + "post": { + "summary": "提交任务(超算)", + "operationId": "submitJobHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/submitJobResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/submitJobReq" + } + } + ], + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/taskDetail/{taskId}": { + "get": { + "summary": "查询任务详情", + "operationId": "TaskDetailHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/taskDetailResp" + } + } + }, + "parameters": [ + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/core/taskList": { + "get": { + "summary": "查询任务列表", + "operationId": "TaskListHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/taskListResp" + } + } + }, + "parameters": [ + { + "name": "pageNum", + "in": "query", + "required": true, + "type": "integer", + "format": "int32" + }, + { + "name": "pageSize", + "in": "query", + "required": true, + "type": "integer", + "format": "int32" + } + ], + "requestBody": {}, + "tags": [ + "core" + ] + } + }, + "pcm/v1/dataSet/check/{fileMd5}": { + "get": { + "summary": "数据集检查", + "operationId": "dataSetCheckHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/checkResp" + } + } + }, + "parameters": [ + { + "name": "fileMd5", + "in": "path", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "image" + ] + } + }, + "pcm/v1/dataSet/upload": { + "post": { + "summary": "上传数据集", + "operationId": "uploadDataSetHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": {} + } + }, + "requestBody": {}, + "tags": [ + "image" + ] + } + }, + "pcm/v1/hpc/listHistoryJob": { + "get": { + "summary": "超算查询历史任务列表", + "operationId": "listHistoryJobHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/listHistoryJobResp" + } + } + }, + "requestBody": {}, + "tags": [ + "hpc" + ] + } + }, + "pcm/v1/hpc/listJob": { + "get": { + "summary": "超算查询任务列表", + "operationId": "listJobHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/listJobResp" + } + } + }, + "requestBody": {}, + "tags": [ + "hpc" + ] + } + }, + "pcm/v1/image/list": { + "get": { + "summary": "查询镜像列表", + "operationId": "imageListHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/imageListResp" + } + } + }, + "requestBody": {}, + "tags": [ + "image" + ] + } + }, + "pcm/v1/queue/assets": { + "get": { + "summary": "超算查询资产列表", + "operationId": "queueAssetsHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/QueueAssetsResp" + } + } + }, + "requestBody": {}, + "tags": [ + "hpc" + ] + } + }, + "pcm/v1/storage/dailyPowerScreen": { + "get": { + "summary": "日常算力查询", + "operationId": "dailyPowerScreenHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DailyPowerScreenResp" + } + } + }, + "requestBody": {}, + "tags": [ + "storage" + ] + } + }, + "pcm/v1/storage/perCenterComputerPowers": { + "get": { + "summary": "算力中心算力情况", + "operationId": "perCenterComputerPowersHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/PerCenterComputerPowersResp" + } + } + }, + "requestBody": {}, + "tags": [ + "storage" + ] + } + }, + "pcm/v1/storage/screenStorage": { + "get": { + "summary": "存储概览", + "operationId": "screenStorageHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/StorageScreenResp" + } + } + }, + "requestBody": {}, + "tags": [ + "storage" + ] + } + }, + "pcm/v1/storelink/deleteImage": { + "delete": { + "operationId": "DeleteLinkImageHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteLinkImageResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteLinkImageReq" + } + } + ], + "requestBody": {}, + "tags": [ + "storelink" + ] + } + }, + "pcm/v1/storelink/deleteTask": { + "delete": { + "operationId": "DeleteLinkTaskHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteLinkTaskResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteLinkTaskReq" + } + } + ], + "requestBody": {}, + "tags": [ + "storelink" + ] + } + }, + "pcm/v1/storelink/getImageList": { + "get": { + "operationId": "GetLinkImageListHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetLinkImageListResp" + } + } + }, + "parameters": [ + { + "name": "partId", + "in": "query", + "required": true, + "type": "integer", + "format": "int64" + } + ], + "requestBody": {}, + "tags": [ + "storelink" + ] + } + }, + "pcm/v1/storelink/getParticipants": { + "get": { + "operationId": "GetParticipantsHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetParticipantsResp" + } + } + }, + "requestBody": {}, + "tags": [ + "storelink" + ] + } + }, + "pcm/v1/storelink/getResourceSpecs": { + "get": { + "operationId": "GetAISpecsHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetResourceSpecsResp" + } + } + }, + "parameters": [ + { + "name": "partId", + "in": "query", + "required": true, + "type": "integer", + "format": "int64" + } + ], + "requestBody": {}, + "tags": [ + "storelink" + ] + } + }, + "pcm/v1/storelink/getTask": { + "get": { + "operationId": "GetLinkTaskHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetLinkTaskResp" + } + } + }, + "parameters": [ + { + "name": "partId", + "in": "query", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "taskId", + "in": "query", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "storelink" + ] + } + }, + "pcm/v1/storelink/submitTask": { + "post": { + "operationId": "SubmitLinkTaskHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/SubmitLinkTaskResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SubmitLinkTaskReq" + } + } + ], + "requestBody": {}, + "tags": [ + "storelink" + ] + } + }, + "pcm/v1/storelink/uploadImage": { + "post": { + "operationId": "UploadLinkImageHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/UploadLinkImageResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UploadLinkImageReq" + } + } + ], + "requestBody": {}, + "tags": [ + "storelink" + ] + } + }, + "pcm/v1/task/list": { + "get": { + "summary": "云算任务列表", + "operationId": "cloudListHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cloudListResp" + } + } + }, + "requestBody": {}, + "tags": [ + "cloud" + ] + } + }, + "pcm/v1/upload": { + "post": { + "summary": "镜像上传", + "operationId": "uploadHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": {} + } + }, + "requestBody": {}, + "tags": [ + "image" + ] + } + }, + "pcm/v1/vm/bulkCreateNetworks": { + "post": { + "summary": "批量创建网络", + "operationId": "BulkCreateNetworksHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/BulkCreateNetworksResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BulkCreateNetworksReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/createImage": { + "post": { + "summary": "创建镜像", + "operationId": "CreateImageHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateImageResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateImageReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/createNetwork": { + "post": { + "summary": "创建网络", + "operationId": "CreateNetworkHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateNetworkResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateNetworkReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/createNode": { + "post": { + "summary": "创建节点", + "operationId": "CreateNodeHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateNodeResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateNodeReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/createServer": { + "post": { + "summary": "创建虚拟机", + "operationId": "CreateServerHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateServerResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateServerReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/createSubnet": { + "post": { + "summary": "创建子网", + "operationId": "CreateSubnetHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateSubnetResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateSubnetReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/createVolume": { + "post": { + "summary": "创建卷", + "operationId": "CreateVolumeHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateVolumeResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateVolumeReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/createVolumeTypes": { + "post": { + "summary": "创建卷类型", + "operationId": "CreateVolumeTypesHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/CreateVolumeTypeResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateVolumeTypeReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/deleteImage": { + "delete": { + "summary": "删除镜像", + "operationId": "DeleteImageHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteImageResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteImageReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/deleteNetwork": { + "delete": { + "summary": "删除网络", + "operationId": "DeleteNetworkHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteNetworkResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteNetworkReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/deleteNode": { + "delete": { + "summary": "删除节点", + "operationId": "DeleteNodeHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteNodeResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteNodeReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/deleteServer": { + "delete": { + "summary": "删除虚拟机", + "operationId": "DeleteServerHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteServerResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteServerReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/deleteVolume": { + "delete": { + "summary": "删除卷", + "operationId": "DeleteVolumeHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteVolumeResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteVolumeReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/deleteVolumeType": { + "delete": { + "summary": "删除卷类型", + "operationId": "DeleteVolumeTypeHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/DeleteVolumeTypeResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeleteVolumeTypeReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/getComputeLimits": { + "get": { + "summary": "openstack计算中心概览", + "operationId": "GetComputeLimitsHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetComputeLimitsResp" + } + } + }, + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "offSet", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/getServersDetailedById": { + "get": { + "summary": "根据ID查询虚拟机详情", + "operationId": "GetServersDetailedByIdHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetServersDetailedByIdResp" + } + } + }, + "parameters": [ + { + "name": "ServerId", + "in": "query", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/getVolumeDetailedById": { + "get": { + "summary": "根据ID获取卷详情", + "operationId": "GetVolumeDetailedByIdHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetVolumeDetailedByIdResp" + } + } + }, + "parameters": [ + { + "name": "VolumeId", + "in": "query", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/getVolumeLimits": { + "get": { + "summary": "查询卷列表", + "operationId": "GetVolumeLimitsHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/GetVolumeLimitsResp" + } + } + }, + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "offSet", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/listFlavorsDetail": { + "get": { + "summary": "查询规格详情列表", + "operationId": "ListFlavorsDetailHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListFlavorsDetailResp" + } + } + }, + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/listImages": { + "get": { + "summary": "查询镜像列表", + "operationId": "ListImagesHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListImagesResp" + } + } + }, + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/listNetworks": { + "get": { + "summary": "查询网络列表", + "operationId": "ListNetworksHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListNetworksResp" + } + } + }, + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/listNodes": { + "get": { + "summary": "查询节点列表", + "operationId": "ListNodesHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListNodesResp" + } + } + }, + "parameters": [ + { + "name": "Limit", + "in": "query", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "Marker", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "SortDir", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "SortKey", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "InstanceUuid", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Maintenance", + "in": "query", + "required": true, + "type": "boolean", + "format": "boolean" + }, + { + "name": "Associated", + "in": "query", + "required": true, + "type": "boolean", + "format": "boolean" + }, + { + "name": "ProvisionState", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Sharded", + "in": "query", + "required": true, + "type": "boolean", + "format": "boolean" + }, + { + "name": "Driver", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "ResourceClass", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "ConductorGroup", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Conductor", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Fault", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Owner", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Lessee", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Shard", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Detail", + "in": "query", + "required": true, + "type": "boolean", + "format": "boolean" + }, + { + "name": "ParentNode", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "IncludeChildren", + "in": "query", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/listServer": { + "get": { + "summary": "查询虚拟机列表", + "operationId": "ListServerHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListServersResp" + } + } + }, + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "offSet", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/listServersDetailed": { + "get": { + "summary": "查询虚拟机详情列表", + "operationId": "ListServersDetailedHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListServersDetailedResp" + } + } + }, + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/listVolumeTypes": { + "get": { + "summary": "查询规格类型列表", + "operationId": "ListVolumeTypesHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListVolumeTypesResp" + } + } + }, + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/listVolumes": { + "get": { + "summary": "查询卷列表", + "operationId": "ListVolumesHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListVolumesResp" + } + } + }, + "parameters": [ + { + "name": "ProjectId", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "AllTenants", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Sort", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Limit", + "in": "query", + "required": true, + "type": "integer", + "format": "int32" + }, + { + "name": "Offset", + "in": "query", + "required": true, + "type": "integer", + "format": "int32" + }, + { + "name": "Marker", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "WithCount", + "in": "query", + "required": true, + "type": "boolean", + "format": "boolean" + }, + { + "name": "CreatedAt", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "ConsumesQuota", + "in": "query", + "required": true, + "type": "boolean", + "format": "boolean" + }, + { + "name": "UpdatedAt", + "in": "query", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/listVolumesDetail": { + "get": { + "summary": "查询卷详情列表", + "operationId": "ListVolumesDetailHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ListVolumesDetailResp" + } + } + }, + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/pauseServer": { + "post": { + "summary": "暂停虚拟机", + "operationId": "PauseServerHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/PauseServerResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PauseServerReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/rebootServer": { + "post": { + "summary": "重启虚拟机", + "operationId": "RebootServerHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/RebootServerResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RebootServerReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/showNetworkDetails": { + "get": { + "summary": "查询网络详情", + "operationId": "ShowNetworkDetailsHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ShowNetworkDetailsResp" + } + } + }, + "parameters": [ + { + "name": "NetworkId", + "in": "query", + "required": true, + "type": "string" + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/showNodeDetails": { + "get": { + "summary": "查询节点详情", + "operationId": "ShowNodeDetailsHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ShowNodeDetailsResp" + } + } + }, + "parameters": [ + { + "name": "NodeIdent", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "Fields", + "in": "query", + "required": true, + "type": "invalid", + "format": "UNKNOWN" + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/startServer": { + "post": { + "summary": "启动虚拟机", + "operationId": "StartServerHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/StartServerResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StartServerReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/stopServer": { + "post": { + "summary": "停止虚拟机", + "operationId": "StopServerHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/StopServerResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StopServerReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/updateNetwork": { + "put": { + "summary": "更新网络", + "operationId": "UpdateNetworkHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/UpdateNetworkResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateNetworkReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/updateServer": { + "put": { + "summary": "更新虚拟机", + "operationId": "UpdateServerHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/UpdateServerResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateServerReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/updateVolume": { + "put": { + "summary": "更新卷", + "operationId": "UpdateVolumeHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/UpdateVolumeResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateVolumeReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + }, + "pcm/v1/vm/uploadImage": { + "put": { + "summary": "上传镜像", + "operationId": "UploadImageHandler", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/UploadOsImageResp" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UploadOsImageReq" + } + } + ], + "requestBody": {}, + "tags": [ + "vm" + ] + } + } + }, + "definitions": { + "Absolute": { + "type": "object", + "properties": { + "max_server_meta": { + "type": "integer", + "format": "int64" + }, + "max_personality": { + "type": "integer", + "format": "int64" + }, + "total_server_groups_used": { + "type": "integer", + "format": "int64" + }, + "max_image_meta": { + "type": "integer", + "format": "int64" + }, + "max_personality_size": { + "type": "integer", + "format": "int64" + }, + "max_total_keypairs": { + "type": "integer", + "format": "int64" + }, + "max_security_group_rules": { + "type": "integer", + "format": "int64" + }, + "max_server_groups": { + "type": "integer", + "format": "int64" + }, + "total_cores_used": { + "type": "integer", + "format": "int64" + }, + "total_ram_used": { + "type": "integer", + "format": "int64" + }, + "total_instances_used": { + "type": "integer", + "format": "int64" + }, + "max_security_groups": { + "type": "integer", + "format": "int64" + }, + "total_floating_ips_used": { + "type": "integer", + "format": "int64" + }, + "max_total_cores": { + "type": "integer", + "format": "int64" + }, + "max_server_group_members": { + "type": "integer", + "format": "int64" + }, + "max_total_floating_ips": { + "type": "integer", + "format": "int64" + }, + "total_security_groups_used": { + "type": "integer", + "format": "int64" + }, + "max_total_instances": { + "type": "integer", + "format": "int64" + }, + "max_total_ram_size": { + "type": "integer", + "format": "int64" + } + }, + "title": "Absolute" + }, + "AccOtJobInfo": { + "type": "object", + "properties": { + "accRunSec": { + "type": "integer", + "format": "int32" + }, + "accCardRunSec": { + "type": "number", + "format": "float" + }, + "accOtJobNum": { + "type": "integer", + "format": "int32" + } + }, + "title": "AccOtJobInfo", + "required": [ + "accRunSec", + "AccRunSec", + "accCardRunSec", + "AccCardRunSec", + "accOtJobNum", + "AccOtJobNum" + ] + }, + "ActionProgress": { + "type": "object", + "properties": { + "step": { + "type": "integer", + "format": "int32", + "description": " *" + }, + "status": { + "type": "string", + "description": " *" + }, + "description": { + "type": "string", + "description": " *" + } + }, + "title": "ActionProgress", + "required": [ + "step", + "Step", + "status", + "Status", + "description", + "Description" + ] + }, + "Addresses": { + "type": "object", + "properties": { + "private": { + "$ref": "#/definitions/Private" + } + }, + "title": "Addresses", + "required": [ + "private" + ] + }, + "AdvancedConfigAl": { + "type": "object", + "properties": { + "autoSearch": { + "$ref": "#/definitions/AutoSearch" + } + }, + "title": "AdvancedConfigAl" + }, + "AiCenterInfos": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "desc": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "trainJob": { + "type": "string" + }, + "computeScale": { + "type": "integer", + "format": "int32" + }, + "storageScale": { + "type": "integer", + "format": "int32" + }, + "path:province": { + "type": "string" + }, + "city": { + "type": "string" + }, + "coordinateX": { + "type": "integer", + "format": "int32" + }, + "coordinateY": { + "type": "integer", + "format": "int32" + }, + "type": { + "type": "integer", + "format": "int32" + }, + "weight": { + "type": "integer", + "format": "int32" + }, + "connectionState": { + "type": "integer", + "format": "int32" + }, + "busyState": { + "type": "integer", + "format": "int32" + }, + "imageUrl": { + "type": "string" + }, + "accDevices": { + "type": "string" + }, + "marketTime": { + "type": "integer", + "format": "int64" + }, + "createdAt": { + "type": "integer", + "format": "int64" + }, + "accessTime": { + "type": "integer", + "format": "int32" + }, + "cardRunTime": { + "type": "integer", + "format": "int32" + }, + "jobCount": { + "type": "integer", + "format": "int32" + } + }, + "title": "AiCenterInfos", + "required": [ + "id", + "Id", + "name", + "Name", + "desc", + "Desc", + "resource", + "Resource", + "trainJob", + "TrainJob", + "computeScale", + "ComputeScale", + "storageScale", + "StorageScale", + "path:province", + "Province", + "city", + "City", + "coordinateX", + "CoordinateX", + "coordinateY", + "CoordinateY", + "type", + "Type", + "weight", + "Weight", + "connectionState", + "ConnectionState", + "busyState", + "BusyState", + "imageUrl", + "ImageUrl", + "accDevices", + "AccDevices", + "marketTime", + "MarketTime", + "createdAt", + "CreatedAt", + "accessTime", + "AccessTime", + "cardRunTime", + "CardRunTime", + "jobCount", + "JobCount" + ] + }, + "AlgoConfigs": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "params": { + "type": "array", + "items": { + "$ref": "#/definitions/AutoSearchAlgoConfigParameterAlRp" + } + } + }, + "title": "AlgoConfigs" + }, + "Algorithm": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "v1Algorithm": { + "type": "boolean", + "format": "boolean" + }, + "subscriptionId": { + "type": "string" + }, + "itemVersionId": { + "type": "string" + }, + "contentId": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/Parameters" + } + }, + "parametersCustomization": { + "type": "boolean", + "format": "boolean" + }, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/Inputs" + } + }, + "outputs": { + "type": "array", + "items": { + "$ref": "#/definitions/Outputs" + } + }, + "engine": { + "$ref": "#/definitions/Engine" + }, + "policies": { + "$ref": "#/definitions/Policies" + } + }, + "title": "Algorithm", + "required": [ + "id", + "name", + "v1Algorithm", + "subscriptionId", + "itemVersionId", + "contentId", + "parameters", + "parametersCustomization", + "inputs", + "outputs", + "engine", + "policies" + ] + }, + "AlgorithmResponse": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/MetadataAlRp" + }, + "jobConfig": { + "$ref": "#/definitions/JobConfigAlRp" + }, + "resourceRequirements": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceRequirements" + } + }, + "advancedConfig": { + "$ref": "#/definitions/AdvancedConfigAl" + } + }, + "title": "AlgorithmResponse" + }, + "AlgorithmsCtRq": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "codeDir": { + "type": "string" + }, + "bootFile": { + "type": "string" + }, + "engine": { + "$ref": "#/definitions/EngineCreateTraining" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/ParametersTrainJob" + } + }, + "policies": { + "$ref": "#/definitions/PoliciesCreateTraining" + }, + "command": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "itemVersionId": { + "type": "string" + }, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/InputTra" + } + }, + "outputs": { + "type": "array", + "items": { + "$ref": "#/definitions/OutputTra" + } + }, + "environments": { + "$ref": "#/definitions/Environments" + } + }, + "title": "AlgorithmsCtRq" + }, + "Allocation_pools": { + "type": "object", + "properties": { + "start": { + "type": "string" + }, + "end": { + "type": "string" + } + }, + "title": "Allocation_pools", + "required": [ + "start", + "Start", + "end", + "End" + ] + }, + "Annotations": { + "type": "object", + "properties": { + "jobTemplate": { + "type": "string" + }, + "keyTask": { + "type": "string" + } + }, + "title": "Annotations", + "required": [ + "jobTemplate", + "keyTask" + ] + }, + "ApplyReq": { + "type": "object", + "properties": { + "yamlString": { + "type": "string" + } + }, + "title": "ApplyReq", + "required": [ + "yamlString" + ] + }, + "ApplyResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "dataSet": { + "type": "array", + "items": { + "$ref": "#/definitions/DataSet" + } + } + }, + "title": "ApplyResp", + "required": [ + "code", + "msg", + "dataSet" + ] + }, + "Argv": { + "type": "object", + "properties": { + "argv": { + "type": "string" + } + }, + "title": "Argv" + }, + "Attributes": { + "type": "object", + "properties": { + "dataFormat": { + "type": "array", + "items": { + "type": "string" + } + }, + "dataSegmentation": { + "type": "array", + "items": { + "type": "string" + } + }, + "datasetType": { + "type": "array", + "items": { + "type": "string" + } + }, + "isFree": { + "type": "string" + }, + "maxFreeJobCount": { + "type": "string" + } + }, + "title": "Attributes", + "required": [ + "dataFormat", + "dataSegmentation", + "datasetType", + "isFree", + "maxFreeJobCount" + ] + }, + "AutoSearch": { + "type": "object", + "properties": { + "skipSearchParams": { + "type": "string" + }, + "rewardAttrs": { + "type": "array", + "items": { + "$ref": "#/definitions/RewardAttrs" + } + }, + "searchParams": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchParams" + } + }, + "algoConfigs": { + "type": "array", + "items": { + "$ref": "#/definitions/AlgoConfigs" + } + } + }, + "title": "AutoSearch" + }, + "AutoSearchAlgoConfigParameterAlRp": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "title": "AutoSearchAlgoConfigParameterAlRp" + }, + "Billing": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "unitNum": { + "type": "integer", + "format": "int32" + } + }, + "title": "Billing", + "required": [ + "code", + "unitNum" + ] + }, + "Block_device_mapping_v2": { + "type": "object", + "properties": { + "source_type": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "boot_index": { + "type": "string" + }, + "destination_type": { + "type": "string" + }, + "delete_on_termination": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "Block_device_mapping_v2", + "required": [ + "source_type", + "SourceType", + "uuid", + "Uuid", + "boot_index", + "BootIndex", + "destination_type", + "DestinationType", + "delete_on_termination", + "DeleteOnTermination" + ] + }, + "BulkCreateNetworksReq": { + "type": "object", + "properties": { + "network": { + "type": "array", + "items": { + "$ref": "#/definitions/CreateNetwork" + } + } + }, + "title": "BulkCreateNetworksReq", + "required": [ + "network", + "Network" + ] + }, + "BulkCreateNetworksResp": { + "type": "object", + "properties": { + "network": { + "type": "array", + "items": { + "$ref": "#/definitions/Network" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "BulkCreateNetworksResp", + "required": [ + "network", + "Network", + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "CPU": { + "type": "object", + "properties": { + "arch": { + "type": "string" + }, + "coreNum": { + "type": "integer", + "format": "int32" + } + }, + "title": "CPU", + "required": [ + "arch", + "coreNum" + ] + }, + "CPUUsage": { + "type": "object", + "properties": { + "average": { + "type": "integer", + "format": "int32" + }, + "max": { + "type": "integer", + "format": "int32" + }, + "min": { + "type": "integer", + "format": "int32" + } + }, + "title": "CPUUsage", + "required": [ + "average", + "max", + "min" + ] + }, + "Center": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "centerSource": { + "type": "string" + }, + "sourceId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "area": { + "type": "string" + }, + "city": { + "type": "string" + }, + "longitude": { + "type": "number", + "format": "double" + }, + "latitude": { + "type": "number", + "format": "double" + }, + "status": { + "type": "string" + }, + "userNum": { + "type": "integer", + "format": "int64" + }, + "deletedFlag": { + "type": "integer", + "format": "int64" + }, + "cloudClusterNum": { + "type": "integer", + "format": "int64" + }, + "cloudNodeNum": { + "type": "integer", + "format": "int64" + }, + "cloudCpuNum": { + "type": "integer", + "format": "int64" + }, + "cloudGpuNum": { + "type": "integer", + "format": "int64" + }, + "cloudMngFlops": { + "type": "integer", + "format": "int64" + }, + "cloudUmngFlops": { + "type": "integer", + "format": "int64" + }, + "cloudMngStorage": { + "type": "integer", + "format": "int64" + }, + "cloudUmngStorage": { + "type": "integer", + "format": "int64" + }, + "aiClusterNum": { + "type": "integer", + "format": "int64" + }, + "aiNodeNum": { + "type": "integer", + "format": "int64" + }, + "aiCpuNum": { + "type": "integer", + "format": "int64" + }, + "aiGpuNum": { + "type": "integer", + "format": "int64" + }, + "aiMngFlops": { + "type": "integer", + "format": "int64" + }, + "aiUmngFlops": { + "type": "integer", + "format": "int64" + }, + "aiMngStorage": { + "type": "integer", + "format": "int64" + }, + "aiUmngStorage": { + "type": "integer", + "format": "int64" + }, + "hpcClusterNum": { + "type": "integer", + "format": "int64" + }, + "hpcNodeNum": { + "type": "integer", + "format": "int64" + }, + "hpcCpuNum": { + "type": "integer", + "format": "int64" + }, + "hpcGpuNum": { + "type": "integer", + "format": "int64" + }, + "hpcMngFlops": { + "type": "integer", + "format": "int64" + }, + "hpcUmngFlops": { + "type": "integer", + "format": "int64" + }, + "hpcMngStorage": { + "type": "integer", + "format": "int64" + }, + "hpcUmngStorage": { + "type": "integer", + "format": "int64" + }, + "edwc": { + "type": "boolean", + "format": "boolean" + }, + "ydyl": { + "type": "boolean", + "format": "boolean" + }, + "hubCode": { + "type": "integer", + "format": "int64" + } + }, + "title": "Center", + "required": [ + "id", + "centerSource", + "sourceId", + "name", + "description", + "type", + "area", + "city", + "longitude", + "latitude", + "status", + "userNum", + "deletedFlag", + "cloudClusterNum", + "cloudNodeNum", + "cloudCpuNum", + "cloudGpuNum", + "cloudMngFlops", + "cloudUmngFlops", + "cloudMngStorage", + "cloudUmngStorage", + "aiClusterNum", + "aiNodeNum", + "aiCpuNum", + "aiGpuNum", + "aiMngFlops", + "aiUmngFlops", + "aiMngStorage", + "aiUmngStorage", + "hpcClusterNum", + "hpcNodeNum", + "hpcCpuNum", + "hpcGpuNum", + "hpcMngFlops", + "hpcUmngFlops", + "hpcMngStorage", + "hpcUmngStorage", + "edwc", + "ydyl", + "hubCode" + ] + }, + "CenterData": { + "type": "object", + "properties": { + "totalCount": { + "type": "integer", + "format": "int32" + }, + "centers": { + "type": "array", + "items": { + "$ref": "#/definitions/Center" + } + } + }, + "title": "CenterData", + "required": [ + "totalCount", + "centers" + ] + }, + "CleanStep": { + "type": "object", + "title": "CleanStep" + }, + "Cloud": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": " id" + }, + "taskId": { + "type": "integer", + "format": "int64", + "description": " 任务id" + }, + "participantId": { + "type": "integer", + "format": "int64", + "description": " 集群静态信息id" + }, + "apiVersion": { + "type": "string" + }, + "name": { + "type": "string", + "description": " 名称" + }, + "namespace": { + "type": "string", + "description": " 命名空间" + }, + "kind": { + "type": "string", + "description": " 种类" + }, + "status": { + "type": "string", + "description": " 状态" + }, + "startTime": { + "type": "string", + "description": " 开始时间" + }, + "runningTime": { + "type": "integer", + "format": "int64", + "description": " 运行时长" + }, + "createdBy": { + "type": "integer", + "format": "int64", + "description": " 创建人" + }, + "createdTime": { + "type": "string", + "description": " 创建时间" + }, + "result": { + "type": "string" + } + }, + "title": "Cloud", + "required": [ + "id", + "taskId", + "participantId", + "apiVersion", + "name", + "namespace", + "kind", + "status", + "startTime", + "runningTime", + "createdBy", + "createdTime", + "result" + ] + }, + "Cluster": { + "type": "object", + "properties": { + "clusterId": { + "type": "string" + }, + "clusterName": { + "type": "string" + }, + "description": { + "type": "string" + }, + "tenant": { + "type": "string" + }, + "project": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "createdAt": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "string" + }, + "nodes": { + "$ref": "#/definitions/ClusterNode" + }, + "allocatableCpuCores": { + "type": "number", + "format": "double" + }, + "allocatableMemory": { + "type": "integer", + "format": "int64" + }, + "periodNum": { + "type": "integer", + "format": "int32" + }, + "periodType": { + "type": "string" + }, + "orderId": { + "type": "string" + } + }, + "title": "Cluster", + "required": [ + "clusterId", + "ClusterId", + "clusterName", + "ClusterName", + "description", + "Description", + "tenant", + "Tenant", + "project", + "Project", + "owner", + "Owner", + "createdAt", + "CreatedAt", + "status", + "Status", + "nodes", + "Nodes", + "allocatableCpuCores", + "AllocatableCpuCores", + "allocatableMemory", + "AllocatableMemory", + "periodNum", + "PeriodNum", + "periodType", + "PeriodType", + "orderId", + "OrderId" + ] + }, + "ClusterData": { + "type": "object", + "properties": { + "totalCount": { + "type": "integer", + "format": "int32" + }, + "clusters": { + "type": "array", + "items": { + "$ref": "#/definitions/ComputeCluster" + } + } + }, + "title": "ClusterData", + "required": [ + "totalCount", + "clusters" + ] + }, + "ClusterMetrics": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricResult" + } + } + }, + "title": "ClusterMetrics", + "required": [ + "code", + "msg", + "data" + ] + }, + "ClusterNode": { + "type": "object", + "properties": { + "specification": { + "type": "string" + }, + "count": { + "type": "integer", + "format": "int32" + }, + "availableCount": { + "type": "integer", + "format": "int32" + } + }, + "title": "ClusterNode", + "required": [ + "specification", + "Specification", + "count", + "Count", + "availableCount", + "AvailableCount" + ] + }, + "ComputeCluster": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "jcceDomainId": { + "type": "integer", + "format": "int64" + }, + "jcceDomainName": { + "type": "string" + }, + "longitude": { + "type": "number", + "format": "double" + }, + "latitude": { + "type": "number", + "format": "double" + }, + "description": { + "type": "string" + } + }, + "title": "ComputeCluster", + "required": [ + "id", + "name", + "type", + "jcceDomainId", + "jcceDomainName", + "longitude", + "latitude", + "description" + ] + }, + "ComputilityStatistics": { + "type": "object", + "properties": { + "domainSum": { + "type": "integer", + "format": "int64", + "description": "域总数" + }, + "totalComputility": { + "type": "number", + "format": "double", + "description": "算力总和" + }, + "clusterNum": { + "type": "integer", + "format": "int64", + "description": "集群总数" + } + }, + "title": "ComputilityStatistics", + "required": [ + "domainSum", + "totalComputility", + "clusterNum" + ] + }, + "ComputilityStatisticsResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + }, + "data": { + "$ref": "#/definitions/ComputilityStatistics", + "description": "容器节点已使用" + } + }, + "title": "ComputilityStatisticsResp", + "required": [ + "code", + "msg", + "ErrorMsg", + "data" + ] + }, + "Config": { + "type": "object", + "properties": { + "script": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "title": "Config", + "required": [ + "script", + "Script", + "type", + "TypeConfig" + ] + }, + "Constraint": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "editable": { + "type": "boolean", + "format": "boolean" + }, + "required": { + "type": "boolean", + "format": "boolean" + }, + "sensitive": { + "type": "boolean", + "format": "boolean" + }, + "validType": { + "type": "string" + }, + "validRange": { + "type": "object" + } + }, + "title": "Constraint", + "required": [ + "type", + "editable", + "sensitive", + "validType" + ] + }, + "ConstraintAlRq": { + "type": "object", + "properties": { + "Type": { + "type": "string" + }, + "editable": { + "type": "boolean", + "format": "boolean" + }, + "required": { + "type": "boolean", + "format": "boolean" + }, + "sensitive": { + "type": "boolean", + "format": "boolean" + }, + "validType": { + "type": "string" + }, + "validRange": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "title": "ConstraintAlRq" + }, + "ConstraintCreateTraining": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "editable": { + "type": "boolean", + "format": "boolean" + }, + "required": { + "type": "boolean", + "format": "boolean" + }, + "sensitive": { + "type": "boolean", + "format": "boolean" + }, + "validType": { + "type": "string" + } + }, + "title": "ConstraintCreateTraining" + }, + "ContainerHooks": { + "type": "object", + "properties": { + "postStart": { + "$ref": "#/definitions/Config" + }, + "preStart": { + "$ref": "#/definitions/Config" + } + }, + "title": "ContainerHooks", + "required": [ + "postStart", + "PostStart", + "preStart", + "PreStart" + ] + }, + "ContainerHooksResp": { + "type": "object", + "properties": { + "postStart": { + "$ref": "#/definitions/PostStart", + "description": " *" + }, + "preStart": { + "$ref": "#/definitions/PreStart", + "description": " *" + } + }, + "title": "ContainerHooksResp", + "required": [ + "postStart", + "PostStart", + "preStart", + "PreStart" + ] + }, + "CreNetwork": { + "type": "object", + "properties": { + "uuid": { + "type": "string" + } + }, + "title": "CreNetwork", + "required": [ + "uuid", + "Uuid" + ] + }, + "CreateAlgorithmReq": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/MetadataAlRq" + }, + "jobConfig": { + "$ref": "#/definitions/JobConfigAl" + }, + "resourceRequirements": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceRequirements" + } + }, + "advancedConfig": { + "$ref": "#/definitions/AdvancedConfigAl" + }, + "projectId": { + "type": "string" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "CreateAlgorithmReq", + "required": [ + "projectId" + ] + }, + "CreateAlgorithmResp": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/MetadataAlRp" + }, + "shareInfo": { + "$ref": "#/definitions/ShareInfo" + }, + "jobConfig": { + "$ref": "#/definitions/JobConfigAl" + }, + "resourceRequirements": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceRequirements" + } + }, + "advancedConfig": { + "$ref": "#/definitions/AdvancedConfigAl" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "CreateAlgorithmResp", + "required": [ + "metadata", + "shareInfo", + "jobConfig", + "resourceRequirements", + "advancedConfig", + "code", + "msg", + "ErrorMsg" + ] + }, + "CreateDataSetReq": { + "type": "object", + "properties": { + "datasetName": { + "type": "string" + }, + "datasetType": { + "type": "integer", + "format": "int32" + }, + "description": { + "type": "string" + }, + "workPath": { + "type": "string" + }, + "workPathType": { + "type": "integer", + "format": "int32" + }, + "projectId": { + "type": "string" + }, + "dataSources": { + "type": "array", + "items": { + "$ref": "#/definitions/DataSources" + } + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "CreateDataSetReq", + "required": [ + "datasetName", + "DatasetName", + "datasetType", + "DatasetType", + "description", + "Description", + "workPath", + "WorkPath", + "workPathType", + "WorkPathType", + "projectId", + "ProjectId", + "dataSources", + "DataSources" + ] + }, + "CreateDataSetResp": { + "type": "object", + "properties": { + "datasetId": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "CreateDataSetResp", + "required": [ + "datasetId", + "DatasetId", + "code", + "msg", + "ErrorMsg" + ] + }, + "CreateExportTaskReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "path": { + "type": "string" + }, + "annotationFormat": { + "type": "string" + }, + "exportFormat": { + "type": "integer", + "format": "int64" + }, + "exportParams": { + "$ref": "#/definitions/ExportParams" + }, + "exportType": { + "type": "integer", + "format": "int32" + }, + "sampleState": { + "type": "string" + }, + "sourceTypeHeader": { + "type": "string" + }, + "status": { + "type": "integer", + "format": "int32" + }, + "versionFormat": { + "type": "string" + }, + "versionId": { + "type": "string" + }, + "withColumnHeader": { + "type": "boolean", + "format": "boolean" + }, + "modelartsType": { + "type": "string" + } + }, + "title": "CreateExportTaskReq", + "required": [ + "projectId", + "ProjectId", + "datasetId", + "DatasetId", + "Path", + "AnnotationFormat", + "ExportFormat", + "ExportParams", + "ExportType", + "ExportState", + "SourceTypeHeader", + "Status", + "VersionFormat", + "VersionId", + "WithColumnHeader" + ] + }, + "CreateImageReq": { + "type": "object", + "properties": { + "container_format": { + "type": "string" + }, + "disk_format": { + "type": "string" + }, + "min_disk": { + "type": "integer", + "format": "int32" + }, + "min_ram": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + }, + "protected": { + "type": "boolean", + "format": "boolean" + }, + "visibility": { + "type": "string" + } + }, + "title": "CreateImageReq", + "required": [ + "container_format", + "Container_format", + "disk_format", + "Disk_format", + "min_disk", + "Min_disk", + "min_ram", + "Min_ram", + "name", + "Name", + "protected", + "Protected", + "visibility", + "Visibility" + ] + }, + "CreateImageResp": { + "type": "object", + "properties": { + "location": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "Container_format": { + "type": "string" + }, + "disk_format": { + "type": "string" + }, + "file": { + "type": "string" + }, + "id": { + "type": "string" + }, + "min_disk": { + "type": "integer", + "format": "int32" + }, + "min_ram": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "string" + }, + "visibility": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "CreateImageResp", + "required": [ + "location", + "Location", + "created_at", + "Created_at", + "Container_format", + "disk_format", + "Disk_format", + "file", + "File", + "id", + "Id", + "min_disk", + "Min_disk", + "min_ram", + "Min_ram", + "status", + "Status", + "visibility", + "Visibility", + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "CreateNetwork": { + "type": "object", + "properties": { + "admin_state_up": { + "type": "boolean", + "format": "boolean" + }, + "name": { + "type": "string" + }, + "shared": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "CreateNetwork", + "required": [ + "admin_state_up", + "AdminStateUp", + "name", + "Name", + "shared", + "Shared" + ] + }, + "CreateNetworkReq": { + "type": "object", + "properties": { + "network": { + "$ref": "#/definitions/CreateNetwork" + } + }, + "title": "CreateNetworkReq", + "required": [ + "network", + "Network" + ] + }, + "CreateNetworkResp": { + "type": "object", + "properties": { + "network": { + "$ref": "#/definitions/Network" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "CreateNetworkResp", + "required": [ + "network", + "Network", + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "CreateNodeReq": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "driver": { + "type": "string" + }, + "driver_info": { + "$ref": "#/definitions/DriverInfo" + }, + "resource_class": { + "type": "string" + }, + "boot_interface": { + "type": "string" + }, + "conductor_group": { + "type": "string" + }, + "console_interface": { + "type": "string" + }, + "deploy_interface": { + "type": "string" + }, + "inspect_interface": { + "type": "string" + }, + "inspect_interface": { + "type": "string" + }, + "network_interface": { + "type": "string" + }, + "rescue_interface": { + "type": "string" + }, + "storage_interface": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "vendor_interface": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "description": { + "type": "string" + }, + "lessee": { + "type": "string" + }, + "shard": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/Properties" + }, + "automated_clean": { + "type": "boolean", + "format": "boolean" + }, + "bios_interface": { + "type": "string" + }, + "chassis_uuid": { + "type": "string" + }, + "instance_uuid": { + "type": "string" + }, + "maintenance": { + "type": "boolean", + "format": "boolean" + }, + "maintenance_reason": { + "type": "boolean", + "format": "boolean" + }, + "network_data": { + "$ref": "#/definitions/NetworkData" + }, + "protected": { + "type": "boolean", + "format": "boolean" + }, + "protected_reason": { + "type": "string" + }, + "retired": { + "type": "boolean", + "format": "boolean" + }, + "retired_reason": { + "type": "string" + } + }, + "title": "CreateNodeReq", + "required": [ + "name", + "Name", + "driver", + "Driver", + "driver_info", + "DriverInfo", + "resource_class", + "ResourceClass", + "boot_interface", + "BootInterface", + "conductor_group", + "ConductorGroup", + "console_interface", + "ConsoleInterface", + "deploy_interface", + "DeployInterface", + "inspect_interface", + "InspectInterface", + "ManagementInterface", + "network_interface", + "NetworkInterface", + "rescue_interface", + "RescueInterface", + "storage_interface", + "StorageInterface", + "uuid", + "Uuid", + "vendor_interface", + "VendorInterface", + "owner", + "Owner", + "description", + "Description", + "lessee", + "Lessee", + "shard", + "Shard", + "properties", + "Properties", + "automated_clean", + "AutomatedClean", + "bios_interface", + "BiosInterface", + "chassis_uuid", + "ChassisUuid", + "instance_uuid", + "InstanceUuid", + "maintenance", + "Maintenance", + "maintenance_reason", + "MaintenanceReason", + "network_data", + "NetworkData", + "protected", + "Protected", + "protected_reason", + "ProtectedReason", + "retired", + "Retired", + "retired_reason", + "RetiredReason" + ] + }, + "CreateNodeResp": { + "type": "object", + "properties": { + "allocation_uuid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "power_state": { + "type": "string" + }, + "target_power_state": { + "type": "string" + }, + "provision_state": { + "type": "string" + }, + "target_provision_state": { + "type": "string" + }, + "maintenance": { + "type": "boolean", + "format": "boolean" + }, + "maintenance_reason": { + "type": "string" + }, + "fault": { + "type": "string" + }, + "last_error": { + "type": "string" + }, + "reservation": { + "type": "string" + }, + "driver": { + "type": "string" + }, + "driver_info": { + "$ref": "#/definitions/Driver_info" + }, + "driver_internal_info": { + "$ref": "#/definitions/DriverInternalInfo" + }, + "properties": { + "$ref": "#/definitions/Properties" + }, + "instance_info": { + "$ref": "#/definitions/InstanceInfo" + }, + "instance_uuid": { + "type": "string" + }, + "chassis_uuid": { + "type": "string" + }, + "extra": { + "$ref": "#/definitions/Extra" + }, + "console_enabled": { + "type": "boolean", + "format": "boolean" + }, + "raid_config": { + "$ref": "#/definitions/RaidConfig" + }, + "target_raid_config": { + "$ref": "#/definitions/TargetRaidConfig" + }, + "clean_step": { + "$ref": "#/definitions/CleanStep" + }, + "clean_step": { + "$ref": "#/definitions/DeployStep" + }, + "links": { + "type": "array", + "items": { + "$ref": "#/definitions/Links" + } + }, + "ports": { + "type": "array", + "items": { + "$ref": "#/definitions/Ports" + } + }, + "portgroups": { + "type": "array", + "items": { + "$ref": "#/definitions/Portgroups" + } + }, + "states": { + "type": "array", + "items": { + "$ref": "#/definitions/States" + } + }, + "resource_class": { + "type": "string" + }, + "boot_interface": { + "type": "string" + }, + "console_interface": { + "type": "string" + }, + "deploy_interface": { + "type": "string" + }, + "conductor_group": { + "type": "string" + }, + "inspect_interface": { + "type": "string" + }, + "management_interface": { + "type": "string" + }, + "network_interface": { + "type": "string" + }, + "power_interface": { + "type": "string" + }, + "raid_interface": { + "type": "string" + }, + "rescue_interface": { + "type": "string" + }, + "storage_interface": { + "type": "string" + }, + "traits": { + "type": "array", + "items": { + "type": "string" + } + }, + "volume": { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeNode" + } + }, + "protected": { + "type": "boolean", + "format": "boolean" + }, + "protected_reason": { + "type": "string" + }, + "conductor": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "lessee": { + "type": "string" + }, + "shard": { + "type": "string" + }, + "description": { + "type": "string" + }, + "automated_clean": { + "type": "string" + }, + "bios_interface": { + "type": "string" + }, + "network_data": { + "$ref": "#/definitions/NetworkData" + }, + "retired": { + "type": "boolean", + "format": "boolean" + }, + "retired_reason": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "inspection_finished_at": { + "type": "string" + }, + "inspection_started_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "provision_updated_at": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "CreateNodeResp", + "required": [ + "allocation_uuid", + "AllocationUuid", + "name", + "power_state", + "PowerState", + "target_power_state", + "TargetPowerState", + "provision_state", + "ProvisionState", + "target_provision_state", + "TargetProvisionState", + "maintenance", + "Maintenance", + "maintenance_reason", + "MaintenanceReason", + "fault", + "Fault", + "last_error", + "LastError", + "reservation", + "Reservation", + "driver", + "Driver", + "driver_info", + "DriverInfo", + "driver_internal_info", + "DriverInternalInfo", + "properties", + "Properties", + "instance_info", + "InstanceInfo", + "instance_uuid", + "InstanceUuid", + "chassis_uuid", + "ChassisUuid", + "extra", + "Extra", + "console_enabled", + "ConsoleEnabled", + "raid_config", + "RaidConfig", + "target_raid_config", + "TargetRaidConfig", + "clean_step", + "CleanStep", + "DeployStep", + "links", + "Links", + "ports", + "Ports", + "portgroups", + "Portgroups", + "states", + "States", + "resource_class", + "ResourceClass", + "boot_interface", + "BootInterface", + "console_interface", + "ConsoleInterface", + "deploy_interface", + "DeployInterface", + "conductor_group", + "ConductorGroup", + "inspect_interface", + "InspectInterface", + "management_interface", + "ManagementInterface", + "network_interface", + "NetworkInterface", + "power_interface", + "PowerInterface", + "raid_interface", + "RaidInterface", + "rescue_interface", + "RescueInterface", + "storage_interface", + "StorageInterface", + "traits", + "Traits", + "volume", + "Volume", + "protected", + "Protected", + "protected_reason", + "ProtectedReason", + "conductor", + "Conductor", + "owner", + "Owner", + "lessee", + "Lessee", + "shard", + "Shard", + "description", + "Description", + "automated_clean", + "AutomatedClean", + "bios_interface", + "BiosInterface", + "network_data", + "NetworkData", + "retired", + "Retired", + "retired_reason", + "RetiredReason", + "created_at", + "CreatedAt", + "inspection_finished_at", + "InspectionFinishedAt", + "inspection_started_at", + "InspectionStartedAt", + "updated_at", + "UpdatedAt", + "uuid", + "provision_updated_at", + "ProvisionUpdatedAt", + "code", + "msg", + "errorMsg" + ] + }, + "CreateNotebookParam": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "duration": { + "type": "integer", + "format": "int64" + }, + "endpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/EndpointsReq" + } + }, + "feature": { + "type": "string" + }, + "flavor": { + "type": "string" + }, + "imageId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "poolId": { + "type": "string" + }, + "volume": { + "$ref": "#/definitions/VolumeReq" + }, + "workspaceId": { + "type": "string" + }, + "hooks": { + "$ref": "#/definitions/CustomHooks" + }, + "lease": { + "$ref": "#/definitions/LeaseReq" + } + }, + "title": "CreateNotebookParam", + "required": [ + "Description", + "Duration", + "Endpoints", + "Feature", + "flavor", + "Flavor", + "imageId", + "ImageId", + "name", + "Name", + "PoolId", + "volume", + "Volume", + "WorkspaceId", + "hooks", + "Hooks", + "Lease" + ] + }, + "CreateNotebookReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "param": { + "$ref": "#/definitions/CreateNotebookParam" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "CreateNotebookReq", + "required": [ + "projectId", + "ProjectId", + "param", + "Param" + ] + }, + "CreateNotebookResp": { + "type": "object", + "properties": { + "notebookResp": { + "$ref": "#/definitions/NotebookResp" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "CreateNotebookResp", + "required": [ + "notebookResp", + "NotebookResp", + "code", + "msg", + "errorMsg" + ] + }, + "CreateProcessorTaskReq": { + "type": "object", + "properties": { + "datasetId": { + "type": "string" + }, + "createVersion": { + "type": "boolean", + "format": "boolean" + }, + "description": { + "type": "string" + }, + "dataSource": { + "$ref": "#/definitions/ProcessorDataSource" + }, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/ProcessorDataSource" + } + }, + "name": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/TemplateParam" + }, + "versionId": { + "type": "string" + }, + "workPath": { + "$ref": "#/definitions/WorkPath" + }, + "workspaceId": { + "type": "string" + }, + "modelartsType": { + "type": "string" + } + }, + "title": "CreateProcessorTaskReq", + "required": [ + "datasetId", + "ProjectId", + "CreateVersion", + "Description", + "DataSources", + "Inputs", + "Nmae", + "Template", + "VersionId", + "WorkPath", + "WorkspaceId" + ] + }, + "CreateProcessorTaskResp": { + "type": "object", + "properties": { + "taskId": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + } + }, + "title": "CreateProcessorTaskResp", + "required": [ + "Code", + "Msg" + ] + }, + "CreateServerReq": { + "type": "object", + "properties": { + "server": { + "$ref": "#/definitions/Server" + } + }, + "title": "CreateServerReq", + "required": [ + "server", + "Server" + ] + }, + "CreateServerResp": { + "type": "object", + "properties": { + "server": { + "$ref": "#/definitions/ServerResp" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "CreateServerResp", + "required": [ + "server", + "Server", + "code", + "msg", + "errorMsg" + ] + }, + "CreateServiceReq": { + "type": "object", + "properties": { + "workspaceId": { + "type": "string" + }, + "schedule": { + "$ref": "#/definitions/Scheduler" + }, + "clusterId": { + "type": "string" + }, + "inferType": { + "type": "string" + }, + "vpcId": { + "type": "string" + }, + "serviceName": { + "type": "string" + }, + "description": { + "type": "string" + }, + "securityGroupId": { + "type": "string" + }, + "subnetNetworkId": { + "type": "string" + }, + "config": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceConfig" + } + }, + "projectId": { + "type": "string" + }, + "modelartsType": { + "type": "string" + } + }, + "title": "CreateServiceReq", + "required": [ + "WorkspaceId", + "Schedule", + "ClusterId", + "InferType", + "VpcId", + "ServiceName", + "Description", + "SecurityGroupId", + "SubnetNetworkId", + "Config", + "projectId" + ] + }, + "CreateServiceResp": { + "type": "object", + "properties": { + "serviceId": { + "type": "string" + }, + "resourceIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "CreateServiceResp", + "required": [ + "serviceId", + "ServiceId", + "resourceIds", + "ResourceIds", + "code", + "msg", + "ErrorMsg" + ] + }, + "CreateSubnetReq": { + "type": "object", + "properties": { + "subnet": { + "$ref": "#/definitions/Subnet" + } + }, + "title": "CreateSubnetReq", + "required": [ + "subnet", + "Subnet" + ] + }, + "CreateSubnetResp": { + "type": "object", + "properties": { + "subnet": { + "$ref": "#/definitions/SubnetResp" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "CreateSubnetResp", + "required": [ + "subnet", + "Subnet", + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "CreateTrainingJobReq": { + "type": "object", + "properties": { + "kind": { + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/MetadataS" + }, + "algorithm": { + "$ref": "#/definitions/AlgorithmsCtRq" + }, + "spec": { + "$ref": "#/definitions/SpecsCtRq" + }, + "projectId": { + "type": "string" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "CreateTrainingJobReq", + "required": [ + "projectId" + ] + }, + "CreateTrainingJobResp": { + "type": "object", + "properties": { + "kind": { + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/MetadataS" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "spec": { + "$ref": "#/definitions/SpecCtRp" + }, + "algorithm": { + "$ref": "#/definitions/AlgorithmsCtRq" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "CreateTrainingJobResp", + "required": [ + "kind", + "metadata", + "status", + "spec", + "algorithm", + "code", + "msg", + "ErrorMsg" + ] + }, + "CreateVisualizationJobParam": { + "type": "object", + "properties": { + "jobName": { + "type": "string" + }, + "jobDesc": { + "type": "string" + }, + "trainUrl": { + "type": "string" + }, + "jobType": { + "type": "string" + }, + "flavor": { + "$ref": "#/definitions/Flavor" + }, + "schedule": { + "$ref": "#/definitions/Schedule" + } + }, + "title": "CreateVisualizationJobParam", + "required": [ + "jobName", + "jobDesc", + "trainUrl", + "jobType", + "flavor", + "schedule" + ] + }, + "CreateVisualizationJobReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "param": { + "$ref": "#/definitions/CreateVisualizationJobParam" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "CreateVisualizationJobReq", + "required": [ + "projectId", + "param" + ] + }, + "CreateVisualizationJobResp": { + "type": "object", + "properties": { + "errorMessage": { + "type": "string" + }, + "errorCode": { + "type": "string" + }, + "jobId": { + "type": "integer", + "format": "int64" + }, + "jobName": { + "type": "string" + }, + "status": { + "type": "integer", + "format": "int32" + }, + "createTime": { + "type": "integer", + "format": "int64" + }, + "serviceUrl": { + "type": "string" + } + }, + "title": "CreateVisualizationJobResp", + "required": [ + "errorMessage", + "errorCode", + "jobId", + "jobName", + "status", + "createTime", + "serviceUrl" + ] + }, + "CreateVolumeReq": { + "type": "object", + "properties": { + "volume": { + "$ref": "#/definitions/Volume" + } + }, + "title": "CreateVolumeReq", + "required": [ + "volume", + "Volume" + ] + }, + "CreateVolumeResp": { + "type": "object", + "properties": { + "volume": { + "$ref": "#/definitions/VolumeResp" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "CreateVolumeResp", + "required": [ + "volume", + "Volume", + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "CreateVolumeTypeReq": { + "type": "object", + "properties": { + "volume_type": { + "$ref": "#/definitions/VolumeType" + } + }, + "title": "CreateVolumeTypeReq", + "required": [ + "volume_type", + "VolumeType" + ] + }, + "CreateVolumeTypeResp": { + "type": "object", + "properties": { + "volume_type": { + "$ref": "#/definitions/VolumeType" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "CreateVolumeTypeResp", + "required": [ + "volume_type", + "VolumeType", + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "CustomHooks": { + "type": "object", + "properties": { + "containerHooks": { + "$ref": "#/definitions/ContainerHooks" + } + }, + "title": "CustomHooks", + "required": [ + "containerHooks", + "ContainerHooks" + ] + }, + "CustomSpec": { + "type": "object", + "properties": { + "gpuP4": { + "type": "number", + "format": "double" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "cpu": { + "type": "number", + "format": "double" + }, + "ascendA310": { + "type": "integer", + "format": "int64" + } + }, + "title": "CustomSpec", + "required": [ + "GpuP4", + "Memory", + "Cpu", + "AscendA310" + ] + }, + "DailyComputerPowers": { + "type": "object", + "properties": { + "date": { + "type": "string" + }, + "computerPower": { + "type": "number", + "format": "float" + } + }, + "title": "DailyComputerPowers", + "required": [ + "date", + "Date", + "computerPower", + "ComputerPower" + ] + }, + "DailyPowerScreenReq": { + "type": "object", + "title": "DailyPowerScreenReq" + }, + "DailyPowerScreenResp": { + "type": "object", + "properties": { + "totalSize": { + "type": "integer", + "format": "int32" + }, + "dailyComputerPowers": { + "type": "array", + "items": { + "$ref": "#/definitions/DailyComputerPowers" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "DailyPowerScreenResp", + "required": [ + "totalSize", + "TotalSize", + "dailyComputerPowers", + "DailyComputerPowers", + "code", + "msg", + "ErrorMsg" + ] + }, + "DataSet": { + "type": "object", + "properties": { + "apiVersion": { + "type": "integer", + "format": "int32" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nameSpace": { + "type": "string" + } + }, + "title": "DataSet", + "required": [ + "apiVersion", + "kind", + "name", + "nameSpace" + ] + }, + "DataSetReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "offSet": { + "type": "integer", + "format": "int32" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "DataSetReq", + "required": [ + "projectId" + ] + }, + "DataSetResp": { + "type": "object", + "properties": { + "totalNumber": { + "type": "integer", + "format": "int32" + }, + "dataSets": { + "type": "array", + "items": { + "$ref": "#/definitions/DataSets" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "DataSetResp", + "required": [ + "totalNumber", + "TotalNumber", + "dataSets", + "Datasets", + "code", + "msg", + "errorMsg" + ] + }, + "DataSets": { + "type": "object", + "properties": { + "datasetId": { + "type": "string" + }, + "dataFormat": { + "type": "string" + }, + "dataSources": { + "type": "array", + "items": { + "$ref": "#/definitions/DataSources" + } + }, + "datasetFormat": { + "type": "integer", + "format": "int32" + }, + "datasetName": { + "type": "string" + }, + "datasetType": { + "type": "integer", + "format": "int32" + }, + "importData": { + "type": "boolean", + "format": "boolean" + }, + "totalSampleCount": { + "type": "integer", + "format": "int32" + }, + "createTime": { + "type": "integer", + "format": "int64" + }, + "description": { + "type": "string" + } + }, + "title": "DataSets", + "required": [ + "datasetId", + "DatasetId", + "dataFormat", + "DataFormat", + "dataSources", + "DataSources", + "datasetFormat", + "DatasetFormat", + "datasetName", + "DatasetName", + "datasetType", + "DatasetType", + "importData", + "ImportData", + "totalSampleCount", + "TotalSampleCount", + "createTime", + "CreateTime", + "description", + "Description" + ] + }, + "DataSources": { + "type": "object", + "properties": { + "dataPath": { + "type": "string" + }, + "dataType": { + "type": "integer", + "format": "int32" + } + }, + "title": "DataSources", + "required": [ + "dataPath", + "DataPath", + "dataType", + "DataType" + ] + }, + "DataVolumesRes": { + "type": "object", + "properties": { + "category": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "status": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "title": "DataVolumesRes", + "required": [ + "category", + "Category", + "id", + "Id", + "mountPath", + "MountPath", + "status", + "Status", + "uri", + "Uri" + ] + }, + "DatasetTra": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "versionName": { + "type": "string" + }, + "versionId": { + "type": "string" + } + }, + "title": "DatasetTra" + }, + "DeleteAlgorithmReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "algorithmId": { + "type": "string" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "DeleteAlgorithmReq", + "required": [ + "projectId", + "ProjectId", + "algorithmId", + "AlgorithmId" + ] + }, + "DeleteAlgorithmResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "DeleteAlgorithmResp", + "required": [ + "code", + "msg", + "ErrorMsg" + ] + }, + "DeleteDataSetReq": { + "type": "object", + "properties": { + "datasetId": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "DeleteDataSetReq", + "required": [ + "datasetId", + "projectId" + ] + }, + "DeleteDataSetResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "DeleteDataSetResp", + "required": [ + "code", + "msg", + "ErrorMsg" + ] + }, + "DeleteImageReq": { + "type": "object", + "properties": { + "image_id": { + "type": "string" + } + }, + "title": "DeleteImageReq", + "required": [ + "image_id", + "ImageId" + ] + }, + "DeleteImageResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "DeleteImageResp", + "required": [ + "code", + "msg", + "errorMsg" + ] + }, + "DeleteLinkImageReq": { + "type": "object", + "properties": { + "partId": { + "type": "integer", + "format": "int64" + }, + "imageId": { + "type": "string" + } + }, + "title": "DeleteLinkImageReq", + "required": [ + "partId", + "imageId" + ] + }, + "DeleteLinkImageResp": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "format": "boolean" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "DeleteLinkImageResp", + "required": [ + "success", + "errorMsg" + ] + }, + "DeleteLinkTaskReq": { + "type": "object", + "properties": { + "partId": { + "type": "integer", + "format": "int64" + }, + "taskId": { + "type": "string" + } + }, + "title": "DeleteLinkTaskReq", + "required": [ + "partId", + "taskId" + ] + }, + "DeleteLinkTaskResp": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "format": "boolean" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "DeleteLinkTaskResp", + "required": [ + "success", + "errorMsg" + ] + }, + "DeleteNetworkReq": { + "type": "object", + "properties": { + "network_id": { + "type": "string" + } + }, + "title": "DeleteNetworkReq", + "required": [ + "network_id", + "NetworkId" + ] + }, + "DeleteNetworkResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "DeleteNetworkResp", + "required": [ + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "DeleteNodeReq": { + "type": "object", + "properties": { + "node_ident": { + "type": "string" + } + }, + "title": "DeleteNodeReq", + "required": [ + "node_ident", + "NodeIdent" + ] + }, + "DeleteNodeResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "DeleteNodeResp", + "required": [ + "code", + "msg", + "errorMsg" + ] + }, + "DeleteReq": { + "type": "object", + "properties": { + "yamlString": { + "type": "string" + } + }, + "title": "DeleteReq", + "required": [ + "yamlString" + ] + }, + "DeleteResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "data": { + "type": "string" + } + }, + "title": "DeleteResp", + "required": [ + "code", + "msg", + "data" + ] + }, + "DeleteServerReq": { + "type": "object", + "properties": { + "server_id": { + "type": "string" + } + }, + "title": "DeleteServerReq", + "required": [ + "server_id", + "ServerId" + ] + }, + "DeleteServerResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "DeleteServerResp", + "required": [ + "code", + "msg", + "errorMsg" + ] + }, + "DeleteServiceReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "serviceId": { + "type": "string" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "DeleteServiceReq", + "required": [ + "projectId", + "serviceId" + ] + }, + "DeleteServiceResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "DeleteServiceResp", + "required": [ + "code", + "msg", + "ErrorMsg" + ] + }, + "DeleteTrainingJobReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "trainingJobId": { + "type": "string" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "DeleteTrainingJobReq", + "required": [ + "projectId", + "trainingJobId" + ] + }, + "DeleteTrainingJobResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "DeleteTrainingJobResp", + "required": [ + "code", + "msg", + "ErrorMsg" + ] + }, + "DeleteVolumeReq": { + "type": "object", + "properties": { + "volume_id": { + "type": "string" + }, + "cascade": { + "type": "boolean", + "format": "boolean" + }, + "force": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "DeleteVolumeReq", + "required": [ + "volume_id", + "VolumeId", + "cascade", + "Cascade", + "force" + ] + }, + "DeleteVolumeResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "DeleteVolumeResp", + "required": [ + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "DeleteVolumeTypeReq": { + "type": "object", + "properties": { + "volume_type_id": { + "type": "string" + } + }, + "title": "DeleteVolumeTypeReq", + "required": [ + "volume_type_id", + "VolumeTypeId" + ] + }, + "DeleteVolumeTypeResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "DeleteVolumeTypeResp", + "required": [ + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "DeployStep": { + "type": "object", + "title": "DeployStep" + }, + "Disk": { + "type": "object", + "properties": { + "size": { + "type": "integer", + "format": "int32" + }, + "unit": { + "type": "string" + } + }, + "title": "Disk", + "required": [ + "size", + "unit" + ] + }, + "DomainResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": " id" + }, + "domainId": { + "type": "string", + "description": " 资源域id" + }, + "domainName": { + "type": "string", + "description": " 资源域名称" + }, + "jobCount": { + "type": "integer", + "format": "int64", + "description": " 资源域任务数量" + }, + "domainSource": { + "type": "integer", + "format": "int64", + "description": " 资源域数据来源:0-nudt,1-鹏城" + }, + "stack": { + "type": "string", + "description": " 技术栈" + }, + "resourceType": { + "type": "string", + "description": " 资源类型" + }, + "cpu": { + "type": "number", + "format": "double", + "description": " cpu使用率" + }, + "memory": { + "type": "number", + "format": "double", + "description": " 内存使用率" + }, + "disk": { + "type": "number", + "format": "double", + "description": " 存储使用率" + }, + "nodeCount": { + "type": "number", + "format": "double", + "description": "节点使用率" + }, + "description": { + "type": "string", + "description": "集群描述" + }, + "clusterName": { + "type": "string", + "description": "集群名称" + }, + "cpuTotal": { + "type": "number", + "format": "double", + "description": "cpu总核数" + }, + "memoryTotal": { + "type": "number", + "format": "double", + "description": "内存总量Gi" + }, + "diskTotal": { + "type": "number", + "format": "double", + "description": "存储总量GB" + }, + "nodeTotal": { + "type": "number", + "format": "double", + "description": "容器节点数" + }, + "cpuUsage": { + "type": "number", + "format": "double", + "description": "cpu已使用核数" + }, + "memoryUsage": { + "type": "number", + "format": "double", + "description": "内存已使用Gi" + }, + "diskUsage": { + "type": "number", + "format": "double", + "description": "存储已使用GB" + }, + "nodeUsage": { + "type": "number", + "format": "double", + "description": "容器节点已使用" + } + }, + "title": "DomainResource", + "required": [ + "id", + "domainId", + "domainName", + "jobCount", + "domainSource", + "stack", + "resourceType", + "cpu", + "memory", + "disk", + "nodeCount", + "description", + "clusterName", + "cpuTotal", + "memoryTotal", + "diskTotal", + "nodeTotal", + "cpuUsage", + "memoryUsage", + "diskUsage", + "nodeUsage" + ] + }, + "DomainResourceResp": { + "type": "object", + "properties": { + "totalCount": { + "type": "integer", + "format": "int32" + }, + "domainResourceList": { + "type": "array", + "items": { + "$ref": "#/definitions/DomainResource" + } + } + }, + "title": "DomainResourceResp", + "required": [ + "totalCount", + "domainResourceList" + ] + }, + "DriverInfo": { + "type": "object", + "title": "DriverInfo" + }, + "DriverInternalInfo": { + "type": "object", + "title": "DriverInternalInfo" + }, + "Driver_info": { + "type": "object", + "properties": { + "ipmi_password": { + "type": "string" + }, + "ipmi_username": { + "type": "string" + } + }, + "title": "Driver_info", + "required": [ + "ipmi_password", + "ipmi_username" + ] + }, + "EndpointsReq": { + "type": "object", + "properties": { + "allowedAccessIps": { + "type": "array", + "items": { + "type": "string" + } + }, + "devService": { + "type": "string" + }, + "sshKeys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "title": "EndpointsReq", + "required": [ + "allowedAccessIps", + "AllowedAccessIps", + "devService", + "DevService", + "sshKeys", + "SshKeys" + ] + }, + "EndpointsRes": { + "type": "object", + "properties": { + "allowedAccessIps": { + "type": "array", + "items": { + "type": "string" + } + }, + "devService": { + "type": "string" + }, + "sshKeys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "title": "EndpointsRes", + "required": [ + "allowedAccessIps", + "AllowedAccessIps", + "devService", + "DevService", + "sshKeys", + "SshKeys" + ] + }, + "Engine": { + "type": "object", + "properties": { + "engineId": { + "type": "string" + }, + "engineName": { + "type": "string" + }, + "engineVersion": { + "type": "string" + }, + "v1Compatible": { + "type": "boolean", + "format": "boolean" + }, + "runUser": { + "type": "string" + }, + "imageSource": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "Engine", + "required": [ + "engineId", + "engineName", + "engineVersion", + "v1Compatible", + "runUser", + "imageSource" + ] + }, + "EngineAlRq": { + "type": "object", + "properties": { + "engineId": { + "type": "string" + }, + "engineName": { + "type": "string" + }, + "engineVersion": { + "type": "string" + }, + "imageUrl": { + "type": "string" + } + }, + "title": "EngineAlRq" + }, + "EngineCreateTraining": { + "type": "object", + "properties": { + "engineId": { + "type": "string" + }, + "engineName": { + "type": "string" + }, + "engineVersion": { + "type": "string" + }, + "imageUrl": { + "type": "string" + } + }, + "title": "EngineCreateTraining" + }, + "EnvSl": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "title": "EnvSl", + "required": [ + "key", + "value" + ] + }, + "Environment": { + "type": "object", + "properties": { + "environment": { + "type": "string" + } + }, + "title": "Environment" + }, + "Environments": { + "type": "object", + "title": "Environments" + }, + "ExportParams": { + "type": "object", + "properties": { + "clearHardProperty": { + "type": "boolean", + "format": "boolean" + }, + "exportDatasetVersionFormat": { + "type": "string" + }, + "exportDatasetVersionName": { + "type": "string" + }, + "exportDest": { + "type": "string" + }, + "exportNewDatasetWorkName": { + "type": "string" + }, + "exportNewDatasetWorkPath": { + "type": "string" + }, + "ratioSampleUsage": { + "type": "boolean", + "format": "boolean" + }, + "sampleState": { + "type": "string" + }, + "sample": { + "type": "array", + "items": { + "type": "string" + } + }, + "searchConditions": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchCondition" + } + }, + "trainSampleRatio": { + "type": "string" + } + }, + "title": "ExportParams", + "required": [ + "clearHardProperty", + "ClearHardProperty", + "ExportDatasetVersionFormat", + "ExportDatasetVersionName", + "ExportDest", + "ExportNewDatasetWorkName", + "ExportNewDatasetWorkPath", + "RatioSampleUsage", + "SampleState", + "Sample", + "SearchConditions", + "TrainSampleRatio" + ] + }, + "ExportTaskDataResp": { + "type": "object", + "properties": { + "taskId": { + "type": "string" + }, + "createTime": { + "type": "integer", + "format": "int32" + }, + "exportFormat": { + "type": "integer", + "format": "int64" + }, + "exportParams": { + "$ref": "#/definitions/ExportParams" + }, + "finishedSampleCount": { + "type": "integer", + "format": "int32" + }, + "path": { + "type": "string" + }, + "progress": { + "type": "number", + "format": "double" + }, + "status": { + "type": "string" + }, + "totalSampleCount": { + "type": "integer", + "format": "int64" + }, + "updateTime": { + "type": "integer", + "format": "int32" + }, + "versionFormat": { + "type": "string" + }, + "versionId": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "ExportTaskDataResp", + "required": [ + "taskId", + "TaskId", + "createTime", + "CreateTime", + "exportFormat", + "ExportFormat", + "exportParams", + "ExportParams", + "finishedSampleCount", + "FinishedSampleCount", + "path", + "Path", + "progress", + "Progress", + "status", + "Status", + "totalSampleCount", + "TotalSampleCount", + "updateTime", + "UpdateTime", + "versionFormat", + "VersionFormat", + "versionId", + "VersionId", + "code", + "msg", + "ErrorMsg" + ] + }, + "ExportTaskStatus": { + "type": "object", + "properties": { + "taskId": { + "type": "string" + }, + "createTime": { + "type": "integer", + "format": "int32" + }, + "errorCode": { + "type": "string" + }, + "errorMsg": { + "type": "string" + }, + "exportFormat": { + "type": "integer", + "format": "int64" + }, + "exportParams": { + "$ref": "#/definitions/ExportParams" + }, + "finishedSampleCount": { + "type": "integer", + "format": "int32" + }, + "path": { + "type": "string" + }, + "progress": { + "type": "number", + "format": "double" + }, + "status": { + "type": "string" + }, + "totalCount": { + "type": "integer", + "format": "int64" + }, + "updateTime": { + "type": "integer", + "format": "int32" + }, + "versionFormat": { + "type": "string" + }, + "versionId": { + "type": "string" + }, + "exportType": { + "type": "integer", + "format": "int32" + }, + "totalSample": { + "type": "integer", + "format": "int64" + } + }, + "title": "ExportTaskStatus", + "required": [ + "taskId", + "TaskId", + "createTime", + "CreateTime", + "errorCode", + "ErrorCode", + "errorMsg", + "ErrorMsg", + "exportFormat", + "ExportFormat", + "exportParams", + "ExportParams", + "finishedSampleCount", + "FinishedSampleCount", + "path", + "Path", + "progress", + "Progress", + "status", + "Status", + "totalCount", + "TotalCount", + "updateTime", + "UpdateTime", + "versionFormat", + "VersionFormat", + "versionId", + "VersionId", + "exportType", + "ExportType", + "totalSample", + "TotalSample" + ] + }, + "Extra": { + "type": "object", + "title": "Extra" + }, + "ExtraSpecs": { + "type": "object", + "properties": { + "capabilities": { + "type": "string" + } + }, + "title": "ExtraSpecs", + "required": [ + "capabilities", + "Capabilities" + ] + }, + "Extra_specs": { + "type": "object", + "properties": { + "capabilities": { + "type": "string" + } + }, + "title": "Extra_specs", + "required": [ + "capabilities", + "Capabilities" + ] + }, + "Fault": { + "type": "object", + "properties": { + "code ": { + "type": "integer", + "format": "int32" + }, + "created ": { + "type": "string" + }, + "message ": { + "type": "string" + }, + "details ": { + "type": "string" + } + }, + "title": "Fault", + "required": [ + "code ", + "Code", + "created ", + "Created", + "message ", + "Message", + "details ", + "Details" + ] + }, + "Fields": { + "type": "object", + "title": "Fields" + }, + "Flavor": { + "type": "object", + "properties": { + "code": { + "type": "string" + } + }, + "title": "Flavor", + "required": [ + "code" + ] + }, + "FlavorDetail": { + "type": "object", + "properties": { + "flavorType": { + "type": "string" + }, + "billing": { + "$ref": "#/definitions/Billing" + }, + "attributes": { + "$ref": "#/definitions/Attributes" + }, + "flavorInfo": { + "$ref": "#/definitions/FlavorInfo" + } + }, + "title": "FlavorDetail", + "required": [ + "flavorType", + "billing", + "attributes", + "flavorInfo" + ] + }, + "FlavorDetailed": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "links": { + "type": "string" + }, + "vcpus": { + "type": "string" + }, + "ram": { + "type": "integer", + "format": "int32" + }, + "ram": { + "type": "integer", + "format": "int32" + }, + "ephemeral": { + "type": "integer", + "format": "int32" + }, + "swap": { + "type": "integer", + "format": "int32" + }, + "OriginalName": { + "type": "string" + }, + "Extra_specs": { + "$ref": "#/definitions/ExtraSpecs" + } + }, + "title": "FlavorDetailed", + "required": [ + "id", + "Id", + "links", + "Links", + "vcpus", + "Vcpus", + "ram", + "Ram", + "Disk", + "ephemeral", + "Dphemeral", + "swap", + "Swap", + "OriginalName", + "Extra_specs", + "ExtraSpecs" + ] + }, + "FlavorInfo": { + "type": "object", + "properties": { + "cpu": { + "$ref": "#/definitions/CPU" + }, + "gpu": { + "$ref": "#/definitions/Gpu" + }, + "memory": { + "$ref": "#/definitions/Memory" + }, + "disk": { + "$ref": "#/definitions/Disk" + } + }, + "title": "FlavorInfo", + "required": [ + "cpu", + "gpu", + "memory", + "disk" + ] + }, + "Flavors": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "disk": { + "type": "integer", + "format": "int32" + }, + "ephemeral": { + "type": "integer", + "format": "int32" + }, + "original_name": { + "type": "string" + }, + "ram": { + "type": "integer", + "format": "int32" + }, + "swap": { + "type": "integer", + "format": "int32" + }, + "vcpus": { + "type": "integer", + "format": "int32" + }, + "rxtx_factor": { + "type": "number", + "format": "float" + }, + "os_flavor_access_is_public": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "Flavors", + "required": [ + "name", + "description", + "id", + "disk", + "ephemeral", + "original_name", + "ram", + "swap", + "vcpus", + "rxtx_factor", + "os_flavor_access_is_public" + ] + }, + "GetComputeLimitsReq": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "offSet": { + "type": "integer", + "format": "int32" + } + }, + "title": "GetComputeLimitsReq" + }, + "GetComputeLimitsResp": { + "type": "object", + "properties": { + "limits": { + "$ref": "#/definitions/Limits" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "GetComputeLimitsResp", + "required": [ + "code", + "msg", + "errorMsg" + ] + }, + "GetExportTaskStatusOfDatasetReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "resourceId": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "modelartsType": { + "type": "string" + } + }, + "title": "GetExportTaskStatusOfDatasetReq", + "required": [ + "projectId", + "resourceId", + "taskId" + ] + }, + "GetExportTaskStatusOfDatasetResp": { + "type": "object", + "properties": { + "taskId": { + "type": "string" + }, + "createTime": { + "type": "integer", + "format": "int32" + }, + "exportFormat": { + "type": "integer", + "format": "int64" + }, + "exportParams": { + "$ref": "#/definitions/ExportParams" + }, + "exportTasks": { + "type": "array", + "items": { + "$ref": "#/definitions/ExportTaskStatus" + } + }, + "finishedSampleCount": { + "type": "integer", + "format": "int32" + }, + "path": { + "type": "string" + }, + "progress": { + "type": "number", + "format": "double" + }, + "status": { + "type": "string" + }, + "totalCount": { + "type": "integer", + "format": "int64" + }, + "updateTime": { + "type": "integer", + "format": "int32" + }, + "versionFormat": { + "type": "string" + }, + "versionId": { + "type": "string" + }, + "exportType": { + "type": "integer", + "format": "int32" + }, + "totalSample": { + "type": "integer", + "format": "int64" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "GetExportTaskStatusOfDatasetResp", + "required": [ + "TaskId", + "CreateTime", + "ExportFormat", + "ExportParams", + "ExportTasks", + "FinishedSampleCount", + "Path", + "Progress", + "Status", + "TotalCount", + "UpdateTime", + "VersionFormat", + "VersionId", + "ExportType", + "TotalSample", + "code", + "msg", + "ErrorMsg" + ] + }, + "GetExportTasksOfDatasetReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "exportType": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "offset": { + "type": "integer", + "format": "int32" + }, + "modelartsType": { + "type": "string" + } + }, + "title": "GetExportTasksOfDatasetReq", + "required": [ + "projectId", + "ProjectId", + "datasetId", + "DatasetId", + "ExportType" + ] + }, + "GetExportTasksOfDatasetResp": { + "type": "object", + "properties": { + "taskId": { + "type": "string" + }, + "createTime": { + "type": "integer", + "format": "int32" + }, + "exportFormat": { + "type": "integer", + "format": "int64" + }, + "exportParams": { + "$ref": "#/definitions/ExportParams" + }, + "exportTasks": { + "type": "array", + "items": { + "$ref": "#/definitions/ExportTaskStatus" + } + }, + "finishedSampleCount": { + "type": "integer", + "format": "int32" + }, + "path": { + "type": "string" + }, + "progress": { + "type": "number", + "format": "double" + }, + "status": { + "type": "string" + }, + "totalCount": { + "type": "integer", + "format": "int64" + }, + "updateTime": { + "type": "integer", + "format": "int32" + }, + "versionFormat": { + "type": "string" + }, + "versionId": { + "type": "string" + }, + "exportType": { + "type": "integer", + "format": "int32" + }, + "totalSample": { + "type": "integer", + "format": "int64" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "GetExportTasksOfDatasetResp", + "required": [ + "taskId", + "TaskId", + "createTime", + "CreateTime", + "exportFormat", + "ExportFormat", + "exportParams", + "ExportParams", + "exportTasks", + "ExportTasks", + "finishedSampleCount", + "FinishedSampleCount", + "path", + "Path", + "progress", + "Progress", + "status", + "Status", + "totalCount", + "TotalCount", + "updateTime", + "UpdateTime", + "versionFormat", + "VersionFormat", + "versionId", + "VersionId", + "exportType", + "ExportType", + "totalSample", + "TotalSample", + "code", + "msg", + "ErrorMsg" + ] + }, + "GetLinkImageListReq": { + "type": "object", + "properties": { + "partId": { + "type": "integer", + "format": "int64" + } + }, + "title": "GetLinkImageListReq", + "required": [ + "partId" + ] + }, + "GetLinkImageListResp": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "format": "boolean" + }, + "images": { + "type": "array", + "items": { + "$ref": "#/definitions/ImageSl" + } + }, + "errorMsg": { + "type": "string" + } + }, + "title": "GetLinkImageListResp", + "required": [ + "success", + "images", + "errorMsg" + ] + }, + "GetLinkTaskReq": { + "type": "object", + "properties": { + "partId": { + "type": "integer", + "format": "int64" + }, + "taskId": { + "type": "string" + } + }, + "title": "GetLinkTaskReq", + "required": [ + "partId", + "taskId" + ] + }, + "GetLinkTaskResp": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "format": "boolean" + }, + "task": { + "$ref": "#/definitions/TaskSl" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "GetLinkTaskResp", + "required": [ + "success", + "task", + "errorMsg" + ] + }, + "GetNotebookStorageReq": { + "type": "object", + "properties": { + "instanceId": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "GetNotebookStorageReq", + "required": [ + "instanceId", + "InstanceId", + "projectId", + "ProjectId" + ] + }, + "GetNotebookStorageResp": { + "type": "object", + "properties": { + "current": { + "type": "integer", + "format": "int32" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/DataVolumesRes" + } + }, + "pages": { + "type": "integer", + "format": "int32" + }, + "size": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + } + }, + "title": "GetNotebookStorageResp", + "required": [ + "current", + "Current", + "data", + "Data", + "pages", + "Pages", + "size", + "Size", + "total", + "Total" + ] + }, + "GetParticipantsReq": { + "type": "object", + "title": "GetParticipantsReq" + }, + "GetParticipantsResp": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "format": "boolean" + }, + "participant": { + "type": "array", + "items": { + "$ref": "#/definitions/ParticipantSl" + } + } + }, + "title": "GetParticipantsResp", + "required": [ + "success", + "participant" + ] + }, + "GetResourceSpecsReq": { + "type": "object", + "properties": { + "partId": { + "type": "integer", + "format": "int64" + } + }, + "title": "GetResourceSpecsReq", + "required": [ + "partId" + ] + }, + "GetResourceSpecsResp": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "format": "boolean" + }, + "resourceSpecs": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceSpecSl" + } + }, + "errorMsg": { + "type": "string" + } + }, + "title": "GetResourceSpecsResp", + "required": [ + "success", + "resourceSpecs", + "errorMsg" + ] + }, + "GetServersDetailedByIdReq": { + "type": "object", + "properties": { + "server_id": { + "type": "string" + } + }, + "title": "GetServersDetailedByIdReq", + "required": [ + "server_id", + "ServerId" + ] + }, + "GetServersDetailedByIdResp": { + "type": "object", + "properties": { + "server": { + "$ref": "#/definitions/ServersDetaileResp" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "GetServersDetailedByIdResp", + "required": [ + "server", + "Servers", + "code", + "msg", + "errorMsg" + ] + }, + "GetVisualizationJobParam": { + "type": "object", + "properties": { + "status": { + "type": "string" + }, + "perPage": { + "type": "integer", + "format": "int32" + }, + "page": { + "type": "integer", + "format": "int32" + }, + "sortBy": { + "type": "string" + }, + "order": { + "type": "string" + }, + "searchContent": { + "type": "string" + }, + "workspaceId": { + "type": "string" + } + }, + "title": "GetVisualizationJobParam", + "required": [ + "status", + "perPage", + "page", + "sortBy", + "order", + "searchContent", + "workspaceId" + ] + }, + "GetVisualizationJobReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "param": { + "$ref": "#/definitions/GetVisualizationJobParam" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "GetVisualizationJobReq", + "required": [ + "projectId", + "param" + ] + }, + "GetVisualizationJobResp": { + "type": "object", + "properties": { + "isSuccess": { + "type": "boolean", + "format": "boolean" + }, + "errorCode": { + "type": "string" + }, + "errorMessage": { + "type": "string" + }, + "jobTotalCount": { + "type": "integer", + "format": "int32" + }, + "jobCountLimit": { + "type": "integer", + "format": "int32" + }, + "jobs": { + "type": "array", + "items": { + "$ref": "#/definitions/Jobs" + } + }, + "quotas": { + "type": "integer", + "format": "int32" + } + }, + "title": "GetVisualizationJobResp", + "required": [ + "isSuccess", + "errorCode", + "errorMessage", + "jobTotalCount", + "jobCountLimit", + "jobs", + "quotas" + ] + }, + "GetVolumeDetailedByIdReq": { + "type": "object", + "properties": { + "volume_id": { + "type": "string" + } + }, + "title": "GetVolumeDetailedByIdReq", + "required": [ + "volume_id", + "VolumeId" + ] + }, + "GetVolumeDetailedByIdResp": { + "type": "object", + "properties": { + "volume": { + "$ref": "#/definitions/VolumeDetailed" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "GetVolumeDetailedByIdResp", + "required": [ + "volume", + "Volume", + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "GetVolumeLimitsReq": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "offSet": { + "type": "integer", + "format": "int32" + } + }, + "title": "GetVolumeLimitsReq" + }, + "GetVolumeLimitsResp": { + "type": "object", + "properties": { + "limits": { + "$ref": "#/definitions/VolumeLimits" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "GetVolumeLimitsResp", + "required": [ + "code", + "msg", + "errorMsg" + ] + }, + "GiResp": { + "type": "object", + "properties": { + "cpuNum": { + "type": "integer", + "format": "int32" + }, + "memoryInGib": { + "type": "integer", + "format": "int32" + }, + "storageInGib": { + "type": "integer", + "format": "int32" + } + }, + "title": "GiResp" + }, + "Gpu": { + "type": "object", + "properties": { + "memUsage": { + "$ref": "#/definitions/MemUsage" + }, + "util": { + "$ref": "#/definitions/Util" + }, + "unitNum": { + "type": "integer", + "format": "int32" + }, + "productName": { + "type": "string" + }, + "memory": { + "type": "string" + } + }, + "title": "Gpu", + "required": [ + "memUsage", + "util", + "unitNum", + "productName", + "memory" + ] + }, + "HashCat": { + "type": "object", + "properties": { + "crackTaskId": { + "type": "string", + "description": " 任务id" + }, + "crackContainerId": { + "type": "string", + "description": " 容器id" + }, + "crackStatus": { + "type": "string", + "description": " 状态" + }, + "crackStartTime": { + "type": "string", + "description": "开始时间" + }, + "crackEstimatedTime": { + "type": "string", + "description": " 预计时间" + }, + "crackProgress": { + "type": "string", + "description": " 进度" + }, + "crackResult": { + "type": "string", + "description": " 结果" + }, + "started": { + "type": "string", + "description": " 开始时间" + }, + "stopped": { + "type": "string", + "description": " 结束时间" + } + }, + "title": "HashCat", + "required": [ + "crackTaskId", + "crackContainerId", + "crackStatus", + "crackStartTime", + "crackEstimatedTime", + "crackProgress", + "crackResult", + "started", + "stopped" + ] + }, + "HistoryJob": { + "type": "object", + "properties": { + "slurmVersion": { + "type": "string" + }, + "name": { + "type": "string" + }, + "JobStartTime": { + "type": "string" + }, + "JobRunTime": { + "type": "string" + }, + "StateofJob": { + "type": "string" + } + }, + "title": "HistoryJob", + "required": [ + "slurmVersion", + "name", + "JobStartTime", + "JobRunTime", + "StateofJob" + ] + }, + "Hooks": { + "type": "object", + "properties": { + "containerHooks": { + "$ref": "#/definitions/ContainerHooksResp", + "description": " *" + } + }, + "title": "Hooks", + "required": [ + "containerHooks", + "ContainerHooksResp" + ] + }, + "I18NDescription": { + "type": "object", + "properties": { + "language": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "title": "I18NDescription" + }, + "Image": { + "type": "object", + "properties": { + "arch": { + "type": "string" + }, + "createAt": { + "type": "integer", + "format": "int64" + }, + "description": { + "type": "string" + }, + "devServices": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "origin": { + "type": "string" + }, + "resourceCategories": { + "type": "array", + "items": { + "type": "string" + } + }, + "serviceType": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "status": { + "type": "string" + }, + "statusMessage": { + "type": "string" + }, + "supportResCategories": { + "type": "array", + "items": { + "type": "string" + } + }, + "swrPath": { + "type": "string" + }, + "tag": { + "type": "string" + }, + "type": { + "type": "string" + }, + "updateAt": { + "type": "integer", + "format": "int64" + }, + "visibility": { + "type": "string" + }, + "workspaceId": { + "type": "string" + } + }, + "title": "Image", + "required": [ + "arch", + "Arch", + "createAt", + "CreateAt", + "description", + "Description", + "devServices", + "DevServices", + "id", + "Id", + "name", + "Name", + "namespace", + "Namespace", + "origin", + "Origin", + "resourceCategories", + "ResourceCategories", + "serviceType", + "ServiceType", + "size", + "Size", + "status", + "Status", + "statusMessage", + "StatusMessage", + "supportResCategories", + "SupportResCategories", + "swrPath", + "SwrPath", + "tag", + "Tag", + "type", + "TypeImage", + "updateAt", + "UpdateAt", + "visibility", + "Visibility", + "workspaceId", + "WorkspaceId" + ] + }, + "ImageDetailed": { + "type": "object", + "properties": { + "id ": { + "type": "string" + }, + "links": { + "type": "array", + "items": { + "$ref": "#/definitions/Links" + } + } + }, + "title": "ImageDetailed", + "required": [ + "id ", + "Id", + "links", + "Links" + ] + }, + "ImageSl": { + "type": "object", + "properties": { + "imageId": { + "type": "string" + }, + "imageName": { + "type": "string" + }, + "imageStatus": { + "type": "string" + } + }, + "title": "ImageSl", + "required": [ + "imageId", + "imageName", + "imageStatus" + ] + }, + "Images": { + "type": "object", + "properties": { + "status": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/Tags" + } + }, + "container_format": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "disk_format": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "visibility": { + "type": "string" + }, + "self": { + "type": "string" + }, + "min_disk": { + "type": "integer", + "format": "int32" + }, + "protected": { + "type": "boolean", + "format": "boolean" + }, + "id": { + "type": "string" + }, + "file": { + "type": "string" + }, + "checksum": { + "type": "string" + }, + "os_hash_algo": { + "type": "string" + }, + "os_hash_value": { + "type": "string" + }, + "os_hidden": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int32" + }, + "min_ram": { + "type": "integer", + "format": "int32" + }, + "schema": { + "type": "string" + }, + "virtual_size": { + "type": "integer", + "format": "int32" + } + }, + "title": "Images", + "required": [ + "status", + "Status", + "name", + "Name", + "tags", + "Tags", + "container_format", + "Container_format", + "created_at", + "Created_at", + "disk_format", + "Disk_format", + "updated_at", + "Updated_at", + "visibility", + "Visibility", + "self", + "Self", + "min_disk", + "Min_disk", + "protected", + "Protected", + "id", + "Id", + "file", + "File", + "checksum", + "Checksum", + "os_hash_algo", + "Os_hash_algo", + "os_hash_value", + "Os_hash_value", + "os_hidden", + "Os_hidden", + "owner", + "Owner", + "size", + "Size", + "min_ram", + "Min_ram", + "schema", + "Schema", + "virtual_size", + "Virtual_size" + ] + }, + "ImportTaskDataReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "importPath": { + "type": "string" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "ImportTaskDataReq", + "required": [ + "projectId", + "datasetId", + "importPath" + ] + }, + "ImportTaskDataResp": { + "type": "object", + "properties": { + "taskId": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "ImportTaskDataResp", + "required": [ + "taskId", + "code", + "msg", + "ErrorMsg" + ] + }, + "ImportTasks": { + "type": "object", + "properties": { + "status": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "importPath": { + "type": "string" + }, + "importType": { + "type": "integer", + "format": "int32" + }, + "totalSampleCount": { + "type": "integer", + "format": "int32" + }, + "importedSampleCount": { + "type": "integer", + "format": "int32" + }, + "annotatedSampleCount": { + "type": "integer", + "format": "int32" + }, + "totalSubSampleCount": { + "type": "integer", + "format": "int32" + }, + "importedSubSampleCount": { + "type": "integer", + "format": "int32" + }, + "totalFileSize": { + "type": "integer", + "format": "int32" + }, + "finishedFileCount": { + "type": "integer", + "format": "int32" + }, + "finishedFileSize": { + "type": "integer", + "format": "int32" + }, + "totalFileCount": { + "type": "integer", + "format": "int32" + }, + "createTime": { + "type": "integer", + "format": "int32" + }, + "elapsedTime": { + "type": "integer", + "format": "int32" + }, + "annotationFormatConfig": { + "type": "array", + "items": { + "type": "object" + } + } + }, + "title": "ImportTasks", + "required": [ + "status", + "taskId", + "datasetId", + "importPath", + "importType", + "totalSampleCount", + "importedSampleCount", + "annotatedSampleCount", + "totalSubSampleCount", + "importedSubSampleCount", + "totalFileSize", + "finishedFileCount", + "finishedFileSize", + "totalFileCount", + "createTime", + "elapsedTime", + "annotationFormatConfig" + ] + }, + "InputTra": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "accessMethod": { + "type": "string" + }, + "remoteIn": { + "$ref": "#/definitions/RemoteTra" + } + }, + "title": "InputTra" + }, + "Inputs": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "localDir": { + "type": "string" + }, + "accessMethod": { + "type": "string" + }, + "remote": { + "$ref": "#/definitions/Remote" + }, + "remoteConstraints": { + "type": "array", + "items": { + "$ref": "#/definitions/RemoteConstraints" + } + } + }, + "title": "Inputs", + "required": [ + "name", + "description", + "localDir", + "accessMethod", + "remote", + "remoteConstraints" + ] + }, + "InputsAlRq": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "remoteConstraints": { + "type": "array", + "items": { + "$ref": "#/definitions/RemoteConstraints" + } + } + }, + "title": "InputsAlRq" + }, + "InstanceInfo": { + "type": "object", + "title": "InstanceInfo" + }, + "Items": { + "type": "object", + "properties": { + "kind": { + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/Metadata" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "algorithm": { + "$ref": "#/definitions/JobAlgorithmResponse" + }, + "spec": { + "$ref": "#/definitions/Spec" + }, + "projectId": { + "type": "string" + } + }, + "title": "Items", + "required": [ + "kind", + "metadata", + "status", + "algorithm", + "spec", + "projectId" + ] + }, + "Job": { + "type": "object", + "properties": { + "slurmVersion": { + "type": "string" + }, + "name": { + "type": "string" + }, + "JobStartTime": { + "type": "string" + }, + "JobRunTime": { + "type": "string" + }, + "StateofJob": { + "type": "string" + } + }, + "title": "Job", + "required": [ + "slurmVersion", + "name", + "JobStartTime", + "JobRunTime", + "StateofJob" + ] + }, + "JobAlgorithmResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "itemVersionId": { + "type": "string" + }, + "codeDir": { + "type": "string" + }, + "bootFile": { + "type": "string" + }, + "autosearchConfigPath": { + "type": "string" + }, + "autosearchFrameworkPath": { + "type": "string" + }, + "command": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/Parameters" + } + }, + "policies": { + "$ref": "#/definitions/Policies" + }, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/Inputs" + } + }, + "outputs": { + "type": "array", + "items": { + "$ref": "#/definitions/Outputs" + } + }, + "engine": { + "$ref": "#/definitions/Engine" + }, + "localCodeDir": { + "type": "string" + }, + "workingDir": { + "type": "string" + }, + "environments": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "title": "JobAlgorithmResponse", + "required": [ + "id", + "name", + "subscriptionId", + "itemVersionId", + "codeDir", + "bootFile", + "autosearchConfigPath", + "autosearchFrameworkPath", + "command", + "parameters", + "policies", + "inputs", + "outputs", + "engine", + "localCodeDir", + "workingDir", + "environments" + ] + }, + "JobConfigAl": { + "type": "object", + "properties": { + "codeDir": { + "type": "string" + }, + "bootFile": { + "type": "string" + }, + "command": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/ParametersAlRq" + } + }, + "parametersCustomization": { + "type": "boolean", + "format": "boolean" + }, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/InputsAlRq" + } + }, + "outputs": { + "type": "array", + "items": { + "$ref": "#/definitions/OutputsAl" + } + }, + "engine": { + "$ref": "#/definitions/EngineAlRq" + } + }, + "title": "JobConfigAl" + }, + "JobConfigAlRp": { + "type": "object", + "properties": { + "codeDir": { + "type": "string" + }, + "bootFile": { + "type": "string" + }, + "command": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/ParametersAlRq" + } + }, + "parametersCustomization": { + "type": "boolean", + "format": "boolean" + }, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/InputsAlRq" + } + }, + "outputs": { + "type": "array", + "items": { + "$ref": "#/definitions/OutputsAl" + } + }, + "engine": { + "$ref": "#/definitions/EngineAlRq" + } + }, + "title": "JobConfigAlRp" + }, + "JobProgress": { + "type": "object", + "properties": { + "notebookId": { + "type": "string" + }, + "status": { + "type": "string" + }, + "step": { + "type": "integer", + "format": "int32" + }, + "stepDescription": { + "type": "string" + } + }, + "title": "JobProgress", + "required": [ + "notebookId", + "NotebookId", + "status", + "Status", + "step", + "Step", + "stepDescription", + "StepDescription" + ] + }, + "Jobs": { + "type": "object", + "properties": { + "jobName": { + "type": "string" + }, + "status": { + "type": "integer", + "format": "int32" + }, + "createTime": { + "type": "integer", + "format": "int64" + }, + "duration": { + "type": "integer", + "format": "int64" + }, + "jobDesc": { + "type": "string" + }, + "serviceUrl": { + "type": "string" + }, + "trainUrl": { + "type": "string" + }, + "jobId": { + "type": "string" + }, + "resourceId": { + "type": "string" + } + }, + "title": "Jobs", + "required": [ + "jobName", + "status", + "createTime", + "duration", + "jobDesc", + "serviceUrl", + "trainUrl", + "jobId", + "resourceId" + ] + }, + "Lease": { + "type": "object", + "properties": { + "createAt": { + "type": "integer", + "format": "int64" + }, + "duration": { + "type": "integer", + "format": "int64" + }, + "enable": { + "type": "boolean", + "format": "boolean" + }, + "type": { + "type": "string" + }, + "updateAt": { + "type": "integer", + "format": "int64" + } + }, + "title": "Lease", + "required": [ + "createAt", + "CreateAt", + "duration", + "Duration", + "enable", + "Enable", + "type", + "TypeLease", + "updateAt", + "UpdateAt" + ] + }, + "LeaseReq": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "format": "int64" + }, + "type": { + "type": "string" + } + }, + "title": "LeaseReq", + "required": [ + "duration", + "Duration", + "type", + "TypeLeaseReq" + ] + }, + "Limits": { + "type": "object", + "properties": { + "rate": { + "$ref": "#/definitions/Rate" + }, + "absolute": { + "$ref": "#/definitions/Absolute" + } + }, + "title": "Limits" + }, + "Links": { + "type": "object", + "properties": { + "href ": { + "type": "string" + }, + "rel": { + "type": "string" + } + }, + "title": "Links", + "required": [ + "href ", + "Href", + "rel", + "Rel" + ] + }, + "Links1": { + "type": "object", + "properties": { + "href ": { + "type": "string" + }, + "rel": { + "type": "string" + } + }, + "title": "Links1", + "required": [ + "href ", + "Href", + "rel", + "Rel" + ] + }, + "ListAlgorithmsReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "offset": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "ListAlgorithmsReq" + }, + "ListAlgorithmsResp": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int32" + }, + "count": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "sortBy": { + "type": "string" + }, + "order": { + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/AlgorithmResponse" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "ListAlgorithmsResp", + "required": [ + "total", + "count", + "limit", + "sortBy", + "order", + "items", + "code", + "msg", + "ErrorMsg" + ] + }, + "ListClustersReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "clusterName": { + "type": "string" + }, + "offset": { + "type": "integer", + "format": "int64" + }, + "limit": { + "type": "integer", + "format": "int64" + }, + "sortBy": { + "type": "string" + }, + "order": { + "type": "string" + }, + "modelartsType": { + "type": "string" + } + }, + "title": "ListClustersReq", + "required": [ + "projectId", + "ProjectId", + "ClusterName", + "SortBy", + "Order" + ] + }, + "ListClustersResp": { + "type": "object", + "properties": { + "resp200": { + "$ref": "#/definitions/ListClustersResp200" + }, + "resp400": { + "$ref": "#/definitions/ListClustersResp400" + } + }, + "title": "ListClustersResp", + "required": [ + "resp200", + "Resp200", + "resp400", + "Resp400" + ] + }, + "ListClustersResp200": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "format": "int32" + }, + "clusters": { + "type": "array", + "items": { + "$ref": "#/definitions/Cluster" + } + } + }, + "title": "ListClustersResp200", + "required": [ + "count", + "Count", + "clusters", + "Clusters" + ] + }, + "ListClustersResp400": { + "type": "object", + "properties": { + "errorCode": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListClustersResp400", + "required": [ + "ErrorCode", + "ErrorMsg" + ] + }, + "ListFlavorsDetailReq": { + "type": "object", + "title": "ListFlavorsDetailReq" + }, + "ListFlavorsDetailResp": { + "type": "object", + "properties": { + "flavors": { + "type": "array", + "items": { + "$ref": "#/definitions/Flavors" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListFlavorsDetailResp", + "required": [ + "flavors", + "Flavor", + "code", + "msg", + "errorMsg" + ] + }, + "ListImagesReq": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + } + }, + "title": "ListImagesReq" + }, + "ListImagesResp": { + "type": "object", + "properties": { + "first": { + "type": "string" + }, + "next": { + "type": "string" + }, + "schema": { + "type": "string" + }, + "images": { + "type": "array", + "items": { + "$ref": "#/definitions/Images" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListImagesResp", + "required": [ + "first", + "First", + "next", + "Next", + "schema", + "Schema", + "images", + "Images", + "code", + "msg", + "errorMsg" + ] + }, + "ListImportTasksReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "offSet": { + "type": "integer", + "format": "int32" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "ListImportTasksReq", + "required": [ + "projectId", + "datasetId" + ] + }, + "ListImportTasksResp": { + "type": "object", + "properties": { + "totalCount": { + "type": "integer", + "format": "int32" + }, + "importTasks": { + "type": "array", + "items": { + "$ref": "#/definitions/ImportTasks" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "ListImportTasksResp", + "required": [ + "totalCount", + "importTasks", + "code", + "msg", + "ErrorMsg" + ] + }, + "ListNetworksReq": { + "type": "object", + "title": "ListNetworksReq" + }, + "ListNetworksResp": { + "type": "object", + "properties": { + "networks": { + "type": "array", + "items": { + "$ref": "#/definitions/Network" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListNetworksResp", + "required": [ + "networks", + "Networks", + "code", + "msg", + "errorMsg" + ] + }, + "ListNodesReq": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int64" + }, + "marker": { + "type": "string" + }, + "sort_dir": { + "type": "string" + }, + "sort_key": { + "type": "string" + }, + "instance_uuid": { + "type": "string" + }, + "maintenance": { + "type": "boolean", + "format": "boolean" + }, + "associated": { + "type": "boolean", + "format": "boolean" + }, + "provision_state": { + "type": "string" + }, + "sharded": { + "type": "boolean", + "format": "boolean" + }, + "driver": { + "type": "string" + }, + "resource_class": { + "type": "string" + }, + "conductor_group": { + "type": "string" + }, + "conductor": { + "type": "string" + }, + "fault": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "lessee": { + "type": "string" + }, + "shard": { + "type": "array", + "items": { + "type": "string" + } + }, + "detail": { + "type": "boolean", + "format": "boolean" + }, + "parent_node": { + "type": "string" + }, + "include_children": { + "type": "string" + } + }, + "title": "ListNodesReq", + "required": [ + "limit", + "Limit", + "marker", + "Marker", + "sort_dir", + "SortDir", + "sort_key", + "SortKey", + "instance_uuid", + "InstanceUuid", + "maintenance", + "Maintenance", + "associated", + "Associated", + "provision_state", + "ProvisionState", + "sharded", + "Sharded", + "driver", + "Driver", + "resource_class", + "ResourceClass", + "conductor_group", + "ConductorGroup", + "conductor", + "Conductor", + "fault", + "Fault", + "owner", + "Owner", + "lessee", + "Lessee", + "shard", + "Shard", + "detail", + "Detail", + "parent_node", + "ParentNode", + "include_children", + "IncludeChildren" + ] + }, + "ListNodesResp": { + "type": "object", + "properties": { + "nodes": { + "type": "array", + "items": { + "$ref": "#/definitions/Nodes" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListNodesResp", + "required": [ + "nodes", + "Nodes", + "code", + "msg", + "errorMsg" + ] + }, + "ListNotebookParam": { + "type": "object", + "properties": { + "feature": { + "type": "string" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + }, + "poolId": { + "type": "string" + }, + "offset": { + "type": "integer", + "format": "int32" + }, + "owner": { + "type": "string" + }, + "sortDir": { + "type": "string" + }, + "sortKey": { + "type": "string" + }, + "status": { + "type": "string" + }, + "workspaceId": { + "type": "string" + } + }, + "title": "ListNotebookParam", + "required": [ + "Feature", + "Limit", + "Name", + "PoolId", + "Offset", + "Owner", + "SortDir", + "SortKey", + "Status", + "WorkspaceId" + ] + }, + "ListNotebookReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "param": { + "$ref": "#/definitions/ListNotebookParam" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "ListNotebookReq", + "required": [ + "projectId", + "ProjectId", + "Param" + ] + }, + "ListNotebookResp": { + "type": "object", + "properties": { + "current": { + "type": "integer", + "format": "int32" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/NotebookResp" + } + }, + "pages": { + "type": "integer", + "format": "int32" + }, + "size": { + "type": "integer", + "format": "int32" + }, + "total": { + "type": "integer", + "format": "int64" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListNotebookResp", + "required": [ + "current", + "Current", + "data", + "Data", + "pages", + "Pages", + "size", + "Size", + "total", + "Total", + "code", + "msg", + "errorMsg" + ] + }, + "ListServersDetailedReq": { + "type": "object", + "title": "ListServersDetailedReq" + }, + "ListServersDetailedResp": { + "type": "object", + "properties": { + "servers": { + "type": "array", + "items": { + "$ref": "#/definitions/ServersDetailed" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListServersDetailedResp", + "required": [ + "servers", + "ServersDetailed", + "code", + "msg", + "errorMsg" + ] + }, + "ListServersReq": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "offSet": { + "type": "integer", + "format": "int32" + } + }, + "title": "ListServersReq" + }, + "ListServersResp": { + "type": "object", + "properties": { + "totalNumber": { + "type": "integer", + "format": "int32" + }, + "servers": { + "type": "array", + "items": { + "$ref": "#/definitions/Servers" + } + }, + "serversLinks": { + "type": "array", + "items": { + "$ref": "#/definitions/Servers_links" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListServersResp", + "required": [ + "totalNumber", + "TotalNumber", + "servers", + "Servers", + "serversLinks", + "Servers_links", + "code", + "msg", + "errorMsg" + ] + }, + "ListServices": { + "type": "object", + "properties": { + "failedTimes": { + "type": "integer", + "format": "int32" + }, + "owner": { + "type": "string" + }, + "dueTime": { + "type": "integer", + "format": "int32" + }, + "finishedTime": { + "type": "integer", + "format": "int32" + }, + "inferType": { + "type": "string" + }, + "serviceName": { + "type": "string" + }, + "description": { + "type": "string" + }, + "project": { + "type": "string" + }, + "invocationTimes": { + "type": "integer", + "format": "int32" + }, + "publishAt": { + "type": "integer", + "format": "int32" + }, + "workspaceId": { + "type": "string" + }, + "scheduler": { + "type": "array", + "items": { + "$ref": "#/definitions/Scheduler" + } + }, + "startTime": { + "type": "integer", + "format": "int32" + }, + "operationTime": { + "type": "string" + }, + "isShared": { + "type": "boolean", + "format": "boolean" + }, + "serviceId": { + "type": "string" + }, + "progress": { + "type": "integer", + "format": "int32" + }, + "sharedCount": { + "type": "integer", + "format": "int32" + }, + "tenant": { + "type": "string" + }, + "status": { + "type": "string" + }, + "isOpenedSampleCollection": { + "type": "string" + }, + "transitionAt": { + "type": "integer", + "format": "int32" + }, + "isFree": { + "type": "boolean", + "format": "boolean" + }, + "additionalProperties": { + "type": "string" + } + }, + "title": "ListServices", + "required": [ + "failedTimes", + "FailedTimes", + "owner", + "Owner", + "dueTime", + "DueTime", + "finishedTime", + "FinishedTime", + "inferType", + "InferType", + "serviceName", + "ServiceName", + "description", + "Description", + "project", + "Project", + "invocationTimes", + "InvocationTimes", + "publishAt", + "PublishAt", + "workspaceId", + "WorkspaceId", + "scheduler", + "Scheduler", + "startTime", + "StartTime", + "operationTime", + "OperationTime", + "isShared", + "IsShared", + "serviceId", + "ServiceId", + "progress", + "Progress", + "sharedCount", + "SharedCount", + "tenant", + "Tenant", + "status", + "Status", + "isOpenedSampleCollection", + "IsOpenedSampleCollection", + "transitionAt", + "TransitionAt", + "isFree", + "IsFree", + "additionalProperties", + "AdditionalProperties" + ] + }, + "ListServicesReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "offSet": { + "type": "integer", + "format": "int32" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "ListServicesReq", + "required": [ + "projectId" + ] + }, + "ListServicesResp": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int32" + }, + "count": { + "type": "integer", + "format": "int32" + }, + "services": { + "type": "array", + "items": { + "$ref": "#/definitions/ListServices" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "ListServicesResp", + "required": [ + "total", + "TotalCount", + "count", + "Count", + "services", + "Services", + "code", + "msg", + "ErrorMsg" + ] + }, + "ListTrainingJobsreq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "offSet": { + "type": "integer", + "format": "int32" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "ListTrainingJobsreq", + "required": [ + "projectId" + ] + }, + "ListTrainingJobsresp": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int32" + }, + "count": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "offset": { + "type": "integer", + "format": "int32" + }, + "sortBy": { + "type": "string" + }, + "order": { + "type": "string" + }, + "groupBy": { + "type": "string" + }, + "workspaceId": { + "type": "string" + }, + "aiProject": { + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/Items" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "ListTrainingJobsresp", + "required": [ + "total", + "count", + "limit", + "offset", + "sortBy", + "order", + "groupBy", + "workspaceId", + "aiProject", + "items", + "code", + "msg", + "ErrorMsg" + ] + }, + "ListVolumeTypesReq": { + "type": "object", + "title": "ListVolumeTypesReq" + }, + "ListVolumeTypesResp": { + "type": "object", + "properties": { + "volume_types": { + "type": "array", + "items": { + "$ref": "#/definitions/Volume_types" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListVolumeTypesResp", + "required": [ + "volume_types", + "VolumeTypes", + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "ListVolumesDetailReq": { + "type": "object", + "title": "ListVolumesDetailReq" + }, + "ListVolumesDetailResp": { + "type": "object", + "properties": { + "volumes": { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeDetail" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListVolumesDetailResp", + "required": [ + "volumes", + "VolumeDetail", + "code", + "msg", + "errorMsg" + ] + }, + "ListVolumesReq": { + "type": "object", + "properties": { + "project_id": { + "type": "string" + }, + "all_tenants": { + "type": "string" + }, + "sort": { + "type": "string" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "offset": { + "type": "integer", + "format": "int32" + }, + "marker": { + "type": "string" + }, + "with_count": { + "type": "boolean", + "format": "boolean" + }, + "created_at": { + "type": "string" + }, + "consumes_quota": { + "type": "boolean", + "format": "boolean" + }, + "updated_at": { + "type": "string" + } + }, + "title": "ListVolumesReq", + "required": [ + "project_id", + "ProjectId", + "all_tenants", + "AllTenants", + "sort", + "Sort", + "limit", + "Limit", + "offset", + "Offset", + "marker", + "Marker", + "with_count", + "WithCount", + "created_at", + "CreatedAt", + "consumes_quota", + "ConsumesQuota", + "updated_at", + "UpdatedAt" + ] + }, + "ListVolumesResp": { + "type": "object", + "properties": { + "volumes": { + "type": "array", + "items": { + "$ref": "#/definitions/VolumesList" + } + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ListVolumesResp", + "required": [ + "volumes", + "Volumes", + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "LogExportPath": { + "type": "object", + "properties": { + "obsUrl": { + "type": "string" + }, + "hostPath": { + "type": "string" + } + }, + "title": "LogExportPath" + }, + "LogExportPathCreateTraining": { + "type": "object", + "title": "LogExportPathCreateTraining" + }, + "LogExportPathCreateTrainingJob": { + "type": "object", + "properties": { + "obsUrl": { + "type": "string" + } + }, + "title": "LogExportPathCreateTrainingJob" + }, + "MapAppJobInfo": { + "type": "object", + "properties": { + "GAP_CMD_FILE": { + "type": "string", + "description": "命令行内容" + }, + "GAP_NNODE": { + "type": "string", + "description": "节点个数(当指定该参数时,GAP_NODE_STRING必须为\"\")" + }, + "GAP_NODE_STRING": { + "type": "string", + "description": "指定节点(当指定该参数时,GAP_NNODE必须为\"\")" + }, + "GAP_SUBMIT_TYPE": { + "type": "string", + "description": "cmd(命令行模式)" + }, + "GAP_JOB_NAME": { + "type": "string", + "description": "作业名称" + }, + "GAP_WORK_DIR": { + "type": "string", + "description": "工作路径" + }, + "GAP_QUEUE": { + "type": "string", + "description": "队列名称" + }, + "GAP_NPROC": { + "type": "string", + "description": "总核心数(GAP_NPROC和GAP_PPN选其一填写)" + }, + "GAP_PPN": { + "type": "string", + "description": "CPU核心/节点(GAP_NPROC和GAP_PPN选其一填写)" + }, + "GAP_NGPU": { + "type": "string", + "description": "GPU卡数/节点" + }, + "GAP_NDCU": { + "type": "string", + "description": "DCU卡数/节点" + }, + "GAP_JOB_MEM": { + "type": "string", + "description": "每个节点内存值,单位为MB/GB" + }, + "GAP_WALL_TIME": { + "type": "string", + "description": "最大运行时长(HH:MM:ss)" + }, + "GAP_EXCLUSIVE": { + "type": "string", + "description": " 是否独占节点,1为独占,空为非独占" + }, + "GAP_APPNAME": { + "type": "string", + "description": "BASE(基础应用),支持填写具体的应用英文名称" + }, + "GAP_MULTI_SUB": { + "type": "string", + "description": "作业组长度,建议为小于等于50的正整数" + }, + "GAP_STD_OUT_FILE": { + "type": "string", + "description": "工作路径/std.out.%j" + }, + "GAP_STD_ERR_FILE": { + "type": "string", + "description": "工作路径/std.err.%j" + } + }, + "title": "MapAppJobInfo", + "required": [ + "GAP_CMD_FILE", + "GAP_NNODE", + "GAP_SUBMIT_TYPE", + "GAP_JOB_NAME", + "GAP_WORK_DIR", + "GAP_QUEUE", + "GAP_WALL_TIME", + "GAP_APPNAME", + "GAP_STD_OUT_FILE", + "GAP_STD_ERR_FILE" + ] + }, + "MemUsage": { + "type": "object", + "properties": { + "average": { + "type": "integer", + "format": "int32" + }, + "max": { + "type": "integer", + "format": "int32" + }, + "min": { + "type": "integer", + "format": "int32" + } + }, + "title": "MemUsage", + "required": [ + "average", + "max", + "min" + ] + }, + "Memory": { + "type": "object", + "properties": { + "size": { + "type": "integer", + "format": "int32" + }, + "unit": { + "type": "string" + } + }, + "title": "Memory", + "required": [ + "size", + "unit" + ] + }, + "Metadata": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createTime": { + "type": "integer", + "format": "int64" + }, + "workspaceId": { + "type": "string" + }, + "aiProject": { + "type": "string" + }, + "userName": { + "type": "string" + }, + "annotations": { + "$ref": "#/definitions/Annotations" + }, + "trainingExperimentReference": { + "$ref": "#/definitions/TrainingExperimentReference" + }, + "tags": { + "type": "array", + "items": { + "type": "object" + } + } + }, + "title": "Metadata", + "required": [ + "id", + "name", + "description", + "createTime", + "workspaceId", + "aiProject", + "userName", + "annotations", + "trainingExperimentReference", + "tags" + ] + }, + "MetadataAlRp": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createTime": { + "type": "integer", + "format": "int64" + }, + "workspaceId": { + "type": "string" + }, + "aiProject": { + "type": "string" + }, + "userName": { + "type": "string" + }, + "domainId": { + "type": "string" + }, + "source": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "isValid": { + "type": "boolean", + "format": "boolean" + }, + "State": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int32" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/TagsAlRp" + } + }, + "attrList": { + "type": "array", + "items": { + "type": "string" + } + }, + "versionNum": { + "type": "integer", + "format": "int32" + }, + "updateTime": { + "type": "integer", + "format": "int64" + } + }, + "title": "MetadataAlRp" + }, + "MetadataAlRq": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "workspaceId": { + "type": "string" + }, + "aiProject": { + "type": "string" + } + }, + "title": "MetadataAlRq" + }, + "MetadataDetailed": { + "type": "object", + "title": "MetadataDetailed" + }, + "MetadataS": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "workspaceId": { + "type": "string" + } + }, + "title": "MetadataS" + }, + "MetricData": { + "type": "object", + "properties": { + "result": { + "type": "array", + "items": { + "$ref": "#/definitions/map[string]interface" + } + }, + "resultType": { + "type": "string" + } + }, + "title": "MetricData", + "required": [ + "result", + "resultType" + ] + }, + "MetricResult": { + "type": "object", + "properties": { + "metric_name": { + "type": "string" + }, + "data": { + "$ref": "#/definitions/MetricData" + } + }, + "title": "MetricResult", + "required": [ + "metric_name", + "data" + ] + }, + "MountNotebookStorageParam": { + "type": "object", + "properties": { + "category": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "title": "MountNotebookStorageParam", + "required": [ + "category", + "Category", + "mountPath", + "MountPath", + "uri", + "Uri" + ] + }, + "MountNotebookStorageReq": { + "type": "object", + "properties": { + "instanceId": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "param": { + "$ref": "#/definitions/MountNotebookStorageParam" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "MountNotebookStorageReq", + "required": [ + "instanceId", + "InstanceId", + "projectId", + "ProjectId", + "param", + "Param" + ] + }, + "MountNotebookStorageResp": { + "type": "object", + "properties": { + "category": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "status": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "title": "MountNotebookStorageResp", + "required": [ + "category", + "Category", + "id", + "Id", + "mountPath", + "MountPath", + "status", + "Status", + "uri", + "Uri" + ] + }, + "Network": { + "type": "object", + "properties": { + "admin_state_up": { + "type": "boolean", + "format": "boolean" + }, + "availability_zone_hints": { + "type": "array", + "items": { + "type": "string" + } + }, + "availability_zones": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string" + }, + "dns_domain": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ipv4_address_scope": { + "type": "string" + }, + "ipv6_address_scope": { + "type": "string" + }, + "l2_adjacency": { + "type": "boolean", + "format": "boolean" + }, + "mtu": { + "type": "integer", + "format": "int64" + }, + "": { + "type": "string" + }, + "port_security_enabled": { + "type": "boolean", + "format": "boolean" + }, + "project_id": { + "type": "string" + }, + "qos_policy_id": { + "type": "string" + }, + "revision_number": { + "type": "integer", + "format": "int64" + }, + "shared": { + "type": "boolean", + "format": "boolean" + }, + "router_external": { + "type": "boolean", + "format": "boolean" + }, + "status": { + "type": "string" + }, + "subnets": { + "type": "array", + "items": { + "type": "string" + } + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "tenant_id": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "vlan_transparent": { + "type": "boolean", + "format": "boolean" + }, + "description": { + "type": "string" + }, + "is_default": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "Network", + "required": [ + "AdminStateUp", + "AvailabilityZoneHints", + "AvailabilityZones", + "CreatedAt", + "DnsDomain", + "Id", + "Ipv4AddressScope", + "Ipv6AddressScope", + "L2Adjacency", + "Mtu", + "Name", + "PortSecurityEnabled", + "ProjectId", + "QosPolicyId", + "RevisionNumber", + "Shared", + "RouterExternal", + "Status", + "Subnets", + "Tags", + "TenantId", + "UpdatedAt", + "VlanTransparent", + "Description", + "IsDefault" + ] + }, + "NetworkData": { + "type": "object", + "title": "NetworkData" + }, + "Networkdetail": { + "type": "object", + "properties": { + "admin_state_up": { + "type": "boolean", + "format": "boolean" + }, + "availability_zone_hints": { + "type": "array", + "items": { + "type": "string" + } + }, + "availability_zones": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string" + }, + "dns_domain": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ipv4_address_scope": { + "type": "string" + }, + "ipv6_address_scope": { + "type": "string" + }, + "l2_adjacency": { + "type": "boolean", + "format": "boolean" + }, + "mtu": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "port_security_enabled": { + "type": "boolean", + "format": "boolean" + }, + "project_id": { + "type": "string" + }, + "qos_policy_id": { + "type": "string" + }, + "revision_number": { + "type": "integer", + "format": "int64" + }, + "shared": { + "type": "boolean", + "format": "boolean" + }, + "status": { + "type": "string" + }, + "subnets": { + "type": "array", + "items": { + "type": "string" + } + }, + "tenant_id": { + "type": "string" + }, + "vlan_transparent": { + "type": "boolean", + "format": "boolean" + }, + "description": { + "type": "string" + }, + "is_default": { + "type": "boolean", + "format": "boolean" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "title": "Networkdetail", + "required": [ + "AdminStateUp", + "AvailabilityZoneHints", + "AvailabilityZones", + "CreatedAt", + "DnsDomain", + "id", + "Ipv4AddressScope", + "Ipv6AddressScope", + "L2Adjacency", + "mtu", + "Mtu", + "name", + "Name", + "port_security_enabled", + "PortSecurityEnabled", + "project_id", + "ProjectId", + "qos_policy_id", + "QosPolicyId", + "revision_number", + "RevisionNumber", + "shared", + "Shared", + "status", + "Status", + "subnets", + "Subnets", + "tenant_id", + "TenantId", + "vlan_transparent", + "VlanTransparent", + "description", + "Description", + "is_default", + "IsDefault", + "tags", + "Tags" + ] + }, + "Nfs": { + "type": "object", + "properties": { + "nfsServerPath": { + "type": "string" + }, + "localPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "Nfs" + }, + "NodeAsset": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "租户名称" + }, + "NodeName": { + "type": "string", + "description": " 节点名称" + }, + "CpuTotal": { + "type": "integer", + "format": "int64", + "description": " cpu核数" + }, + "CpuUsable": { + "type": "number", + "format": "double", + "description": " cpu可用率" + }, + "DiskTotal": { + "type": "integer", + "format": "int64", + "description": " 磁盘空间" + }, + "DiskAvail": { + "type": "integer", + "format": "int64", + "description": " 磁盘可用空间" + }, + "MemTotal": { + "type": "integer", + "format": "int64", + "description": " 内存总数" + }, + "MemAvail": { + "type": "integer", + "format": "int64", + "description": " 内存可用数" + }, + "GpuTotal": { + "type": "integer", + "format": "int64", + "description": " gpu总数" + }, + "GpuAvail": { + "type": "integer", + "format": "int64", + "description": " gpu可用数" + }, + "ParticipantId": { + "type": "integer", + "format": "int64", + "description": " 集群动态信息id" + } + }, + "title": "NodeAsset", + "required": [ + "Name", + "NodeName", + "CpuTotal", + "CpuUsable", + "DiskTotal", + "DiskAvail", + "MemTotal", + "MemAvail", + "GpuTotal", + "GpuAvail", + "ParticipantId" + ] + }, + "NodeAssetsResp": { + "type": "object", + "properties": { + "nodeAssets": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeAsset" + } + } + }, + "title": "NodeAssetsResp", + "required": [ + "nodeAssets" + ] + }, + "Nodes": { + "type": "object", + "properties": { + "instance_uuid": { + "type": "string" + }, + "links": { + "type": "array", + "items": { + "$ref": "#/definitions/Links" + } + }, + "maintenance": { + "type": "boolean", + "format": "boolean" + }, + "name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "provision_state": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "title": "Nodes", + "required": [ + "instance_uuid", + "InstanceUuid", + "links", + "Links", + "maintenance", + "Maintenance", + "name", + "Name", + "PowerState", + "provision_state", + "ProvisionState", + "uuid", + "Uuid" + ] + }, + "NotebookResp": { + "type": "object", + "properties": { + "actionProgress": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionProgress" + } + }, + "description": { + "type": "string" + }, + "endpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/EndpointsRes" + } + }, + "failReason": { + "type": "string" + }, + "flavor": { + "type": "string" + }, + "id": { + "type": "string" + }, + "image": { + "$ref": "#/definitions/Image" + }, + "lease": { + "$ref": "#/definitions/Lease" + }, + "name": { + "type": "string" + }, + "pool": { + "$ref": "#/definitions/Pool" + }, + "status": { + "type": "string" + }, + "token": { + "type": "string" + }, + "url": { + "type": "string" + }, + "volume": { + "$ref": "#/definitions/VolumeRes" + }, + "workspaceId": { + "type": "string" + }, + "feature": { + "type": "string" + }, + "createAt": { + "type": "integer", + "format": "int64", + "description": " *" + }, + "hooks": { + "$ref": "#/definitions/Hooks", + "description": " *" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": " *" + }, + "updateAt": { + "type": "integer", + "format": "int64", + "description": " *" + }, + "user": { + "$ref": "#/definitions/UserNotebookResp", + "description": " *" + }, + "userId": { + "type": "string", + "description": " *" + }, + "billingItems": { + "type": "array", + "items": { + "type": "string" + }, + "description": " *" + } + }, + "title": "NotebookResp", + "required": [ + "actionProgress", + "ActionProgress", + "description", + "Description", + "endpoints", + "Endpoints", + "failReason", + "FailReason", + "flavor", + "Flavor", + "id", + "Id", + "image", + "Image", + "lease", + "Lease", + "name", + "Name", + "pool", + "Pool", + "status", + "Status", + "token", + "Token", + "url", + "Url", + "volume", + "Volume", + "workspaceId", + "WorkspaceId", + "feature", + "Feature", + "createAt", + "CreateAt", + "hooks", + "Hooks", + "tags", + "Tags", + "updateAt", + "UpdateAt", + "user", + "UserNotebookResp", + "userId", + "UserId", + "billingItems", + "BillingItems" + ] + }, + "Obs": { + "type": "object", + "properties": { + "obsUrl": { + "type": "string" + } + }, + "title": "Obs", + "required": [ + "obsUrl" + ] + }, + "ObsTra": { + "type": "object", + "properties": { + "obsUrl": { + "type": "string" + } + }, + "title": "ObsTra" + }, + "OperatorParam": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "params": { + "type": "string" + }, + "advancedParamsSwitch": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "OperatorParam", + "required": [ + "Id", + "Name", + "Params", + "AdvancedParamsSwitch" + ] + }, + "OutputTra": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "accessMethod": { + "type": "string" + }, + "prefetchToLocal": { + "type": "string" + }, + "remoteOut": { + "$ref": "#/definitions/RemoteOut" + } + }, + "title": "OutputTra" + }, + "Outputs": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "localDir": { + "type": "string" + }, + "accessMethod": { + "type": "string" + }, + "remote": { + "$ref": "#/definitions/Remote" + }, + "mode": { + "type": "string" + }, + "period": { + "type": "integer", + "format": "int32" + }, + "prefetchToLocal": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "Outputs", + "required": [ + "name", + "localDir", + "accessMethod", + "remote", + "mode", + "period", + "prefetchToLocal" + ] + }, + "OutputsAl": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "title": "OutputsAl" + }, + "ParamSl": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "title": "ParamSl", + "required": [ + "key", + "value" + ] + }, + "Parameters": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "i18nDescription": { + "type": "object" + }, + "value": { + "type": "string" + }, + "constraint": { + "$ref": "#/definitions/Constraint" + } + }, + "title": "Parameters", + "required": [ + "name", + "description", + "i18nDescription", + "value", + "constraint" + ] + }, + "ParametersAlRq": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "i18nDescription": { + "$ref": "#/definitions/I18NDescription" + }, + "value": { + "type": "string" + }, + "constraint": { + "$ref": "#/definitions/ConstraintAlRq" + } + }, + "title": "ParametersAlRq" + }, + "ParametersTrainJob": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "title": "ParametersTrainJob" + }, + "Participant": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "address": { + "type": "string" + }, + "metricsUrl": { + "type": "string" + }, + "tenantName": { + "type": "string" + }, + "typeName": { + "type": "string" + } + }, + "title": "Participant", + "required": [ + "id", + "name", + "address", + "metricsUrl", + "tenantName", + "typeName" + ] + }, + "ParticipantSl": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "title": "ParticipantSl", + "required": [ + "id", + "name", + "type" + ] + }, + "PauseServerReq": { + "type": "object", + "properties": { + "server_id": { + "type": "string" + }, + "Action": { + "type": "array", + "items": { + "type": "string" + } + }, + "pause_action": { + "type": "string" + } + }, + "title": "PauseServerReq", + "required": [ + "server_id", + "ServerId", + "Action", + "pause_action" + ] + }, + "PauseServerResp": { + "type": "object", + "properties": { + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + } + }, + "title": "PauseServerResp", + "required": [ + "msg", + "errorMsg", + "code" + ] + }, + "PerCenterComputerPowers": { + "type": "object", + "properties": { + "centerName": { + "type": "string" + }, + "computerPower": { + "type": "number", + "format": "float" + }, + "jobCount": { + "type": "integer", + "format": "int32" + }, + "centerId": { + "type": "string" + } + }, + "title": "PerCenterComputerPowers", + "required": [ + "centerName", + "CenterName", + "computerPower", + "ComputerPower", + "jobCount", + "JobCount", + "centerId", + "CenterId" + ] + }, + "PerCenterComputerPowersReq": { + "type": "object", + "title": "PerCenterComputerPowersReq" + }, + "PerCenterComputerPowersResp": { + "type": "object", + "properties": { + "totalSize": { + "type": "integer", + "format": "int32" + }, + "perCenterComputerPowers": { + "type": "array", + "items": { + "$ref": "#/definitions/PerCenterComputerPowers" + } + }, + "accOtJobInfo": { + "$ref": "#/definitions/AccOtJobInfo" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "PerCenterComputerPowersResp", + "required": [ + "totalSize", + "TotalSize", + "perCenterComputerPowers", + "PerCenterComputerPowers", + "accOtJobInfo", + "AccOtJobInfo", + "code", + "msg", + "ErrorMsg" + ] + }, + "Policies": { + "type": "object", + "title": "Policies" + }, + "PoliciesCreateTraining": { + "type": "object", + "title": "PoliciesCreateTraining" + }, + "Pool": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "title": "Pool", + "required": [ + "id", + "Id", + "name", + "Name" + ] + }, + "Portgroups": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "rel": { + "type": "string" + } + }, + "title": "Portgroups", + "required": [ + "href", + "rel" + ] + }, + "Ports": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "rel": { + "type": "string" + } + }, + "title": "Ports", + "required": [ + "href", + "rel" + ] + }, + "PostStart": { + "type": "object", + "properties": { + "mode": { + "type": "string", + "description": " *" + }, + "script": { + "type": "string", + "description": " *" + }, + "type": { + "type": "string", + "description": " *" + } + }, + "title": "PostStart", + "required": [ + "mode", + "Mode", + "script", + "Script", + "type", + "Type" + ] + }, + "PreStart": { + "type": "object", + "properties": { + "mode": { + "type": "string", + "description": " *" + }, + "script": { + "type": "string", + "description": " *" + }, + "type": { + "type": "string", + "description": " *" + } + }, + "title": "PreStart", + "required": [ + "mode", + "Mode", + "script", + "Script", + "type", + "Type" + ] + }, + "Private": { + "type": "object", + "properties": { + "addr": { + "type": "string" + }, + "version": { + "type": "integer", + "format": "int32" + } + }, + "title": "Private", + "required": [ + "addr", + "Addr", + "version", + "Version" + ] + }, + "ProcessorDataSource": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "source": { + "type": "string" + }, + "type": { + "type": "string" + }, + "versionId": { + "type": "string" + }, + "versionName": { + "type": "string" + } + }, + "title": "ProcessorDataSource", + "required": [ + "Name", + "Source", + "type", + "VersionId", + "VersionName" + ] + }, + "Properties": { + "type": "object", + "title": "Properties" + }, + "QueryServiceConfig": { + "type": "object", + "properties": { + "modelVersion": { + "type": "string" + }, + "finishedTime": { + "type": "string" + }, + "CustomSpec": { + "$ref": "#/definitions/CustomSpec" + }, + "envs": { + "type": "string" + }, + "specification": { + "type": "string" + }, + "weight": { + "type": "integer", + "format": "int32" + }, + "modelId": { + "type": "string" + }, + "srcPath": { + "type": "string" + }, + "reqUri": { + "type": "string" + }, + "mappingType": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "clusterId": { + "type": "string" + }, + "nodes": { + "type": "array", + "items": { + "type": "string" + } + }, + "mappingRule": { + "type": "string" + }, + "modelName": { + "type": "string" + }, + "srcType": { + "type": "string" + }, + "destPath": { + "type": "string" + }, + "instanceCount": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "string" + }, + "scaling": { + "type": "boolean", + "format": "boolean" + }, + "supportDebug": { + "type": "boolean", + "format": "boolean" + }, + "additionalProperties": { + "type": "string" + } + }, + "title": "QueryServiceConfig", + "required": [ + "modelVersion", + "ModelVersion", + "finishedTime", + "FinishedTime", + "CustomSpec", + "envs", + "Envs", + "specification", + "Specification", + "weight", + "Weight", + "modelId", + "ModelId", + "srcPath", + "SrcPath", + "reqUri", + "ReqUri", + "mappingType", + "MappingType", + "startTime", + "StartTime", + "clusterId", + "ClusterId", + "nodes", + "Nodes", + "mappingRule", + "MappingRule", + "modelName", + "ModelName", + "srcType", + "SrcType", + "destPath", + "DestPath", + "instanceCount", + "InstanceCount", + "status", + "Status", + "scaling", + "Scaling", + "supportDebug", + "SupportDebug", + "additionalProperties", + "AdditionalProperties" + ] + }, + "QueueAsset": { + "type": "object", + "properties": { + "tenantName": { + "type": "string", + "description": "租户名称" + }, + "participantId": { + "type": "integer", + "format": "int64" + }, + "aclHosts": { + "type": "string", + "description": " 可用节点,多个节点用逗号隔开" + }, + "queNodes": { + "type": "string", + "description": "队列节点总数" + }, + "queMinNodect": { + "type": "string", + "description": "队列最小节点数" + }, + "queMaxNgpus": { + "type": "string", + "description": "队列最大GPU卡数" + }, + "queMaxPPN": { + "type": "string", + "description": "使用该队列作业最大CPU核心数" + }, + "queChargeRate": { + "type": "string", + "description": "费率" + }, + "queMaxNcpus": { + "type": "string", + "description": "用户最大可用核心数" + }, + "queMaxNdcus": { + "type": "string", + "description": "队列总DCU卡数" + }, + "queueName": { + "type": "string", + "description": "队列名称" + }, + "queMinNcpus": { + "type": "string", + "description": "队列最小CPU核数" + }, + "queFreeNodes": { + "type": "string", + "description": "队列空闲节点数" + }, + "queMaxNodect": { + "type": "string", + "description": "队列作业最大节点数" + }, + "queMaxGpuPN": { + "type": "string", + "description": "队列单作业最大GPU卡数" + }, + "queMaxWalltime": { + "type": "string", + "description": "队列最大运行时间" + }, + "queMaxDcuPN": { + "type": "string", + "description": "队列单作业最大DCU卡数" + }, + "queFreeNcpus": { + "type": "string", + "description": "队列空闲cpu数" + }, + "queNcpus": { + "type": "string", + "description": "队列cpu数" + } + }, + "title": "QueueAsset", + "required": [ + "tenantName", + "participantId", + "aclHosts", + "queNodes", + "queMinNodect", + "queMaxNgpus", + "queMaxPPN", + "queChargeRate", + "queMaxNcpus", + "queMaxNdcus", + "queueName", + "queMinNcpus", + "queFreeNodes", + "queMaxNodect", + "queMaxGpuPN", + "queMaxWalltime", + "queMaxDcuPN", + "queFreeNcpus", + "queNcpus" + ] + }, + "QueueAssetsResp": { + "type": "object", + "properties": { + "queueAsset": { + "type": "array", + "items": { + "$ref": "#/definitions/QueueAsset" + } + } + }, + "title": "QueueAssetsResp", + "required": [ + "queueAsset" + ] + }, + "RaidConfig": { + "type": "object", + "title": "RaidConfig" + }, + "Rate": { + "type": "object", + "title": "Rate" + }, + "Reboot": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "title": "Reboot", + "required": [ + "type", + "Type" + ] + }, + "RebootServerReq": { + "type": "object", + "properties": { + "server_id": { + "type": "string" + }, + "reboot": { + "$ref": "#/definitions/Reboot" + } + }, + "title": "RebootServerReq", + "required": [ + "server_id", + "ServerId", + "reboot", + "Reboot" + ] + }, + "RebootServerResp": { + "type": "object", + "properties": { + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + } + }, + "title": "RebootServerResp", + "required": [ + "msg", + "errorMsg", + "code" + ] + }, + "Region": { + "type": "object", + "properties": { + "RegionName": { + "type": "string", + "description": " 域名" + }, + "SoftStack": { + "type": "string", + "description": " 软件栈" + }, + "SlurmNum": { + "type": "integer", + "format": "int64", + "description": " 超算域适配slurm数量" + }, + "AdaptorInterfaceSum": { + "type": "integer", + "format": "int64", + "description": " 适配接口数量" + }, + "runningJobs": { + "type": "integer", + "format": "int64" + } + }, + "title": "Region", + "required": [ + "RegionName", + "SoftStack", + "SlurmNum", + "AdaptorInterfaceSum", + "runningJobs" + ] + }, + "RegionNum": { + "type": "object", + "properties": { + "regionSum": { + "type": "integer", + "format": "int64" + }, + "softStackSum": { + "type": "integer", + "format": "int64" + } + }, + "title": "RegionNum", + "required": [ + "regionSum", + "softStackSum" + ] + }, + "Remote": { + "type": "object", + "properties": { + "obs": { + "$ref": "#/definitions/Obs" + } + }, + "title": "Remote", + "required": [ + "obs" + ] + }, + "RemoteConstraints": { + "type": "object", + "properties": { + "dataType": { + "type": "string" + }, + "attributes": { + "$ref": "#/definitions/Attributes" + } + }, + "title": "RemoteConstraints", + "required": [ + "dataType", + "attributes" + ] + }, + "RemoteOut": { + "type": "object", + "properties": { + "obs": { + "$ref": "#/definitions/ObsTra" + } + }, + "title": "RemoteOut" + }, + "RemoteTra": { + "type": "object", + "properties": { + "dataSet": { + "$ref": "#/definitions/DatasetTra" + } + }, + "title": "RemoteTra" + }, + "Resource": { + "type": "object", + "properties": { + "policy": { + "type": "string" + }, + "flavorId": { + "type": "string" + }, + "flavorName": { + "type": "string" + }, + "nodeCount": { + "type": "integer", + "format": "int32" + }, + "flavorDetail": { + "$ref": "#/definitions/FlavorDetail" + } + }, + "title": "Resource" + }, + "ResourceCreateTraining": { + "type": "object", + "properties": { + "flavorId": { + "type": "string" + }, + "nodeCount": { + "type": "integer", + "format": "int32" + }, + "policy": { + "type": "string" + }, + "flavorLabel": { + "type": "string" + } + }, + "title": "ResourceCreateTraining" + }, + "ResourcePanelConfigReq": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "id" + }, + "title": { + "type": "string", + "description": "标题" + }, + "titleColor": { + "type": "string", + "description": "标题色" + }, + "mainColor": { + "type": "string", + "description": "主色调" + }, + "mainColor2": { + "type": "string", + "description": "次主色调" + }, + "textColor": { + "type": "string", + "description": "文字颜色" + }, + "backgroundColor": { + "type": "string", + "description": "背景底色" + }, + "center": { + "type": "string", + "description": "中心点" + }, + "centerPosition": { + "type": "string", + "description": "comment 中心点坐标" + }, + "provinceBgColor": { + "type": "string", + "description": "三级地图底色" + }, + "statusIng": { + "type": "string", + "description": "接入中图标" + }, + "statusUn": { + "type": "string", + "description": "未接入图标" + }, + "statusEnd": { + "type": "string", + "description": "已接入图标" + }, + "titleIcon": { + "type": "string", + "description": "标题底图" + }, + "subTitleIcon": { + "type": "string", + "description": "小标题底图" + }, + "numberBg": { + "type": "string", + "description": "数字底图" + }, + "taskBg": { + "type": "string", + "description": "任务底图" + } + }, + "title": "ResourcePanelConfigReq", + "required": [ + "id", + "title", + "titleColor", + "mainColor", + "mainColor2", + "textColor", + "backgroundColor", + "center", + "centerPosition", + "provinceBgColor", + "statusIng", + "statusUn", + "statusEnd", + "titleIcon", + "subTitleIcon", + "numberBg", + "taskBg" + ] + }, + "ResourcePanelConfigResp": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "id" + }, + "title": { + "type": "string", + "description": "标题," + }, + "titleColor": { + "type": "string", + "description": "标题色," + }, + "mainColor": { + "type": "string", + "description": "主色调," + }, + "mainColor2": { + "type": "string", + "description": "次主色调," + }, + "textColor": { + "type": "string", + "description": "文字颜色," + }, + "backgroundColor": { + "type": "string", + "description": "背景底色," + }, + "center": { + "type": "string", + "description": "中心点," + }, + "centerPosition": { + "type": "string", + "description": "comment 中心点坐标," + }, + "provinceBgColor": { + "type": "string", + "description": "三级地图底色," + }, + "statusIng": { + "type": "string", + "description": "接入中图标," + }, + "statusUn": { + "type": "string", + "description": "未接入图标," + }, + "statusEnd": { + "type": "string", + "description": "已接入图标," + }, + "titleIcon": { + "type": "string", + "description": "标题底图," + }, + "subTitleIcon": { + "type": "string", + "description": "小标题底图," + }, + "numberBg": { + "type": "string", + "description": "数字底图," + }, + "taskBg": { + "type": "string", + "description": "任务底图," + }, + "createTime": { + "type": "string", + "description": "创建时间," + }, + "updateTime": { + "type": "string", + "description": "更新时间" + } + }, + "title": "ResourcePanelConfigResp", + "required": [ + "id", + "title", + "titleColor", + "mainColor", + "mainColor2", + "textColor", + "backgroundColor", + "center", + "centerPosition", + "provinceBgColor", + "statusIng", + "statusUn", + "statusEnd", + "titleIcon", + "subTitleIcon", + "numberBg", + "taskBg", + "createTime", + "updateTime" + ] + }, + "ResourceRequirements": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "array", + "items": { + "type": "string" + } + }, + "operator": { + "type": "string" + } + }, + "title": "ResourceRequirements" + }, + "ResourceSpecSl": { + "type": "object", + "properties": { + "participantId": { + "type": "integer", + "format": "int64" + }, + "participantName": { + "type": "string" + }, + "specName": { + "type": "string" + }, + "specId": { + "type": "string" + }, + "specPrice": { + "type": "number", + "format": "double" + } + }, + "title": "ResourceSpecSl", + "required": [ + "participantId", + "participantName", + "specName", + "specId", + "specPrice" + ] + }, + "ResultData": { + "type": "object", + "properties": { + "status": { + "type": "string" + }, + "data": { + "$ref": "#/definitions/MetricData" + } + }, + "title": "ResultData", + "required": [ + "status", + "data" + ] + }, + "RewardAttrs": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "mode": { + "type": "string" + }, + "regex": { + "type": "string" + } + }, + "title": "RewardAttrs" + }, + "SaveHashcatReq": { + "type": "object", + "properties": { + "crackTaskId": { + "type": "string", + "description": " 任务id" + }, + "crackContainerId": { + "type": "string", + "description": " 容器id" + }, + "crackStatus": { + "type": "string", + "description": " 状态" + }, + "crackStartTime": { + "type": "string", + "description": "开始时间" + }, + "crackEstimatedTime": { + "type": "string", + "description": " 预计时间" + }, + "crackProgress": { + "type": "string", + "description": " 进度" + }, + "crackResult": { + "type": "string", + "description": " 结果" + }, + "started": { + "type": "string", + "description": " 开始时间" + }, + "stopped": { + "type": "string", + "description": " 结束时间" + } + }, + "title": "SaveHashcatReq", + "required": [ + "crackTaskId", + "crackContainerId", + "crackStatus", + "crackStartTime", + "crackEstimatedTime", + "crackProgress", + "crackResult", + "started", + "stopped" + ] + }, + "Schedule": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "timeUnit": { + "type": "string" + }, + "duration": { + "type": "integer", + "format": "int32" + } + }, + "title": "Schedule", + "required": [ + "type", + "timeUnit", + "duration" + ] + }, + "Scheduler": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "format": "int32" + }, + "timeUnit": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "title": "Scheduler", + "required": [ + "Duration", + "TimeUnit", + "Type" + ] + }, + "SearchCondition": { + "type": "object", + "properties": { + "coefficient": { + "type": "string" + }, + "frameInVideo": { + "type": "integer", + "format": "int64" + }, + "coefficient": { + "type": "string" + }, + "kvp": { + "type": "string" + }, + "importOrigin": { + "type": "string" + }, + "labelList": { + "$ref": "#/definitions/SearchLabels" + }, + "labeler": { + "type": "string" + }, + "parentSampleId": { + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/SearchProp" + }, + "sampleDir": { + "type": "string" + }, + "sampleName": { + "type": "string" + }, + "sampleTime": { + "type": "string" + }, + "score": { + "type": "string" + }, + "sliceThickness": { + "type": "string" + }, + "StudyDate": { + "type": "string" + }, + "timeInVideo": { + "type": "string" + } + }, + "title": "SearchCondition", + "required": [ + "Coefficient", + "FrameInVideo", + "Hard", + "Kvp", + "ImportOrigin", + "LabelList", + "Labeler", + "ParentSampleId", + "Metadata", + "SampleDir", + "SampleName", + "SampleTime", + "Score", + "SliceThickness", + "StudyDate", + "TimeInVideo" + ] + }, + "SearchLabel": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "op": { + "type": "string" + }, + "type": { + "type": "integer", + "format": "int64" + } + }, + "title": "SearchLabel", + "required": [ + "Name", + "Op", + "Type" + ] + }, + "SearchLabels": { + "type": "object", + "properties": { + "labels": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchLabel" + } + }, + "op": { + "type": "string" + } + }, + "title": "SearchLabels", + "required": [ + "Labels", + "Op" + ] + }, + "SearchParams": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "paramType": { + "type": "string" + }, + "lowerBound": { + "type": "string" + }, + "upperBound": { + "type": "string" + }, + "discretePointsNum": { + "type": "string" + }, + "discreteValues": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "title": "SearchParams" + }, + "SearchProp": { + "type": "object", + "properties": { + "op": { + "type": "string" + } + }, + "title": "SearchProp", + "required": [ + "Op" + ] + }, + "Security_groups": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "title": "Security_groups", + "required": [ + "name", + "Name" + ] + }, + "Server": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "flavorRef": { + "type": "string" + }, + "imageRef": { + "type": "string" + }, + "networks": { + "type": "array", + "items": { + "$ref": "#/definitions/CreNetwork" + } + }, + "block_device_mapping_v2": { + "type": "array", + "items": { + "$ref": "#/definitions/Block_device_mapping_v2" + } + } + }, + "title": "Server", + "required": [ + "Name", + "FlavorRef", + "ImageRef", + "Networks", + "BlockDeviceMappingV2" + ] + }, + "ServerResp": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "links": { + "type": "array", + "items": { + "$ref": "#/definitions/Links" + } + }, + "OS_DCF_diskConfig": { + "type": "string" + }, + "security_groups": { + "type": "array", + "items": { + "$ref": "#/definitions/Security_groups" + } + }, + "adminPass": { + "type": "string" + } + }, + "title": "ServerResp", + "required": [ + "id", + "Id", + "links", + "Links", + "OS_DCF_diskConfig", + "OSDCFDiskConfig", + "security_groups", + "SecurityGroups", + "adminPass", + "AdminPass" + ] + }, + "ServerUpdate": { + "type": "object", + "properties": { + "server": { + "$ref": "#/definitions/Server" + } + }, + "title": "ServerUpdate", + "required": [ + "server", + "Server" + ] + }, + "Servers": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "links ": { + "type": "array", + "items": { + "$ref": "#/definitions/Links" + } + } + }, + "title": "Servers", + "required": [ + "id", + "Id", + "name", + "Name", + "links ", + "Links " + ] + }, + "ServersDetaileResp": { + "type": "object", + "properties": { + "accessIPv4": { + "type": "string" + }, + "accessIPv6": { + "type": "string" + }, + "addresses": { + "$ref": "#/definitions/Addresses" + }, + "name": { + "type": "string" + }, + "config_drive": { + "type": "string" + }, + "created": { + "type": "string" + }, + "flavor": { + "$ref": "#/definitions/FlavorDetailed" + }, + "hostId": { + "type": "string" + }, + "id": { + "type": "string" + }, + "image": { + "$ref": "#/definitions/ImageDetailed" + }, + "key_name": { + "type": "string" + }, + "links": { + "type": "array", + "items": { + "$ref": "#/definitions/Links1" + } + }, + "metadata": { + "$ref": "#/definitions/MetadataDetailed" + }, + "status": { + "type": "string" + }, + "tenant_id": { + "type": "string" + }, + "updated": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "fault": { + "$ref": "#/definitions/Fault" + }, + "progress": { + "type": "integer", + "format": "int32" + }, + "locked": { + "type": "boolean", + "format": "boolean" + }, + "host_status": { + "type": "string" + }, + "description": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "trusted_image_certificates": { + "type": "string" + }, + "server_groups": { + "type": "string" + }, + "locked_reason": { + "type": "string" + }, + "security_groups": { + "type": "array", + "items": { + "$ref": "#/definitions/Security_groups" + } + } + }, + "title": "ServersDetaileResp", + "required": [ + "accessIPv4", + "AccessIPv4", + "accessIPv6", + "AccessIPv6", + "addresses", + "Addresses", + "name", + "Name", + "config_drive", + "ConfigDrive", + "created", + "Created", + "flavor", + "Flavor", + "hostId", + "HostId", + "id", + "Id", + "image", + "Image", + "key_name", + "KeyName", + "links", + "Links1", + "metadata", + "Metadata", + "status", + "Status", + "tenant_id", + "TenantId", + "updated", + "Updated", + "user_id", + "UserId", + "fault", + "Fault", + "progress", + "Progress", + "locked", + "Locked", + "host_status", + "HostStatus", + "description", + "Description", + "tags", + "Tags", + "trusted_image_certificates", + "TrustedImageCertificates", + "server_groups", + "ServerGroups", + "locked_reason", + "LockedReason", + "security_groups", + "SecurityGroups" + ] + }, + "ServersDetailed": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "key_name": { + "type": "string" + }, + "locked": { + "type": "boolean", + "format": "boolean" + }, + "name": { + "type": "string" + }, + "progress": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "string" + }, + "tenant_id": { + "type": "string" + }, + "updated": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "title": "ServersDetailed", + "required": [ + "id", + "key_name", + "locked", + "name", + "progress", + "status", + "tenant_id", + "updated", + "user_id" + ] + }, + "Servers_links": { + "type": "object", + "properties": { + "href ": { + "type": "string" + }, + "rel": { + "type": "string" + } + }, + "title": "Servers_links", + "required": [ + "href ", + "Href", + "rel", + "Rel" + ] + }, + "ServiceConfig": { + "type": "object", + "properties": { + "customSpec": { + "$ref": "#/definitions/CustomSpec" + }, + "envs": { + "type": "string" + }, + "specification": { + "type": "string" + }, + "weight": { + "type": "integer", + "format": "int32" + }, + "modelId": { + "type": "string" + }, + "srcPath": { + "type": "string" + }, + "reqUri": { + "type": "string" + }, + "mappingType": { + "type": "string" + }, + "clusterId": { + "type": "string" + }, + "nodes": { + "type": "array", + "items": { + "type": "string" + } + }, + "srcType": { + "type": "string" + }, + "destPath": { + "type": "string" + }, + "instanceCount": { + "type": "integer", + "format": "int32" + } + }, + "title": "ServiceConfig", + "required": [ + "CustomSpec", + "Envs", + "Specification", + "Weight", + "ModelId", + "SrcPath", + "ReqUri", + "MappingType", + "ClusterId", + "Nodes", + "SrcType", + "DestPath", + "InstanceCount" + ] + }, + "ShareInfo": { + "type": "object", + "title": "ShareInfo" + }, + "ShowAlgorithmByUuidReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "algorithmId": { + "type": "string" + }, + "modelartsType": { + "type": "string" + } + }, + "title": "ShowAlgorithmByUuidReq", + "required": [ + "projectId", + "ProjectId", + "algorithmId", + "AlgorithmId" + ] + }, + "ShowAlgorithmByUuidResp": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/MetadataAlRq" + }, + "jobConfig": { + "$ref": "#/definitions/JobConfigAl" + }, + "resourceRequirements": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceRequirements" + } + }, + "advancedConfig": { + "$ref": "#/definitions/AdvancedConfigAl" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "ShowAlgorithmByUuidResp", + "required": [ + "metadata", + "Metadata", + "jobConfig", + "JobConfig", + "resourceRequirements", + "ResourceRequirements", + "advancedConfig", + "AdvancedConfig", + "code", + "msg", + "ErrorMsg" + ] + }, + "ShowNetworkDetailsReq": { + "type": "object", + "properties": { + "network_id": { + "type": "string" + } + }, + "title": "ShowNetworkDetailsReq", + "required": [ + "network_id", + "NetworkId" + ] + }, + "ShowNetworkDetailsResp": { + "type": "object", + "properties": { + "network": { + "$ref": "#/definitions/Networkdetail" + }, + "msg": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "error_msg": { + "type": "string" + } + }, + "title": "ShowNetworkDetailsResp", + "required": [ + "network", + "Network", + "msg", + "Msg", + "code", + "Code", + "error_msg", + "ErrorMsg" + ] + }, + "ShowNodeDetailsReq": { + "type": "object", + "properties": { + "node_ident": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/definitions/Fields" + } + } + }, + "title": "ShowNodeDetailsReq", + "required": [ + "node_ident", + "NodeIdent", + "fields", + "Fields" + ] + }, + "ShowNodeDetailsResp": { + "type": "object", + "properties": { + "allocation_uuid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "power_state": { + "type": "string" + }, + "target_power_state": { + "type": "string" + }, + "provision_state": { + "type": "string" + }, + "target_provision_state": { + "type": "string" + }, + "maintenance": { + "type": "boolean", + "format": "boolean" + }, + "maintenance_reason": { + "type": "string" + }, + "fault": { + "type": "string" + }, + "last_error": { + "type": "string" + }, + "reservation": { + "type": "string" + }, + "driver": { + "type": "string" + }, + "driver_info": { + "$ref": "#/definitions/Driver_info" + }, + "driver_internal_info": { + "$ref": "#/definitions/DriverInternalInfo" + }, + "properties": { + "$ref": "#/definitions/Properties" + }, + "instance_info": { + "$ref": "#/definitions/InstanceInfo" + }, + "instance_uuid": { + "type": "string" + }, + "chassis_uuid": { + "type": "string" + }, + "extra": { + "$ref": "#/definitions/Extra" + }, + "console_enabled": { + "type": "boolean", + "format": "boolean" + }, + "raid_config": { + "$ref": "#/definitions/RaidConfig" + }, + "target_raid_config": { + "$ref": "#/definitions/TargetRaidConfig" + }, + "clean_step": { + "$ref": "#/definitions/CleanStep" + }, + "clean_step": { + "$ref": "#/definitions/DeployStep" + }, + "links": { + "type": "array", + "items": { + "$ref": "#/definitions/Links" + } + }, + "ports": { + "type": "array", + "items": { + "$ref": "#/definitions/Ports" + } + }, + "portgroups": { + "type": "array", + "items": { + "$ref": "#/definitions/Portgroups" + } + }, + "states": { + "type": "array", + "items": { + "$ref": "#/definitions/States" + } + }, + "resource_class": { + "type": "string" + }, + "boot_interface": { + "type": "string" + }, + "console_interface": { + "type": "string" + }, + "deploy_interface": { + "type": "string" + }, + "conductor_group": { + "type": "string" + }, + "inspect_interface": { + "type": "string" + }, + "management_interface": { + "type": "string" + }, + "network_interface": { + "type": "string" + }, + "power_interface": { + "type": "string" + }, + "raid_interface": { + "type": "string" + }, + "rescue_interface": { + "type": "string" + }, + "storage_interface": { + "type": "string" + }, + "traits": { + "type": "array", + "items": { + "type": "string" + } + }, + "volume": { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeNode" + } + }, + "protected": { + "type": "boolean", + "format": "boolean" + }, + "protected_reason": { + "type": "string" + }, + "conductor": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "lessee": { + "type": "string" + }, + "shard": { + "type": "string" + }, + "description": { + "type": "string" + }, + "automated_clean": { + "type": "string" + }, + "bios_interface": { + "type": "string" + }, + "network_data": { + "$ref": "#/definitions/NetworkData" + }, + "retired": { + "type": "boolean", + "format": "boolean" + }, + "retired_reason": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "inspection_finished_at": { + "type": "string" + }, + "inspection_started_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "provision_updated_at": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "ShowNodeDetailsResp", + "required": [ + "allocation_uuid", + "AllocationUuid", + "name", + "power_state", + "PowerState", + "target_power_state", + "TargetPowerState", + "provision_state", + "ProvisionState", + "target_provision_state", + "TargetProvisionState", + "maintenance", + "Maintenance", + "maintenance_reason", + "MaintenanceReason", + "fault", + "Fault", + "last_error", + "LastError", + "reservation", + "Reservation", + "driver", + "Driver", + "driver_info", + "DriverInfo", + "driver_internal_info", + "DriverInternalInfo", + "properties", + "Properties", + "instance_info", + "InstanceInfo", + "instance_uuid", + "InstanceUuid", + "chassis_uuid", + "ChassisUuid", + "extra", + "Extra", + "console_enabled", + "ConsoleEnabled", + "raid_config", + "RaidConfig", + "target_raid_config", + "TargetRaidConfig", + "clean_step", + "CleanStep", + "DeployStep", + "links", + "Links", + "ports", + "Ports", + "portgroups", + "Portgroups", + "states", + "States", + "resource_class", + "ResourceClass", + "boot_interface", + "BootInterface", + "console_interface", + "ConsoleInterface", + "deploy_interface", + "DeployInterface", + "conductor_group", + "ConductorGroup", + "inspect_interface", + "InspectInterface", + "management_interface", + "ManagementInterface", + "network_interface", + "NetworkInterface", + "power_interface", + "PowerInterface", + "raid_interface", + "RaidInterface", + "rescue_interface", + "RescueInterface", + "storage_interface", + "StorageInterface", + "traits", + "Traits", + "volume", + "Volume", + "protected", + "Protected", + "protected_reason", + "ProtectedReason", + "conductor", + "Conductor", + "owner", + "Owner", + "lessee", + "Lessee", + "shard", + "Shard", + "description", + "Description", + "automated_clean", + "AutomatedClean", + "bios_interface", + "BiosInterface", + "network_data", + "NetworkData", + "retired", + "Retired", + "retired_reason", + "RetiredReason", + "created_at", + "CreatedAt", + "inspection_finished_at", + "InspectionFinishedAt", + "inspection_started_at", + "InspectionStartedAt", + "updated_at", + "UpdatedAt", + "uuid", + "provision_updated_at", + "ProvisionUpdatedAt", + "code", + "msg", + "errorMsg" + ] + }, + "ShowServiceReq": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "serviceId": { + "type": "string" + }, + "modelartsType": { + "type": "string" + } + }, + "title": "ShowServiceReq", + "required": [ + "projectId", + "serviceId" + ] + }, + "ShowServiceResp": { + "type": "object", + "properties": { + "failedTimes": { + "type": "integer", + "format": "int32" + }, + "owner": { + "type": "string" + }, + "dueTime": { + "type": "integer", + "format": "int32" + }, + "finishedTime": { + "type": "integer", + "format": "int32" + }, + "inferType": { + "type": "string" + }, + "serviceName": { + "type": "string" + }, + "description": { + "type": "string" + }, + "project": { + "type": "string" + }, + "invocationTimes": { + "type": "integer", + "format": "int32" + }, + "publishAt": { + "type": "integer", + "format": "int32" + }, + "workspaceId": { + "type": "string" + }, + "scheduler": { + "type": "array", + "items": { + "$ref": "#/definitions/Scheduler" + } + }, + "startTime": { + "type": "integer", + "format": "int32" + }, + "operationTime": { + "type": "string" + }, + "isShared": { + "type": "boolean", + "format": "boolean" + }, + "serviceId": { + "type": "string" + }, + "progress": { + "type": "integer", + "format": "int32" + }, + "sharedCount": { + "type": "integer", + "format": "int32" + }, + "tenant": { + "type": "string" + }, + "status": { + "type": "string" + }, + "isOpenedSampleCollection": { + "type": "string" + }, + "transitionAt": { + "type": "integer", + "format": "int32" + }, + "isFree": { + "type": "boolean", + "format": "boolean" + }, + "additionalProperties": { + "type": "string" + }, + "clusterId": { + "type": "string" + }, + "vpcId": { + "type": "string" + }, + "subnetNetworkId": { + "type": "string" + }, + "securityGroupId": { + "type": "string" + }, + "config": { + "type": "array", + "items": { + "$ref": "#/definitions/QueryServiceConfig" + } + }, + "accessAddress": { + "type": "string" + }, + "bindAccessAddress": { + "type": "string" + }, + "updateTime": { + "type": "string" + }, + "debugUrl": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "ShowServiceResp", + "required": [ + "failedTimes", + "FailedTimes", + "owner", + "Owner", + "dueTime", + "DueTime", + "finishedTime", + "FinishedTime", + "inferType", + "InferType", + "serviceName", + "ServiceName", + "description", + "Description", + "project", + "Project", + "invocationTimes", + "InvocationTimes", + "publishAt", + "PublishAt", + "workspaceId", + "WorkspaceId", + "scheduler", + "Scheduler", + "startTime", + "StartTime", + "operationTime", + "OperationTime", + "isShared", + "IsShared", + "serviceId", + "ServiceId", + "progress", + "Progress", + "sharedCount", + "SharedCount", + "tenant", + "Tenant", + "status", + "Status", + "isOpenedSampleCollection", + "IsOpenedSampleCollection", + "transitionAt", + "TransitionAt", + "isFree", + "IsFree", + "additionalProperties", + "AdditionalProperties", + "clusterId", + "ClusterId", + "vpcId", + "VpcId", + "subnetNetworkId", + "SubnetNetworkId", + "securityGroupId", + "SecurityGroupId", + "config", + "Config", + "accessAddress", + "AccessAddress", + "bindAccessAddress", + "BindAccessAddress", + "updateTime", + "UpdateTime", + "debugUrl", + "DebugUrl", + "code", + "msg", + "ErrorMsg" + ] + }, + "Spec": { + "type": "object", + "properties": { + "resource": { + "$ref": "#/definitions/Resource" + }, + "logExportPath": { + "$ref": "#/definitions/LogExportPath" + }, + "isHostedLog": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "Spec", + "required": [ + "resource", + "logExportPath", + "isHostedLog" + ] + }, + "SpecCtRp": { + "type": "object", + "properties": { + "resource": { + "$ref": "#/definitions/ResourceCreateTraining" + }, + "volumes": { + "type": "array", + "items": { + "$ref": "#/definitions/Volumes" + } + }, + "logExportPath": { + "$ref": "#/definitions/LogExportPath" + } + }, + "title": "SpecCtRp" + }, + "SpecsCtRq": { + "type": "object", + "properties": { + "resource": { + "$ref": "#/definitions/ResourceCreateTraining" + }, + "volumes": { + "type": "array", + "items": { + "$ref": "#/definitions/Volumes" + } + }, + "logExportPath": { + "$ref": "#/definitions/LogExportPath" + } + }, + "title": "SpecsCtRq" + }, + "StartNotebookParam": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "format": "int64" + }, + "type": { + "type": "string" + } + }, + "title": "StartNotebookParam", + "required": [ + "duration", + "Duration", + "type", + "TypeStartNotebook" + ] + }, + "StartNotebookReq": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "param": { + "$ref": "#/definitions/StartNotebookParam" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "StartNotebookReq", + "required": [ + "id", + "Id", + "projectId", + "ProjectId", + "param", + "Param" + ] + }, + "StartNotebookResp": { + "type": "object", + "properties": { + "notebookResp": { + "$ref": "#/definitions/NotebookResp" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "StartNotebookResp", + "required": [ + "notebookResp", + "NotebookResp", + "code", + "msg", + "errorMsg" + ] + }, + "StartServerReq": { + "type": "object", + "properties": { + "server_id": { + "type": "string" + }, + "action": { + "type": "array", + "items": { + "type": "string" + } + }, + "start_action": { + "type": "string" + } + }, + "title": "StartServerReq", + "required": [ + "server_id", + "ServerId", + "Action", + "start_action" + ] + }, + "StartServerResp": { + "type": "object", + "properties": { + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + } + }, + "title": "StartServerResp", + "required": [ + "msg", + "errorMsg", + "code" + ] + }, + "States": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "rel": { + "type": "string" + } + }, + "title": "States", + "required": [ + "href", + "rel" + ] + }, + "Status": { + "type": "object", + "properties": { + "phase": { + "type": "string" + }, + "secondaryPhase": { + "type": "string" + }, + "duration": { + "type": "integer", + "format": "int32" + }, + "tasks": { + "type": "array", + "items": { + "type": "string" + } + }, + "startTime": { + "type": "integer", + "format": "int64" + }, + "taskStatuses": { + "type": "array", + "items": { + "$ref": "#/definitions/TaskStatuses" + } + } + }, + "title": "Status", + "required": [ + "phase", + "secondaryPhase", + "duration", + "tasks", + "startTime", + "taskStatuses" + ] + }, + "StopNotebookReq": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "modelArtsType": { + "type": "string" + } + }, + "title": "StopNotebookReq", + "required": [ + "id", + "Id", + "projectId", + "ProjectId" + ] + }, + "StopNotebookResp": { + "type": "object", + "properties": { + "notebookResp": { + "$ref": "#/definitions/NotebookResp" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "StopNotebookResp", + "required": [ + "notebookResp", + "NotebookResp", + "code", + "msg", + "errorMsg" + ] + }, + "StopServerReq": { + "type": "object", + "properties": { + "server_id": { + "type": "string" + }, + "action": { + "type": "array", + "items": { + "type": "string" + } + }, + "stop_action": { + "type": "string" + } + }, + "title": "StopServerReq", + "required": [ + "server_id", + "ServerId", + "Action", + "stop_action" + ] + }, + "StopServerResp": { + "type": "object", + "properties": { + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + } + }, + "title": "StopServerResp", + "required": [ + "msg", + "errorMsg", + "code" + ] + }, + "StorageScreenReq": { + "type": "object", + "title": "StorageScreenReq" + }, + "StorageScreenResp": { + "type": "object", + "properties": { + "totalSize": { + "type": "integer", + "format": "int32" + }, + "aiCenterInfos": { + "type": "array", + "items": { + "$ref": "#/definitions/AiCenterInfos" + } + }, + "storageUsed": { + "type": "number", + "format": "float" + }, + "storageUsing": { + "type": "number", + "format": "float" + }, + "usageRate": { + "type": "number", + "format": "float" + }, + "usingRate": { + "type": "number", + "format": "float" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "ErrorMsg": { + "type": "string" + } + }, + "title": "StorageScreenResp", + "required": [ + "totalSize", + "TotalSize", + "aiCenterInfos", + "AiCenterInfos", + "storageUsed", + "StorageUsed", + "storageUsing", + "StorageUsing", + "usageRate", + "UsageRate", + "usingRate", + "UsingRate", + "code", + "msg", + "ErrorMsg" + ] + }, + "SubmitLinkTaskReq": { + "type": "object", + "properties": { + "partId": { + "type": "integer", + "format": "int64" + }, + "imageId": { + "type": "string" + }, + "cmd": { + "type": "string" + }, + "params": { + "type": "array", + "items": { + "$ref": "#/definitions/ParamSl" + } + }, + "envs": { + "type": "array", + "items": { + "$ref": "#/definitions/EnvSl" + } + }, + "resourceId": { + "type": "string" + } + }, + "title": "SubmitLinkTaskReq", + "required": [ + "partId", + "imageId", + "cmd", + "params", + "envs", + "resourceId" + ] + }, + "SubmitLinkTaskResp": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "format": "boolean" + }, + "taskId": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "SubmitLinkTaskResp", + "required": [ + "success", + "taskId", + "errorMsg" + ] + }, + "Subnet": { + "type": "object", + "properties": { + "network_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "cidr": { + "type": "string" + }, + "ip_version": { + "type": "integer", + "format": "int32" + }, + "gateway_ip": { + "type": "string" + }, + "enable_dhcp": { + "type": "boolean", + "format": "boolean" + }, + "allocation_pools": { + "type": "array", + "items": { + "$ref": "#/definitions/Allocation_pools" + } + }, + "dns_nameservers": { + "type": "array", + "items": { + "type": "string" + } + }, + "host_routes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "title": "Subnet", + "required": [ + "network_id", + "NetworkId", + "name", + "Name", + "cidr", + "Cidr", + "ip_version", + "IpVersion", + "gateway_ip", + "GatewayIp", + "enable_dhcp", + "EnableDhcp", + "allocation_pools", + "AllocationPools", + "dns_nameservers", + "DnsNameservers", + "host_routes", + "HostRoutes" + ] + }, + "SubnetResp": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "cidr": { + "type": "string" + }, + "ip_version": { + "type": "integer", + "format": "int32" + }, + "gateway_ip": { + "type": "string" + }, + "enable_dhcp": { + "type": "boolean", + "format": "boolean" + }, + "allocation_pools": { + "type": "array", + "items": { + "$ref": "#/definitions/Allocation_pools" + } + }, + "dns_nameservers": { + "type": "array", + "items": { + "type": "string" + } + }, + "host_routes": { + "type": "array", + "items": { + "type": "string" + } + }, + "network_id": { + "type": "string" + }, + "segment_id": { + "type": "string" + }, + "project_id": { + "type": "string" + }, + "tenant_id": { + "type": "string" + }, + "Dns_publish_fixed_ip": { + "type": "string" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "ipv6_address_mode": { + "type": "string" + }, + "ipv6_ra_mode": { + "type": "string" + }, + "revision_number": { + "type": "string" + }, + "service_types": { + "type": "array", + "items": { + "type": "string" + } + }, + "subnetpool_id": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "updated_at": { + "type": "string" + } + }, + "title": "SubnetResp", + "required": [ + "name", + "Name", + "cidr", + "Cidr", + "ip_version", + "Ip_version", + "gateway_ip", + "Gateway_ip", + "enable_dhcp", + "Enable_dhcp", + "allocation_pools", + "Allocation_pools", + "dns_nameservers", + "Dns_nameservers", + "host_routes", + "Host_routes", + "network_id", + "Network_id", + "segment_id", + "Segment_id", + "project_id", + "Project_id", + "tenant_id", + "Tenant_id", + "Dns_publish_fixed_ip", + "id", + "Id", + "created_at", + "Created_at", + "description", + "Description", + "ipv6_address_mode", + "Ipv6_address_mode", + "ipv6_ra_mode", + "Ipv6_ra_mode", + "revision_number", + "Revision_number", + "service_types", + "Service_types", + "subnetpool_id", + "Subnetpool_id", + "tags", + "Tags", + "updated_at", + "Updated_at" + ] + }, + "Tags": { + "type": "object", + "title": "Tags" + }, + "TagsAlRp": { + "type": "object", + "properties": { + "tags": { + "type": "string" + } + }, + "title": "TagsAlRp" + }, + "TargetRaidConfig": { + "type": "object", + "title": "TargetRaidConfig" + }, + "Task": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "status": { + "type": "string" + }, + "taskType": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "endTime": { + "type": "string" + }, + "participantStatus": { + "type": "string" + }, + "participantId": { + "type": "integer", + "format": "int64" + }, + "participantName": { + "type": "string" + } + }, + "title": "Task", + "required": [ + "id", + "name", + "status", + "taskType", + "startTime", + "endTime", + "participantStatus", + "participantId", + "participantName" + ] + }, + "TaskInfo": { + "type": "object", + "properties": { + "taskId": { + "type": "integer", + "format": "int64" + }, + "taskType": { + "type": "string" + }, + "matchLabels": { + "type": "string" + }, + "participantId": { + "type": "integer", + "format": "int64" + }, + "metadata": { + "type": "object" + } + }, + "title": "TaskInfo", + "required": [ + "matchLabels", + "participantId", + "metadata" + ] + }, + "TaskSl": { + "type": "object", + "properties": { + "taskId": { + "type": "string" + }, + "taskName": { + "type": "string" + }, + "taskStatus": { + "type": "string" + }, + "startedAt": { + "type": "integer", + "format": "int64" + }, + "completedAt": { + "type": "integer", + "format": "int64" + } + }, + "title": "TaskSl", + "required": [ + "taskId", + "taskName", + "taskStatus", + "startedAt", + "completedAt" + ] + }, + "TaskStatuses": { + "type": "object", + "properties": { + "task": { + "type": "string" + }, + "exitCode": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "TaskStatuses", + "required": [ + "task", + "exitCode", + "message" + ] + }, + "TaskYaml": { + "type": "object", + "properties": { + "TaskId": { + "type": "integer", + "format": "int64" + }, + "taskType": { + "type": "string" + }, + "participantId": { + "type": "integer", + "format": "int64" + }, + "matchLabels": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "title": "TaskYaml", + "required": [ + "taskId", + "taskType", + "participantId", + "matchLabels", + "metadata" + ] + }, + "TemplateParam": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "operatorParams": { + "type": "array", + "items": { + "$ref": "#/definitions/OperatorParam" + } + } + }, + "title": "TemplateParam", + "required": [ + "Id", + "Name", + "OperatorParam" + ] + }, + "TrainJob": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "status": { + "type": "string" + }, + "participantName": { + "type": "string" + }, + "synergyStatus": { + "type": "string" + }, + "strategy": { + "type": "integer", + "format": "int32" + } + }, + "title": "TrainJob", + "required": [ + "name", + "status", + "participantName", + "synergyStatus", + "strategy" + ] + }, + "TrainingExperimentReference": { + "type": "object", + "title": "TrainingExperimentReference" + }, + "UpdateNetworkReq": { + "type": "object", + "properties": { + "network_id": { + "type": "string" + }, + "network": { + "$ref": "#/definitions/Network" + } + }, + "title": "UpdateNetworkReq", + "required": [ + "network_id", + "NetworkId", + "network", + "Network" + ] + }, + "UpdateNetworkResp": { + "type": "object", + "properties": { + "network": { + "$ref": "#/definitions/Network" + }, + "msg": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "error_msg": { + "type": "string" + } + }, + "title": "UpdateNetworkResp", + "required": [ + "network", + "Network", + "msg", + "Msg", + "code", + "Code", + "error_msg", + "ErrorMsg" + ] + }, + "UpdateServerReq": { + "type": "object", + "properties": { + "server_id": { + "type": "string" + }, + "server_update": { + "$ref": "#/definitions/ServerUpdate" + } + }, + "title": "UpdateServerReq", + "required": [ + "server_id", + "ServerId", + "server_update", + "ServerUpdate" + ] + }, + "UpdateServerResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + }, + "server": { + "$ref": "#/definitions/ServersDetaileResp" + } + }, + "title": "UpdateServerResp", + "required": [ + "code", + "msg", + "errorMsg", + "server", + "Server" + ] + }, + "UpdateVolumeReq": { + "type": "object", + "properties": { + "volume": { + "$ref": "#/definitions/Volume" + }, + "volume_id": { + "type": "string" + } + }, + "title": "UpdateVolumeReq", + "required": [ + "volume", + "Volume", + "volume_id", + "VolumeId" + ] + }, + "UpdateVolumeResp": { + "type": "object", + "properties": { + "volume": { + "$ref": "#/definitions/Volume" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "UpdateVolumeResp", + "required": [ + "volume", + "Volume", + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "UploadImageReq": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "title": "UploadImageReq", + "required": [ + "name" + ] + }, + "UploadLinkImageReq": { + "type": "object", + "properties": { + "partId": { + "type": "integer", + "format": "int64" + }, + "filePath": { + "type": "string" + } + }, + "title": "UploadLinkImageReq", + "required": [ + "partId", + "filePath" + ] + }, + "UploadLinkImageResp": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "format": "boolean" + }, + "image": { + "$ref": "#/definitions/ImageSl" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "UploadLinkImageResp", + "required": [ + "success", + "image", + "errorMsg" + ] + }, + "UploadOsImageReq": { + "type": "object", + "properties": { + "image_id": { + "type": "string" + } + }, + "title": "UploadOsImageReq", + "required": [ + "image_id", + "ImageId" + ] + }, + "UploadOsImageResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "errorMsg": { + "type": "string" + } + }, + "title": "UploadOsImageResp", + "required": [ + "code", + "Code", + "msg", + "Msg", + "errorMsg", + "ErrorMsg" + ] + }, + "UserNotebookDomain": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": " *" + }, + "name": { + "type": "string", + "description": " *" + } + }, + "title": "UserNotebookDomain", + "required": [ + "id", + "Id", + "name", + "Name" + ] + }, + "UserNotebookResp": { + "type": "object", + "properties": { + "domain": { + "$ref": "#/definitions/UserNotebookDomain", + "description": " *" + }, + "id": { + "type": "string", + "description": " *" + }, + "name": { + "type": "string", + "description": " *" + } + }, + "title": "UserNotebookResp", + "required": [ + "domain", + "UserNotebookDomain", + "id", + "Id", + "name", + "Name" + ] + }, + "Util": { + "type": "object", + "properties": { + "average": { + "type": "integer", + "format": "int32" + }, + "max": { + "type": "integer", + "format": "int32" + }, + "min": { + "type": "integer", + "format": "int32" + } + }, + "title": "Util", + "required": [ + "average", + "max", + "min" + ] + }, + "Volume": { + "type": "object", + "properties": { + "size": { + "type": "integer", + "format": "int32" + }, + "availability_zone": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "volume_type": { + "type": "string" + } + }, + "title": "Volume", + "required": [ + "size", + "Size", + "availability_zone", + "AvailabilityZone", + "description", + "Description", + "name", + "Name", + "volume_type", + "VolumeType" + ] + }, + "VolumeAbsolute": { + "type": "object", + "properties": { + "total_snapshots_used": { + "type": "integer", + "format": "int32" + }, + "max_total_backups": { + "type": "integer", + "format": "int32" + }, + "max_total_volume_gigabytes": { + "type": "integer", + "format": "int32" + }, + "max_total_snapshots": { + "type": "integer", + "format": "int32" + }, + "max_total_backup_gigabytes": { + "type": "integer", + "format": "int32" + }, + "total_backup_gigabytes_used": { + "type": "integer", + "format": "int32" + }, + "max_total_volumes": { + "type": "integer", + "format": "int32" + }, + "total_volumes_used": { + "type": "integer", + "format": "int32" + }, + "total_backups_used": { + "type": "integer", + "format": "int32" + }, + "total_gigabytes_used": { + "type": "integer", + "format": "int32" + } + }, + "title": "VolumeAbsolute" + }, + "VolumeDetail": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "availability_zone": { + "type": "string" + }, + "encrypted": { + "type": "boolean", + "format": "boolean" + }, + "name": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "string" + }, + "tenant_id": { + "type": "string" + }, + "Updated": { + "type": "string" + }, + "User_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "multiattach": { + "type": "boolean", + "format": "boolean" + }, + "bootable": { + "type": "boolean", + "format": "boolean" + }, + "volume_type": { + "type": "string" + }, + "count": { + "type": "integer", + "format": "int32" + }, + "shared_targets": { + "type": "boolean", + "format": "boolean" + }, + "consumes_quota": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "VolumeDetail", + "required": [ + "created_at", + "id", + "availability_zone", + "encrypted", + "name", + "size", + "status", + "tenant_id", + "Updated", + "updated", + "User_id", + "user_id", + "description", + "multiattach", + "bootable", + "volume_type", + "count", + "Count", + "shared_targets", + "consumes_quota" + ] + }, + "VolumeDetailed": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "availability_zone": { + "type": "string" + }, + "encrypted": { + "type": "boolean", + "format": "boolean" + }, + "name": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "string" + }, + "tenant_id": { + "type": "string" + }, + "updated": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "multiattach": { + "type": "boolean", + "format": "boolean" + }, + "bootable": { + "type": "string" + }, + "volume_type": { + "type": "string" + }, + "count": { + "type": "integer", + "format": "int32" + }, + "shared_targets": { + "type": "boolean", + "format": "boolean" + }, + "consumes_quota": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "VolumeDetailed", + "required": [ + "created_at", + "CreatedAt", + "id", + "Id", + "availability_zone", + "AvailabilityZone", + "encrypted", + "Encrypted", + "name", + "Name", + "size", + "Size", + "status", + "Status", + "tenant_id", + "TenantId", + "updated", + "Updated", + "user_id", + "UserId", + "description", + "Description", + "multiattach", + "Multiattach", + "bootable", + "Bootable", + "volume_type", + "VolumeType", + "count", + "Count", + "shared_targets", + "SharedTargets", + "consumes_quota", + "ConsumesQuota" + ] + }, + "VolumeLimits": { + "type": "object", + "properties": { + "rate": { + "$ref": "#/definitions/VolumeRate" + }, + "absolute": { + "$ref": "#/definitions/VolumeAbsolute" + } + }, + "title": "VolumeLimits" + }, + "VolumeNode": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "rel": { + "type": "string" + } + }, + "title": "VolumeNode", + "required": [ + "href", + "rel" + ] + }, + "VolumeRate": { + "type": "object", + "title": "VolumeRate" + }, + "VolumeReq": { + "type": "object", + "properties": { + "capacity": { + "type": "integer", + "format": "int64" + }, + "category": { + "type": "string" + }, + "ownership": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "title": "VolumeReq", + "required": [ + "Capacity", + "category", + "Category", + "ownership", + "Ownership", + "Uri" + ] + }, + "VolumeRes": { + "type": "object", + "properties": { + "capacity": { + "type": "integer", + "format": "int64" + }, + "category": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "ownership": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "title": "VolumeRes", + "required": [ + "capacity", + "Capacity", + "category", + "Category", + "mountPath", + "MountPath", + "ownership", + "Ownership", + "status", + "Status" + ] + }, + "VolumeResp": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "availability_zone": { + "type": "string" + }, + "encrypted": { + "type": "boolean", + "format": "boolean" + }, + "name": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "string" + }, + "tenant_id": { + "type": "string" + }, + "updated": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "multiattach": { + "type": "boolean", + "format": "boolean" + }, + "bootable": { + "type": "boolean", + "format": "boolean" + }, + "volume_type": { + "type": "string" + }, + "count": { + "type": "integer", + "format": "int32" + }, + "shared_targets": { + "type": "boolean", + "format": "boolean" + }, + "consumes_quota": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "VolumeResp", + "required": [ + "created_at", + "CreatedAt", + "id", + "Id", + "availability_zone", + "AvailabilityZone", + "encrypted", + "Encrypted", + "name", + "Name", + "size", + "Size", + "status", + "Status", + "tenant_id", + "TenantId", + "updated", + "Updated", + "user_id", + "UserId", + "description", + "Description", + "multiattach", + "Multiattach", + "bootable", + "Bootable", + "volume_type", + "VolumeType", + "count", + "Count", + "shared_targets", + "SharedTargets", + "consumes_quota", + "ConsumesQuota" + ] + }, + "VolumeType": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "extra_specs": { + "$ref": "#/definitions/ExtraSpecs" + }, + "id": { + "type": "string" + }, + "is_public": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "VolumeType", + "required": [ + "name", + "Name", + "description", + "Description", + "extra_specs", + "ExtraSpecs", + "id", + "Id", + "is_public", + "IsPublic" + ] + }, + "Volume_types": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_public": { + "type": "boolean", + "format": "boolean" + }, + "name": { + "type": "string" + }, + "os_volume_type_access_is_public": { + "type": "boolean", + "format": "boolean" + }, + "qos_specs_id": { + "type": "string" + }, + "extra_specs": { + "$ref": "#/definitions/Extra_specs" + } + }, + "title": "Volume_types", + "required": [ + "description", + "Description", + "id", + "Id", + "is_public", + "IsPublic", + "name", + "Name", + "os_volume_type_access_is_public", + "OsVolumeTypeAccessIsPublic", + "qos_specs_id", + "QosSpecsId", + "extra_specs", + "ExtraSpecs" + ] + }, + "Volumes": { + "type": "object", + "properties": { + "nfs": { + "$ref": "#/definitions/Nfs" + } + }, + "title": "Volumes" + }, + "VolumesList": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "links": { + "$ref": "#/definitions/Links" + }, + "name": { + "type": "string" + } + }, + "title": "VolumesList", + "required": [ + "id", + "Id", + "links", + "Links", + "name", + "Name" + ] + }, + "WorkPath": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "outputPath": { + "type": "string" + }, + "path": { + "type": "string" + }, + "type": { + "type": "string" + }, + "versionId": { + "type": "string" + }, + "versionName": { + "type": "string" + } + }, + "title": "WorkPath", + "required": [ + "name", + "OutputPath", + "Path", + "type", + "VersionId", + "VersionName" + ] + }, + "checkReq": { + "type": "object", + "properties": { + "fileMd5": { + "type": "string" + } + }, + "title": "checkReq", + "required": [ + "fileMd5" + ] + }, + "checkResp": { + "type": "object", + "properties": { + "exist": { + "type": "boolean", + "format": "boolean" + } + }, + "title": "checkResp", + "required": [ + "exist" + ] + }, + "cloudListResp": { + "type": "object", + "properties": { + "clouds": { + "type": "array", + "items": { + "$ref": "#/definitions/Cloud" + } + } + }, + "title": "cloudListResp", + "required": [ + "clouds" + ] + }, + "cpResp": { + "type": "object", + "properties": { + "pOpsAtFp16": { + "type": "number", + "format": "float" + } + }, + "title": "cpResp", + "required": [ + "pOpsAtFp16" + ] + }, + "deleteTaskReq": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + } + }, + "title": "deleteTaskReq", + "required": [ + "id" + ] + }, + "getHashcatHandlerReq": { + "type": "object", + "properties": { + "crackTaskId": { + "type": "string", + "description": " 任务id" + } + }, + "title": "getHashcatHandlerReq", + "required": [ + "crackTaskId" + ] + }, + "getHashcatHandlerResp": { + "type": "object", + "properties": { + "hashCatList": { + "type": "array", + "items": { + "$ref": "#/definitions/HashCat" + } + } + }, + "title": "getHashcatHandlerResp", + "required": [ + "hashCatList" + ] + }, + "getRegionResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "data": { + "$ref": "#/definitions/RegionNum" + } + }, + "title": "getRegionResp", + "required": [ + "code", + "msg", + "data" + ] + }, + "imageListResp": { + "type": "object", + "properties": { + "repositories": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "title": "imageListResp", + "required": [ + "repositories" + ] + }, + "imageTagsReq": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "title": "imageTagsReq", + "required": [ + "name" + ] + }, + "imageTagsResp": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "title": "imageTagsResp", + "required": [ + "name", + "tags" + ] + }, + "jobTotalResp": { + "type": "object", + "properties": { + "allCardRunTime": { + "type": "number", + "format": "double" + }, + "allJobCount": { + "type": "number", + "format": "double" + }, + "allJobRunTime": { + "type": "number", + "format": "double" + }, + "trainJobs": { + "type": "array", + "items": { + "$ref": "#/definitions/TrainJob" + } + } + }, + "title": "jobTotalResp", + "required": [ + "allCardRunTime", + "allJobCount", + "allJobRunTime", + "trainJobs" + ] + }, + "listCenterResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "data": { + "$ref": "#/definitions/CenterData" + } + }, + "title": "listCenterResp", + "required": [ + "code", + "msg", + "data" + ] + }, + "listClusterReq": { + "type": "object", + "properties": { + "centerId": { + "type": "integer", + "format": "int32" + } + }, + "title": "listClusterReq", + "required": [ + "centerId" + ] + }, + "listClusterResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "data": { + "$ref": "#/definitions/ClusterData" + } + }, + "title": "listClusterResp", + "required": [ + "code", + "msg", + "data" + ] + }, + "listHistoryJobReq": { + "type": "object", + "title": "listHistoryJobReq" + }, + "listHistoryJobResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "recordCount": { + "type": "integer", + "format": "int32" + }, + "jobInfoDbs": { + "type": "array", + "items": { + "$ref": "#/definitions/HistoryJob" + } + } + }, + "title": "listHistoryJobResp", + "required": [ + "code", + "msg", + "recordCount", + "jobInfoDbs" + ] + }, + "listJobReq": { + "type": "object", + "title": "listJobReq" + }, + "listJobResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "recordCount": { + "type": "integer", + "format": "int32" + }, + "jobInfos": { + "type": "array", + "items": { + "$ref": "#/definitions/Job" + } + } + }, + "title": "listJobResp", + "required": [ + "code", + "msg", + "recordCount", + "jobInfos" + ] + }, + "listRegionResp": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "msg": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/Region" + } + } + }, + "title": "listRegionResp", + "required": [ + "code", + "msg", + "data" + ] + }, + "participantListResp": { + "type": "object", + "properties": { + "participants": { + "type": "array", + "items": { + "$ref": "#/definitions/Participant" + } + } + }, + "title": "participantListResp", + "required": [ + "participants" + ] + }, + "scheduleTaskByYamlReq": { + "type": "object", + "properties": { + "Name": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "tenantId": { + "type": "integer", + "format": "int64" + }, + "tasks": { + "type": "array", + "items": { + "$ref": "#/definitions/TaskYaml" + } + } + }, + "title": "scheduleTaskByYamlReq", + "required": [ + "name", + "description", + "tenantId", + "tasks" + ] + }, + "scheduleTaskByYamlResp": { + "type": "object", + "properties": { + "taskId": { + "type": "integer", + "format": "int64" + } + }, + "title": "scheduleTaskByYamlResp", + "required": [ + "taskId" + ] + }, + "scheduleTaskReq": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "synergy": { + "type": "string" + }, + "description": { + "type": "string" + }, + "strategy": { + "type": "string" + }, + "tasks": { + "type": "array", + "items": { + "$ref": "#/definitions/TaskInfo" + } + } + }, + "title": "scheduleTaskReq", + "required": [ + "name", + "synergy", + "description", + "strategy", + "tasks" + ] + }, + "submitJobReq": { + "type": "object", + "properties": { + "slurmVersion": { + "type": "string" + }, + "apptype": { + "type": "string" + }, + "appname": { + "type": "string" + }, + "strJobManagerID": { + "type": "integer", + "format": "int64" + }, + "mapAppJobInfo": { + "$ref": "#/definitions/MapAppJobInfo" + }, + "account": { + "type": "string" + }, + "acctg_freq": { + "type": "string" + }, + "alloc_node": { + "type": "string" + }, + "alloc_resp_port": { + "type": "integer", + "format": "int32" + }, + "alloc_sid": { + "type": "integer", + "format": "int32" + }, + "argc": { + "type": "integer", + "format": "int32" + }, + "Argv": { + "type": "array", + "items": { + "$ref": "#/definitions/Argv" + } + }, + "array_inx": { + "type": "string" + }, + "begin_time": { + "type": "integer", + "format": "int64" + }, + "ckpt_interval": { + "type": "integer", + "format": "int32" + }, + "ckpt_dir": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "contiguous": { + "type": "integer", + "format": "int32" + }, + "cpu_bind": { + "type": "string" + }, + "cpu_bind_type": { + "type": "integer", + "format": "int32" + }, + "dependency": { + "type": "string" + }, + "end_time": { + "type": "integer", + "format": "int64" + }, + "Environment": { + "type": "array", + "items": { + "$ref": "#/definitions/Environment" + } + }, + "env_size": { + "type": "integer", + "format": "int32" + }, + "exc_nodes": { + "type": "string" + }, + "features": { + "type": "string" + }, + "gres": { + "type": "string" + }, + "group_id": { + "type": "integer", + "format": "int32" + }, + "immediate": { + "type": "integer", + "format": "int32" + }, + "job_id": { + "type": "integer", + "format": "int32" + }, + "kill_on_node_fail": { + "type": "integer", + "format": "int32" + }, + "licenses": { + "type": "string" + }, + "mail_type": { + "type": "integer", + "format": "int32" + }, + "mail_user": { + "type": "string" + }, + "mem_bind": { + "type": "string" + }, + "mem_bind_type": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + }, + "network": { + "type": "string" + }, + "nice": { + "type": "integer", + "format": "int32" + }, + "num_tasks": { + "type": "integer", + "format": "int32" + }, + "open_mode": { + "type": "integer", + "format": "int32" + }, + "other_port": { + "type": "integer", + "format": "int32" + }, + "overcommit": { + "type": "integer", + "format": "int32" + }, + "partition": { + "type": "string" + }, + "plane_size": { + "type": "integer", + "format": "int32" + }, + "priority": { + "type": "integer", + "format": "int32" + }, + "profile": { + "type": "integer", + "format": "int32" + }, + "qos": { + "type": "string" + }, + "resp_host": { + "type": "string" + }, + "req_nodes": { + "type": "string" + }, + "requeue": { + "type": "integer", + "format": "int32" + }, + "reservation": { + "type": "string" + }, + "script": { + "type": "string" + }, + "shared": { + "type": "integer", + "format": "int32" + }, + "spank_job_env_size": { + "type": "integer", + "format": "int32" + }, + "task_dist": { + "type": "integer", + "format": "int32" + }, + "time_limit": { + "type": "integer", + "format": "int32" + }, + "time_min": { + "type": "integer", + "format": "int32" + }, + "user_id": { + "type": "integer", + "format": "int32" + }, + "wait_all_nodes": { + "type": "integer", + "format": "int32" + }, + "warn_signal": { + "type": "integer", + "format": "int32" + }, + "warn_time": { + "type": "integer", + "format": "int32" + }, + "work_dir": { + "type": "string" + }, + "cpus_per_task": { + "type": "integer", + "format": "int32" + }, + "min_cpus": { + "type": "integer", + "format": "int32" + }, + "max_cpus": { + "type": "integer", + "format": "int32" + }, + "min_nodes": { + "type": "integer", + "format": "int32" + }, + "max_nodes": { + "type": "integer", + "format": "int32" + }, + "boards_per_node": { + "type": "integer", + "format": "int32" + }, + "sockets_per_board": { + "type": "integer", + "format": "int32" + }, + "sockets_per_node": { + "type": "integer", + "format": "int32" + }, + "cores_per_socket": { + "type": "integer", + "format": "int32" + }, + "threads_per_core": { + "type": "integer", + "format": "int32" + }, + "ntasks_per_node": { + "type": "integer", + "format": "int32" + }, + "ntasks_per_socket": { + "type": "integer", + "format": "int32" + }, + "ntasks_per_core": { + "type": "integer", + "format": "int32" + }, + "ntasks_per_board": { + "type": "integer", + "format": "int32" + }, + "pn_min_cpus": { + "type": "integer", + "format": "int32" + }, + "pn_min_memory": { + "type": "integer", + "format": "int32" + }, + "pn_min_tmp_disk": { + "type": "integer", + "format": "int32" + }, + "reboot": { + "type": "integer", + "format": "int32" + }, + "rotate": { + "type": "integer", + "format": "int32" + }, + "req_switch": { + "type": "integer", + "format": "int32" + }, + "std_err": { + "type": "string" + }, + "std_in": { + "type": "string" + }, + "std_out": { + "type": "string" + }, + "wait4switch": { + "type": "integer", + "format": "int32" + }, + "wckey": { + "type": "string" + } + }, + "title": "submitJobReq", + "required": [ + "slurmVersion", + "sdasdsadasd" + ] + }, + "submitJobResp": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error_code 返回码 in Tianhe" + }, + "msg": { + "type": "string" + }, + "data": { + "type": "string", + "description": "Job_id 作业id in Tianhe" + } + }, + "title": "submitJobResp", + "required": [ + "code", + "msg", + "data" + ] + }, + "taskDetailReq": { + "type": "object", + "properties": { + "taskId": { + "type": "integer", + "format": "int64" + } + }, + "title": "taskDetailReq", + "required": [ + "taskId" + ] + }, + "taskDetailResp": { + "type": "object", + "properties": { + "cpuCores": { + "type": "number", + "format": "double" + }, + "cpuRate": { + "type": "number", + "format": "double" + }, + "cpuLimit": { + "type": "number", + "format": "double" + }, + "gpuCores": { + "type": "number", + "format": "double" + }, + "gpuRate": { + "type": "number", + "format": "double" + }, + "gpuLimit": { + "type": "number", + "format": "double" + }, + "memoryTotal": { + "type": "number", + "format": "double" + }, + "memoryRate": { + "type": "number", + "format": "double" + }, + "memoryLimit": { + "type": "number", + "format": "double" + } + }, + "title": "taskDetailResp", + "required": [ + "cpuCores", + "cpuRate", + "cpuLimit", + "gpuCores", + "gpuRate", + "gpuLimit", + "memoryTotal", + "memoryRate", + "memoryLimit" + ] + }, + "taskListReq": { + "type": "object", + "properties": { + "pageNum": { + "type": "integer", + "format": "int32" + }, + "pageSize": { + "type": "integer", + "format": "int32" + } + }, + "title": "taskListReq", + "required": [ + "pageNum", + "pageSize" + ] + }, + "taskListResp": { + "type": "object", + "properties": { + "totalCount": { + "type": "integer", + "format": "int64", + "description": " 任务总数" + }, + "normalCount": { + "type": "integer", + "format": "int64", + "description": " 正常任务数" + }, + "alarmCount": { + "type": "integer", + "format": "int64", + "description": " 任务告警数" + }, + "tasks": { + "type": "array", + "items": { + "$ref": "#/definitions/Task" + } + } + }, + "title": "taskListResp", + "required": [ + "totalCount", + "normalCount", + "alarmCount", + "tasks" + ] + } + }, + "securityDefinitions": { + "apiKey": { + "type": "apiKey", + "description": "Enter JWT Bearer token **_only_**", + "name": "Authorization", + "in": "header" + } + }, + "security": [ + { + "apiKey": [] + } + ] +} diff --git a/api/desc/storage/pcm-storage.api b/api/desc/storage/pcm-storage.api index beabcd46..88086e79 100644 --- a/api/desc/storage/pcm-storage.api +++ b/api/desc/storage/pcm-storage.api @@ -31,7 +31,7 @@ type ( TrainJob string `json:"trainJob" copier:"TrainJob"` ComputeScale int32 `json:"computeScale" copier:"ComputeScale"` StorageScale int32 `json:"storageScale" copier:"StorageScale"` - Province string `json:"path:"province" copier:"Province"` + Province string `json:"path:province" copier:"Province"` City string `json:"city" copier:"City"` CoordinateX int32 `json:"coordinateX" copier:"CoordinateX"` CoordinateY int32 `json:"coordinateY" copier:"CoordinateY"` diff --git a/api/desc/vm/pcm-vm.api b/api/desc/vm/pcm-vm.api index 69267264..4f06d977 100644 --- a/api/desc/vm/pcm-vm.api +++ b/api/desc/vm/pcm-vm.api @@ -903,7 +903,7 @@ type( Links []Links `json:"links" copier:"Links"` Maintenance bool `json:"maintenance" copier:"Maintenance"` Name string `json:"name" copier:"Name"` - PowerState string `json:"name" copier:"PowerState"` + PowerState string `json:"power_state" copier:"PowerState"` ProvisionState string `json:"provision_state" copier:"ProvisionState"` Uuid string `json:"uuid" copier:"Uuid"` }