/** * Admin API * The Admin API is used to manage the ApeCloud platform. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { InspectionTaskItem } from './inspection-task-item'; /** * * @export * @interface InspectionTask */ export interface InspectionTask { /** * * @type {string} * @memberof InspectionTask */ 'id'?: string; /** * * @type {string} * @memberof InspectionTask */ 'creator'?: string; /** * * @type {string} * @memberof InspectionTask */ 'status'?: string; /** * * @type {string} * @memberof InspectionTask */ 'engine'?: string; /** * * @type {string} * @memberof InspectionTask */ 'orgName'?: string; /** * * @type {string} * @memberof InspectionTask */ 'clusterID'?: string; /** * * @type {string} * @memberof InspectionTask */ 'clusterName'?: string; /** * * @type {string} * @memberof InspectionTask */ 'envName'?: string; /** * * @type {string} * @memberof InspectionTask */ 'envID'?: string; /** * Node name(s) for inspection. Multiple nodes can be specified as a comma-separated string (e.g. \"node1,node2,node3\"). * @type {string} * @memberof InspectionTask */ 'nodeName'?: string; /** * * @type {boolean} * @memberof InspectionTask */ 'isAuto'?: boolean; /** * * @type {number} * @memberof InspectionTask */ 'savedDays'?: number; /** * Expiration timestamp fixed when the inspection report is created from savedDays. * @type {string} * @memberof InspectionTask */ 'expiredAt'?: string; /** * Weighted health score from 0 to 100 over evaluable inspection items only. Unknown results and items with info importance are excluded from both the numerator and denominator. The field is omitted when no item is evaluable. Doris and SelectDB also omit it when risk-check evidence is unavailable, and score correlated findings once per failure family. A present value of 0 is a valid evaluated score. * @type {number} * @memberof InspectionTask */ 'score'?: number | null; /** * Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable, or a Doris/SelectDB inspection has unavailable risk-check evidence without an observed red or yellow finding. Unavailable evidence never hides an observed red or yellow finding. * @type {string} * @memberof InspectionTask */ 'result'?: string; /** * Last inspection execution timestamp used for freshness checks. * @type {string} * @memberof InspectionTask */ 'latestRunAt'?: string; /** * Expected first-version inspection interval assumption, for example 1h. * @type {string} * @memberof InspectionTask */ 'expectedInterval'?: string; /** * Expected next inspection time derived from latestRunAt and expectedInterval. * @type {string} * @memberof InspectionTask */ 'nextRunAt'?: string; /** * True when the latest inspection is older than the expected interval. Stale or missing inspection data must not be displayed as healthy. * @type {boolean} * @memberof InspectionTask */ 'isStale'?: boolean; /** * * @type {Array} * @memberof InspectionTask */ 'items'?: Array; /** * * @type {string} * @memberof InspectionTask */ 'createdAt'?: string; /** * * @type {string} * @memberof InspectionTask */ 'updatedAt'?: string; /** * * @type {string} * @memberof InspectionTask */ 'timeRangeStart'?: string; /** * * @type {string} * @memberof InspectionTask */ 'timeRangeEnd'?: string; } //# sourceMappingURL=inspection-task.d.ts.map