Share via


PersistentVolumeClaim.Spec Property

Definition

Gets or sets the specification of 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

Defines the desired properties and configuration of the PersistentVolumeClaim. This includes storage requirements, access modes, data sources, and selectors. The PersistentVolumeClaimSpecV1 type provides a complete set of configurable settings for the PVC.

Applies to