From 2dcb7a6ab3d6192b72915764d3734e8ec9798712 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Wed, 4 Jun 2025 14:40:13 +0000 Subject: [PATCH] feat: update generated APIs --- .../cockpit/src/v1/types.gen.ts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/packages_generated/cockpit/src/v1/types.gen.ts b/packages_generated/cockpit/src/v1/types.gen.ts index 703df72d6..aa4bfc11b 100644 --- a/packages_generated/cockpit/src/v1/types.gen.ts +++ b/packages_generated/cockpit/src/v1/types.gen.ts @@ -384,11 +384,23 @@ export interface AlertManager { region: ScwRegion } +/** + * Output returned when alert rules are disabled. + */ export interface DisableAlertRulesResponse { + /** + * Only newly disabled rules are listed. Rules that were already disabled are not returned in the output. + */ disabledRuleIds: string[] } +/** + * Output returned when alert rules are enabled. + */ export interface EnableAlertRulesResponse { + /** + * Only newly enabled rules are listed. Rules that were already enabled are not returned in the output. + */ enabledRuleIds: string[] } @@ -836,7 +848,13 @@ export type RegionalApiDisableAlertRulesRequest = { * Region to target. If none is passed will use default region from the config. */ region?: ScwRegion + /** + * ID of the Project. + */ projectId?: string + /** + * List of IDs of the rules to enable. If empty, disables all preconfigured rules. + */ ruleIds?: string[] } @@ -873,7 +891,13 @@ export type RegionalApiEnableAlertRulesRequest = { * Region to target. If none is passed will use default region from the config. */ region?: ScwRegion + /** + * ID of the Project. + */ projectId?: string + /** + * List of IDs of the rules to enable. If empty, enables all preconfigured rules. + */ ruleIds?: string[] }