VolumeDefinition Class

Definition

The VolumeDefinition.

public class VolumeDefinition
type VolumeDefinition = class
Public Class VolumeDefinition
Inheritance
VolumeDefinition

Constructors

VolumeDefinition()

Initializes a new instance of VolumeDefinition.

Properties

Bind

Bind Options of the mount.

Consistency

Consistency of the volume.

DefinitionType

Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe.

Nocopy

Indicate whether volume is nocopy.

ReadOnly

Indicate whether to mount volume as readOnly. Default value for this is false.

Source

Source of the mount. For bind mounts this is the host path.

Target

Target of the mount. For bind mounts this is the path in the container.

TmpfsSize

Mention the Tmpfs size.

Applies to