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: ::