Skip to content
Docs Try Aspire

PersistentVolumeClaimTemplateV1 Properties

Class Properties 2 members
Represents a template for creating a PersistentVolumeClaim (PVC) in a Kubernetes environment.
Gets or sets the metadata for the PersistentVolumeClaim template. The metadata provides additional information about the resource, including fields such as name, namespace, labels, annotations, and more.
public ObjectMetaV1 Metadata { get; set; }
Gets or sets the specification for the PersistentVolumeClaim (PVC) resource.
public PersistentVolumeClaimSpecV1 Spec { get; set; }
The specification defines the desired state of the PVC, including attributes like access modes, storage class, requested resources, and volume configurations. This property corresponds to the `spec` field of a Kubernetes PersistentVolumeClaim resource.