fleet/frontend/interfaces/host_summary.ts

25 lines
630 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;
missing_30_days_count?: number; // premium feature
low_disk_space_count?: number; // premium feature
builtin_labels: IHostSummaryLabel[];
}