struct_instance.go 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package teslamaxcompute
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // Instance is a nested struct in teslamaxcompute response
  17. type Instance struct {
  18. User string `json:"User" xml:"User"`
  19. SkynetId string `json:"SkynetId" xml:"SkynetId"`
  20. CpuUsedRatioMin float64 `json:"CpuUsedRatioMin" xml:"CpuUsedRatioMin"`
  21. CpuRequest int `json:"CpuRequest" xml:"CpuRequest"`
  22. MemUsedRatioMin float64 `json:"MemUsedRatioMin" xml:"MemUsedRatioMin"`
  23. QuotaId int `json:"QuotaId" xml:"QuotaId"`
  24. RunTime string `json:"RunTime" xml:"RunTime"`
  25. Project string `json:"Project" xml:"Project"`
  26. MemUsedRatioMax float64 `json:"MemUsedRatioMax" xml:"MemUsedRatioMax"`
  27. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  28. NickName string `json:"NickName" xml:"NickName"`
  29. CpuUsedRatioMax float64 `json:"CpuUsedRatioMax" xml:"CpuUsedRatioMax"`
  30. MemUsedTotal int `json:"MemUsedTotal" xml:"MemUsedTotal"`
  31. ProjectOwner string `json:"ProjectOwner" xml:"ProjectOwner"`
  32. QuotaName string `json:"QuotaName" xml:"QuotaName"`
  33. MemRequest int `json:"MemRequest" xml:"MemRequest"`
  34. CollectTime string `json:"CollectTime" xml:"CollectTime"`
  35. Cluster string `json:"Cluster" xml:"Cluster"`
  36. CpuUsed int `json:"CpuUsed" xml:"CpuUsed"`
  37. IsRealOwner string `json:"IsRealOwner" xml:"IsRealOwner"`
  38. Status string `json:"Status" xml:"Status"`
  39. TaskType string `json:"TaskType" xml:"TaskType"`
  40. UserAccount string `json:"UserAccount" xml:"UserAccount"`
  41. MemUsed int `json:"MemUsed" xml:"MemUsed"`
  42. CpuUsedTotal int `json:"CpuUsedTotal" xml:"CpuUsedTotal"`
  43. }