{"version":3,"sources":["../../../packages/core/shared/cluster-inventory/cluster-node-inventory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE;;GAEG;AACH,oBAAY,gBAAgB;IACxB,OAAO,KAAK;IACZ,EAAE,IAAI;IACN,IAAI,IAAI;IACR,MAAM,IAAI;IACV,OAAO,IAAI;CACd;AAED;;GAEG;AACH,oBAAY,sBAAsB;IAC9B,OAAO,KAAK;IACZ,YAAY,IAAI;IAChB,UAAU,IAAI;IACd,SAAS,IAAI;IACb,MAAM,IAAI;CACb;AAED,qBAAa,oBAAqB,SAAQ,eAAe;IACrD;;OAEG;IACI,KAAK,EAAE,gBAAgB,CAAC;IAE/B;;OAEG;IACI,WAAW,EAAE,sBAAsB,CAAC;IAE3C;;OAEG;IACI,aAAa,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACI,UAAU,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACI,WAAW,EAAE,MAAM,CAAC;CAC9B","file":"cluster-node-inventory.d.ts","sourcesContent":["import { ServerInventory } from '../server-inventory/server-inventory';\r\n/**\r\n * Represents the state of a failover cluster node.\r\n */\r\nexport enum ClusterNodeState {\r\n    Unknown = -1,\r\n    Up = 0,\r\n    Down = 1,\r\n    Paused = 2,\r\n    Joining = 3\r\n}\r\n\r\n/**\r\n * Represents the Drain Status of a failover cluster node.\r\n */\r\nexport enum ClusterNodeDrainStatus {\r\n    Unknown = -1,\r\n    NotInitiated = 0,\r\n    InProgress = 1,\r\n    Completed = 2,\r\n    Failed = 3\r\n}\r\n\r\nexport class ClusterNodeInventory extends ServerInventory {\r\n    /**\r\n     * Indicates the state if the server is a cluster node\r\n     */\r\n    public state: ClusterNodeState;\r\n\r\n    /**\r\n     * Indicates the drain status if the server is a cluster node\r\n     */\r\n    public drainStatus: ClusterNodeDrainStatus;\r\n\r\n    /**\r\n     * Indicates the dynamic weight if the server is a cluster node\r\n     */\r\n    public dynamicWeight: number;\r\n\r\n    /**\r\n     * Indicates the node weight if the server is a cluster node\r\n     */\r\n    public nodeWeight: number;\r\n\r\n    /**\r\n     * Indicates the fault domain if the server is a cluster node\r\n     */\r\n    public faultDomain: string;\r\n}\r\n"]}