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.


Required Property Name Type Description
required level ResourcePoolSharesInfoLevel Enum

The allocation level. It maps to a pre-determined set of numeric values for shares. If the shares value does not map to a predefined size, then the level is set as CUSTOM.

optional shares integer

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": "enum"

Was this page helpful?