# 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::BatchAI::Mgmt::V2018_05_01
  module Models
    #
    # Unmanaged file system mounting configuration.
    #
    class UnmanagedFileSystemReference

      include MsRestAzure

      # @return [String] Mount command. Mount command line. Note, Batch AI will
      # append mount path to the command on its own.
      attr_accessor :mount_command

      # @return [String] Relative mount path. The relative path on the compute
      # node where the unmanaged file system will be mounted. Note that all
      # cluster level unmanaged file systems will be mounted under
      # $AZ_BATCHAI_MOUNT_ROOT location and all job level unmanaged file
      # systems will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT.
      attr_accessor :relative_mount_path


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