Share via


PersistentVolumeClaimTemplateV1.Spec Property

Definition

Gets or sets the specification for the PersistentVolumeClaim (PVC) resource.

[YamlDotNet.Serialization.YamlMember(Alias="spec")]
public Aspire.Hosting.Kubernetes.Resources.PersistentVolumeClaimSpecV1 Spec { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="spec")>]
member this.Spec : Aspire.Hosting.Kubernetes.Resources.PersistentVolumeClaimSpecV1 with get, set
Public Property Spec As PersistentVolumeClaimSpecV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

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.

Applies to