Package org.cdk8s.plus24
Interface GCEPersistentDiskPersistentVolumeProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,PersistentVolumeProps
,ResourceProps
- All Known Implementing Classes:
GCEPersistentDiskPersistentVolumeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-04T02:31:04.851Z") @Stability(Stable) public interface GCEPersistentDiskPersistentVolumeProps extends software.amazon.jsii.JsiiSerializable, PersistentVolumeProps
Properties for `GCEPersistentDiskPersistentVolume`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GCEPersistentDiskPersistentVolumeProps.Builder
A builder forGCEPersistentDiskPersistentVolumeProps
static class
GCEPersistentDiskPersistentVolumeProps.Jsii$Proxy
An implementation forGCEPersistentDiskPersistentVolumeProps
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static GCEPersistentDiskPersistentVolumeProps.Builder
builder()
default String
getFsType()
Filesystem type of the volume that you want to mount.default Number
getPartition()
The partition in the volume that you want to mount.String
getPdName()
Unique name of the PD resource in GCE.default Boolean
getReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".-
Methods inherited from interface org.cdk8s.plus24.PersistentVolumeProps
getAccessModes, getClaim, getMountOptions, getReclaimPolicy, getStorage, getStorageClassName, getVolumeMode
-
Methods inherited from interface org.cdk8s.plus24.ResourceProps
getMetadata
-
-
-
-
Method Detail
-
getPdName
@Stability(Stable) @NotNull String getPdName()
Unique name of the PD resource in GCE.Used to identify the disk in GCE.
-
getFsType
@Stability(Stable) @Nullable default String getFsType()
Filesystem type of the volume that you want to mount.Tip: Ensure that the filesystem type is supported by the host operating system.
Default: 'ext4'
-
getPartition
@Stability(Stable) @Nullable default Number getPartition()
The partition in the volume that you want to mount.If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
Default: - No partition.
-
getReadOnly
@Stability(Stable) @Nullable default Boolean getReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".Default: false
-
builder
@Stability(Stable) static GCEPersistentDiskPersistentVolumeProps.Builder builder()
-
-