Class: Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Conditions
- Inherits:
-
Object
- Object
- Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Conditions
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb
Overview
Conditions in alert instance to be matched for a given action rule. Default value is all. Multiple values could be provided with comma separation.
Instance Attribute Summary collapse
-
#alert_context ⇒ Condition
Filter alerts by alert context (payload).
-
#alert_rule_id ⇒ Condition
Filter alerts by alert rule id.
-
#description ⇒ Condition
Filter alerts by alert rule description.
-
#monitor_condition ⇒ Condition
Filter alerts by monitor condition.
-
#monitor_service ⇒ Condition
Filter alerts by monitor service.
-
#severity ⇒ Condition
Filter alerts by severity.
-
#target_resource_type ⇒ Condition
Filter alerts by target resource type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Conditions class as Ruby Hash.
Instance Attribute Details
#alert_context ⇒ Condition
Returns filter alerts by alert context (payload).
36 37 38 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb', line 36 def alert_context @alert_context end |
#alert_rule_id ⇒ Condition
Returns filter alerts by alert rule id.
30 31 32 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb', line 30 def alert_rule_id @alert_rule_id end |
#description ⇒ Condition
Returns filter alerts by alert rule description.
33 34 35 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb', line 33 def description @description end |
#monitor_condition ⇒ Condition
Returns filter alerts by monitor condition.
24 25 26 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb', line 24 def monitor_condition @monitor_condition end |
#monitor_service ⇒ Condition
Returns filter alerts by monitor service.
21 22 23 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb', line 21 def monitor_service @monitor_service end |
#severity ⇒ Condition
Returns filter alerts by severity.
18 19 20 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb', line 18 def severity @severity end |
#target_resource_type ⇒ Condition
Returns filter alerts by target resource type.
27 28 29 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb', line 27 def target_resource_type @target_resource_type end |
Class Method Details
.mapper ⇒ Object
Mapper for Conditions class as Ruby Hash. This will be used for serialization/deserialization.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/conditions.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Conditions', type: { name: 'Composite', class_name: 'Conditions', model_properties: { severity: { client_side_validation: true, required: false, serialized_name: 'severity', type: { name: 'Composite', class_name: 'Condition' } }, monitor_service: { client_side_validation: true, required: false, serialized_name: 'monitorService', type: { name: 'Composite', class_name: 'Condition' } }, monitor_condition: { client_side_validation: true, required: false, serialized_name: 'monitorCondition', type: { name: 'Composite', class_name: 'Condition' } }, target_resource_type: { client_side_validation: true, required: false, serialized_name: 'targetResourceType', type: { name: 'Composite', class_name: 'Condition' } }, alert_rule_id: { client_side_validation: true, required: false, serialized_name: 'alertRuleId', type: { name: 'Composite', class_name: 'Condition' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'Composite', class_name: 'Condition' } }, alert_context: { client_side_validation: true, required: false, serialized_name: 'alertContext', type: { name: 'Composite', class_name: 'Condition' } } } } } end |