azure_mgmt_alerts_management 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management.rb +76 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/alerts.rb +708 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/alerts_management_client.rb +150 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert.rb +259 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification.rb +74 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_event.rb +17 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb +114 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_properties.rb +68 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_state.rb +17 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_list.rb +98 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_sort_by_fields.rb +24 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary.rb +147 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_monitor_condition.rb +57 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_monitor_service.rb +189 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition.rb +101 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev0.rb +52 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev1.rb +52 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev2.rb +52 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev3.rb +52 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev4.rb +52 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_state.rb +68 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_monitor_service.rb +148 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity.rb +100 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_and_monitor_condition.rb +81 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_sev0.rb +60 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_sev1.rb +60 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_sev2.rb +60 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_sev3.rb +60 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_sev4.rb +60 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_state.rb +59 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/api_version.rb +16 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/monitor_condition.rb +16 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/monitor_service.rb +28 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/operation.rb +58 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/operation_display.rb +79 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/operations_list.rb +98 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/resource.rb +80 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/severity.rb +19 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/signal_type.rb +17 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group.rb +297 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_aggregated_property.rb +57 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification.rb +74 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_event.rb +18 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb +115 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb +79 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_groups_list.rb +66 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_groups_sort_by_fields.rb +19 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/state.rb +17 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/time_range.rb +18 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/module_definition.rb +9 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/operations.rb +225 -0
- data/lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/smart_groups.rb +460 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management.rb +64 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/alerts.rb +908 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/alerts_management_client.rb +141 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert.rb +74 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_modification.rb +74 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_modification_event.rb +17 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb +114 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_modification_properties.rb +68 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_properties.rb +69 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_state.rb +17 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_list.rb +98 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_sort_by_fields.rb +24 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_summary.rb +74 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_summary_group.rb +88 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_summary_group_by_fields.rb +20 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alerts_summary_group_item.rb +88 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/error_response.rb +47 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/error_response_body.rb +91 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/essentials.rb +257 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/monitor_condition.rb +16 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/monitor_service.rb +28 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/operation.rb +58 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/operation_display.rb +79 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/operations_list.rb +98 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/resource.rb +80 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/severity.rb +19 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/signal_type.rb +17 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group.rb +297 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group_aggregated_property.rb +57 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group_modification.rb +74 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group_modification_event.rb +18 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb +115 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb +79 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_groups_list.rb +98 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/smart_groups_sort_by_fields.rb +19 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/state.rb +17 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/models/time_range.rb +18 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/module_definition.rb +9 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/operations.rb +225 -0
- data/lib/2018-05-05/generated/azure_mgmt_alerts_management/smart_groups.rb +648 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/alerts.rb +977 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/alerts_management_client.rb +154 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/action_groups_information.rb +78 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert.rb +74 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification.rb +74 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_event.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb +114 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_properties.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_properties.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_rule.rb +164 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_rule_state.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_rules_list.rb +98 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_state.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_list.rb +98 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_sort_by_fields.rb +24 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_summary.rb +74 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_summary_group.rb +88 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_summary_group_by_fields.rb +20 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alerts_summary_group_item.rb +88 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/azure_resource.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb +130 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/error_response1.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/essentials.rb +257 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/monitor_condition.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/monitor_service.rb +29 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/operation.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/operation_display.rb +79 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/operations_list.rb +98 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/proxy_resource.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/severity.rb +19 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/signal_type.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group.rb +297 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_aggregated_property.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification.rb +74 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_event.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb +115 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb +79 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_groups_list.rb +66 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_groups_sort_by_fields.rb +19 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/state.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/throttling_information.rb +48 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/models/time_range.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/module_definition.rb +9 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/operations.rb +225 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/smart_detector_alert_rules.rb +725 -0
- data/lib/2019-03-01/generated/azure_mgmt_alerts_management/smart_groups.rb +499 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management.rb +82 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/action_rules.rb +1082 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/alerts.rb +911 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/alerts_management_client.rb +145 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/action_group.rb +133 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/action_rule.rb +101 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/action_rule_properties.rb +146 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/action_rule_status.rb +16 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/action_rules_list.rb +98 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert.rb +74 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification.rb +74 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_event.rb +17 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb +114 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_modification_properties.rb +68 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_properties.rb +69 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alert_state.rb +17 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_list.rb +98 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_sort_by_fields.rb +24 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary.rb +74 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_group.rb +88 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_group_by_fields.rb +20 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_group_item.rb +88 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/condition.rb +66 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb +121 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/diagnostics.rb +122 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/error_response.rb +47 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/error_response_body.rb +91 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/essentials.rb +258 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/managed_resource.rb +92 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/monitor_condition.rb +16 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/monitor_service.rb +28 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/operation.rb +58 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/operation_display.rb +79 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/operations_list.rb +98 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/operator.rb +18 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/patch_object.rb +58 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/resource.rb +80 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/scope.rb +69 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/scope_type.rb +16 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/severity.rb +19 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/signal_type.rb +17 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group.rb +297 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_aggregated_property.rb +57 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification.rb +74 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_event.rb +18 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb +115 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb +79 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_groups_list.rb +98 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_groups_sort_by_fields.rb +19 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/state.rb +17 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression.rb +135 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression_config.rb +60 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression_schedule.rb +98 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression_type.rb +19 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/time_range.rb +18 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/module_definition.rb +9 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/operations.rb +225 -0
- data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/smart_groups.rb +648 -0
- data/lib/azure_mgmt_alerts_management.rb +9 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/alertsmanagement_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/alertsmanagement_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/alertsmanagement_profile_module.rb +271 -0
- data/lib/version.rb +7 -0
- 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
|
data/lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/monitor_condition.rb
ADDED
@@ -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
|