Share via


PersistentVolumeClaimSpecV1.DataSourceRef Property

Definition

Specifies a reference to a data source object for the Persistent Volume Claim (PVC). This property allows referencing an object that can provision the volume dynamically, such as an external volume controller or resource in the Kubernetes cluster.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The referenced resource should match the type specified, and the reference includes details such as kind, name, namespace, and API group of the object. This enables integration with external or heterogeneous resources in a Kubernetes environment.

Applies to