fleet/frontend/interfaces/host_summary.ts
2022-06-10 13:29:45 -05:00

23 lines
525 B
TypeScript

export interface IHostSummaryPlatforms {
platform: string;
hosts_count: number;
}
export interface IHostSummaryLabel {
id: number;
name: string;
description: string;
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[];
}