class Hypervisor extends OperatorResource implements Retrievable, Listable

Traits

Properties

$id int
$status string
$state string
$hostIp string
$freeDiskGb int
$freeRamMb int
$hypervisorHostname string
$hypervisorType string
$hypervisorVersion string
$localGb int
$localGbUsed int
$memoryMb int
$memoryMbUsed int
$runningVms int
$vcpus int
$vcpusUsed int
$cpuInfo array
$currentWorkload int
$diskAvailableLeast int
$service array

Methods

retrieve () : void

Retrieve details of the current resource from the remote API.

Details

retrieve()

Retrieve details of the current resource from the remote API.

Return value

void

Example code

$hypervisor->retrieve();