class Azure::BatchAI::Mgmt::V2018_03_01::Models::LocalDataVolume
Represents mapping of host directories to directories in the container.
Attributes
host_path[RW]
@return [String] The path on the host that is to be mounted as a directory in the container.
local_path[RW]
@return [String] The container local path where the host directory is mounted.
Public Class Methods
mapper()
click to toggle source
Mapper for LocalDataVolume
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-03-01/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