import * as $dara from '@darabonba/typescript'; import { CmsEventForView } from "./CmsEventForView"; import { EventResourceForIncidentView } from "./EventResourceForIncidentView"; export declare class IncidentEventForView extends $dara.Model { /** * @remarks * The UNIX timestamp of the automatic recovery. * * @example * 1743876600000 */ autoRecoverTime?: number; /** * @remarks * The details of the event. */ content?: CmsEventForView; /** * @remarks * The number of times the event was triggered. * * @example * 3 */ count?: number; /** * @remarks * The dimension information of the event. * * @example * { "env": "prod", "module": "payment" } */ dimension?: { [key: string]: any; }; /** * @remarks * The information about the associated resource. */ eventResource?: EventResourceForIncidentView; /** * @remarks * The criteria for grouping. * * @example * { "resourceId": "i-bp123456", "severity": "Critical" } */ groupBy?: { [key: string]: any; }; /** * @remarks * The unique ID of the event. * * @example * "x1y2z3a4-b5c6-d7e8-f9g0-h1i2j3k4l5m6" */ incidentEventUuid?: string; /** * @remarks * The unique ID of the incident to which the event belongs. * * @example * "a1b2c3d4-e5f6-7890-1234-567890abcdef" */ incidentUuid?: string; /** * @remarks * The key-value pairs of custom tags. * * @example * { "project": "payment-gateway", "owner": "ops-team" } */ labels?: { [key: string]: any; }; /** * @remarks * The UNIX timestamp of the last occurrence. * * @example * 1743876000000 */ lastTime?: number; /** * @remarks * The UNIX timestamp of the recovery. * * @example * 1743876600000 */ recoverTime?: number; /** * @remarks * The list of search index fields. */ searchIndex?: string[]; /** * @remarks * The severity level of the event. * * @example * "Critical" */ severity?: string; /** * @remarks * The statistics on the number of events for each severity level. * * @example * { "Critical": 2, "High": 1 } */ severityCountMap?: { [key: string]: any; }; /** * @remarks * The current status code of the event. * * @example * 1 */ state?: number; /** * @remarks * The text index field. * * @example * "ECS 实例 CPU 使用率过高" */ textIndex?: string; /** * @remarks * The UNIX timestamp when the event occurred. * * @example * 1743876000000 */ time?: number; /** * @remarks * The title of the event. * * @example * "ECS 实例 i-bp123456 CPU 使用率超过 90%" */ title?: string; /** * @remarks * The ID of the user who created or triggered the event. * * @example * "user-abc123" */ userId?: string; /** * @remarks * The name of the workspace. * * @example * "ws-xyz789" */ workspace?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }