struct_resource.go 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. package cms
  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. // Resource is a nested struct in cms response
  17. type Resource struct {
  18. TemplateId string `json:"TemplateId" xml:"TemplateId"`
  19. Name string `json:"Name" xml:"Name"`
  20. Category string `json:"Category" xml:"Category"`
  21. Unit string `json:"Unit" xml:"Unit"`
  22. NameDesc string `json:"NameDesc" xml:"NameDesc"`
  23. Desc string `json:"Desc" xml:"Desc"`
  24. Dimensions string `json:"Dimensions" xml:"Dimensions"`
  25. RestVersion string `json:"RestVersion" xml:"RestVersion"`
  26. RegionId string `json:"RegionId" xml:"RegionId"`
  27. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  28. NetworkType string `json:"NetworkType" xml:"NetworkType"`
  29. Description string `json:"Description" xml:"Description"`
  30. Periods string `json:"Periods" xml:"Periods"`
  31. Product string `json:"Product" xml:"Product"`
  32. InstanceName string `json:"InstanceName" xml:"InstanceName"`
  33. Level string `json:"Level" xml:"Level"`
  34. Dimension string `json:"Dimension" xml:"Dimension"`
  35. Id int64 `json:"Id" xml:"Id"`
  36. EventType string `json:"EventType" xml:"EventType"`
  37. Namespace string `json:"Namespace" xml:"Namespace"`
  38. GroupId int64 `json:"GroupId" xml:"GroupId"`
  39. ServiceId int64 `json:"ServiceId" xml:"ServiceId"`
  40. MetricName string `json:"MetricName" xml:"MetricName"`
  41. StatusDesc string `json:"StatusDesc" xml:"StatusDesc"`
  42. Labels string `json:"Labels" xml:"Labels"`
  43. Status string `json:"Status" xml:"Status"`
  44. Statistics string `json:"Statistics" xml:"Statistics"`
  45. Vpc Vpc `json:"Vpc" xml:"Vpc"`
  46. Region Region `json:"Region" xml:"Region"`
  47. Tags TagsInDescribeMonitorGroupInstanceAttribute `json:"Tags" xml:"Tags"`
  48. AlertResults []Result `json:"AlertResults" xml:"AlertResults"`
  49. AlertTemplates AlertTemplates `json:"AlertTemplates" xml:"AlertTemplates"`
  50. }