次の方法で共有


PersistentVolumeClaimSpecV1.DataSource Property

Definition

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.

Applies to