# 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
    #
    # Details needed to monitor a Hana Instance
    #
    class MonitoringDetails

      include MsRestAzure

      # @return [String] ARM ID of an Azure Subnet with access to the HANA
      # instance.
      attr_accessor :hana_subnet

      # @return [String] Hostname of the HANA Instance blade.
      attr_accessor :hana_hostname

      # @return [String] Name of the database itself.
      attr_accessor :hana_db_name

      # @return [Integer] The port number of the tenant DB. Used to connect to
      # the DB.
      attr_accessor :hana_db_sql_port

      # @return [String] Username for the HANA database to login to for
      # monitoring
      attr_accessor :hana_db_username

      # @return [String] Password for the HANA database to login for monitoring
      attr_accessor :hana_db_password


      #
      # Mapper for MonitoringDetails class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'MonitoringDetails',
          type: {
            name: 'Composite',
            class_name: 'MonitoringDetails',
            model_properties: {
              hana_subnet: {
                client_side_validation: true,
                required: false,
                serialized_name: 'hanaSubnet',
                type: {
                  name: 'String'
                }
              },
              hana_hostname: {
                client_side_validation: true,
                required: false,
                serialized_name: 'hanaHostname',
                type: {
                  name: 'String'
                }
              },
              hana_db_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'hanaDbName',
                type: {
                  name: 'String'
                }
              },
              hana_db_sql_port: {
                client_side_validation: true,
                required: false,
                serialized_name: 'hanaDbSqlPort',
                type: {
                  name: 'Number'
                }
              },
              hana_db_username: {
                client_side_validation: true,
                required: false,
                serialized_name: 'hanaDbUsername',
                type: {
                  name: 'String'
                }
              },
              hana_db_password: {
                client_side_validation: true,
                required: false,
                serialized_name: 'hanaDbPassword',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
