The Shares 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.


level Required

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.

Possible values are: LOWNORMALHIGHCUSTOM

shares Required

When Shares.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.

JSON Example

    "level": "enum",
    "shares": 0

Was this page helpful?