VolumeArgs

data class VolumeArgs(val configMap: Output<ConfigMapVolumeSourceArgs>? = null, val emptyDir: Output<EmptyDirVolumeSourceArgs>? = null, val name: Output<String>? = null, val secret: Output<SecretVolumeSourceArgs>? = null) : ConvertibleToJava<VolumeArgs>

Volume represents a named volume in a container.

Constructors

Link copied to clipboard
constructor(configMap: Output<ConfigMapVolumeSourceArgs>? = null, emptyDir: Output<EmptyDirVolumeSourceArgs>? = null, name: Output<String>? = null, secret: Output<SecretVolumeSourceArgs>? = null)

Properties

Link copied to clipboard

Not supported in Cloud Run.

Link copied to clipboard
val emptyDir: Output<EmptyDirVolumeSourceArgs>? = null

Ephemeral storage used as a shared volume.

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

Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' is reserved.

Link copied to clipboard
val secret: Output<SecretVolumeSourceArgs>? = null

The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secretName.

Functions

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