PersistentVolumeClaimTemplateV1
Class sealed net10.0
Represents a template for creating a PersistentVolumeClaim (PVC) in a Kubernetes environment.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class PersistentVolumeClaimTemplateV1{ // ...}Remarks
Section titled Remarks This class allows defining metadata and specification for a PersistentVolumeClaim. It is typically used in scenarios where PVCs need to be dynamically created, such as in the context of ephemeral volumes or StatefulSets.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesMetadataget; set 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.
Specget; set Gets or sets the specification for the PersistentVolumeClaim (PVC) resource.