@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
24 lines • 932 B
TypeScript
import { FrequencyEnum } from './monitoringNotifications/FrequencyEnum';
import { TypeEnum } from './monitoringNotifications/TypeEnum';
/** Defines where and how the notifications will be sent */
export interface MonitoringNotification {
/** Whether or not to allow notifications for generic incidents */
allowIncident: boolean;
/** The number of seconds the access has to be down to trigger an alert */
downThreshold: number;
/** The e-mail address, if type is mail */
email?: string;
/** Whether to enable or not */
enabled: boolean;
/** Frequency between notifications. */
frequency: FrequencyEnum;
/** */
id: number;
/** The phone number, if type is sms */
phone?: string;
/** The SMS account which will be debited for each sent SMS, if the type is sms */
smsAccount?: string;
/** */
type: TypeEnum;
}
//# sourceMappingURL=MonitoringNotification.d.ts.map