SharesOption

SharesOption
SharesOption

Specification of shares.

Object of this class specifies value ranges for object of instance SharesInfo

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "sharesOption": {
        "_typeName": "string",
        "valueIsReadonly": false,
        "min": 0,
        "max": 0,
        "defaultValue": 0
    },
    "defaultLevel": "string"
}
sharesOption
Required

The IntOption data object type is used to define the minimum, maximum, and default values for an integer option.

defaultLevel
Required

Simplified shares notation.

These designations have different meanings for different resources.

Possible values:

  • low: For CPU: Shares = 500 * number of virtual CPUs
    For Memory: Shares = 5 * virtual machine memory size in megabytes
    For Disk: Shares = 500
    For Network: Shares = 0.25 * networkResourcePoolHighShareValue
  • normal: For CPU: Shares = 1000 * number of virtual CPUs
    For Memory: Shares = 10 * virtual machine memory size in megabytes
    For Disk: Shares = 1000
    For Network: Shares = 0.5 * networkResourcePoolHighShareValue
  • high: For CPU: Shares = 2000 * number of virtual CPUs
    For Memory: Shares = 20 * virtual machine memory size in megabytes
    For Disk: Shares = 2000
    For Network: Shares = networkResourcePoolHighShareValue
  • custom: If you specify custom for the level property, when there is resource contention the Server uses the shares value to determine resource allocation.
Possible values are : low, normal, high, custom,