/* tslint:disable */
/* eslint-disable */
/**
 * 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.
 */


// May contain unused imports in some cases
// @ts-ignore
import type { AlertSeverity } from './alert-severity';

/**
 * Alert rule information. Either provide \'expr\' for custom expressions, or \'metric\' for predefined metrics.
 * @export
 * @interface AlertRule
 */
export interface AlertRule {
    /**
     * 
     * @type {string}
     * @memberof AlertRule
     */
    'description'?: string;
    /**
     * 
     * @type {string}
     * @memberof AlertRule
     */
    'summary'?: string;
    /**
     * 
     * @type {string}
     * @memberof AlertRule
     */
    'alertName': string;
    /**
     * Expression. Required if metric is not provided.
     * @type {string}
     * @memberof AlertRule
     */
    'expr'?: string;
    /**
     * 
     * @type {string}
     * @memberof AlertRule
     */
    'for': string;
    /**
     * 
     * @type {string}
     * @memberof AlertRule
     */
    'groupName': string;
    /**
     * 
     * @type {boolean}
     * @memberof AlertRule
     */
    'disabled'?: boolean;
    /**
     * 
     * @type {AlertSeverity}
     * @memberof AlertRule
     */
    'severity': AlertSeverity;
    /**
     * 
     * @type {string}
     * @memberof AlertRule
     */
    'createdAt'?: string;
    /**
     * 
     * @type {string}
     * @memberof AlertRule
     */
    'updatedAt'?: string;
    /**
     * 
     * @type {string}
     * @memberof AlertRule
     */
    'orgName'?: string;
}



