class Azure::ContainerInstance::Mgmt::V2018_10_01::Models::VolumeMount
The properties of the volume mount.
Attributes
mount_path[RW]
@return [String] The path within the container where the volume should be mounted. Must not contain colon (:).
name[RW]
@return [String] The name of the volume mount.
read_only[RW]
@return [Boolean] The flag indicating whether the volume mount is read-only.
Public Class Methods
mapper()
click to toggle source
Mapper for VolumeMount
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume_mount.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { name: 'Composite', class_name: 'VolumeMount', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, mount_path: { client_side_validation: true, required: true, serialized_name: 'mountPath', type: { name: 'String' } }, read_only: { client_side_validation: true, required: false, serialized_name: 'readOnly', type: { name: 'Boolean' } } } } } end