class Azure::Batch::Mgmt::V2019_08_01::Models::CIFSMountConfiguration

Information used to connect to a CIFS file system.

Attributes

mount_options[RW]

@return [String] Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.

password[RW]

@return [String] The password to use for authentication against the CIFS file system.

relative_mount_path[RW]

@return [String] The relative path on the compute node where the file system will be mounted. All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.

source[RW]

@return [String] The URI of the file system to mount.

username[RW]

@return [String] The user to use for authentication against the CIFS file system.

Private Class Methods

mapper() click to toggle source

Mapper for CIFSMountConfiguration class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-08-01/generated/azure_mgmt_batch/models/cifsmount_configuration.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CIFSMountConfiguration',
    type: {
      name: 'Composite',
      class_name: 'CIFSMountConfiguration',
      model_properties: {
        username: {
          client_side_validation: true,
          required: true,
          serialized_name: 'username',
          type: {
            name: 'String'
          }
        },
        source: {
          client_side_validation: true,
          required: true,
          serialized_name: 'source',
          type: {
            name: 'String'
          }
        },
        relative_mount_path: {
          client_side_validation: true,
          required: true,
          serialized_name: 'relativeMountPath',
          type: {
            name: 'String'
          }
        },
        mount_options: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mountOptions',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: true,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end