Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scaleway-async/scaleway_async/cockpit/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1450,13 +1450,13 @@ async def list_alerts(
) -> ListAlertsResponse:
"""
List alerts.
List preconfigured and/or custom alerts for the specified Project.
List preconfigured and/or custom alerts for the specified Project and data source.
:param region: Region to target. If none is passed will use default region from the config.
:param project_id: Project ID to filter for, only alerts from this Project will be returned.
: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.
: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.
: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.
:param data_source_id: If omitted, only alerts from the default scaleway data source will be listed.
:param data_source_id: If omitted, only alerts from the default Scaleway metrics data source will be listed.
:return: :class:`ListAlertsResponse <ListAlertsResponse>`
Usage:
Expand Down
2 changes: 1 addition & 1 deletion scaleway-async/scaleway_async/cockpit/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ class RegionalApiListAlertsRequest:

data_source_id: Optional[str]
"""
If omitted, only alerts from the default scaleway data source will be listed.
If omitted, only alerts from the default Scaleway metrics data source will be listed.
"""


Expand Down
4 changes: 2 additions & 2 deletions scaleway/scaleway/cockpit/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1450,13 +1450,13 @@ def list_alerts(
) -> ListAlertsResponse:
"""
List alerts.
List preconfigured and/or custom alerts for the specified Project.
List preconfigured and/or custom alerts for the specified Project and data source.
:param region: Region to target. If none is passed will use default region from the config.
:param project_id: Project ID to filter for, only alerts from this Project will be returned.
: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.
: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.
: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.
:param data_source_id: If omitted, only alerts from the default scaleway data source will be listed.
:param data_source_id: If omitted, only alerts from the default Scaleway metrics data source will be listed.
:return: :class:`ListAlertsResponse <ListAlertsResponse>`
Usage:
Expand Down
2 changes: 1 addition & 1 deletion scaleway/scaleway/cockpit/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ class RegionalApiListAlertsRequest:

data_source_id: Optional[str]
"""
If omitted, only alerts from the default scaleway data source will be listed.
If omitted, only alerts from the default Scaleway metrics data source will be listed.
"""


Expand Down