# 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::Hanaonazure::Mgmt::V2017_11_03_preview
  module Models
    #
    # Specifies the operating system settings for the HANA instance.
    #
    class OSProfile

      include MsRestAzure

      # @return [String] Specifies the host OS name of the HANA instance.
      attr_accessor :computer_name

      # @return [String] This property allows you to specify the type of the
      # OS.
      attr_accessor :os_type

      # @return [String] Specifies version of operating system.
      attr_accessor :version

      # @return [String] Specifies the SSH public key used to access the
      # operating system.
      attr_accessor :ssh_public_key


      #
      # Mapper for OSProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'OSProfile',
          type: {
            name: 'Composite',
            class_name: 'OSProfile',
            model_properties: {
              computer_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'computerName',
                type: {
                  name: 'String'
                }
              },
              os_type: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'osType',
                type: {
                  name: 'String'
                }
              },
              version: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'version',
                type: {
                  name: 'String'
                }
              },
              ssh_public_key: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sshPublicKey',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
