Class: Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SuppressionConfig
- Inherits:
-
Object
- Object
- Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SuppressionConfig
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression_config.rb
Overview
Suppression logic for a given action rule
Instance Attribute Summary collapse
-
#recurrence_type ⇒ SuppressionType
applied.
-
#schedule ⇒ SuppressionSchedule
Suppression schedule configuration.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SuppressionConfig class as Ruby Hash.
Instance Attribute Details
#recurrence_type ⇒ SuppressionType
applied. Possible values include: ‘Always’, ‘Once’, ‘Daily’, ‘Weekly’, ‘Monthly’
18 19 20 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression_config.rb', line 18 def recurrence_type @recurrence_type end |
#schedule ⇒ SuppressionSchedule
Returns suppression schedule configuration.
21 22 23 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression_config.rb', line 21 def schedule @schedule end |
Class Method Details
.mapper ⇒ Object
Mapper for SuppressionConfig class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/suppression_config.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SuppressionConfig', type: { name: 'Composite', class_name: 'SuppressionConfig', model_properties: { recurrence_type: { client_side_validation: true, required: true, serialized_name: 'recurrenceType', type: { name: 'String' } }, schedule: { client_side_validation: true, required: false, serialized_name: 'schedule', type: { name: 'Composite', class_name: 'SuppressionSchedule' } } } } } end |