Share via


VolumeV1.EmptyDir Property

Definition

Gets or sets the configuration for an EmptyDir volume source in Kubernetes. An EmptyDir volume is a temporary storage directory that is created empty when a pod is assigned to a node. The volume's contents only exist for the lifetime of the pod and will be deleted when the pod is removed.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to