Show / Hide Table of Contents

Class V1ISCSIPersistentVolumeSource

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

Inheritance
object
V1ISCSIPersistentVolumeSource
Implements
IEquatable<V1ISCSIPersistentVolumeSource>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1ISCSIPersistentVolumeSource : IEquatable<V1ISCSIPersistentVolumeSource>

Constructors

View Source

V1ISCSIPersistentVolumeSource()

Declaration
public V1ISCSIPersistentVolumeSource()
View Source

V1ISCSIPersistentVolumeSource(V1ISCSIPersistentVolumeSource)

Declaration
protected V1ISCSIPersistentVolumeSource(V1ISCSIPersistentVolumeSource original)
Parameters
Type Name Description
V1ISCSIPersistentVolumeSource 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 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 is 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 V1SecretReference SecretRef { get; set; }
Property Value
Type Description
V1SecretReference
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(V1ISCSIPersistentVolumeSource?)

Declaration
public virtual bool Equals(V1ISCSIPersistentVolumeSource? other)
Parameters
Type Name Description
V1ISCSIPersistentVolumeSource 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 ==(V1ISCSIPersistentVolumeSource?, V1ISCSIPersistentVolumeSource?)

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

operator !=(V1ISCSIPersistentVolumeSource?, V1ISCSIPersistentVolumeSource?)

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

Implements

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