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,79 @@
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::V2018_05_05
7
+ module Models
8
+ #
9
+ # Properties of the operation
10
+ #
11
+ class OperationDisplay
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Provider name
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Resource name
19
+ attr_accessor :resource
20
+
21
+ # @return [String] Operation name
22
+ attr_accessor :operation
23
+
24
+ # @return [String] Description of the operation
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for OperationDisplay class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'operation_display',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'OperationDisplay',
40
+ model_properties: {
41
+ provider: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'provider',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ resource: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'resource',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ operation: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'operation',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ description: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'description',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,98 @@
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::V2018_05_05
7
+ module Models
8
+ #
9
+ # Lists the operations available in the AlertsManagement RP.
10
+ #
11
+ class OperationsList
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] URL to fetch the next set of alerts.
17
+ attr_accessor :next_link
18
+
19
+ # @return [Array<Operation>] Array of operations
20
+ attr_accessor :value
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<Operation>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [OperationsList] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for OperationsList class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'operationsList',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'OperationsList',
66
+ model_properties: {
67
+ next_link: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'nextLink',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ value: {
76
+ client_side_validation: true,
77
+ required: true,
78
+ serialized_name: 'value',
79
+ type: {
80
+ name: 'Sequence',
81
+ element: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'OperationElementType',
85
+ type: {
86
+ name: 'Composite',
87
+ class_name: 'Operation'
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,80 @@
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::V2018_05_05
7
+ module Models
8
+ #
9
+ # An azure resource object
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Azure resource Id
16
+ attr_accessor :id
17
+
18
+ # @return [String] Azure resource type
19
+ attr_accessor :type
20
+
21
+ # @return [String] Azure resource name
22
+ attr_accessor :name
23
+
24
+
25
+ # @return [String] the name of the resource group of the resource.
26
+ def resource_group
27
+ unless self.id.nil?
28
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
29
+ groups.captures[0].strip if groups
30
+ end
31
+ end
32
+
33
+
34
+ #
35
+ # Mapper for Resource class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'Resource',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'Resource',
46
+ model_properties: {
47
+ id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'id',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ type: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'type',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ name: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'name',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,19 @@
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::V2018_05_05
7
+ module Models
8
+ #
9
+ # Defines values for Severity
10
+ #
11
+ module Severity
12
+ Sev0 = "Sev0"
13
+ Sev1 = "Sev1"
14
+ Sev2 = "Sev2"
15
+ Sev3 = "Sev3"
16
+ Sev4 = "Sev4"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,17 @@
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::V2018_05_05
7
+ module Models
8
+ #
9
+ # Defines values for SignalType
10
+ #
11
+ module SignalType
12
+ Metric = "Metric"
13
+ Log = "Log"
14
+ Unknown = "Unknown"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,297 @@
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::V2018_05_05
7
+ module Models
8
+ #
9
+ # Set of related alerts grouped together smartly by AMS.
10
+ #
11
+ class SmartGroup < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Total number of alerts in smart group
16
+ attr_accessor :alerts_count
17
+
18
+ # @return [State] Smart group state. Possible values include: 'New',
19
+ # 'Acknowledged', 'Closed'
20
+ attr_accessor :smart_group_state
21
+
22
+ # @return [Severity] Severity of smart group is the highest(Sev0 >... >
23
+ # Sev4) severity of all the alerts in the group. Possible values include:
24
+ # 'Sev0', 'Sev1', 'Sev2', 'Sev3', 'Sev4'
25
+ attr_accessor :severity
26
+
27
+ # @return [DateTime] Creation time of smart group. Date-Time in ISO-8601
28
+ # format.
29
+ attr_accessor :start_date_time
30
+
31
+ # @return [DateTime] Last updated time of smart group. Date-Time in
32
+ # ISO-8601 format.
33
+ attr_accessor :last_modified_date_time
34
+
35
+ # @return [String] Last modified by user name.
36
+ attr_accessor :last_modified_user_name
37
+
38
+ # @return [Array<SmartGroupAggregatedProperty>] Summary of target
39
+ # resources in the smart group
40
+ attr_accessor :resources
41
+
42
+ # @return [Array<SmartGroupAggregatedProperty>] Summary of target
43
+ # resource types in the smart group
44
+ attr_accessor :resource_types
45
+
46
+ # @return [Array<SmartGroupAggregatedProperty>] Summary of target
47
+ # resource groups in the smart group
48
+ attr_accessor :resource_groups
49
+
50
+ # @return [Array<SmartGroupAggregatedProperty>] Summary of
51
+ # monitorServices in the smart group
52
+ attr_accessor :monitor_services
53
+
54
+ # @return [Array<SmartGroupAggregatedProperty>] Summary of
55
+ # monitorConditions in the smart group
56
+ attr_accessor :monitor_conditions
57
+
58
+ # @return [Array<SmartGroupAggregatedProperty>] Summary of alertStates in
59
+ # the smart group
60
+ attr_accessor :alert_states
61
+
62
+ # @return [Array<SmartGroupAggregatedProperty>] Summary of
63
+ # alertSeverities in the smart group
64
+ attr_accessor :alert_severities
65
+
66
+ # @return [String] The URI to fetch the next page of alerts. Call
67
+ # ListNext() with this URI to fetch the next page alerts.
68
+ attr_accessor :next_link
69
+
70
+
71
+ #
72
+ # Mapper for SmartGroup class as Ruby Hash.
73
+ # This will be used for serialization/deserialization.
74
+ #
75
+ def self.mapper()
76
+ {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'smartGroup',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'SmartGroup',
83
+ model_properties: {
84
+ id: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'id',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ type: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ read_only: true,
97
+ serialized_name: 'type',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ name: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ read_only: true,
106
+ serialized_name: 'name',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ alerts_count: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'properties.alertsCount',
115
+ type: {
116
+ name: 'Number'
117
+ }
118
+ },
119
+ smart_group_state: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ read_only: true,
123
+ serialized_name: 'properties.smartGroupState',
124
+ type: {
125
+ name: 'String'
126
+ }
127
+ },
128
+ severity: {
129
+ client_side_validation: true,
130
+ required: false,
131
+ read_only: true,
132
+ serialized_name: 'properties.severity',
133
+ type: {
134
+ name: 'String'
135
+ }
136
+ },
137
+ start_date_time: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ read_only: true,
141
+ serialized_name: 'properties.startDateTime',
142
+ type: {
143
+ name: 'DateTime'
144
+ }
145
+ },
146
+ last_modified_date_time: {
147
+ client_side_validation: true,
148
+ required: false,
149
+ read_only: true,
150
+ serialized_name: 'properties.lastModifiedDateTime',
151
+ type: {
152
+ name: 'DateTime'
153
+ }
154
+ },
155
+ last_modified_user_name: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ read_only: true,
159
+ serialized_name: 'properties.lastModifiedUserName',
160
+ type: {
161
+ name: 'String'
162
+ }
163
+ },
164
+ resources: {
165
+ client_side_validation: true,
166
+ required: false,
167
+ serialized_name: 'properties.resources',
168
+ type: {
169
+ name: 'Sequence',
170
+ element: {
171
+ client_side_validation: true,
172
+ required: false,
173
+ serialized_name: 'SmartGroupAggregatedPropertyElementType',
174
+ type: {
175
+ name: 'Composite',
176
+ class_name: 'SmartGroupAggregatedProperty'
177
+ }
178
+ }
179
+ }
180
+ },
181
+ resource_types: {
182
+ client_side_validation: true,
183
+ required: false,
184
+ serialized_name: 'properties.resourceTypes',
185
+ type: {
186
+ name: 'Sequence',
187
+ element: {
188
+ client_side_validation: true,
189
+ required: false,
190
+ serialized_name: 'SmartGroupAggregatedPropertyElementType',
191
+ type: {
192
+ name: 'Composite',
193
+ class_name: 'SmartGroupAggregatedProperty'
194
+ }
195
+ }
196
+ }
197
+ },
198
+ resource_groups: {
199
+ client_side_validation: true,
200
+ required: false,
201
+ serialized_name: 'properties.resourceGroups',
202
+ type: {
203
+ name: 'Sequence',
204
+ element: {
205
+ client_side_validation: true,
206
+ required: false,
207
+ serialized_name: 'SmartGroupAggregatedPropertyElementType',
208
+ type: {
209
+ name: 'Composite',
210
+ class_name: 'SmartGroupAggregatedProperty'
211
+ }
212
+ }
213
+ }
214
+ },
215
+ monitor_services: {
216
+ client_side_validation: true,
217
+ required: false,
218
+ serialized_name: 'properties.monitorServices',
219
+ type: {
220
+ name: 'Sequence',
221
+ element: {
222
+ client_side_validation: true,
223
+ required: false,
224
+ serialized_name: 'SmartGroupAggregatedPropertyElementType',
225
+ type: {
226
+ name: 'Composite',
227
+ class_name: 'SmartGroupAggregatedProperty'
228
+ }
229
+ }
230
+ }
231
+ },
232
+ monitor_conditions: {
233
+ client_side_validation: true,
234
+ required: false,
235
+ serialized_name: 'properties.monitorConditions',
236
+ type: {
237
+ name: 'Sequence',
238
+ element: {
239
+ client_side_validation: true,
240
+ required: false,
241
+ serialized_name: 'SmartGroupAggregatedPropertyElementType',
242
+ type: {
243
+ name: 'Composite',
244
+ class_name: 'SmartGroupAggregatedProperty'
245
+ }
246
+ }
247
+ }
248
+ },
249
+ alert_states: {
250
+ client_side_validation: true,
251
+ required: false,
252
+ serialized_name: 'properties.alertStates',
253
+ type: {
254
+ name: 'Sequence',
255
+ element: {
256
+ client_side_validation: true,
257
+ required: false,
258
+ serialized_name: 'SmartGroupAggregatedPropertyElementType',
259
+ type: {
260
+ name: 'Composite',
261
+ class_name: 'SmartGroupAggregatedProperty'
262
+ }
263
+ }
264
+ }
265
+ },
266
+ alert_severities: {
267
+ client_side_validation: true,
268
+ required: false,
269
+ serialized_name: 'properties.alertSeverities',
270
+ type: {
271
+ name: 'Sequence',
272
+ element: {
273
+ client_side_validation: true,
274
+ required: false,
275
+ serialized_name: 'SmartGroupAggregatedPropertyElementType',
276
+ type: {
277
+ name: 'Composite',
278
+ class_name: 'SmartGroupAggregatedProperty'
279
+ }
280
+ }
281
+ }
282
+ },
283
+ next_link: {
284
+ client_side_validation: true,
285
+ required: false,
286
+ serialized_name: 'properties.nextLink',
287
+ type: {
288
+ name: 'String'
289
+ }
290
+ }
291
+ }
292
+ }
293
+ }
294
+ end
295
+ end
296
+ end
297
+ end