|
|
|
@@ -550,18 +550,18 @@ type GetResourceSpecsResult struct { |
|
|
|
ErrorMsg string `json:"error_msg"` |
|
|
|
IsSuccess bool `json:"is_success"` |
|
|
|
SpecTotalCount int `json:"spec_total_count"` |
|
|
|
Specs []Specs `json:"specs"` |
|
|
|
Specs []Specs `json:"specs"` |
|
|
|
} |
|
|
|
|
|
|
|
type Specs struct { |
|
|
|
ErrorCode string `json:"core"` |
|
|
|
ErrorMsg string `json:"cpu"` |
|
|
|
IsSuccess bool `json:"no_resource"` |
|
|
|
JobName string `json:"gpu_type"` |
|
|
|
JobID int64 `json:"spec_id"` |
|
|
|
Status int `json:"gpu_num"` |
|
|
|
ResourceID string `json:"spec_code"` |
|
|
|
VersionName string `json:"storage"` |
|
|
|
Core string `json:"core"` |
|
|
|
Cpu string `json:"cpu"` |
|
|
|
IsNoResource bool `json:"no_resource"` |
|
|
|
GpuType string `json:"gpu_type"` |
|
|
|
SpecID int64 `json:"spec_id"` |
|
|
|
GpuNum int `json:"gpu_num"` |
|
|
|
SpecCode string `json:"spec_code"` |
|
|
|
Storage string `json:"storage"` |
|
|
|
MaxNum int `json:"max_num"` |
|
|
|
UnitNum int `json:"unit_num"` |
|
|
|
InterfaceType int `json:"interface_type"` |
|
|
|
|