Class: Azure::BatchAI::Mgmt::V2018_03_01::Models::FileServerReference
- Inherits:
- 
      Object
      
        - Object
- Azure::BatchAI::Mgmt::V2018_03_01::Models::FileServerReference
 
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_reference.rb
Overview
Provides required information, for the service to be able to mount Azure FileShare on the cluster nodes.
Instance Attribute Summary collapse
- 
  
    
      #file_server  ⇒ ResourceId 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Reference to the file server resource. 
- 
  
    
      #mount_options  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies the mount options for File Server. 
- 
  
    
      #relative_mount_path  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    the File Server will be mounted. 
- 
  
    
      #source_directory  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    needs to be mounted. 
Class Method Summary collapse
- 
  
    
      .mapper  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Mapper for FileServerReference class as Ruby Hash. 
Instance Attribute Details
#file_server ⇒ ResourceId
Returns Reference to the file server resource.
| 17 18 19 | # File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_reference.rb', line 17 def file_server @file_server end | 
#mount_options ⇒ String
Returns Specifies the mount options for File Server.
| 31 32 33 | # File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_reference.rb', line 31 def @mount_options end | 
#relative_mount_path ⇒ String
the File Server will be mounted. Note that all cluster level file servers will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and job level file servers will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT.
| 28 29 30 | # File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_reference.rb', line 28 def relative_mount_path @relative_mount_path end | 
#source_directory ⇒ String
needs to be mounted. If this property is not specified, the entire File Server will be mounted.
| 22 23 24 | # File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_reference.rb', line 22 def source_directory @source_directory end | 
Class Method Details
.mapper ⇒ Object
Mapper for FileServerReference class as Ruby Hash. This will be used for serialization/deserialization.
| 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | # File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_reference.rb', line 38 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 |