Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::LocalDataVolume
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::LocalDataVolume
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/local_data_volume.rb
Overview
Represents mapping of host directories to directories in the container.
Instance Attribute Summary collapse
-
#host_path ⇒ String
directory in the container.
-
#local_path ⇒ String
mounted.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LocalDataVolume class as Ruby Hash.
Instance Attribute Details
#host_path ⇒ String
directory in the container.
17 18 19 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/local_data_volume.rb', line 17 def host_path @host_path end |
#local_path ⇒ String
mounted.
21 22 23 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/local_data_volume.rb', line 21 def local_path @local_path end |
Class Method Details
.mapper ⇒ Object
Mapper for LocalDataVolume class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/local_data_volume.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LocalDataVolume', type: { name: 'Composite', class_name: 'LocalDataVolume', model_properties: { host_path: { client_side_validation: true, required: true, serialized_name: 'hostPath', type: { name: 'String' } }, local_path: { client_side_validation: true, required: true, serialized_name: 'localPath', type: { name: 'String' } } } } } end |