Sha256: 78561308da7d22cd1e5f2fd6477a546386daa19d2b7ff772486e448d80788c1d

Contents?: true

Size: 1.6 KB

Versions: 10

Compression:

Stored size: 1.6 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::Web::Mgmt::V2015_04_01
  module Models
    #
    # Rules that can be defined for auto-heal.
    #
    class AutoHealRules

      include MsRestAzure

      # @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()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AutoHealRules',
          type: {
            name: 'Composite',
            class_name: 'AutoHealRules',
            model_properties: {
              triggers: {
                client_side_validation: true,
                required: false,
                serialized_name: 'triggers',
                type: {
                  name: 'Composite',
                  class_name: 'AutoHealTriggers'
                }
              },
              actions: {
                client_side_validation: true,
                required: false,
                serialized_name: 'actions',
                type: {
                  name: 'Composite',
                  class_name: 'AutoHealActions'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
azure_mgmt_web-0.18.0 lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
azure_mgmt_web-0.17.6 lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
azure_mgmt_web-0.17.5 lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
azure_mgmt_web-0.17.4 lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
azure_mgmt_web-0.17.3 lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
azure_mgmt_web-0.17.2 lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
azure_mgmt_web-0.17.1 lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
azure_mgmt_web-0.17.0 lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
azure_mgmt_web-0.16.0 lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb