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
// Region: region to target. If none is passed will use default region from the config.
1298
-
Region scw.Region`json:"-"`
1299
-
1300
-
// ProjectID: ID of the Project.
1301
-
ProjectIDstring`json:"project_id"`
1302
-
}
1303
-
1304
1295
// RegionalAPIEnableAlertManagerRequest: Enable the Alert manager.
1305
1296
typeRegionalAPIEnableAlertManagerRequeststruct {
1306
1297
// Region: region to target. If none is passed will use default region from the config.
@@ -1322,15 +1313,6 @@ type RegionalAPIEnableAlertRulesRequest struct {
1322
1313
RuleIDs []string`json:"rule_ids"`
1323
1314
}
1324
1315
1325
-
// RegionalAPIEnableManagedAlertsRequest: Enable the sending of managed alerts.
1326
-
typeRegionalAPIEnableManagedAlertsRequeststruct {
1327
-
// Region: region to target. If none is passed will use default region from the config.
1328
-
Region scw.Region`json:"-"`
1329
-
1330
-
// ProjectID: ID of the Project.
1331
-
ProjectIDstring`json:"project_id"`
1332
-
}
1333
-
1334
1316
// RegionalAPIGetAlertManagerRequest: Get the Alert manager.
1335
1317
typeRegionalAPIGetAlertManagerRequeststruct {
1336
1318
// Region: region to target. If none is passed will use default region from the config.
@@ -2382,7 +2364,7 @@ func (s *RegionalAPI) DisableAlertManager(req *RegionalAPIDisableAlertManagerReq
2382
2364
return&resp, nil
2383
2365
}
2384
2366
2385
-
// GetRulesCount: Get a detailed count of enabled rules in the specified Project. Includes preconfigured and custom alerting and recording rules.
2367
+
// GetRulesCount: Get the number of enabled rules Get a detailed count of enabled rules in the specified Project. Includes preconfigured and custom alerting and recording rules.
// EnableManagedAlerts: Enable the sending of managed alerts for the specified Project. Managed alerts are predefined alerts that apply to Scaleway recources integrated with Cockpit by default.
0 commit comments