Class V1StorageOSPersistentVolumeSource
Represents a StorageOS persistent volume resource.
Inheritance
V1StorageOSPersistentVolumeSource
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
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
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
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
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
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
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
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1StorageOSPersistentVolumeSource?)
Declaration
public virtual bool Equals(V1StorageOSPersistentVolumeSource? 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 ==(V1StorageOSPersistentVolumeSource?, V1StorageOSPersistentVolumeSource?)
Declaration
public static bool operator ==(V1StorageOSPersistentVolumeSource? left, V1StorageOSPersistentVolumeSource? right)
Parameters
Returns
View Source
operator !=(V1StorageOSPersistentVolumeSource?, V1StorageOSPersistentVolumeSource?)
Declaration
public static bool operator !=(V1StorageOSPersistentVolumeSource? left, V1StorageOSPersistentVolumeSource? right)
Parameters
Returns
Implements