You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Base schema for alert rule responses with discriminator
735
+
* @export
736
+
* @interface AlertRuleResponseBase
737
+
*/
738
+
export interface AlertRuleResponseBase {
739
+
/**
740
+
*
741
+
* @type {AlertRuleSource}
742
+
* @memberof AlertRuleResponseBase
743
+
*/
744
+
'source': AlertRuleSource;
745
+
/**
746
+
* Name of the alert rule
747
+
* @type {string}
748
+
* @memberof AlertRuleResponseBase
749
+
*/
750
+
'name': string;
751
+
/**
752
+
*
753
+
* @type {AlertRuleState}
754
+
* @memberof AlertRuleResponseBase
755
+
*/
756
+
'state': AlertRuleState;
757
+
}
758
+
759
+
760
+
/**
761
+
* Source of the alert rule: - MANAGED: Alert rule created and managed through the Qovery API - GHOST: Alert rule that exists in Prometheus but has been deleted from the database
762
+
* @export
763
+
* @enum {string}
764
+
*/
765
+
766
+
export const AlertRuleSource = {
767
+
MANAGED: 'MANAGED',
768
+
GHOST: 'GHOST'
769
+
} as const;
770
+
771
+
export type AlertRuleSource = typeof AlertRuleSource[keyof typeof AlertRuleSource];
0 commit comments