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
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -591,7 +591,7 @@ async def get_current_plan(
591
591
592
592
classCockpitV1RegionalAPI(API):
593
593
"""
594
-
The Cockpit Regional API allows you to create data sources and tokens to store and query data types such as metrics, logs, and traces. You can also push your data into Cockpit, and send alerts to your contact points when your resources may require your attention, using the regional Alert manager.
594
+
The Cockpit API allows you to create data sources and Cockpit tokens to store and query data types such as metrics, logs, and traces. You can also push your data into Cockpit, and send alerts to your contact points when your resources may require your attention, using the regional Alert manager.
595
595
"""
596
596
597
597
asyncdefget_config(
@@ -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.
0 commit comments