struct_resource.go 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. Name string `json:"Name" xml:"Name"`
  19. Category string `json:"Category" xml:"Category"`
  20. Unit string `json:"Unit" xml:"Unit"`
  21. Desc string `json:"Desc" xml:"Desc"`
  22. Metric string `json:"Metric" xml:"Metric"`
  23. BindUrl string `json:"BindUrl" xml:"BindUrl"`
  24. Dimensions string `json:"Dimensions" xml:"Dimensions"`
  25. GroupName string `json:"GroupName" xml:"GroupName"`
  26. BindUrls string `json:"BindUrls" xml:"BindUrls"`
  27. ServiceId string `json:"ServiceId" xml:"ServiceId"`
  28. RegionId string `json:"RegionId" xml:"RegionId"`
  29. AlertTemplatesJson string `json:"AlertTemplatesJson" xml:"AlertTemplatesJson"`
  30. Project string `json:"Project" xml:"Project"`
  31. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  32. AliUid int `json:"AliUid" xml:"AliUid"`
  33. EventRuleTemplatesJson string `json:"EventRuleTemplatesJson" xml:"EventRuleTemplatesJson"`
  34. NetworkType string `json:"NetworkType" xml:"NetworkType"`
  35. Description string `json:"Description" xml:"Description"`
  36. Periods string `json:"Periods" xml:"Periods"`
  37. Type string `json:"Type" xml:"Type"`
  38. InstanceName string `json:"InstanceName" xml:"InstanceName"`
  39. Dimension string `json:"Dimension" xml:"Dimension"`
  40. Id int `json:"Id" xml:"Id"`
  41. GmtCreate int `json:"GmtCreate" xml:"GmtCreate"`
  42. Namespace string `json:"Namespace" xml:"Namespace"`
  43. GroupId int `json:"GroupId" xml:"GroupId"`
  44. GmtModified int `json:"GmtModified" xml:"GmtModified"`
  45. Labels string `json:"Labels" xml:"Labels"`
  46. Statistics string `json:"Statistics" xml:"Statistics"`
  47. RestVersion int `json:"RestVersion" xml:"RestVersion"`
  48. Vpc Vpc `json:"Vpc" xml:"Vpc"`
  49. Region Region `json:"Region" xml:"Region"`
  50. CreateAlertResults CreateAlertResults `json:"CreateAlertResults" xml:"CreateAlertResults"`
  51. Tags Tags `json:"Tags" xml:"Tags"`
  52. ContactGroups ContactGroupsInListMyGroups `json:"ContactGroups" xml:"ContactGroups"`
  53. EventResults []Result `json:"EventResults" xml:"EventResults"`
  54. AlertResults []ResultInApplyMonitoringTemplate `json:"AlertResults" xml:"AlertResults"`
  55. ApplyHistories ApplyHistories `json:"ApplyHistories" xml:"ApplyHistories"`
  56. }