Skip to content
DocsTry Aspire
DocsTry

KindMountModel Properties

ClassProperties5 members
Represents a host volume mount into a Kind node container.
ContainerPathSection titled ContainerPathnullablestring?
Gets or sets the path of the mount within the container.
public string? ContainerPath { get; set; }
HostPathSection titled HostPathnullablestring?
Gets or sets the path of the mount on the host.
public string? HostPath { get; set; }
PropagationSection titled Propagationnullablestring?
Gets or sets the mount propagation mode (e.g., "None", "HostToContainer", or "Bidirectional"). When null, no propagation is set.
public string? Propagation { get; set; }
ReadOnlySection titled ReadOnlynullablebool?
Gets or sets whether the mount is read-only. When null, the mount is read-write.
public bool? ReadOnly { get; set; }
SelinuxRelabelSection titled SelinuxRelabelnullablebool?
Gets or sets whether the mount needs SELinux relabeling. When null, no relabeling is performed.
public bool? SelinuxRelabel { get; set; }