|
|
|
@@ -983,7 +983,7 @@ type CustomSpec struct { |
|
|
|
type DeleteServiceReq struct { |
|
|
|
ProjectId string `path:"projectId"` |
|
|
|
ServiceId string `path:"serviceId"` |
|
|
|
ModelArtsType string `json:"modelartsType,optional"` |
|
|
|
ModelArtsType string `form:"modelArtsType,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type DeleteServiceResp struct { |
|
|
|
@@ -996,11 +996,11 @@ type ListServicesReq struct { |
|
|
|
ProjectId string `path:"projectId"` |
|
|
|
Limit int32 `form:"limit,optional"` |
|
|
|
Offset int32 `form:"offSet,optional"` |
|
|
|
ModelArtsType string `json:"modelartsType,optional"` |
|
|
|
ModelArtsType string `form:"modelArtsType,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type ListServicesResp struct { |
|
|
|
TotalCount int32 `json:"totalCount,omitempty" copier:"TotalCount"` |
|
|
|
TotalCount int32 `json:"total,omitempty" copier:"TotalCount"` |
|
|
|
Count int32 `json:"count,omitempty" copier:"Count"` |
|
|
|
Services []ListServices `json:"services,omitempty" copier:"Services"` |
|
|
|
Code int32 `json:"code,omitempty"` |
|
|
|
@@ -1382,7 +1382,7 @@ type DeleteDataSetResp struct { |
|
|
|
type ListNotebookReq struct { |
|
|
|
ProjectId string `json:"projectId" copier:"ProjectId"` |
|
|
|
Param ListNotebookParam `json:"param,optional" copier:"Param"` |
|
|
|
ModelArtsType string `json:"modelartsType,optional"` |
|
|
|
ModelArtsType string `json:"modelArtsType,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type ListNotebookResp struct { |
|
|
|
@@ -1412,7 +1412,7 @@ type ListNotebookParam struct { |
|
|
|
type CreateNotebookReq struct { |
|
|
|
ProjectId string `json:"projectId" copier:"ProjectId"` |
|
|
|
Param CreateNotebookParam `json:"param" copier:"Param"` |
|
|
|
ModelArtsType string `json:"modelartsType,optional"` |
|
|
|
ModelArtsType string `json:"modelArtsType,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type CreateNotebookResp struct { |
|
|
|
@@ -1441,7 +1441,7 @@ type StartNotebookReq struct { |
|
|
|
Id string `json:"id" copier:"Id"` |
|
|
|
ProjectId string `json:"projectId" copier:"ProjectId"` |
|
|
|
Param StartNotebookParam `json:"param" copier:"Param"` |
|
|
|
ModelArtsType string `json:"modelartsType,optional"` |
|
|
|
ModelArtsType string `json:"modelArtsType,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type StartNotebookResp struct { |
|
|
|
@@ -1459,7 +1459,7 @@ type StartNotebookParam struct { |
|
|
|
type StopNotebookReq struct { |
|
|
|
Id string `json:"id" copier:"Id"` |
|
|
|
ProjectId string `json:"projectId" copier:"ProjectId"` |
|
|
|
ModelArtsType string `json:"modelartsType,optional"` |
|
|
|
ModelArtsType string `json:"modelArtsType,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type StopNotebookResp struct { |
|
|
|
@@ -1472,7 +1472,7 @@ type StopNotebookResp struct { |
|
|
|
type GetNotebookStorageReq struct { |
|
|
|
InstanceId string `json:"instanceId" copier:"InstanceId"` |
|
|
|
ProjectId string `json:"projectId" copier:"ProjectId"` |
|
|
|
ModelArtsType string `json:"modelartsType,optional"` |
|
|
|
ModelArtsType string `json:"modelArtsType,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type GetNotebookStorageResp struct { |
|
|
|
@@ -1487,7 +1487,7 @@ type MountNotebookStorageReq struct { |
|
|
|
InstanceId string `json:"instanceId" copier:"InstanceId"` |
|
|
|
ProjectId string `json:"projectId" copier:"ProjectId"` |
|
|
|
Param MountNotebookStorageParam `json:"param" copier:"Param"` |
|
|
|
ModelArtsType string `json:"modelartsType,optional"` |
|
|
|
ModelArtsType string `json:"modelArtsType,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type MountNotebookStorageResp struct { |
|
|
|
@@ -1668,7 +1668,7 @@ type LeaseReq struct { |
|
|
|
type GetVisualizationJobReq struct { |
|
|
|
Project_id string `json:"projectId"` |
|
|
|
Param GetVisualizationJobParam `json:"param"` |
|
|
|
ModelArtsType string `json:"modelartsType,optional"` |
|
|
|
ModelArtsType string `json:"modelArtsType,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type GetVisualizationJobResp struct { |
|
|
|
@@ -1706,7 +1706,7 @@ type GetVisualizationJobParam struct { |
|
|
|
type CreateVisualizationJobReq struct { |
|
|
|
Project_id string `json:"projectId"` |
|
|
|
Param CreateVisualizationJobParam `json:"param"` |
|
|
|
ModelArtsType string `json:"modelartsType,optional"` |
|
|
|
ModelArtsType string `json:"modelArtsType,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type CreateVisualizationJobResp struct { |
|
|
|
@@ -1781,10 +1781,8 @@ type ConstraintCreateTraining struct { |
|
|
|
} |
|
|
|
|
|
|
|
type ParametersTrainJob struct { |
|
|
|
Name string `json:"name,optional"` |
|
|
|
Description string `json:"description,optional"` |
|
|
|
Value string `json:"value,optional"` |
|
|
|
ConstraintCreateTraining ConstraintCreateTraining `json:"constraint,optional"` |
|
|
|
Name string `json:"name,optional"` |
|
|
|
Value string `json:"value,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type PoliciesCreateTraining struct { |
|
|
|
@@ -1799,11 +1797,53 @@ type AlgorithmsCtRq struct { |
|
|
|
ParametersTrainJob []ParametersTrainJob `json:"parameters,optional"` |
|
|
|
PoliciesCreateTraining PoliciesCreateTraining `json:"policies,optional"` |
|
|
|
Command string `json:"command,optional"` |
|
|
|
SubscriptionId string `json:"subscriptionId,optional"` |
|
|
|
ItemVersionId string `json:"itemVersionId,optional"` |
|
|
|
InputTra []InputTra `json:"inputs,optional"` |
|
|
|
OutputTra []OutputTra `json:"outputs,optional"` |
|
|
|
Environments Environments `json:"environments,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type Environments struct { |
|
|
|
} |
|
|
|
|
|
|
|
type InputTra struct { |
|
|
|
Name string `json:"name,optional"` |
|
|
|
AccessMethod string `json:"accessMethod,optional"` |
|
|
|
RemoteIn RemoteTra `json:"remoteIn,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type RemoteTra struct { |
|
|
|
DatasetIn DatasetTra `json:"dataSet,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type DatasetTra struct { |
|
|
|
Id string `json:"id,optional"` |
|
|
|
Name string `json:"name,optional"` |
|
|
|
VersionName string `json:"versionName,optional"` |
|
|
|
VersionId string `json:"versionId,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type OutputTra struct { |
|
|
|
Name string `json:"name,optional"` |
|
|
|
AccessMethod string `json:"accessMethod,optional"` |
|
|
|
PrefetchToLocal string `json:"prefetchToLocal,optional"` |
|
|
|
RemoteOut RemoteOut `json:"remoteOut,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type RemoteOut struct { |
|
|
|
Obs ObsTra `json:"obs,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type ObsTra struct { |
|
|
|
ObsUrl string `json:"obsUrl,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type ResourceCreateTraining struct { |
|
|
|
FlavorId string `json:"flavorId,optional"` |
|
|
|
NodeCount int32 `json:"nodeCount,optional"` |
|
|
|
FlavorId string `json:"flavorId,optional"` |
|
|
|
NodeCount int32 `json:"nodeCount,optional"` |
|
|
|
Policy string `json:"policy,optional"` |
|
|
|
FlavorLabel string `json:"flavorLabel,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
type LogExportPathCreateTrainingJob struct { |
|
|
|
|