Class V1ISCSIPersistentVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ISCSIPersistentVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ISCSIPersistentVolumeSource
extends Object
ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddportalsItem
(String portalsItem) Add an item to the portals property in a chainable fashion.chapAuthDiscovery
(Boolean chapAuthDiscovery) Set chapAuthDiscovery in a chainable fashion.chapAuthSession
(Boolean chapAuthSession) Set chapAuthSession in a chainable fashion.boolean
Set fsType in a chainable fashion.chapAuthDiscovery defines whether support iSCSI Discovery CHAP authenticationchapAuthSession defines whether support iSCSI Session CHAP authenticationfsType is the filesystem type of the volume that you want to mount.initiatorName is the custom iSCSI Initiator Name.getIqn()
iqn is Target iSCSI Qualified Name.iscsiInterface is the interface Name that uses an iSCSI transport.getLun()
lun is iSCSI Target Lun number.portals is the iSCSI Target Portal List.readOnly here will force the ReadOnly setting in VolumeMounts.targetPortal is iSCSI Target Portal.int
hashCode()
initiatorName
(String initiatorName) Set initiatorName in a chainable fashion.Set iqn in a chainable fashion.iscsiInterface
(String iscsiInterface) Set iscsiInterface in a chainable fashion.Set lun in a chainable fashion.Set portals in a chainable fashion.Set readOnly in a chainable fashion.secretRef
(V1SecretReference secretRef) Set secretRef in a chainable fashion.void
setChapAuthDiscovery
(Boolean chapAuthDiscovery) Set the chapAuthDiscovery property valuevoid
setChapAuthSession
(Boolean chapAuthSession) Set the chapAuthSession property valuevoid
Set the fsType property valuevoid
setInitiatorName
(String initiatorName) Set the initiatorName property valuevoid
Set the iqn property valuevoid
setIscsiInterface
(String iscsiInterface) Set the iscsiInterface property valuevoid
Set the lun property valuevoid
setPortals
(List<String> portals) Set the portals property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
setSecretRef
(V1SecretReference secretRef) Set the secretRef property valuevoid
setTargetPortal
(String targetPortal) Set the targetPortal property valuetargetPortal
(String targetPortal) Set targetPortal in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_CHAP_AUTH_DISCOVERY
- See Also:
-
JSON_PROPERTY_CHAP_AUTH_SESSION
- See Also:
-
JSON_PROPERTY_FS_TYPE
- See Also:
-
JSON_PROPERTY_INITIATOR_NAME
- See Also:
-
JSON_PROPERTY_IQN
- See Also:
-
JSON_PROPERTY_ISCSI_INTERFACE
- See Also:
-
JSON_PROPERTY_LUN
- See Also:
-
JSON_PROPERTY_PORTALS
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
JSON_PROPERTY_SECRET_REF
- See Also:
-
JSON_PROPERTY_TARGET_PORTAL
- See Also:
-
-
Constructor Details
-
V1ISCSIPersistentVolumeSource
-
-
Method Details
-
getChapAuthDiscovery
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication- Returns:
- the chapAuthDiscovery property value
-
setChapAuthDiscovery
Set the chapAuthDiscovery property value -
chapAuthDiscovery
Set chapAuthDiscovery in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
getChapAuthSession
chapAuthSession defines whether support iSCSI Session CHAP authentication- Returns:
- the chapAuthSession property value
-
setChapAuthSession
Set the chapAuthSession property value -
chapAuthSession
Set chapAuthSession in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
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- Returns:
- the fsType property value
-
setFsType
Set the fsType property value -
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
getInitiatorName
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.- Returns:
- the initiatorName property value
-
setInitiatorName
Set the initiatorName property value -
initiatorName
Set initiatorName in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
getIqn
iqn is Target iSCSI Qualified Name.- Returns:
- the iqn property value
-
setIqn
Set the iqn property value -
iqn
Set iqn in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
getIscsiInterface
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).- Returns:
- the iscsiInterface property value
-
setIscsiInterface
Set the iscsiInterface property value -
iscsiInterface
Set iscsiInterface in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
getLun
lun is iSCSI Target Lun number.- Returns:
- the lun property value
-
setLun
Set the lun property value -
lun
Set lun in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
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).- Returns:
- the portals property value
-
setPortals
Set the portals property value -
portals
Set portals in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
addportalsItem
Add an item to the portals property in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
getReadOnly
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.- Returns:
- the readOnly property value
-
setReadOnly
Set the readOnly property value -
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
getSecretRef
- Returns:
- the secretRef property value
-
setSecretRef
Set the secretRef property value -
secretRef
Set secretRef in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
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).- Returns:
- the targetPortal property value
-
setTargetPortal
Set the targetPortal property value -
targetPortal
Set targetPortal in a chainable fashion.- Returns:
- The same instance of V1ISCSIPersistentVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-