PersistentVolumeClaimSpecV1.DataSource 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.
Represents the data source for a Persistent Volume Claim (PVC) in Kubernetes.
[YamlDotNet.Serialization.YamlMember(Alias="dataSource")]
public Aspire.Hosting.Kubernetes.Resources.TypedLocalObjectReferenceV1 DataSource { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="dataSource")>]
member this.DataSource : Aspire.Hosting.Kubernetes.Resources.TypedLocalObjectReferenceV1 with get, set
Public Property DataSource As TypedLocalObjectReferenceV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The DataSource property is used to specify the reference to an existing resource that serves as the source for the volume. This can be used, for example, to populate a PVC using data from an existing snapshot or another volume object.