Sha256: 2ab4a7f405451b7e91d48bf712aecd2fd6a1105b9ef5d49c24d852ea5fb8a092

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

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

module Azure::ARM::Web
  module Models
    #
    # Rules that can be defined for auto-heal.
    #
    class AutoHealRules

      include MsRestAzure

      include MsRest::JSONable
      # @return [AutoHealTriggers] Conditions that describe when to execute the
      # auto-heal actions.
      attr_accessor :triggers

      # @return [AutoHealActions] Actions to be executed when a rule is
      # triggered.
      attr_accessor :actions


      #
      # Mapper for AutoHealRules class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AutoHealRules',
          type: {
            name: 'Composite',
            class_name: 'AutoHealRules',
            model_properties: {
              triggers: {
                required: false,
                serialized_name: 'triggers',
                type: {
                  name: 'Composite',
                  class_name: 'AutoHealTriggers'
                }
              },
              actions: {
                required: false,
                serialized_name: 'actions',
                type: {
                  name: 'Composite',
                  class_name: 'AutoHealActions'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.13.0 lib/generated/azure_mgmt_web/models/auto_heal_rules.rb