ResourcePool_CreateSpec

ResourcePool_CreateSpec
ResourcePool_CreateSpec

The #CreateSpec structure contains information used to create a resource pool, see ResourcePool.create.

JSON Example
{
    "name": "string",
    "parent": "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
Required

Name of the resource pool.

string
parent
Required

Parent of the created resource pool. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ResourcePool. When operations return a value of this structure as a result, the field will be an identifier for the resource type: ResourcePool.

cpu_allocation
Optional

The ResourcePool.ResourceAllocationCreateSpec structure contains resource allocation information used to create a resource pool, see ResourcePool.create.

memory_allocation
Optional

The ResourcePool.ResourceAllocationCreateSpec structure contains resource allocation information used to create a resource pool, see ResourcePool.create.