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,47 @@
|
|
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 error response from the service.
|
10
|
+
#
|
11
|
+
class ErrorResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ErrorResponseBody]
|
16
|
+
attr_accessor :error
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ErrorResponse class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'errorResponse',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ErrorResponse',
|
31
|
+
model_properties: {
|
32
|
+
error: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'error',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'ErrorResponseBody'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,91 @@
|
|
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
|
+
# Details of error response.
|
10
|
+
#
|
11
|
+
class ErrorResponseBody
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Error code, intended to be consumed programmatically.
|
16
|
+
attr_accessor :code
|
17
|
+
|
18
|
+
# @return [String] Description of the error, intended for display in user
|
19
|
+
# interface.
|
20
|
+
attr_accessor :message
|
21
|
+
|
22
|
+
# @return [String] Target of the particular error, for example name of
|
23
|
+
# the property.
|
24
|
+
attr_accessor :target
|
25
|
+
|
26
|
+
# @return [Array<ErrorResponseBody>] A list of additional details about
|
27
|
+
# the error.
|
28
|
+
attr_accessor :details
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for ErrorResponseBody class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'errorResponseBody',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'ErrorResponseBody',
|
43
|
+
model_properties: {
|
44
|
+
code: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'code',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
message: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'message',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
target: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'target',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
details: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'details',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'ErrorResponseBodyElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'ErrorResponseBody'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
@@ -0,0 +1,257 @@
|
|
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
|
+
# 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] Can be 'Fired' or 'Resolved', which
|
29
|
+
# represents whether the underlying conditions have crossed the defined
|
30
|
+
# alert rule thresholds. Possible values include: 'Fired', 'Resolved'
|
31
|
+
attr_accessor :monitor_condition
|
32
|
+
|
33
|
+
# @return [String] Target ARM resource, on which alert got created.
|
34
|
+
attr_accessor :target_resource
|
35
|
+
|
36
|
+
# @return [String] Name of the target ARM resource name, on which alert
|
37
|
+
# got created.
|
38
|
+
attr_accessor :target_resource_name
|
39
|
+
|
40
|
+
# @return [String] Resource group of target ARM resource, on which alert
|
41
|
+
# got created.
|
42
|
+
attr_accessor :target_resource_group
|
43
|
+
|
44
|
+
# @return [String] Resource type of target ARM resource, on which alert
|
45
|
+
# got created.
|
46
|
+
attr_accessor :target_resource_type
|
47
|
+
|
48
|
+
# @return [MonitorService] Monitor service on which the rule(monitor) is
|
49
|
+
# set. Possible values include: 'Application Insights', 'ActivityLog
|
50
|
+
# Administrative', 'ActivityLog Security', 'ActivityLog Recommendation',
|
51
|
+
# 'ActivityLog Policy', 'ActivityLog Autoscale', 'Log Analytics',
|
52
|
+
# 'Nagios', 'Platform', 'SCOM', 'ServiceHealth', 'SmartDetector', 'VM
|
53
|
+
# Insights', 'Zabbix'
|
54
|
+
attr_accessor :monitor_service
|
55
|
+
|
56
|
+
# @return [String] Rule(monitor) which fired alert instance. Depending on
|
57
|
+
# the monitor service, this would be ARM id or name of the rule.
|
58
|
+
attr_accessor :alert_rule
|
59
|
+
|
60
|
+
# @return [String] Unique Id created by monitor service for each alert
|
61
|
+
# instance. This could be used to track the issue at the monitor service,
|
62
|
+
# in case of Nagios, Zabbix, SCOM etc.
|
63
|
+
attr_accessor :source_created_id
|
64
|
+
|
65
|
+
# @return [String] Unique Id of the smart group
|
66
|
+
attr_accessor :smart_group_id
|
67
|
+
|
68
|
+
# @return [String] Verbose reason describing the reason why this alert
|
69
|
+
# instance is added to a smart group
|
70
|
+
attr_accessor :smart_grouping_reason
|
71
|
+
|
72
|
+
# @return [DateTime] Creation time(ISO-8601 format) of alert instance.
|
73
|
+
attr_accessor :start_date_time
|
74
|
+
|
75
|
+
# @return [DateTime] Last modification time(ISO-8601 format) of alert
|
76
|
+
# instance.
|
77
|
+
attr_accessor :last_modified_date_time
|
78
|
+
|
79
|
+
# @return [DateTime] Resolved time(ISO-8601 format) of alert instance.
|
80
|
+
# This will be updated when monitor service resolves the alert instance
|
81
|
+
# because the rule condition is no longer met.
|
82
|
+
attr_accessor :monitor_condition_resolved_date_time
|
83
|
+
|
84
|
+
# @return [String] User who last modified the alert, in case of monitor
|
85
|
+
# service updates user would be 'system', otherwise name of the user.
|
86
|
+
attr_accessor :last_modified_user_name
|
87
|
+
|
88
|
+
|
89
|
+
#
|
90
|
+
# Mapper for Essentials class as Ruby Hash.
|
91
|
+
# This will be used for serialization/deserialization.
|
92
|
+
#
|
93
|
+
def self.mapper()
|
94
|
+
{
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'essentials',
|
98
|
+
type: {
|
99
|
+
name: 'Composite',
|
100
|
+
class_name: 'Essentials',
|
101
|
+
model_properties: {
|
102
|
+
severity: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
read_only: true,
|
106
|
+
serialized_name: 'severity',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
signal_type: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
read_only: true,
|
115
|
+
serialized_name: 'signalType',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
alert_state: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
read_only: true,
|
124
|
+
serialized_name: 'alertState',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
monitor_condition: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: false,
|
132
|
+
read_only: true,
|
133
|
+
serialized_name: 'monitorCondition',
|
134
|
+
type: {
|
135
|
+
name: 'String'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
target_resource: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
serialized_name: 'targetResource',
|
142
|
+
type: {
|
143
|
+
name: 'String'
|
144
|
+
}
|
145
|
+
},
|
146
|
+
target_resource_name: {
|
147
|
+
client_side_validation: true,
|
148
|
+
required: false,
|
149
|
+
serialized_name: 'targetResourceName',
|
150
|
+
type: {
|
151
|
+
name: 'String'
|
152
|
+
}
|
153
|
+
},
|
154
|
+
target_resource_group: {
|
155
|
+
client_side_validation: true,
|
156
|
+
required: false,
|
157
|
+
serialized_name: 'targetResourceGroup',
|
158
|
+
type: {
|
159
|
+
name: 'String'
|
160
|
+
}
|
161
|
+
},
|
162
|
+
target_resource_type: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: false,
|
165
|
+
serialized_name: 'targetResourceType',
|
166
|
+
type: {
|
167
|
+
name: 'String'
|
168
|
+
}
|
169
|
+
},
|
170
|
+
monitor_service: {
|
171
|
+
client_side_validation: true,
|
172
|
+
required: false,
|
173
|
+
read_only: true,
|
174
|
+
serialized_name: 'monitorService',
|
175
|
+
type: {
|
176
|
+
name: 'String'
|
177
|
+
}
|
178
|
+
},
|
179
|
+
alert_rule: {
|
180
|
+
client_side_validation: true,
|
181
|
+
required: false,
|
182
|
+
read_only: true,
|
183
|
+
serialized_name: 'alertRule',
|
184
|
+
type: {
|
185
|
+
name: 'String'
|
186
|
+
}
|
187
|
+
},
|
188
|
+
source_created_id: {
|
189
|
+
client_side_validation: true,
|
190
|
+
required: false,
|
191
|
+
read_only: true,
|
192
|
+
serialized_name: 'sourceCreatedId',
|
193
|
+
type: {
|
194
|
+
name: 'String'
|
195
|
+
}
|
196
|
+
},
|
197
|
+
smart_group_id: {
|
198
|
+
client_side_validation: true,
|
199
|
+
required: false,
|
200
|
+
read_only: true,
|
201
|
+
serialized_name: 'smartGroupId',
|
202
|
+
type: {
|
203
|
+
name: 'String'
|
204
|
+
}
|
205
|
+
},
|
206
|
+
smart_grouping_reason: {
|
207
|
+
client_side_validation: true,
|
208
|
+
required: false,
|
209
|
+
read_only: true,
|
210
|
+
serialized_name: 'smartGroupingReason',
|
211
|
+
type: {
|
212
|
+
name: 'String'
|
213
|
+
}
|
214
|
+
},
|
215
|
+
start_date_time: {
|
216
|
+
client_side_validation: true,
|
217
|
+
required: false,
|
218
|
+
read_only: true,
|
219
|
+
serialized_name: 'startDateTime',
|
220
|
+
type: {
|
221
|
+
name: 'DateTime'
|
222
|
+
}
|
223
|
+
},
|
224
|
+
last_modified_date_time: {
|
225
|
+
client_side_validation: true,
|
226
|
+
required: false,
|
227
|
+
read_only: true,
|
228
|
+
serialized_name: 'lastModifiedDateTime',
|
229
|
+
type: {
|
230
|
+
name: 'DateTime'
|
231
|
+
}
|
232
|
+
},
|
233
|
+
monitor_condition_resolved_date_time: {
|
234
|
+
client_side_validation: true,
|
235
|
+
required: false,
|
236
|
+
read_only: true,
|
237
|
+
serialized_name: 'monitorConditionResolvedDateTime',
|
238
|
+
type: {
|
239
|
+
name: 'DateTime'
|
240
|
+
}
|
241
|
+
},
|
242
|
+
last_modified_user_name: {
|
243
|
+
client_side_validation: true,
|
244
|
+
required: false,
|
245
|
+
read_only: true,
|
246
|
+
serialized_name: 'lastModifiedUserName',
|
247
|
+
type: {
|
248
|
+
name: 'String'
|
249
|
+
}
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
253
|
+
}
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
257
|
+
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::V2018_05_05
|
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::V2018_05_05
|
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::V2018_05_05
|
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
|