Interface IscsiVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IscsiVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.558Z") @Stability(Stable) public interface IscsiVolumeSource extends software.amazon.jsii.JsiiSerializable
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 classIscsiVolumeSource.BuilderA builder forIscsiVolumeSourcestatic classIscsiVolumeSource.Jsii$ProxyAn implementation forIscsiVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static IscsiVolumeSource.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 the target iSCSI Qualified Name.default StringgetIscsiInterface()iscsiInterface is the interface Name that uses an iSCSI transport.NumbergetLun()lun represents 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 LocalObjectReferencegetSecretRef()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 the target iSCSI Qualified Name.
-
getLun
@Stability(Stable) @NotNull Number getLun()
lun represents 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 LocalObjectReference getSecretRef()
secretRef is the CHAP Secret for iSCSI target and initiator authentication.
-
builder
@Stability(Stable) static IscsiVolumeSource.Builder builder()
- Returns:
- a
IscsiVolumeSource.BuilderofIscsiVolumeSource
-
-