Class: Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
Overview
Rules that can be defined for auto-heal.
Instance Attribute Summary collapse
-
#actions ⇒ AutoHealActions
triggered.
-
#triggers ⇒ AutoHealTriggers
auto-heal actions.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutoHealRules class as Ruby Hash.
Instance Attribute Details
#actions ⇒ AutoHealActions
triggered.
21 22 23 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_rules.rb', line 21 def actions @actions end |
#triggers ⇒ AutoHealTriggers
auto-heal actions.
17 18 19 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_rules.rb', line 17 def triggers @triggers end |
Class Method Details
.mapper ⇒ Object
Mapper for AutoHealRules 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 58 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_rules.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoHealRules', type: { name: 'Composite', class_name: 'AutoHealRules', model_properties: { triggers: { client_side_validation: true, required: false, serialized_name: 'triggers', type: { name: 'Composite', class_name: 'AutoHealTriggers' } }, actions: { client_side_validation: true, required: false, serialized_name: 'actions', type: { name: 'Composite', class_name: 'AutoHealActions' } } } } } end |