ResourcePoolRuntimeInfo

ResourcePoolRuntimeInfo
ResourcePoolRuntimeInfo

Current runtime resource usage and state of the resource pool

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "memory": {
        "_typeName": "string",
        "reservationUsed": 0,
        "reservationUsedForVm": 0,
        "unreservedForPool": 0,
        "unreservedForVm": 0,
        "overallUsage": 0,
        "maxUsage": 0
    },
    "cpu": {
        "_typeName": "string",
        "reservationUsed": 0,
        "reservationUsedForVm": 0,
        "unreservedForPool": 0,
        "unreservedForVm": 0,
        "overallUsage": 0,
        "maxUsage": 0
    },
    "overallStatus": "string",
    "sharesScalable": "string"
}
memory
Required

Specifies the resource usage for either memory or CPU.

For CPU the unit is MHz, for memory the unit is bytes.

In the typical case, where a resourcepool is in a consistent state, unreservedForVm will be equal to unreservedForPool. Hence, we can simply say talk about unreserved resources.

If the reservation on the resource pool is not expandable, then the following is true:

           reservation = reservationUsed + unreserved

If the reservation on the resource pool is expandable, then the following is true:

      reservation + parent.unreserved = reservationUsed + unreserved
cpu
Required

Specifies the resource usage for either memory or CPU.

For CPU the unit is MHz, for memory the unit is bytes.

In the typical case, where a resourcepool is in a consistent state, unreservedForVm will be equal to unreservedForPool. Hence, we can simply say talk about unreserved resources.

If the reservation on the resource pool is not expandable, then the following is true:

           reservation = reservationUsed + unreserved

If the reservation on the resource pool is expandable, then the following is true:

      reservation + parent.unreserved = reservationUsed + unreserved
overallStatus
Required

The Status enumeration defines a general "health" value for a managed entity.

Possible values:

  • gray: The status is unknown.
  • green: The entity is OK.
  • yellow: The entity might have a problem.
  • red: The entity definitely has a problem.
Possible values are : gray, green, yellow, red,
string
sharesScalable
Optional

The scaling behavior of the shares of a given resource pool.

See ResourceConfigSpecScaleSharesBehaviorEnum for possible values. The system will automatically compute this property based on the ResourceConfigSpec.scaleDescendantsShares setting on every ancestor resource pool. This property does not apply to virtual machines.