ISCSIVolumeSource class
Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
Constructors
-
ISCSIVolumeSource({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< ? portals, Input<String> >bool> ? readOnly, Input<LocalObjectReference> ? secretRef, required Input<String> targetPortal}) -
Creates a new ISCSIVolumeSource.
chapAuthDiscoverychapAuthDiscovery defines whether support iSCSI Discovery CHAP authenticationchapAuthSessionchapAuthSession defines whether support iSCSI Session CHAP authenticationfsTypefsType 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#iscsiinitiatorNameinitiatorName 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.iqniqn is the target iSCSI Qualified Name.iscsiInterfaceiscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).lunlun represents iSCSI Target Lun number.portalsportals 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).readOnlyreadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.secretRefsecretRef is the CHAP Secret for iSCSI target and initiator authenticationtargetPortaltargetPortal 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 -
ISCSIVolumeSource.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 the 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 represents 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<
LocalObjectReference> ? -
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