Interface IscsiPersistentVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IscsiPersistentVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.557Z") @Stability(Stable) public interface IscsiPersistentVolumeSource extends software.amazon.jsii.JsiiSerializable
ISCSIPersistentVolumeSource represents an ISCSI disk.ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIscsiPersistentVolumeSource.BuilderA builder forIscsiPersistentVolumeSourcestatic classIscsiPersistentVolumeSource.Jsii$ProxyAn implementation forIscsiPersistentVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static IscsiPersistentVolumeSource.Builderbuilder()default BooleangetChapAuthDiscovery()chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication.default BooleangetChapAuthSession()chapAuthSession defines whether support iSCSI Session CHAP authentication.default StringgetFsType()fsType is the filesystem type of the volume that you want to mount.default StringgetInitiatorName()initiatorName is the custom iSCSI Initiator Name.StringgetIqn()iqn is Target iSCSI Qualified Name.default StringgetIscsiInterface()iscsiInterface is the interface Name that uses an iSCSI transport.NumbergetLun()lun is iSCSI Target Lun number.default List<String>getPortals()portals is the iSCSI Target Portal List.default BooleangetReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.default SecretReferencegetSecretRef()secretRef is the CHAP Secret for iSCSI target and initiator authentication.StringgetTargetPortal()targetPortal is iSCSI Target Portal.
-
-
-
Method Detail
-
getIqn
@Stability(Stable) @NotNull String getIqn()
iqn is Target iSCSI Qualified Name.
-
getLun
@Stability(Stable) @NotNull Number getLun()
lun is iSCSI Target Lun number.
-
getTargetPortal
@Stability(Stable) @NotNull String getTargetPortal()
targetPortal is iSCSI Target Portal.The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
-
getChapAuthDiscovery
@Stability(Stable) @Nullable default Boolean getChapAuthDiscovery()
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication.
-
getChapAuthSession
@Stability(Stable) @Nullable default Boolean getChapAuthSession()
chapAuthSession defines whether support iSCSI Session CHAP authentication.
-
getFsType
@Stability(Stable) @Nullable default String getFsType()
fsType is the filesystem type of the volume that you want to mount.Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
-
getInitiatorName
@Stability(Stable) @Nullable default String getInitiatorName()
initiatorName is the custom iSCSI Initiator Name.If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
: will be created for the connection.
-
getIscsiInterface
@Stability(Stable) @Nullable default String getIscsiInterface()
iscsiInterface is the interface Name that uses an iSCSI transport.Defaults to 'default' (tcp).
Default: default' (tcp).
-
getPortals
@Stability(Stable) @Nullable default List<String> getPortals()
portals is the iSCSI Target Portal List.The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
-
getReadOnly
@Stability(Stable) @Nullable default Boolean getReadOnly()
readOnly here will force the ReadOnly setting in VolumeMounts.Defaults to false.
Default: false.
-
getSecretRef
@Stability(Stable) @Nullable default SecretReference getSecretRef()
secretRef is the CHAP Secret for iSCSI target and initiator authentication.
-
builder
@Stability(Stable) static IscsiPersistentVolumeSource.Builder builder()
-
-