ResourcePool_UpdateSpec

ResourcePool_UpdateSpec
ResourcePool_UpdateSpec

The #UpdateSpec structure contains specification for updating the configuration of a resource pool.

JSON Example
{
    "name": "string",
    "cpu_allocation": {
        "reservation": 0,
        "expandable_reservation": false,
        "limit": 0,
        "shares": {
            "level": "string",
            "shares": 0
        }
    },
    "memory_allocation": {
        "reservation": 0,
        "expandable_reservation": false,
        "limit": 0,
        "shares": {
            "level": "string",
            "shares": 0
        }
    }
}
string
name
Optional

Name of the resource pool. if unset or empty, the name of the resource pool will not be changed.

cpu_allocation
Optional

The structure descrives the updates to be made to the resource allocation settings of a resource pool.

memory_allocation
Optional

The structure descrives the updates to be made to the resource allocation settings of a resource pool.