PersistentVolumeClaimTemplateV1.Spec Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.