ResourcePoolUpdateSpec

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


Properties

Required Property Name Type Description
optional cpu_allocation ResourcePoolResourceAllocationUpdateSpec

Resource allocation for CPU. if unset or empty, the CPU allocation of the resource pool will not be changed.

optional memory_allocation ResourcePoolResourceAllocationUpdateSpec

Resource allocation for memory. if unset or empty, the memory allocation of the resource pool will not be changed.

optional name string

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

JSON Example

{
    "cpu_allocation": {
        "expandable_reservation": false,
        "limit": 0,
        "reservation": 0,
        "shares": {
            "level": "enum",
            "shares": 0
        }
    },
    "memory_allocation": {
        "expandable_reservation": false,
        "limit": 0,
        "reservation": 0,
        "shares": {
            "level": "enum",
            "shares": 0
        }
    },
    "name": "string"
}
Feedback

Was this page helpful?