struct_instance.go 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. MemUsedTotal int `json:"MemUsedTotal" xml:"MemUsedTotal"`
  19. SkynetId string `json:"SkynetId" xml:"SkynetId"`
  20. CpuUsedRatioMin float64 `json:"CpuUsedRatioMin" xml:"CpuUsedRatioMin"`
  21. CpuRequest int `json:"CpuRequest" xml:"CpuRequest"`
  22. QuotaName string `json:"QuotaName" xml:"QuotaName"`
  23. MemUsedRatioMin float64 `json:"MemUsedRatioMin" xml:"MemUsedRatioMin"`
  24. QuotaId int `json:"QuotaId" xml:"QuotaId"`
  25. MemRequest int `json:"MemRequest" xml:"MemRequest"`
  26. Cluster string `json:"Cluster" xml:"Cluster"`
  27. CpuUsed int `json:"CpuUsed" xml:"CpuUsed"`
  28. RunTime string `json:"RunTime" xml:"RunTime"`
  29. Project string `json:"Project" xml:"Project"`
  30. MemUsedRatioMax float64 `json:"MemUsedRatioMax" xml:"MemUsedRatioMax"`
  31. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  32. NickName string `json:"NickName" xml:"NickName"`
  33. Status string `json:"Status" xml:"Status"`
  34. TaskType string `json:"TaskType" xml:"TaskType"`
  35. UserAccount string `json:"UserAccount" xml:"UserAccount"`
  36. MemUsed int `json:"MemUsed" xml:"MemUsed"`
  37. CpuUsedTotal int `json:"CpuUsedTotal" xml:"CpuUsedTotal"`
  38. CpuUsedRatioMax float64 `json:"CpuUsedRatioMax" xml:"CpuUsedRatioMax"`
  39. }