Sha256: fe073a5a8282858187c469bec6fe7ad062db8f0b7aeec61862483bdcd0c58246

Contents?: true

Size: 2 KB

Versions: 4

Compression:

Stored size: 2 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Web
  module Models
    #
    # AutoHealActions - Describes the actions which can be
    # taken by the auto-heal module when a rule is triggered.
    #
    class AutoHealActions

      include MsRestAzure

      # @return [AutoHealActionType] ActionType - predefined action to be
      # taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'
      attr_accessor :action_type

      # @return [AutoHealCustomAction] CustomAction - custom action to be taken
      attr_accessor :custom_action

      # @return [String] MinProcessExecutionTime - minimum time the process
      # must execute
      # before taking the action
      attr_accessor :min_process_execution_time


      #
      # Mapper for AutoHealActions class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_web-0.7.0 lib/generated/azure_mgmt_web/models/auto_heal_actions.rb
azure_mgmt_web-0.6.0 lib/generated/azure_mgmt_web/models/auto_heal_actions.rb
azure_mgmt_web-0.5.0 lib/generated/azure_mgmt_web/models/auto_heal_actions.rb
azure_mgmt_web-0.4.0 lib/generated/azure_mgmt_web/models/auto_heal_actions.rb