azure_mgmt_alerts_management 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (206) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management.rb +76 -0
  4. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/alerts.rb +708 -0
  5. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/alerts_management_client.rb +150 -0
  6. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert.rb +259 -0
  7. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification.rb +74 -0
  8. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_event.rb +17 -0
  9. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb +114 -0
  10. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_properties.rb +68 -0
  11. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_state.rb +17 -0
  12. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_list.rb +98 -0
  13. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_sort_by_fields.rb +24 -0
  14. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary.rb +147 -0
  15. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_monitor_condition.rb +57 -0
  16. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_monitor_service.rb +189 -0
  17. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition.rb +101 -0
  18. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev0.rb +52 -0
  19. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev1.rb +52 -0
  20. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev2.rb +52 -0
  21. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev3.rb +52 -0
  22. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev4.rb +52 -0
  23. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_state.rb +68 -0
  24. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_monitor_service.rb +148 -0
  25. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity.rb +100 -0
  26. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_and_monitor_condition.rb +81 -0
  27. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_sev0.rb +60 -0
  28. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_sev1.rb +60 -0
  29. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_sev2.rb +60 -0
  30. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_sev3.rb +60 -0
  31. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_sev4.rb +60 -0
  32. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_state.rb +59 -0
  33. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/api_version.rb +16 -0
  34. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/monitor_condition.rb +16 -0
  35. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/monitor_service.rb +28 -0
  36. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/operation.rb +58 -0
  37. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/operation_display.rb +79 -0
  38. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/operations_list.rb +98 -0
  39. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/resource.rb +80 -0
  40. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/severity.rb +19 -0
  41. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/signal_type.rb +17 -0
  42. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group.rb +297 -0
  43. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_aggregated_property.rb +57 -0
  44. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification.rb +74 -0
  45. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_event.rb +18 -0
  46. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb +115 -0
  47. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb +79 -0
  48. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_groups_list.rb +66 -0
  49. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_groups_sort_by_fields.rb +19 -0
  50. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/state.rb +17 -0
  51. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/time_range.rb +18 -0
  52. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/module_definition.rb +9 -0
  53. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/operations.rb +225 -0
  54. data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/smart_groups.rb +460 -0
  55. data/lib/2018-05-05/generated/azure_mgmt_alerts_management.rb +64 -0
  56. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/alerts.rb +908 -0
  57. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/alerts_management_client.rb +141 -0
  58. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert.rb +74 -0
  59. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_modification.rb +74 -0
  60. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_modification_event.rb +17 -0
  61. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb +114 -0
  62. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_modification_properties.rb +68 -0
  63. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_properties.rb +69 -0
  64. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_state.rb +17 -0
  65. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_list.rb +98 -0
  66. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_sort_by_fields.rb +24 -0
  67. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_summary.rb +74 -0
  68. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_summary_group.rb +88 -0
  69. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_summary_group_by_fields.rb +20 -0
  70. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_summary_group_item.rb +88 -0
  71. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/error_response.rb +47 -0
  72. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/error_response_body.rb +91 -0
  73. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/essentials.rb +257 -0
  74. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/monitor_condition.rb +16 -0
  75. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/monitor_service.rb +28 -0
  76. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/operation.rb +58 -0
  77. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/operation_display.rb +79 -0
  78. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/operations_list.rb +98 -0
  79. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/resource.rb +80 -0
  80. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/severity.rb +19 -0
  81. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/signal_type.rb +17 -0
  82. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group.rb +297 -0
  83. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group_aggregated_property.rb +57 -0
  84. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group_modification.rb +74 -0
  85. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group_modification_event.rb +18 -0
  86. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb +115 -0
  87. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb +79 -0
  88. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_groups_list.rb +98 -0
  89. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_groups_sort_by_fields.rb +19 -0
  90. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/state.rb +17 -0
  91. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/time_range.rb +18 -0
  92. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/module_definition.rb +9 -0
  93. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/operations.rb +225 -0
  94. data/lib/2018-05-05/generated/azure_mgmt_alerts_management/smart_groups.rb +648 -0
  95. data/lib/2019-03-01/generated/azure_mgmt_alerts_management.rb +71 -0
  96. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/alerts.rb +977 -0
  97. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/alerts_management_client.rb +154 -0
  98. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/action_groups_information.rb +78 -0
  99. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert.rb +74 -0
  100. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification.rb +74 -0
  101. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_event.rb +17 -0
  102. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb +114 -0
  103. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_properties.rb +68 -0
  104. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_properties.rb +69 -0
  105. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_rule.rb +164 -0
  106. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_rule_state.rb +16 -0
  107. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_rules_list.rb +98 -0
  108. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_state.rb +17 -0
  109. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_list.rb +98 -0
  110. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_sort_by_fields.rb +24 -0
  111. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_summary.rb +74 -0
  112. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_summary_group.rb +88 -0
  113. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_summary_group_by_fields.rb +20 -0
  114. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_summary_group_item.rb +88 -0
  115. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/azure_resource.rb +71 -0
  116. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb +130 -0
  117. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/error_response1.rb +57 -0
  118. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/essentials.rb +257 -0
  119. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/monitor_condition.rb +16 -0
  120. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/monitor_service.rb +29 -0
  121. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/operation.rb +58 -0
  122. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/operation_display.rb +79 -0
  123. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/operations_list.rb +98 -0
  124. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/proxy_resource.rb +71 -0
  125. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/severity.rb +19 -0
  126. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/signal_type.rb +17 -0
  127. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group.rb +297 -0
  128. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_aggregated_property.rb +57 -0
  129. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification.rb +74 -0
  130. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_event.rb +18 -0
  131. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb +115 -0
  132. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb +79 -0
  133. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_groups_list.rb +66 -0
  134. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_groups_sort_by_fields.rb +19 -0
  135. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/state.rb +17 -0
  136. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/throttling_information.rb +48 -0
  137. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/time_range.rb +18 -0
  138. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/module_definition.rb +9 -0
  139. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/operations.rb +225 -0
  140. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/smart_detector_alert_rules.rb +725 -0
  141. data/lib/2019-03-01/generated/azure_mgmt_alerts_management/smart_groups.rb +499 -0
  142. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management.rb +82 -0
  143. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/action_rules.rb +1082 -0
  144. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/alerts.rb +911 -0
  145. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/alerts_management_client.rb +145 -0
  146. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/action_group.rb +133 -0
  147. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/action_rule.rb +101 -0
  148. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/action_rule_properties.rb +146 -0
  149. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/action_rule_status.rb +16 -0
  150. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/action_rules_list.rb +98 -0
  151. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert.rb +74 -0
  152. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification.rb +74 -0
  153. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_event.rb +17 -0
  154. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb +114 -0
  155. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_properties.rb +68 -0
  156. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_properties.rb +69 -0
  157. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_state.rb +17 -0
  158. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_list.rb +98 -0
  159. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_sort_by_fields.rb +24 -0
  160. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary.rb +74 -0
  161. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_group.rb +88 -0
  162. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_group_by_fields.rb +20 -0
  163. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_group_item.rb +88 -0
  164. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/condition.rb +66 -0
  165. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb +121 -0
  166. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/diagnostics.rb +122 -0
  167. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/error_response.rb +47 -0
  168. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/error_response_body.rb +91 -0
  169. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/essentials.rb +258 -0
  170. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/managed_resource.rb +92 -0
  171. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/monitor_condition.rb +16 -0
  172. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/monitor_service.rb +28 -0
  173. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/operation.rb +58 -0
  174. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/operation_display.rb +79 -0
  175. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/operations_list.rb +98 -0
  176. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/operator.rb +18 -0
  177. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/patch_object.rb +58 -0
  178. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/resource.rb +80 -0
  179. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/scope.rb +69 -0
  180. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/scope_type.rb +16 -0
  181. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/severity.rb +19 -0
  182. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/signal_type.rb +17 -0
  183. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group.rb +297 -0
  184. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_aggregated_property.rb +57 -0
  185. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification.rb +74 -0
  186. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_event.rb +18 -0
  187. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb +115 -0
  188. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb +79 -0
  189. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_groups_list.rb +98 -0
  190. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_groups_sort_by_fields.rb +19 -0
  191. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/state.rb +17 -0
  192. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression.rb +135 -0
  193. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression_config.rb +60 -0
  194. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression_schedule.rb +98 -0
  195. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression_type.rb +19 -0
  196. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/time_range.rb +18 -0
  197. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/module_definition.rb +9 -0
  198. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/operations.rb +225 -0
  199. data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/smart_groups.rb +648 -0
  200. data/lib/azure_mgmt_alerts_management.rb +9 -0
  201. data/lib/module_definition.rb +7 -0
  202. data/lib/profiles/latest/alertsmanagement_latest_profile_client.rb +40 -0
  203. data/lib/profiles/latest/alertsmanagement_module_definition.rb +8 -0
  204. data/lib/profiles/latest/modules/alertsmanagement_profile_module.rb +271 -0
  205. data/lib/version.rb +7 -0
  206. metadata +321 -0
@@ -0,0 +1,258 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::AlertsManagement::Mgmt::V2019_05_05_preview
7
+ module Models
8
+ #
9
+ # This object contains consistent fields across different monitor services.
10
+ #
11
+ class Essentials
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Severity] Severity of alert Sev0 being highest and Sev4 being
16
+ # lowest. Possible values include: 'Sev0', 'Sev1', 'Sev2', 'Sev3', 'Sev4'
17
+ attr_accessor :severity
18
+
19
+ # @return [SignalType] The type of signal the alert is based on, which
20
+ # could be metrics, logs or activity logs. Possible values include:
21
+ # 'Metric', 'Log', 'Unknown'
22
+ attr_accessor :signal_type
23
+
24
+ # @return [AlertState] Alert object state, which can be modified by the
25
+ # user. Possible values include: 'New', 'Acknowledged', 'Closed'
26
+ attr_accessor :alert_state
27
+
28
+ # @return [MonitorCondition] Condition of the rule at the monitor
29
+ # service. It represents whether the underlying conditions have crossed
30
+ # the defined alert rule thresholds. Possible values include: 'Fired',
31
+ # 'Resolved'
32
+ attr_accessor :monitor_condition
33
+
34
+ # @return [String] Target ARM resource, on which alert got created.
35
+ attr_accessor :target_resource
36
+
37
+ # @return [String] Name of the target ARM resource name, on which alert
38
+ # got created.
39
+ attr_accessor :target_resource_name
40
+
41
+ # @return [String] Resource group of target ARM resource, on which alert
42
+ # got created.
43
+ attr_accessor :target_resource_group
44
+
45
+ # @return [String] Resource type of target ARM resource, on which alert
46
+ # got created.
47
+ attr_accessor :target_resource_type
48
+
49
+ # @return [MonitorService] Monitor service on which the rule(monitor) is
50
+ # set. Possible values include: 'Application Insights', 'ActivityLog
51
+ # Administrative', 'ActivityLog Security', 'ActivityLog Recommendation',
52
+ # 'ActivityLog Policy', 'ActivityLog Autoscale', 'Log Analytics',
53
+ # 'Nagios', 'Platform', 'SCOM', 'ServiceHealth', 'SmartDetector', 'VM
54
+ # Insights', 'Zabbix'
55
+ attr_accessor :monitor_service
56
+
57
+ # @return [String] Rule(monitor) which fired alert instance. Depending on
58
+ # the monitor service, this would be ARM id or name of the rule.
59
+ attr_accessor :alert_rule
60
+
61
+ # @return [String] Unique Id created by monitor service for each alert
62
+ # instance. This could be used to track the issue at the monitor service,
63
+ # in case of Nagios, Zabbix, SCOM etc.
64
+ attr_accessor :source_created_id
65
+
66
+ # @return [String] Unique Id of the smart group
67
+ attr_accessor :smart_group_id
68
+
69
+ # @return [String] Verbose reason describing the reason why this alert
70
+ # instance is added to a smart group
71
+ attr_accessor :smart_grouping_reason
72
+
73
+ # @return [DateTime] Creation time(ISO-8601 format) of alert instance.
74
+ attr_accessor :start_date_time
75
+
76
+ # @return [DateTime] Last modification time(ISO-8601 format) of alert
77
+ # instance.
78
+ attr_accessor :last_modified_date_time
79
+
80
+ # @return [DateTime] Resolved time(ISO-8601 format) of alert instance.
81
+ # This will be updated when monitor service resolves the alert instance
82
+ # because the rule condition is no longer met.
83
+ attr_accessor :monitor_condition_resolved_date_time
84
+
85
+ # @return [String] User who last modified the alert, in case of monitor
86
+ # service updates user would be 'system', otherwise name of the user.
87
+ attr_accessor :last_modified_user_name
88
+
89
+
90
+ #
91
+ # Mapper for Essentials class as Ruby Hash.
92
+ # This will be used for serialization/deserialization.
93
+ #
94
+ def self.mapper()
95
+ {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'essentials',
99
+ type: {
100
+ name: 'Composite',
101
+ class_name: 'Essentials',
102
+ model_properties: {
103
+ severity: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ read_only: true,
107
+ serialized_name: 'severity',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ signal_type: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ read_only: true,
116
+ serialized_name: 'signalType',
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ },
121
+ alert_state: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ read_only: true,
125
+ serialized_name: 'alertState',
126
+ type: {
127
+ name: 'String'
128
+ }
129
+ },
130
+ monitor_condition: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ read_only: true,
134
+ serialized_name: 'monitorCondition',
135
+ type: {
136
+ name: 'String'
137
+ }
138
+ },
139
+ target_resource: {
140
+ client_side_validation: true,
141
+ required: false,
142
+ serialized_name: 'targetResource',
143
+ type: {
144
+ name: 'String'
145
+ }
146
+ },
147
+ target_resource_name: {
148
+ client_side_validation: true,
149
+ required: false,
150
+ serialized_name: 'targetResourceName',
151
+ type: {
152
+ name: 'String'
153
+ }
154
+ },
155
+ target_resource_group: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ serialized_name: 'targetResourceGroup',
159
+ type: {
160
+ name: 'String'
161
+ }
162
+ },
163
+ target_resource_type: {
164
+ client_side_validation: true,
165
+ required: false,
166
+ serialized_name: 'targetResourceType',
167
+ type: {
168
+ name: 'String'
169
+ }
170
+ },
171
+ monitor_service: {
172
+ client_side_validation: true,
173
+ required: false,
174
+ read_only: true,
175
+ serialized_name: 'monitorService',
176
+ type: {
177
+ name: 'String'
178
+ }
179
+ },
180
+ alert_rule: {
181
+ client_side_validation: true,
182
+ required: false,
183
+ read_only: true,
184
+ serialized_name: 'alertRule',
185
+ type: {
186
+ name: 'String'
187
+ }
188
+ },
189
+ source_created_id: {
190
+ client_side_validation: true,
191
+ required: false,
192
+ read_only: true,
193
+ serialized_name: 'sourceCreatedId',
194
+ type: {
195
+ name: 'String'
196
+ }
197
+ },
198
+ smart_group_id: {
199
+ client_side_validation: true,
200
+ required: false,
201
+ read_only: true,
202
+ serialized_name: 'smartGroupId',
203
+ type: {
204
+ name: 'String'
205
+ }
206
+ },
207
+ smart_grouping_reason: {
208
+ client_side_validation: true,
209
+ required: false,
210
+ read_only: true,
211
+ serialized_name: 'smartGroupingReason',
212
+ type: {
213
+ name: 'String'
214
+ }
215
+ },
216
+ start_date_time: {
217
+ client_side_validation: true,
218
+ required: false,
219
+ read_only: true,
220
+ serialized_name: 'startDateTime',
221
+ type: {
222
+ name: 'DateTime'
223
+ }
224
+ },
225
+ last_modified_date_time: {
226
+ client_side_validation: true,
227
+ required: false,
228
+ read_only: true,
229
+ serialized_name: 'lastModifiedDateTime',
230
+ type: {
231
+ name: 'DateTime'
232
+ }
233
+ },
234
+ monitor_condition_resolved_date_time: {
235
+ client_side_validation: true,
236
+ required: false,
237
+ read_only: true,
238
+ serialized_name: 'monitorConditionResolvedDateTime',
239
+ type: {
240
+ name: 'DateTime'
241
+ }
242
+ },
243
+ last_modified_user_name: {
244
+ client_side_validation: true,
245
+ required: false,
246
+ read_only: true,
247
+ serialized_name: 'lastModifiedUserName',
248
+ type: {
249
+ name: 'String'
250
+ }
251
+ }
252
+ }
253
+ }
254
+ }
255
+ end
256
+ end
257
+ end
258
+ end
@@ -0,0 +1,92 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::AlertsManagement::Mgmt::V2019_05_05_preview
7
+ module Models
8
+ #
9
+ # An azure managed resource object
10
+ #
11
+ class ManagedResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource location
16
+ attr_accessor :location
17
+
18
+ # @return [Hash{String => String}] Resource tags
19
+ attr_accessor :tags
20
+
21
+
22
+ #
23
+ # Mapper for ManagedResource class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'ManagedResource',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ManagedResource',
34
+ model_properties: {
35
+ id: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'id',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ type: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'type',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ name: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'name',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ location: {
63
+ client_side_validation: true,
64
+ required: true,
65
+ serialized_name: 'location',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ tags: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'tags',
74
+ type: {
75
+ name: 'Dictionary',
76
+ value: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'StringElementType',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::AlertsManagement::Mgmt::V2019_05_05_preview
7
+ module Models
8
+ #
9
+ # Defines values for MonitorCondition
10
+ #
11
+ module MonitorCondition
12
+ Fired = "Fired"
13
+ Resolved = "Resolved"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,28 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::AlertsManagement::Mgmt::V2019_05_05_preview
7
+ module Models
8
+ #
9
+ # Defines values for MonitorService
10
+ #
11
+ module MonitorService
12
+ ApplicationInsights = "Application Insights"
13
+ ActivityLogAdministrative = "ActivityLog Administrative"
14
+ ActivityLogSecurity = "ActivityLog Security"
15
+ ActivityLogRecommendation = "ActivityLog Recommendation"
16
+ ActivityLogPolicy = "ActivityLog Policy"
17
+ ActivityLogAutoscale = "ActivityLog Autoscale"
18
+ LogAnalytics = "Log Analytics"
19
+ Nagios = "Nagios"
20
+ Platform = "Platform"
21
+ SCOM = "SCOM"
22
+ ServiceHealth = "ServiceHealth"
23
+ SmartDetector = "SmartDetector"
24
+ VMInsights = "VM Insights"
25
+ Zabbix = "Zabbix"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,58 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::AlertsManagement::Mgmt::V2019_05_05_preview
7
+ module Models
8
+ #
9
+ # Operation provided by provider
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the operation
16
+ attr_accessor :name
17
+
18
+ # @return [OperationDisplay] Properties of the operation
19
+ attr_accessor :display
20
+
21
+
22
+ #
23
+ # Mapper for Operation class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'operation',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Operation',
34
+ model_properties: {
35
+ name: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'name',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ display: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'display',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'OperationDisplay'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end