From 229c088badfaa23859aa6f15f06b45ad82219e2a Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Mon, 23 Dec 2024 11:24:05 +0000 Subject: [PATCH] Generate postgresflex --- .../stackit/postgresflex/api/default_api.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/services/postgresflex/src/stackit/postgresflex/api/default_api.py b/services/postgresflex/src/stackit/postgresflex/api/default_api.py index b52e8a89f..f238f1b49 100644 --- a/services/postgresflex/src/stackit/postgresflex/api/default_api.py +++ b/services/postgresflex/src/stackit/postgresflex/api/default_api.py @@ -4438,7 +4438,7 @@ def list_metrics( metric: Annotated[ StrictStr, Field( - description="The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'." + description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'." ), ], granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")], @@ -4472,13 +4472,13 @@ def list_metrics( ) -> InstanceMetricsResponse: """Get Metric - Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in max-connections and disk-use. If you provide start time, you have to provide end time as well and vice versa. + Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in connections and disk-use. If you provide start time, you have to provide end time as well and vice versa. :param project_id: The UUID of the project. (required) :type project_id: str :param instance_id: The UUID of the instance. (required) :type instance_id: str - :param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required) + :param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required) :type metric: str :param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required) :type granularity: str @@ -4545,7 +4545,7 @@ def list_metrics_with_http_info( metric: Annotated[ StrictStr, Field( - description="The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'." + description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'." ), ], granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")], @@ -4579,13 +4579,13 @@ def list_metrics_with_http_info( ) -> ApiResponse[InstanceMetricsResponse]: """Get Metric - Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in max-connections and disk-use. If you provide start time, you have to provide end time as well and vice versa. + Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in connections and disk-use. If you provide start time, you have to provide end time as well and vice versa. :param project_id: The UUID of the project. (required) :type project_id: str :param instance_id: The UUID of the instance. (required) :type instance_id: str - :param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required) + :param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required) :type metric: str :param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required) :type granularity: str @@ -4652,7 +4652,7 @@ def list_metrics_without_preload_content( metric: Annotated[ StrictStr, Field( - description="The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'." + description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'." ), ], granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")], @@ -4686,13 +4686,13 @@ def list_metrics_without_preload_content( ) -> RESTResponseType: """Get Metric - Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in max-connections and disk-use. If you provide start time, you have to provide end time as well and vice versa. + Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in connections and disk-use. If you provide start time, you have to provide end time as well and vice versa. :param project_id: The UUID of the project. (required) :type project_id: str :param instance_id: The UUID of the instance. (required) :type instance_id: str - :param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required) + :param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required) :type metric: str :param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required) :type granularity: str