Class VolumeAttachmentSourceArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.kubernetes.storage.v1alpha1.inputs.VolumeAttachmentSourceArgs
-
public final class VolumeAttachmentSourceArgs extends com.pulumi.resources.ResourceArgs
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in 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
VolumeAttachmentSourceArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static VolumeAttachmentSourceArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeAttachmentSourceArgs.Builder
builder()
static VolumeAttachmentSourceArgs.Builder
builder(VolumeAttachmentSourceArgs defaults)
java.util.Optional<com.pulumi.core.Output<PersistentVolumeSpecArgs>>
inlineVolumeSpec()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
persistentVolumeName()
-
-
-
Field Detail
-
Empty
public static final VolumeAttachmentSourceArgs Empty
-
-
Method Detail
-
inlineVolumeSpec
public java.util.Optional<com.pulumi.core.Output<PersistentVolumeSpecArgs>> 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 alpha-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:
- Name of the persistent volume to attach.
-
builder
public static VolumeAttachmentSourceArgs.Builder builder()
-
builder
public static VolumeAttachmentSourceArgs.Builder builder(VolumeAttachmentSourceArgs defaults)
-
-