Class GCEPersistentDiskPersistentVolume

  • All Implemented Interfaces:
    IPersistentVolume, IResource, IStorage, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

    @Generated(value="jsii-pacmak/1.57.0 (build f614666)",
               date="2022-04-26T09:02:10.471Z")
    @Stability(Stable)
    public class GCEPersistentDiskPersistentVolume
    extends PersistentVolume
    GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

    Provisioned by an admin.

    • Constructor Detail

      • GCEPersistentDiskPersistentVolume

        protected GCEPersistentDiskPersistentVolume​(software.amazon.jsii.JsiiObjectRef objRef)
      • GCEPersistentDiskPersistentVolume

        protected GCEPersistentDiskPersistentVolume​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • GCEPersistentDiskPersistentVolume

        @Stability(Stable)
        public GCEPersistentDiskPersistentVolume​(@NotNull
                                                 software.constructs.Construct scope,
                                                 @NotNull
                                                 String id,
                                                 @NotNull
                                                 GCEPersistentDiskPersistentVolumeProps props)
        Parameters:
        scope - This parameter is required.
        id - This parameter is required.
        props - This parameter is required.
    • Method Detail

      • getFsType

        @Stability(Stable)
        @NotNull
        public String getFsType()
        File system type of this volume.
      • getPdName

        @Stability(Stable)
        @NotNull
        public String getPdName()
        PD resource in GCE of this volume.
      • getReadOnly

        @Stability(Stable)
        @NotNull
        public Boolean getReadOnly()
        Whether or not it is mounted as a read-only volume.
      • getPartition

        @Stability(Stable)
        @Nullable
        public Number getPartition()
        Partition of this volume.