struct_alarm.go 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. // Alarm is a nested struct in cms response
  17. type Alarm struct {
  18. Resources string `json:"Resources" xml:"Resources"`
  19. RuleName string `json:"RuleName" xml:"RuleName"`
  20. ContactGroups string `json:"ContactGroups" xml:"ContactGroups"`
  21. EffectiveInterval string `json:"EffectiveInterval" xml:"EffectiveInterval"`
  22. GroupName string `json:"GroupName" xml:"GroupName"`
  23. Dimensions string `json:"Dimensions" xml:"Dimensions"`
  24. RuleId string `json:"RuleId" xml:"RuleId"`
  25. ComparisonOperator string `json:"ComparisonOperator" xml:"ComparisonOperator"`
  26. MailSubject string `json:"MailSubject" xml:"MailSubject"`
  27. SourceType string `json:"SourceType" xml:"SourceType"`
  28. EnableState bool `json:"EnableState" xml:"EnableState"`
  29. GroupId string `json:"GroupId" xml:"GroupId"`
  30. EvaluationCount string `json:"EvaluationCount" xml:"EvaluationCount"`
  31. SilenceTime string `json:"SilenceTime" xml:"SilenceTime"`
  32. Threshold string `json:"Threshold" xml:"Threshold"`
  33. Period string `json:"Period" xml:"Period"`
  34. StartTime string `json:"StartTime" xml:"StartTime"`
  35. State string `json:"State" xml:"State"`
  36. EndTime string `json:"EndTime" xml:"EndTime"`
  37. Namespace string `json:"Namespace" xml:"Namespace"`
  38. Enable string `json:"Enable" xml:"Enable"`
  39. MetricName string `json:"MetricName" xml:"MetricName"`
  40. AlertState string `json:"AlertState" xml:"AlertState"`
  41. Statistics string `json:"Statistics" xml:"Statistics"`
  42. Webhook string `json:"Webhook" xml:"Webhook"`
  43. NoEffectiveInterval string `json:"NoEffectiveInterval" xml:"NoEffectiveInterval"`
  44. Escalations Escalations `json:"Escalations" xml:"Escalations"`
  45. }