import { AdminDevice } from './AdminDevice'; import { CollectionResponse, QueryParams } from './HTTP'; export type Cluster = { devices: CollectionResponse; enabled: boolean; id: number; ipAddress: string; jenkinsUrl: string; jenkinsVersion: string; location: string; name: string; pluginVersion: string; region: string; state: ClusterState; stateChangeTime: number; stateTime: number; type: ClusterType; url: string; }; export declare enum ClusterState { 'OFFLINE' = 0, ONLINE = "ONLINE", RESTARTING = "RESTARTING", QUIET_DOWN = "QUIET_DOWN", MAINTENANCE = "MAINTENANCE" } export declare enum ClusterType { BARE_METAL = "BARE_METAL", EC2 = "EC2", VM = "VM" } export interface ClusterParams extends QueryParams { withDevices: boolean; } export type ClusterData = Pick & { quietDown: boolean; restart: boolean; turnMaintenance: boolean; };