Class: Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActions
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActions
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_actions.rb
Overview
Actions which to take by the auto-heal module when a rule is triggered.
Instance Attribute Summary collapse
-
#action_type ⇒ AutoHealActionType
values include: ‘Recycle’, ‘LogEvent’, ‘CustomAction’.
-
#custom_action ⇒ AutoHealCustomAction
Custom action to be taken.
-
#min_process_execution_time ⇒ String
before taking the action.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutoHealActions class as Ruby Hash.
Instance Attribute Details
#action_type ⇒ AutoHealActionType
values include: ‘Recycle’, ‘LogEvent’, ‘CustomAction’
17 18 19 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_actions.rb', line 17 def action_type @action_type end |
#custom_action ⇒ AutoHealCustomAction
Returns Custom action to be taken.
20 21 22 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_actions.rb', line 20 def custom_action @custom_action end |
#min_process_execution_time ⇒ String
before taking the action
24 25 26 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_actions.rb', line 24 def min_process_execution_time @min_process_execution_time end |
Class Method Details
.mapper ⇒ Object
Mapper for AutoHealActions class as Ruby Hash. This will be used for serialization/deserialization.
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 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_actions.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoHealActions', type: { name: 'Composite', class_name: 'AutoHealActions', model_properties: { action_type: { client_side_validation: true, required: false, serialized_name: 'actionType', type: { name: 'Enum', module: 'AutoHealActionType' } }, custom_action: { client_side_validation: true, required: false, serialized_name: 'customAction', type: { name: 'Composite', class_name: 'AutoHealCustomAction' } }, min_process_execution_time: { client_side_validation: true, required: false, serialized_name: 'minProcessExecutionTime', type: { name: 'String' } } } } } end |