Share via


VolumeDeviceV1 Class

Definition

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.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class VolumeDeviceV1
[<YamlDotNet.Serialization.YamlSerializable>]
type VolumeDeviceV1 = class
Public NotInheritable Class VolumeDeviceV1
Inheritance
VolumeDeviceV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Constructors

VolumeDeviceV1()

Properties

DevicePath

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.

Name

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.

Applies to