Capacity

Capacity
Capacity

Represents a usage and capacity information of a Resource

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

Represents CPU information

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