PersistentVolumeClaimTemplateArgs

data class PersistentVolumeClaimTemplateArgs(val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<PersistentVolumeClaimSpecArgs>) : ConvertibleToJava<PersistentVolumeClaimTemplateArgs>

PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.

Constructors

Link copied to clipboard
constructor(metadata: Output<ObjectMetaArgs>? = null, spec: Output<PersistentVolumeClaimSpecArgs>)

Properties

Link copied to clipboard
val metadata: Output<ObjectMetaArgs>? = null

May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.

Link copied to clipboard

The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.

Functions

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