Class VolumeAttachmentSourcePatchArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.kubernetes.storage.v1.inputs.VolumeAttachmentSourcePatchArgs
-
public final class VolumeAttachmentSourcePatchArgs extends com.pulumi.resources.ResourceArgs
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VolumeAttachmentSourcePatchArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static VolumeAttachmentSourcePatchArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeAttachmentSourcePatchArgs.Builder
builder()
static VolumeAttachmentSourcePatchArgs.Builder
builder(VolumeAttachmentSourcePatchArgs defaults)
java.util.Optional<com.pulumi.core.Output<PersistentVolumeSpecPatchArgs>>
inlineVolumeSpec()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
persistentVolumeName()
-
-
-
Field Detail
-
Empty
public static final VolumeAttachmentSourcePatchArgs Empty
-
-
Method Detail
-
inlineVolumeSpec
public java.util.Optional<com.pulumi.core.Output<PersistentVolumeSpecPatchArgs>> inlineVolumeSpec()
- Returns:
- inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
-
persistentVolumeName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> persistentVolumeName()
- Returns:
- persistentVolumeName represents the name of the persistent volume to attach.
-
builder
public static VolumeAttachmentSourcePatchArgs.Builder builder()
-
builder
public static VolumeAttachmentSourcePatchArgs.Builder builder(VolumeAttachmentSourcePatchArgs defaults)
-
-