Share via


PersistentVolume.Spec Property

Definition

Gets or sets the specification for the Kubernetes PersistentVolume resource. This property defines the detailed configuration of the PersistentVolume, including storage capacity, access modes, volume mode, node affinity, and reclaim policy. The specification provides granular control over the behavior and capabilities of the PersistentVolume.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to