struct_resource.go 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. Category string `json:"Category" xml:"Category"`
  19. Name string `json:"Name" xml:"Name"`
  20. TemplateId string `json:"TemplateId" xml:"TemplateId"`
  21. NameDesc string `json:"NameDesc" xml:"NameDesc"`
  22. Unit string `json:"Unit" xml:"Unit"`
  23. RuleName string `json:"RuleName" xml:"RuleName"`
  24. Desc string `json:"Desc" xml:"Desc"`
  25. LastModifyTime string `json:"LastModifyTime" xml:"LastModifyTime"`
  26. Dimensions string `json:"Dimensions" xml:"Dimensions"`
  27. RuleId string `json:"RuleId" xml:"RuleId"`
  28. RetryTimes string `json:"RetryTimes" xml:"RetryTimes"`
  29. RegionId string `json:"RegionId" xml:"RegionId"`
  30. RestVersion string `json:"RestVersion" xml:"RestVersion"`
  31. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  32. GroupId string `json:"GroupId" xml:"GroupId"`
  33. NetworkType string `json:"NetworkType" xml:"NetworkType"`
  34. Description string `json:"Description" xml:"Description"`
  35. Periods string `json:"Periods" xml:"Periods"`
  36. Resource string `json:"Resource" xml:"Resource"`
  37. Product string `json:"Product" xml:"Product"`
  38. MetricValues string `json:"MetricValues" xml:"MetricValues"`
  39. InstanceName string `json:"InstanceName" xml:"InstanceName"`
  40. Level string `json:"Level" xml:"Level"`
  41. Dimension string `json:"Dimension" xml:"Dimension"`
  42. Id int `json:"Id" xml:"Id"`
  43. Threshold string `json:"Threshold" xml:"Threshold"`
  44. StartTime string `json:"StartTime" xml:"StartTime"`
  45. EventType string `json:"EventType" xml:"EventType"`
  46. Namespace string `json:"Namespace" xml:"Namespace"`
  47. Enable string `json:"Enable" xml:"Enable"`
  48. LastAlertTime string `json:"LastAlertTime" xml:"LastAlertTime"`
  49. StatusDesc string `json:"StatusDesc" xml:"StatusDesc"`
  50. MetricName string `json:"MetricName" xml:"MetricName"`
  51. Status string `json:"Status" xml:"Status"`
  52. Labels string `json:"Labels" xml:"Labels"`
  53. Statistics string `json:"Statistics" xml:"Statistics"`
  54. Vpc Vpc `json:"Vpc" xml:"Vpc"`
  55. Region Region `json:"Region" xml:"Region"`
  56. Tags Tags `json:"Tags" xml:"Tags"`
  57. AlertTemplates AlertTemplates `json:"AlertTemplates" xml:"AlertTemplates"`
  58. }