fleet/frontend/interfaces/host_summary.ts

23 lines
525 B
TypeScript
Raw Normal View History

export interface IHostSummaryPlatforms {
platform: string;
hosts_count: number;
}
export interface IHostSummaryLabel {
id: number;
name: string;
description: string;
2022-06-10 18:29:45 +00:00
label_type: "regular" | "builtin";
}
export interface IHostSummary {
all_linux_count: number;
totals_hosts_count: number;
platforms: IHostSummaryPlatforms[] | null;
online_count: number;
offline_count: number;
mia_count: number; // DEPRECATED: to be removed in Fleet 5.0
new_count: number;
builtin_labels: IHostSummaryLabel[];
}