Show / Hide Table of Contents

Class V1StorageOSPersistentVolumeSource

Represents a StorageOS persistent volume resource.

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

Constructors

View Source

V1StorageOSPersistentVolumeSource()

Declaration
public V1StorageOSPersistentVolumeSource()
View Source

V1StorageOSPersistentVolumeSource(V1StorageOSPersistentVolumeSource)

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

Properties

View Source

EqualityContract

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

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
View Source

ReadOnlyProperty

readOnly 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?
View Source

SecretRef

secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.

Declaration
[JsonPropertyName("secretRef")]
public V1ObjectReference SecretRef { get; set; }
Property Value
Type Description
V1ObjectReference
View Source

VolumeName

volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.

Declaration
[JsonPropertyName("volumeName")]
public string VolumeName { get; set; }
Property Value
Type Description
string
View Source

VolumeNamespace

volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.

Declaration
[JsonPropertyName("volumeNamespace")]
public string VolumeNamespace { 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(V1StorageOSPersistentVolumeSource?)

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

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

operator !=(V1StorageOSPersistentVolumeSource?, V1StorageOSPersistentVolumeSource?)

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

Implements

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