Class V1ISCSIVolumeSource
Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once.
ISCSI volumes support ownership management and SELinux relabeling.
Inheritance
V1ISCSIVolumeSource
Assembly: KubernetesClient.dll
Syntax
public record V1ISCSIVolumeSource : IEquatable<V1ISCSIVolumeSource>
Constructors
View Source
V1ISCSIVolumeSource()
Declaration
public V1ISCSIVolumeSource()
View Source
V1ISCSIVolumeSource(V1ISCSIVolumeSource)
Declaration
protected V1ISCSIVolumeSource(V1ISCSIVolumeSource original)
Parameters
Properties
View Source
ChapAuthDiscovery
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
Declaration
[JsonPropertyName("chapAuthDiscovery")]
public bool? ChapAuthDiscovery { get; set; }
Property Value
View Source
ChapAuthSession
chapAuthSession defines whether support iSCSI Session CHAP authentication
Declaration
[JsonPropertyName("chapAuthSession")]
public bool? ChapAuthSession { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
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
Declaration
[JsonPropertyName("fsType")]
public string FsType { get; set; }
Property Value
View Source
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.
Declaration
[JsonPropertyName("initiatorName")]
public string InitiatorName { get; set; }
Property Value
View Source
Iqn
iqn is the target iSCSI Qualified Name.
Declaration
[JsonPropertyName("iqn")]
public string Iqn { get; set; }
Property Value
View Source
IscsiInterface
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to
'default' (tcp).
Declaration
[JsonPropertyName("iscsiInterface")]
public string IscsiInterface { get; set; }
Property Value
View Source
Lun
lun represents iSCSI Target Lun number.
Declaration
[JsonPropertyName("lun")]
public int Lun { get; set; }
Property Value
View Source
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).
Declaration
[JsonPropertyName("portals")]
public IList<string> Portals { get; set; }
Property Value
View Source
ReadOnlyProperty
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to
false.
Declaration
[JsonPropertyName("readOnly")]
public bool? ReadOnlyProperty { get; set; }
Property Value
View Source
SecretRef
secretRef is the CHAP Secret for iSCSI target and initiator authentication
Declaration
[JsonPropertyName("secretRef")]
public V1LocalObjectReference SecretRef { get; set; }
Property Value
View Source
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).
Declaration
[JsonPropertyName("targetPortal")]
public string TargetPortal { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1ISCSIVolumeSource?)
Declaration
public virtual bool Equals(V1ISCSIVolumeSource? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1ISCSIVolumeSource?, V1ISCSIVolumeSource?)
Declaration
public static bool operator ==(V1ISCSIVolumeSource? left, V1ISCSIVolumeSource? right)
Parameters
Returns
View Source
operator !=(V1ISCSIVolumeSource?, V1ISCSIVolumeSource?)
Declaration
public static bool operator !=(V1ISCSIVolumeSource? left, V1ISCSIVolumeSource? right)
Parameters
Returns
Implements