Show / Hide Table of Contents

Class V1FCVolumeSource

Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.

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

Constructors

V1FCVolumeSource()

Declaration
public V1FCVolumeSource()

V1FCVolumeSource(V1FCVolumeSource)

Declaration
protected V1FCVolumeSource(V1FCVolumeSource original)
Parameters
Type Name Description
V1FCVolumeSource original

Properties

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

FsType

fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

Declaration
[JsonPropertyName("fsType")]
public string FsType { get; set; }
Property Value
Type Description
string

Lun

lun is Optional: FC target lun number

Declaration
[JsonPropertyName("lun")]
public int? Lun { get; set; }
Property Value
Type Description
int?

ReadOnlyProperty

readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

Declaration
[JsonPropertyName("readOnly")]
public bool? ReadOnlyProperty { get; set; }
Property Value
Type Description
bool?

TargetWWNs

targetWWNs is Optional: FC target worldwide names (WWNs)

Declaration
[JsonPropertyName("targetWWNs")]
public IList<string> TargetWWNs { get; set; }
Property Value
Type Description
IList<string>

Wwids

wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.

Declaration
[JsonPropertyName("wwids")]
public IList<string> Wwids { get; set; }
Property Value
Type Description
IList<string>

Methods

Equals(object?)

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

Equals(V1FCVolumeSource?)

Declaration
public virtual bool Equals(V1FCVolumeSource? other)
Parameters
Type Name Description
V1FCVolumeSource other
Returns
Type Description
bool

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

operator ==(V1FCVolumeSource?, V1FCVolumeSource?)

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

operator !=(V1FCVolumeSource?, V1FCVolumeSource?)

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

Implements

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