VolumeDefinitionArgs

data class VolumeDefinitionArgs(val bind: Output<BindOptionsArgs>? = null, val consistency: Output<String>? = null, val readOnly: Output<Boolean>? = null, val source: Output<String>? = null, val target: Output<String>? = null, val tmpfs: Output<TmpfsOptionsArgs>? = null, val type: Output<Either<String, VolumeDefinitionType>>? = null, val volume: Output<VolumeOptionsArgs>? = null) : ConvertibleToJava<VolumeDefinitionArgs>

Describes the volume configuration for the container

Constructors

Link copied to clipboard
constructor(bind: Output<BindOptionsArgs>? = null, consistency: Output<String>? = null, readOnly: Output<Boolean>? = null, source: Output<String>? = null, target: Output<String>? = null, tmpfs: Output<TmpfsOptionsArgs>? = null, type: Output<Either<String, VolumeDefinitionType>>? = null, volume: Output<VolumeOptionsArgs>? = null)

Properties

Link copied to clipboard
val bind: Output<BindOptionsArgs>? = null

Bind Options of the mount

Link copied to clipboard
val consistency: Output<String>? = null

Consistency of the volume

Link copied to clipboard
val readOnly: Output<Boolean>? = null

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

Link copied to clipboard
val source: Output<String>? = null

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

Link copied to clipboard
val target: Output<String>? = null

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

Link copied to clipboard
val tmpfs: Output<TmpfsOptionsArgs>? = null

tmpfs option of the mount

Link copied to clipboard
val type: Output<Either<String, VolumeDefinitionType>>? = null

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

Link copied to clipboard
val volume: Output<VolumeOptionsArgs>? = null

Volume Options of the mount

Functions

Link copied to clipboard
open override fun toJava(): VolumeDefinitionArgs