struct_apm_app_info.go 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package emr
  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. // ApmAppInfo is a nested struct in emr response
  17. type ApmAppInfo struct {
  18. ApplicationId string `json:"ApplicationId" xml:"ApplicationId"`
  19. ClusterBizId string `json:"ClusterBizId" xml:"ClusterBizId"`
  20. ApplicationType string `json:"ApplicationType" xml:"ApplicationType"`
  21. Name string `json:"Name" xml:"Name"`
  22. State string `json:"State" xml:"State"`
  23. FinalStatus string `json:"FinalStatus" xml:"FinalStatus"`
  24. Queue string `json:"Queue" xml:"Queue"`
  25. User string `json:"User" xml:"User"`
  26. AllocatedVcore int64 `json:"AllocatedVcore" xml:"AllocatedVcore"`
  27. AllocatedMemory int64 `json:"AllocatedMemory" xml:"AllocatedMemory"`
  28. Progress float64 `json:"Progress" xml:"Progress"`
  29. VcoreSeconds int64 `json:"VcoreSeconds" xml:"VcoreSeconds"`
  30. MemorySeconds int64 `json:"MemorySeconds" xml:"MemorySeconds"`
  31. StartTime int64 `json:"StartTime" xml:"StartTime"`
  32. SubmitTime int64 `json:"SubmitTime" xml:"SubmitTime"`
  33. FinishedTime int64 `json:"FinishedTime" xml:"FinishedTime"`
  34. Duration int `json:"Duration" xml:"Duration"`
  35. Diagnostics string `json:"Diagnostics" xml:"Diagnostics"`
  36. ClusterUsagePercent float64 `json:"ClusterUsagePercent" xml:"ClusterUsagePercent"`
  37. QueueUsagePercent float64 `json:"QueueUsagePercent" xml:"QueueUsagePercent"`
  38. RunningContainers int `json:"RunningContainers" xml:"RunningContainers"`
  39. RunningDuration int `json:"RunningDuration" xml:"RunningDuration"`
  40. ResourceRequests string `json:"ResourceRequests" xml:"ResourceRequests"`
  41. DiagnoseResult string `json:"DiagnoseResult" xml:"DiagnoseResult"`
  42. DiagnoseCode string `json:"DiagnoseCode" xml:"DiagnoseCode"`
  43. }