diff --git a/api/desc/cloud/pcm-cloud.api b/api/desc/cloud/pcm-cloud.api index daa250ec..a6364322 100644 --- a/api/desc/cloud/pcm-cloud.api +++ b/api/desc/cloud/pcm-cloud.api @@ -37,21 +37,19 @@ type DataSet { type cloudListResp { Clouds []Cloud `json:"clouds"` - } -type Cloud{ - Id int64 `json:"id"` // id - TaskId int64 `json:"taskId"` // 任务id - ParticipantId int64 `json:"participantId"` // 集群静态信息id - ApiVersion string `json:"apiVersion"` - Name string `json:"name"` // 名称 - Namespace string `json:"namespace"` // 命名空间 - Kind string `json:"kind"` // 种类 - Status string `json:"status"` // 状态 - StartTime string `json:"startTime"` // 开始时间 - RunningTime int64 `json:"runningTime"` // 运行时长 - CreatedBy int64 `json:"createdBy"` // 创建人 - CreatedTime string `json:"createdTime"` // 创建时间 - YamlString string `json:"yamlString"` - Result string `json:"result"` +type Cloud { + Id int64 `json:"id"` // id + TaskId int64 `json:"taskId"` // 任务id + ParticipantId int64 `json:"participantId"` // 集群静态信息id + ApiVersion string `json:"apiVersion"` + Name string `json:"name"` // 名称 + Namespace string `json:"namespace"` // 命名空间 + Kind string `json:"kind"` // 种类 + Status string `json:"status"` // 状态 + StartTime string `json:"startTime"` // 开始时间 + RunningTime int64 `json:"runningTime"` // 运行时长 + CreatedBy int64 `json:"createdBy"` // 创建人 + CreatedTime string `json:"createdTime"` // 创建时间 + Result string `json:"result"` } \ No newline at end of file diff --git a/api/desc/pcm.api b/api/desc/pcm.api index 0939a08f..e6ba568e 100644 --- a/api/desc/pcm.api +++ b/api/desc/pcm.api @@ -236,7 +236,7 @@ service pcm { group : vm ) service pcm { - + @handler GetComputeLimitsHandler get /vm/getComputeLimits (GetComputeLimitsReq) returns (GetComputeLimitsResp) @handler GetVolumeLimitsHandler diff --git a/api/internal/types/types.go b/api/internal/types/types.go index 6819c8d5..ff0f063f 100644 --- a/api/internal/types/types.go +++ b/api/internal/types/types.go @@ -2610,6 +2610,5 @@ type Cloud struct { RunningTime int64 `json:"runningTime"` // 运行时长 CreatedBy int64 `json:"createdBy"` // 创建人 CreatedTime string `json:"createdTime"` // 创建时间 - YamlString string `json:"yamlString"` Result string `json:"result"` }