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
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1446,6 +1446,7 @@ async def list_alerts(
1446
1446
is_enabled: Optional[bool] =None,
1447
1447
is_preconfigured: Optional[bool] =None,
1448
1448
state: Optional[AlertState] =None,
1449
+
data_source_id: Optional[str] =None,
1449
1450
) ->ListAlertsResponse:
1450
1451
"""
1451
1452
List alerts.
@@ -1455,6 +1456,7 @@ async def list_alerts(
1455
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.
1456
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.
1457
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.
Copy file name to clipboardExpand all lines: scaleway/scaleway/cockpit/v1/api.py
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1446,6 +1446,7 @@ def list_alerts(
1446
1446
is_enabled: Optional[bool] =None,
1447
1447
is_preconfigured: Optional[bool] =None,
1448
1448
state: Optional[AlertState] =None,
1449
+
data_source_id: Optional[str] =None,
1449
1450
) ->ListAlertsResponse:
1450
1451
"""
1451
1452
List alerts.
@@ -1455,6 +1456,7 @@ def list_alerts(
1455
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.
1456
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.
1457
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.
0 commit comments