| 1 | <?php declare(strict_types=1); |
||
| 12 | class Hypervisor extends OperatorResource implements |
||
| 13 | Retrievable, |
||
| 14 | Listable |
||
| 15 | { |
||
| 16 | /** @var int */ |
||
| 17 | public $id; |
||
| 18 | |||
| 19 | /** @var string */ |
||
| 20 | public $status; |
||
| 21 | |||
| 22 | /** @var string */ |
||
| 23 | public $state; |
||
| 24 | |||
| 25 | /** @var string */ |
||
| 26 | public $host_ip; |
||
| 27 | |||
| 28 | /** @var int */ |
||
| 29 | public $free_disk_gb; |
||
| 30 | |||
| 31 | /** @var int */ |
||
| 32 | public $free_ram_mb; |
||
| 33 | |||
| 34 | /** @var string */ |
||
| 35 | public $hypervisor_hostname; |
||
| 36 | |||
| 37 | /** @var string */ |
||
| 38 | public $hypervisor_type; |
||
| 39 | |||
| 40 | /** @var string */ |
||
| 41 | public $hypervisor_version; |
||
| 42 | |||
| 43 | /** @var int */ |
||
| 44 | public $local_gb; |
||
| 45 | |||
| 46 | /** @var int */ |
||
| 47 | public $local_gb_used; |
||
| 48 | |||
| 49 | /** @var int */ |
||
| 50 | public $memory_mb; |
||
| 51 | |||
| 52 | /** @var int */ |
||
| 53 | public $memory_mb_used; |
||
| 54 | |||
| 55 | /** @var int */ |
||
| 56 | public $running_vms; |
||
| 57 | |||
| 58 | /** @var int */ |
||
| 59 | public $vcpus; |
||
| 60 | |||
| 61 | /** @var int */ |
||
| 62 | public $vcpus_used; |
||
| 63 | |||
| 64 | /** @var array */ |
||
| 65 | public $service; |
||
| 66 | |||
| 67 | protected $resourceKey = 'hypervisor'; |
||
| 68 | protected $resourcesKey = 'hypervisors'; |
||
| 69 | |||
| 70 | /** |
||
| 71 | * {@inheritDoc} |
||
| 72 | */ |
||
| 73 | public function retrieve() |
||
| 78 | } |
||
| 79 |