/** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * 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