VolumeUsageData

@Serializable
data class VolumeUsageData(val propertySize: Long = -1L, val refCount: Long = -1L)

Usage details about the volume. This information is used by the GET /system/df endpoint, and omitted in other endpoints.

Parameters

propertySize

Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the \"local\" volume driver. For volumes created with other volume drivers, this field is set to -1 (\"not available\")

refCount

The number of containers referencing this volume. This field is set to -1 if the reference-count is not available.

Constructors

Link copied to clipboard
constructor(propertySize: Long = -1L, refCount: Long = -1L)

Properties

Link copied to clipboard
@SerialName(value = "Size")
@Required
val propertySize: Long
Link copied to clipboard
@SerialName(value = "RefCount")
@Required
val refCount: Long