次の方法で共有


PersistentVolumeSpecV1.HostPath Property

Definition

Gets or sets the configuration for a HostPath volume in a Kubernetes PersistentVolume. This property specifies the details of a HostPath volume source, allowing a directory from the host node file system to be mounted into a pod's container.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to