diff --git a/scaleway-async/scaleway_async/cockpit/v1/api.py b/scaleway-async/scaleway_async/cockpit/v1/api.py index a7a8f1671..55c2299ed 100644 --- a/scaleway-async/scaleway_async/cockpit/v1/api.py +++ b/scaleway-async/scaleway_async/cockpit/v1/api.py @@ -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 ` Usage: diff --git a/scaleway-async/scaleway_async/cockpit/v1/types.py b/scaleway-async/scaleway_async/cockpit/v1/types.py index 3fe2272fd..a2a150f4d 100644 --- a/scaleway-async/scaleway_async/cockpit/v1/types.py +++ b/scaleway-async/scaleway_async/cockpit/v1/types.py @@ -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. """ diff --git a/scaleway/scaleway/cockpit/v1/api.py b/scaleway/scaleway/cockpit/v1/api.py index 2f986204a..84ddc925f 100644 --- a/scaleway/scaleway/cockpit/v1/api.py +++ b/scaleway/scaleway/cockpit/v1/api.py @@ -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 ` Usage: diff --git a/scaleway/scaleway/cockpit/v1/types.py b/scaleway/scaleway/cockpit/v1/types.py index 3fe2272fd..a2a150f4d 100644 --- a/scaleway/scaleway/cockpit/v1/types.py +++ b/scaleway/scaleway/cockpit/v1/types.py @@ -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. """