View disk space information
Retrieve disk space metrics and status for the root filesystem of the Tanzu Ops Manager appliance. Uses the same thresholds as the UI (recommended 50 GiB total, 10 GiB free; insufficient total when under 48 GiB).
OK
{
"total_gigabytes": "number",
"free_gigabytes": "number",
"insufficient_disk_size": false,
"insufficient_free_disk_space": false,
"recommended_disk_size_gigabytes": 0,
"recommended_free_disk_space_gigabytes": 0
}
Total disk size in GiB (root filesystem) rounded down to nearest integer.
Available free disk space in GiB rounded down to nearest integer.
True if total disk size is less than the minimum required.
True if free disk space is less than the minimum required.
Recommended total disk size in GiB.
Recommended free disk space in GiB.
Setup is not completed
{
"errors": {
"errors": [
"string"
]
}
}
errors
Unauthorized
{
"errors": {
"errors": [
"string"
]
}
}
errors
Forbidden
{
"errors": {
"errors": [
"string"
]
}
}
errors
Disk space information could not be determined
{
"errors": {
"errors": [
"string"
]
}
}
errors
curl -H 'Authorization: <value>' https://{api_host}/api/v0/diagnostic/disk_space