Developer Documentation

ResourcePoolResourceAllocationUpdateSpec

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


Properties

Required Property Name Type Description
optional expandable_reservation boolean

In a resource pool with an expandable reservation, the reservation can grow beyond the specified value, if the parent resource pool has unreserved resources. A non-expandable reservation is called a fixed reservation. If unset or empty, ResourcePool.ResourceAllocationUpdateSpec.expandable-reservation will be set to true.

optional limit integer

The utilization of a resource pool will not exceed this limit, even if there are available resources. This is typically used to ensure a consistent performance of resource pools independent of available resources. If set to -1, then there is no fixed limit on resource usage (only bounded by available resources and shares). Units are MB for memory, and MHz for CPU. If unset or empty, ResourcePool.ResourceAllocationUpdateSpec.limit will be set to -1.

optional reservation integer

Amount of resource that is guaranteed available to a resource pool. Reserved resources are not wasted if they are not used. If the utilization is less than the reservation, the resources can be utilized by other running virtual machines. Units are MB fo memory, and MHz for CPU. If unset or empty, ResourcePool.ResourceAllocationUpdateSpec.reservation will be set to 0.

optional shares ResourcePoolSharesInfo

Shares are used in case of resource contention. If unset or empty, ResourcePool.ResourceAllocationUpdateSpec.shares will be set to ‘NORMAL’.

Feedback

Was this page helpful?