ISCSIPersistentVolumeSourceArgs

data class ISCSIPersistentVolumeSourceArgs(val chapAuthDiscovery: Output<Boolean>? = null, val chapAuthSession: Output<Boolean>? = null, val fsType: Output<String>? = null, val initiatorName: Output<String>? = null, val iqn: Output<String>, val iscsiInterface: Output<String>? = null, val lun: Output<Int>, val portals: Output<List<String>>? = null, val readOnly: Output<Boolean>? = null, val secretRef: Output<SecretReferenceArgs>? = null, val targetPortal: Output<String>) : ConvertibleToJava<ISCSIPersistentVolumeSourceArgs>

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

Constructors

Link copied to clipboard
constructor(chapAuthDiscovery: Output<Boolean>? = null, chapAuthSession: Output<Boolean>? = null, fsType: Output<String>? = null, initiatorName: Output<String>? = null, iqn: Output<String>, iscsiInterface: Output<String>? = null, lun: Output<Int>, portals: Output<List<String>>? = null, readOnly: Output<Boolean>? = null, secretRef: Output<SecretReferenceArgs>? = null, targetPortal: Output<String>)

Properties

Link copied to clipboard
val chapAuthDiscovery: Output<Boolean>? = null

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

Link copied to clipboard
val chapAuthSession: Output<Boolean>? = null

chapAuthSession defines whether support iSCSI Session CHAP authentication

Link copied to clipboard
val fsType: Output<String>? = null

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

Link copied to clipboard
val initiatorName: Output<String>? = null

initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.

Link copied to clipboard
val iqn: Output<String>

iqn is Target iSCSI Qualified Name.

Link copied to clipboard
val iscsiInterface: Output<String>? = null

iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).

Link copied to clipboard
val lun: Output<Int>

lun is iSCSI Target Lun number.

Link copied to clipboard
val portals: Output<List<String>>? = null

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).

Link copied to clipboard
val readOnly: Output<Boolean>? = null

readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.

Link copied to clipboard
val secretRef: Output<SecretReferenceArgs>? = null

secretRef is the CHAP Secret for iSCSI target and initiator authentication

Link copied to clipboard
val targetPortal: Output<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).

Functions

Link copied to clipboard
open override fun toJava(): ISCSIPersistentVolumeSourceArgs