Skip to content

dsdk / v1.47 / Volume

Type Alias: Volume ​

Volume: object

Type declaration ​

NameTypeDescription
ClusterVolume?ClusterVolume-
CreatedAt?stringDate/Time the volume was created.
DriverstringName of the volume driver used by the volume.
LabelsobjectUser-defined key/value metadata.
MountpointstringMount path of the volume on the host.
NamestringName of the volume.
OptionsobjectThe driver specific options used when creating the volume.
Scope"local" | "global"The level at which the volume exists. Either global for cluster-wide, or local for machine level.
Status?objectLow-level details about the volume, provided by the volume driver. Details are returned as a map with key/value pairs: {"key":"value","key2":"value2"}. The Status field is optional, and is omitted if the volume driver does not support this feature.
UsageData?object | nullUsage details about the volume. This information is used by the GET /system/df endpoint, and omitted in other endpoints.