Skip to content
Docs Try Aspire

VolumeDeviceV1 Properties

Class Properties 2 members
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.
DevicePath Section titled DevicePath string
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.
public string DevicePath { get; set; }
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.
public string Name { get; set; }