VolumeDeviceV1
Class sealed net10.0
Represents a raw block device that is mapped into a Kubernetes container. This class is used to define the name of a volume and the device path in which the volume is mapped on the container.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class VolumeDeviceV1{ // ...}Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesDevicePathget; setstring Gets or sets the path inside the container where the device will be accessible. This property is required to specify the location in the container's file system where the device should be mounted or linked.
Nameget; setstring Represents the name of the volume device. This is a unique identifier for the volume device and is used to reference the device within the context of a Kubernetes resource.