# 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::V2018_04_01
  module Models
    #
    # Contains the IP tag associated with the public IP address.
    #
    class VirtualMachineScaleSetIpTag

      include MsRestAzure

      # @return [String] IP tag type. Example: FirstPartyUsage.
      attr_accessor :ip_tag_type

      # @return [String] IP tag associated with the public IP. Example: SQL,
      # Storage etc.
      attr_accessor :tag


      #
      # Mapper for VirtualMachineScaleSetIpTag class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VirtualMachineScaleSetIpTag',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetIpTag',
            model_properties: {
              ip_tag_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ipTagType',
                type: {
                  name: 'String'
                }
              },
              tag: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tag',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
