ResourcePoolSharesInfo
The ResourcePool.SharesInfo structure provides specification of shares. Shares are used to determine relative allocation between resource consumers. In general, a consumer with more shares gets proportionally more of the resource, subject to certain other constraints.
Properties
The ResourcePool.SharesInfo.Level enumerated type defines the possible values for the allocation level.
LOW : For CPU: Shares = 500 * number of virtual CPUs.
For Memory: Shares = 5 * virtual machine memory size in MB.
NORMAL : For CPU: Shares = 1000 * number of virtual CPUs.
For Memory: Shares = 10 * virtual machine memory size in MB.
HIGH : For CPU: Shares = 2000 * number of virtual CPUs.
For Memory: Shares = 20 * virtual machine memory size in MB.
CUSTOM : If set, in case there is resource contention the server uses the shares value to determine the resource allocation.
Possible values are: LOW , NORMAL , HIGH , CUSTOM
When ResourcePool.SharesInfo.level is set to CUSTOM, it is the number of shares allocated. Otherwise, this value is ignored. There is no unit for this value. It is a relative measure based on the settings for other resource pools.
This field is optional and it is only relevant when the value of ResourcePool.SharesInfo.level is CUSTOM.
JSON Example
{
"level": "LOW"
}