Capacity

Capacity
Capacity

Represents a usage and capacity information of a Resource

JSON Example
{
    "cpu": {
        "total": {
            "unit": "string",
            "value": "number"
        },
        "used": {
            "unit": "string",
            "value": "number"
        }
    },
    "memory": {
        "total": {
            "unit": "string",
            "value": "number"
        },
        "used": {
            "unit": "string",
            "value": "number"
        }
    },
    "storage": {
        "total": {
            "unit": "string",
            "value": "number"
        },
        "used": {
            "unit": "string",
            "value": "number"
        }
    }
}
cpu
Optional

Represents a cpu metric with used and total for a resource

memory
Optional

Represents a memory metric with used and total for a resource

storage
Optional

Represents a storage metric with used and total for a resource