# 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::Network::Mgmt::V2020_03_01
  module Models
    #
    # Application gateway backendhealth http settings.
    #
    class ApplicationGatewayBackendHealthServer

      include MsRestAzure

      # @return [String] IP address or FQDN of backend server.
      attr_accessor :address

      # @return [NetworkInterfaceIPConfiguration] Reference to IP configuration
      # of backend server.
      attr_accessor :ip_configuration

      # @return [ApplicationGatewayBackendHealthServerHealth] Health of backend
      # server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial',
      # 'Draining'
      attr_accessor :health

      # @return [String] Health Probe Log.
      attr_accessor :health_probe_log


      #
      # Mapper for ApplicationGatewayBackendHealthServer class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationGatewayBackendHealthServer',
          type: {
            name: 'Composite',
            class_name: 'ApplicationGatewayBackendHealthServer',
            model_properties: {
              address: {
                client_side_validation: true,
                required: false,
                serialized_name: 'address',
                type: {
                  name: 'String'
                }
              },
              ip_configuration: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ipConfiguration',
                type: {
                  name: 'Composite',
                  class_name: 'NetworkInterfaceIPConfiguration'
                }
              },
              health: {
                client_side_validation: true,
                required: false,
                serialized_name: 'health',
                type: {
                  name: 'String'
                }
              },
              health_probe_log: {
                client_side_validation: true,
                required: false,
                serialized_name: 'healthProbeLog',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
