class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::FileServerReference

Provides required information, for the service to be able to mount Azure FileShare on the cluster nodes.

Attributes

file_server[RW]

@return [ResourceId] Reference to the file server resource.

mount_options[RW]

@return [String] Specifies the mount options for File Server.

relative_mount_path[RW]

@return [String] Specifies the relative path on the compute node where the File Server will be mounted. Note that all file shares will be mounted under $AZ_BATCHAI_MOUNT_ROOT location.

source_directory[RW]

@return [String] Specifies the source directory in File Server that needs to be mounted. If this property is not specified, the entire File Server will be mounted.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/file_server_reference.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FileServerReference',
    type: {
      name: 'Composite',
      class_name: 'FileServerReference',
      model_properties: {
        file_server: {
          client_side_validation: true,
          required: true,
          serialized_name: 'fileServer',
          type: {
            name: 'Composite',
            class_name: 'ResourceId'
          }
        },
        source_directory: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourceDirectory',
          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'
          }
        }
      }
    }
  }
end