ClusterComputeResourceSummary

ClusterComputeResourceSummary
ClusterComputeResourceSummary

The ClusterComputeResourceSummary data object encapsulates runtime properties of a ClusterComputeResource.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "totalCpu": 0,
    "totalMemory": 0,
    "numCpuCores": 0,
    "numCpuThreads": 0,
    "effectiveCpu": 0,
    "effectiveMemory": 0,
    "numHosts": 0,
    "numEffectiveHosts": 0,
    "overallStatus": "string",
    "currentFailoverLevel": 0,
    "admissionControlInfo": {
        "_typeName": "string"
    },
    "numVmotions": 0,
    "targetBalance": 0,
    "currentBalance": 0,
    "drsScore": 0,
    "numVmsPerDrsScoreBucket": [
        0
    ],
    "usageSummary": {
        "_typeName": "string",
        "totalCpuCapacityMhz": 0,
        "totalMemCapacityMB": 0,
        "cpuReservationMhz": 0,
        "memReservationMB": 0,
        "poweredOffCpuReservationMhz": 0,
        "poweredOffMemReservationMB": 0,
        "cpuDemandMhz": 0,
        "memDemandMB": 0,
        "statsGenNumber": 0,
        "cpuEntitledMhz": 0,
        "memEntitledMB": 0,
        "poweredOffVmCount": 0,
        "totalVmCount": 0
    },
    "currentEVCModeKey": "string",
    "currentEVCGraphicsModeKey": "string",
    "dasData": {
        "_typeName": "string"
    },
    "clusterMaintenanceModeStatus": "string",
    "vcsHealthStatus": "string",
    "vcsSlots": [
        {
            "_typeName": "string",
            "systemId": "string",
            "host": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "datastore": [
                {
                    "_typeName": "string",
                    "type": "string",
                    "value": "string"
                }
            ],
            "totalSlots": 0
        }
    ]
}
integer As int32 As int32
currentFailoverLevel
Required

Deprecated as of vSphere API 4.0, use ClusterFailoverLevelAdmissionControlInfo.currentFailoverLevel.

Current failover level.

This is the number of physical host failures that can be tolerated without impacting the ability to satisfy the minimums for all running virtual machines. This represents the current value, as opposed to desired value configured by the user.

admissionControlInfo
Optional

Base class for admission control related information of a vSphere HA cluster.

integer As int32 As int32
numVmotions
Required

Total number of migrations with VMotion that have been done internal to this cluster.

integer As int32 As int32
targetBalance
Optional

The target balance, in terms of standard deviation, for a DRS cluster.

Units are thousandths. For example, 12 represents 0.012.

integer As int32 As int32
currentBalance
Optional

The current balance, in terms of standard deviation, for a DRS cluster.

Units are thousandths. For example, 12 represents 0.012.

integer As int32 As int32
drsScore
Optional

The DRS score of this cluster, in percentage.

array of integer
numVmsPerDrsScoreBucket
Optional

The number of VMs in this cluster corresponding to each DRS score bucket.

The buckets are defined as follows:

  • 0% - 20%
  • 21% - 40%
  • 41% - 60%
  • 61% - 80%
  • 81% - 100%
usageSummary
Optional

This class contains cluster usage summary that is populated by DRS and used by Cloud Placement Engine in VCD.

string
currentEVCModeKey
Optional

The Enhanced VMotion Compatibility mode that is currently in effect for all hosts in this cluster; unset if no EVC mode is active.

See also Capability.supportedEVCMode.

string
currentEVCGraphicsModeKey
Optional

The Enhanced VMotion Compatibility Graphics mode that is currently in effect for all hosts in this cluster; unset if no EVC mode is active.

See also Capability.supportedEVCGraphicsMode.

Since: vSphere API Release 7.0.1.0

dasData
Optional

Base class for DAS data for high availability service for a cluster.

string
clusterMaintenanceModeStatus
Optional

Configuration pertinent to state of the cluster maintenance mode.

Valid values are enumerated by the ClusterMaintenanceModeStatus type.

Since: vSphere API Release 7.0.0.2

string
vcsHealthStatus
Optional

The health status of the vSphere Cluster Services in the cluster.

Supported values are enumerated by the VcsHealthStatus type.

Since: vSphere API Release 7.0.1.1

vcsSlots
Optional

An array of hosts and number of resource slots on the host for vSphere Cluster Services in the cluster.

The number of resource slots on the host includes both following types: 1. Number of vCS VMs running on the host (resource reserved and occupied). 2. Number of reserved and unoccupied slots (reserved for new vCS VMs).

Since: vSphere API Release 7.0.1.1