File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
packages_generated/cockpit/src/v1 Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -384,11 +384,23 @@ export interface AlertManager {
384384 region : ScwRegion
385385}
386386
387+ /**
388+ * Output returned when alert rules are disabled.
389+ */
387390export interface DisableAlertRulesResponse {
391+ /**
392+ * Only newly disabled rules are listed. Rules that were already disabled are not returned in the output.
393+ */
388394 disabledRuleIds : string [ ]
389395}
390396
397+ /**
398+ * Output returned when alert rules are enabled.
399+ */
391400export interface EnableAlertRulesResponse {
401+ /**
402+ * Only newly enabled rules are listed. Rules that were already enabled are not returned in the output.
403+ */
392404 enabledRuleIds : string [ ]
393405}
394406
@@ -836,7 +848,13 @@ export type RegionalApiDisableAlertRulesRequest = {
836848 * Region to target. If none is passed will use default region from the config.
837849 */
838850 region ?: ScwRegion
851+ /**
852+ * ID of the Project.
853+ */
839854 projectId ?: string
855+ /**
856+ * List of IDs of the rules to enable. If empty, disables all preconfigured rules.
857+ */
840858 ruleIds ?: string [ ]
841859}
842860
@@ -873,7 +891,13 @@ export type RegionalApiEnableAlertRulesRequest = {
873891 * Region to target. If none is passed will use default region from the config.
874892 */
875893 region ?: ScwRegion
894+ /**
895+ * ID of the Project.
896+ */
876897 projectId ?: string
898+ /**
899+ * List of IDs of the rules to enable. If empty, enables all preconfigured rules.
900+ */
877901 ruleIds ?: string [ ]
878902}
879903
You can’t perform that action at this time.
0 commit comments