PersistentVolumeClaimVolumeSourceV1
Class sealed net10.0
Represents the configuration for mounting a PersistentVolumeClaim as a volume source.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class PersistentVolumeClaimVolumeSourceV1{ // ...}Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesClaimNameget; setstring 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.
ReadOnlyget; setbool? 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.