Class V1PersistentVolumeClaimVolumeSource
PersistentVolumeClaimVolumeSource references the user's PVC in the same
namespace. This volume finds the bound PV and mounts that volume for the pod. A
PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type
of volume that is owned by someone else (the system).
Inheritance
V1PersistentVolumeClaimVolumeSource
Assembly: KubernetesClient.dll
Syntax
public record V1PersistentVolumeClaimVolumeSource : IEquatable<V1PersistentVolumeClaimVolumeSource>
Constructors
View Source
V1PersistentVolumeClaimVolumeSource()
Declaration
public V1PersistentVolumeClaimVolumeSource()
View Source
V1PersistentVolumeClaimVolumeSource(V1PersistentVolumeClaimVolumeSource)
Declaration
protected V1PersistentVolumeClaimVolumeSource(V1PersistentVolumeClaimVolumeSource original)
Parameters
Properties
View Source
ClaimName
Declaration
[JsonPropertyName("claimName")]
public string ClaimName { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
ReadOnlyProperty
readOnly Will force the ReadOnly setting in VolumeMounts. Default false.
Declaration
[JsonPropertyName("readOnly")]
public bool? ReadOnlyProperty { 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(V1PersistentVolumeClaimVolumeSource?)
Declaration
public virtual bool Equals(V1PersistentVolumeClaimVolumeSource? 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 ==(V1PersistentVolumeClaimVolumeSource?, V1PersistentVolumeClaimVolumeSource?)
Declaration
public static bool operator ==(V1PersistentVolumeClaimVolumeSource? left, V1PersistentVolumeClaimVolumeSource? right)
Parameters
Returns
View Source
operator !=(V1PersistentVolumeClaimVolumeSource?, V1PersistentVolumeClaimVolumeSource?)
Declaration
public static bool operator !=(V1PersistentVolumeClaimVolumeSource? left, V1PersistentVolumeClaimVolumeSource? right)
Parameters
Returns
Implements