VolumeReferenceArgs

data class VolumeReferenceArgs(val destinationPath: Output<String>, val name: Output<String>, val readOnly: Output<Boolean>? = null) : ConvertibleToJava<VolumeReferenceArgs>

Describes a reference to a volume resource.

Constructors

Link copied to clipboard
constructor(destinationPath: Output<String>, name: Output<String>, readOnly: Output<Boolean>? = null)

Properties

Link copied to clipboard
val destinationPath: Output<String>

The path within the container at which the volume should be mounted. Only valid path characters are allowed.

Link copied to clipboard
val name: Output<String>

Name of the volume being referenced.

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

The flag indicating whether the volume is read only. Default is 'false'.

Functions

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