SystemResource.cs 614 B

123456789101112131415161718192021222324252627
  1. using RackPeek.Domain.Resources.Models;
  2. namespace RackPeek.Domain.Resources.SystemResources;
  3. public class SystemResource : Resource
  4. {
  5. public const string KindLabel = "System";
  6. public static readonly string[] ValidSystemTypes =
  7. [
  8. "baremetal",
  9. "hypervisor",
  10. "vm",
  11. "container",
  12. "embedded",
  13. "cloud",
  14. "other"
  15. ];
  16. public string? Type { get; set; }
  17. public string? Os { get; set; }
  18. public int? Cores { get; set; }
  19. public int? Ram { get; set; }
  20. public List<Drive>? Drives { get; set; }
  21. public string? RunsOn { get; set; }
  22. }