/** * 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 { AlertClusterSilenceMode } from './alert-cluster-silence-mode'; /** * Pause notifications while continuing to record alerts. Set enabled to false to cancel. Time windows include their start and exclude their end. * @export * @interface AlertClusterSilence */ export interface AlertClusterSilence { /** * * @type {boolean} * @memberof AlertClusterSilence */ 'enabled': boolean; /** * Alert names to silence. Empty or omitted means all alerts for the resource. * @type {Array} * @memberof AlertClusterSilence */ 'rules'?: Array; /** * * @type {AlertClusterSilenceMode} * @memberof AlertClusterSilence */ 'mode'?: AlertClusterSilenceMode; /** * Required for once. Absolute start of the silence window. * @type {string} * @memberof AlertClusterSilence */ 'startsAt'?: string; /** * Required for once. Must be later than startsAt. * @type {string} * @memberof AlertClusterSilence */ 'endsAt'?: string; /** * Required for weekly. Sunday is 0. Overnight windows belong to the weekday on which they start. * @type {Array} * @memberof AlertClusterSilence */ 'weekdays'?: Array; /** * Required for weekly, in HH:mm format. * @type {string} * @memberof AlertClusterSilence */ 'startTime'?: string; /** * Required for weekly, in HH:mm format. Earlier than startTime means the following day; equal times are invalid. * @type {string} * @memberof AlertClusterSilence */ 'endTime'?: string; /** * Required for weekly. IANA timezone, e.g. Asia/Shanghai or UTC. * @type {string} * @memberof AlertClusterSilence */ 'timeZone'?: string; } //# sourceMappingURL=alert-cluster-silence.d.ts.map