class Azure::Web::Mgmt::V2016_03_01::Models::AutoHealActions

Actions which to take by the auto-heal module when a rule is triggered.

Attributes

action_type[RW]

@return [AutoHealActionType] Predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'

custom_action[RW]

@return [AutoHealCustomAction] Custom action to be taken.

min_process_execution_time[RW]

@return [String] Minimum time the process must execute before taking the action

Public Class Methods

mapper() click to toggle source

Mapper for AutoHealActions class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-03-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