struct

Beryl::HardwareSpec

Inherits Struct < Value < Object

Caractéristiques matérielles DÉCLARÉES par l'API du provider (ex. OVH specifications/hardware). Sert à beryl info (inventaire hors-ligne, écrit dans le host.yml par beryl scan). disks = lignes lisibles (ex. "2 x 960 GB SSD"). raid = contrôleur RAID matériel, nil si aucun.

Constructors

new(cpu : String, cores : Int32, threads : Int32, ram_gb : Int32, disks : Array(String), raid : String | Nil = nil)
Source

Instance methods

clone
Source
copy_with(cpu _cpu = @cpu, cores _cores = @cores, threads _threads = @threads, ram_gb _ram_gb = @ram_gb, disks _disks = @disks, raid _raid = @raid)
Source
cores
cpu
disks
raid
ram_gb
threads