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
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/cockpit/v1/api.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1450,13 +1450,13 @@ async def list_alerts(
1450
1450
) ->ListAlertsResponse:
1451
1451
"""
1452
1452
List alerts.
1453
-
List preconfigured and/or custom alerts for the specified Project.
1453
+
List preconfigured and/or custom alerts for the specified Project and data source.
1454
1454
:param region: Region to target. If none is passed will use default region from the config.
1455
1455
:param project_id: Project ID to filter for, only alerts from this Project will be returned.
1456
1456
:param is_enabled: True returns only enabled alerts. False returns only disabled alerts. If omitted, no alert filtering is applied. Other filters may still apply.
1457
1457
:param is_preconfigured: True returns only preconfigured alerts. False returns only custom alerts. If omitted, no filtering is applied on alert types. Other filters may still apply.
1458
1458
:param state: Valid values to filter on are `inactive`, `pending` and `firing`. If omitted, no filtering is applied on alert states. Other filters may still apply.
1459
-
:param data_source_id: If omitted, only alerts from the default scaleway data source will be listed.
1459
+
:param data_source_id: If omitted, only alerts from the default Scaleway metrics data source will be listed.
Copy file name to clipboardExpand all lines: scaleway/scaleway/cockpit/v1/api.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1450,13 +1450,13 @@ def list_alerts(
1450
1450
) ->ListAlertsResponse:
1451
1451
"""
1452
1452
List alerts.
1453
-
List preconfigured and/or custom alerts for the specified Project.
1453
+
List preconfigured and/or custom alerts for the specified Project and data source.
1454
1454
:param region: Region to target. If none is passed will use default region from the config.
1455
1455
:param project_id: Project ID to filter for, only alerts from this Project will be returned.
1456
1456
:param is_enabled: True returns only enabled alerts. False returns only disabled alerts. If omitted, no alert filtering is applied. Other filters may still apply.
1457
1457
:param is_preconfigured: True returns only preconfigured alerts. False returns only custom alerts. If omitted, no filtering is applied on alert types. Other filters may still apply.
1458
1458
:param state: Valid values to filter on are `inactive`, `pending` and `firing`. If omitted, no filtering is applied on alert states. Other filters may still apply.
1459
-
:param data_source_id: If omitted, only alerts from the default scaleway data source will be listed.
1459
+
:param data_source_id: If omitted, only alerts from the default Scaleway metrics data source will be listed.
0 commit comments