class Azure::ServiceFabric::V6_5_0_36::Models::VolumeReference
Describes a reference to a volume resource.
Attributes
destination_path[RW]
@return [String] The path within the container at which the volume should be mounted. Only valid path characters are allowed.
name[RW]
@return [String] Name of the volume being referenced.
read_only[RW]
@return [Boolean] The flag indicating whether the volume is read only. Default is 'false'.
Public Class Methods
mapper()
click to toggle source
Mapper for VolumeReference
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/generated/azure_service_fabric/models/volume_reference.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VolumeReference', type: { name: 'Composite', class_name: 'VolumeReference', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, read_only: { client_side_validation: true, required: false, serialized_name: 'readOnly', type: { name: 'Boolean' } }, destination_path: { client_side_validation: true, required: true, serialized_name: 'destinationPath', type: { name: 'String' } } } } } end