ISCSIPersistentVolumeSource class

ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

Constructors

ISCSIPersistentVolumeSource({Input<bool>? chapAuthDiscovery, Input<bool>? chapAuthSession, Input<String>? fsType, Input<String>? initiatorName, required Input<String> iqn, Input<String>? iscsiInterface, required Input<int> lun, Input<List<String>>? portals, Input<bool>? readOnly, Input<SecretReference>? secretRef, required Input<String> targetPortal})
Creates a new ISCSIPersistentVolumeSource. chapAuthDiscovery chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication chapAuthSession chapAuthSession defines whether support iSCSI Session CHAP authentication fsType 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 initiatorName initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. iqn iqn is Target iSCSI Qualified Name. iscsiInterface iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). lun lun is iSCSI Target Lun number. portals 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). readOnly readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. secretRef secretRef is the CHAP Secret for iSCSI target and initiator authentication targetPortal 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).
const
ISCSIPersistentVolumeSource.fromMap(Map<String, dynamic> map)
factory

Properties

chapAuthDiscovery → Input<bool>?
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
final
chapAuthSession → Input<bool>?
chapAuthSession defines whether support iSCSI Session CHAP authentication
final
fsType → Input<String>?
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
final
hashCode → int
The hash code for this object.
no setterinherited
initiatorName → Input<String>?
initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.
final
iqn → Input<String>
iqn is Target iSCSI Qualified Name.
final
iscsiInterface → Input<String>?
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
final
lun → Input<int>
lun is iSCSI Target Lun number.
final
portals → Input<List<String>>?
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).
final
readOnly → Input<bool>?
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretRef → Input<SecretReference>?
secretRef is the CHAP Secret for iSCSI target and initiator authentication
final
targetPortal → Input<String>
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).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited