From 8815a72f9de9bfacd4d0ff3cb99ee2f9093af4e3 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Thu, 30 Oct 2025 15:51:41 +0000 Subject: [PATCH] feat: update generated APIs --- scaleway-async/scaleway_async/rdb/v1/api.py | 5 +++-- scaleway/scaleway/rdb/v1/api.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/scaleway-async/scaleway_async/rdb/v1/api.py b/scaleway-async/scaleway_async/rdb/v1/api.py index 168fdd301..a97460456 100644 --- a/scaleway-async/scaleway_async/rdb/v1/api.py +++ b/scaleway-async/scaleway_async/rdb/v1/api.py @@ -1326,14 +1326,15 @@ async def get_instance_metrics( metric_name: Optional[str] = None, ) -> InstanceMetrics: """ - Get Database Instance metrics. - Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`. + [deprecated] Get Database Instance metrics. + Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`. This method is deprecated and will be removed in a future version. :param instance_id: UUID of the Database Instance. :param region: Region to target. If none is passed will use default region from the config. :param start_date: Start date to gather metrics from. :param end_date: End date to gather metrics from. :param metric_name: Name of the metric to gather. :return: :class:`InstanceMetrics ` + :deprecated Usage: :: diff --git a/scaleway/scaleway/rdb/v1/api.py b/scaleway/scaleway/rdb/v1/api.py index f73452f70..34e1029c5 100644 --- a/scaleway/scaleway/rdb/v1/api.py +++ b/scaleway/scaleway/rdb/v1/api.py @@ -1322,14 +1322,15 @@ def get_instance_metrics( metric_name: Optional[str] = None, ) -> InstanceMetrics: """ - Get Database Instance metrics. - Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`. + [deprecated] Get Database Instance metrics. + Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`. This method is deprecated and will be removed in a future version. :param instance_id: UUID of the Database Instance. :param region: Region to target. If none is passed will use default region from the config. :param start_date: Start date to gather metrics from. :param end_date: End date to gather metrics from. :param metric_name: Name of the metric to gather. :return: :class:`InstanceMetrics ` + :deprecated Usage: ::