# 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::Compute::Mgmt::V2020_10_01_preview
  module Models
    #
    # Describes a cloud service IP Configuration
    #
    class LoadBalancerFrontendIPConfigurationProperties

      include MsRestAzure

      # @return [SubResource]
      attr_accessor :public_ipaddress

      # @return [SubResource]
      attr_accessor :subnet

      # @return [String] The private IP address referenced by the cloud
      # service.
      attr_accessor :private_ipaddress


      #
      # Mapper for LoadBalancerFrontendIPConfigurationProperties class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'LoadBalancerFrontendIPConfigurationProperties',
          type: {
            name: 'Composite',
            class_name: 'LoadBalancerFrontendIPConfigurationProperties',
            model_properties: {
              public_ipaddress: {
                client_side_validation: true,
                required: false,
                serialized_name: 'publicIPAddress',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
              },
              subnet: {
                client_side_validation: true,
                required: false,
                serialized_name: 'subnet',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
              },
              private_ipaddress: {
                client_side_validation: true,
                required: false,
                serialized_name: 'privateIPAddress',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
