Class: Azure::ARM::Web::Models::AutoHealActions
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::AutoHealActions
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/auto_heal_actions.rb
Overview
AutoHealActions - Describes the actions which can be taken by the auto-heal module when a rule is triggered.
Instance Attribute Summary collapse
-
#action_type ⇒ AutoHealActionType
taken.
-
#custom_action ⇒ AutoHealCustomAction
CustomAction - custom action to be taken.
-
#min_process_execution_time ⇒ String
must execute before taking the action.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutoHealActions class as Ruby Hash.
Instance Attribute Details
#action_type ⇒ AutoHealActionType
taken. Possible values include: ‘Recycle’, ‘LogEvent’, ‘CustomAction’
18 19 20 |
# File 'lib/generated/azure_mgmt_web/models/auto_heal_actions.rb', line 18 def action_type @action_type end |
#custom_action ⇒ AutoHealCustomAction
Returns CustomAction - custom action to be taken.
21 22 23 |
# File 'lib/generated/azure_mgmt_web/models/auto_heal_actions.rb', line 21 def custom_action @custom_action end |
#min_process_execution_time ⇒ String
must execute before taking the action
26 27 28 |
# File 'lib/generated/azure_mgmt_web/models/auto_heal_actions.rb', line 26 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.
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 |
# File 'lib/generated/azure_mgmt_web/models/auto_heal_actions.rb', line 33 def self.mapper() { required: false, serialized_name: 'AutoHealActions', type: { name: 'Composite', class_name: 'AutoHealActions', model_properties: { action_type: { required: true, serialized_name: 'actionType', type: { name: 'Enum', module: 'AutoHealActionType' } }, custom_action: { required: false, serialized_name: 'customAction', type: { name: 'Composite', class_name: 'AutoHealCustomAction' } }, min_process_execution_time: { required: false, serialized_name: 'minProcessExecutionTime', type: { name: 'String' } } } } } end |