Share via


PersistentVolumeClaimVolumeSourceV1 Class

Definition

Represents the configuration for mounting a PersistentVolumeClaim as a volume source.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class PersistentVolumeClaimVolumeSourceV1
[<YamlDotNet.Serialization.YamlSerializable>]
type PersistentVolumeClaimVolumeSourceV1 = class
Public NotInheritable Class PersistentVolumeClaimVolumeSourceV1
Inheritance
PersistentVolumeClaimVolumeSourceV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Constructors

PersistentVolumeClaimVolumeSourceV1()

Properties

ClaimName

Gets or sets the name of the Persistent Volume Claim (PVC). This property specifies the name of the PVC that will be used as a volume source.

ReadOnly

Specifies whether the volume is mounted as read-only. If set to true, write operations on the volume are disabled. If not set or set to false, the volume can be mounted with write permissions.

Applies to