| 12345678910111213141516171819202122232425262728 |
- using RackPeek.Domain.Resources.Servers;
- using RackPeek.Domain.Resources.SubResources;
- namespace RackPeek.Domain.Resources.SystemResources;
- public class SystemResource : Resource, IDriveResource {
- public const string KindLabel = "System";
- public static readonly string[] ValidSystemTypes =
- [
- "baremetal",
- "hypervisor",
- "vm",
- "container",
- "embedded",
- "cloud",
- "cluster",
- "other"
- ];
- public string? Type { get; set; }
- public string? Os { get; set; }
- public int? Cores { get; set; }
- public double? Ram { get; set; }
- public string? Ip { get; set; }
- public List<Drive>? Drives { get; set; }
- }
|