class Azure::ServiceFabric::V6_3_0_9::Models::ContainerVolume

Describes how a volume is attached to a container.

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.

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 ContainerVolume class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/6.3.0.9/generated/azure_service_fabric/models/container_volume.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContainerVolume',
    type: {
      name: 'Composite',
      class_name: 'ContainerVolume',
      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