Show / Hide Table of Contents

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
object
V1ISCSIVolumeSource
Implements
IEquatable<V1ISCSIVolumeSource>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
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
Type Name Description
V1ISCSIVolumeSource original

Properties

View Source

ChapAuthDiscovery

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

Declaration
[JsonPropertyName("chapAuthDiscovery")]
public bool? ChapAuthDiscovery { get; set; }
Property Value
Type Description
bool?
View Source

ChapAuthSession

chapAuthSession defines whether support iSCSI Session CHAP authentication

Declaration
[JsonPropertyName("chapAuthSession")]
public bool? ChapAuthSession { get; set; }
Property Value
Type Description
bool?
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
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
Type Description
string
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
Type Description
string
View Source

Iqn

iqn is the target iSCSI Qualified Name.

Declaration
[JsonPropertyName("iqn")]
public string Iqn { get; set; }
Property Value
Type Description
string
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
Type Description
string
View Source

Lun

lun represents iSCSI Target Lun number.

Declaration
[JsonPropertyName("lun")]
public int Lun { get; set; }
Property Value
Type Description
int
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
Type Description
IList<string>
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
Type Description
bool?
View Source

SecretRef

secretRef is the CHAP Secret for iSCSI target and initiator authentication

Declaration
[JsonPropertyName("secretRef")]
public V1LocalObjectReference SecretRef { get; set; }
Property Value
Type Description
V1LocalObjectReference
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
Type Description
string

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1ISCSIVolumeSource?)

Declaration
public virtual bool Equals(V1ISCSIVolumeSource? other)
Parameters
Type Name Description
V1ISCSIVolumeSource other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1ISCSIVolumeSource?, V1ISCSIVolumeSource?)

Declaration
public static bool operator ==(V1ISCSIVolumeSource? left, V1ISCSIVolumeSource? right)
Parameters
Type Name Description
V1ISCSIVolumeSource left
V1ISCSIVolumeSource right
Returns
Type Description
bool
View Source

operator !=(V1ISCSIVolumeSource?, V1ISCSIVolumeSource?)

Declaration
public static bool operator !=(V1ISCSIVolumeSource? left, V1ISCSIVolumeSource? right)
Parameters
Type Name Description
V1ISCSIVolumeSource left
V1ISCSIVolumeSource right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX