Class 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.
    • 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.