Skip to content

Commit 5654231

Browse files
Generate postgresflex (#474)
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
1 parent ad6ec2b commit 5654231

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

services/postgresflex/src/stackit/postgresflex/api/default_api.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4438,7 +4438,7 @@ def list_metrics(
44384438
metric: Annotated[
44394439
StrictStr,
44404440
Field(
4441-
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'."
4441+
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'."
44424442
),
44434443
],
44444444
granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")],
@@ -4472,13 +4472,13 @@ def list_metrics(
44724472
) -> InstanceMetricsResponse:
44734473
"""Get Metric
44744474
4475-
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.
4475+
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.
44764476
44774477
:param project_id: The UUID of the project. (required)
44784478
:type project_id: str
44794479
:param instance_id: The UUID of the instance. (required)
44804480
:type instance_id: str
4481-
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required)
4481+
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
44824482
:type metric: str
44834483
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
44844484
:type granularity: str
@@ -4545,7 +4545,7 @@ def list_metrics_with_http_info(
45454545
metric: Annotated[
45464546
StrictStr,
45474547
Field(
4548-
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'."
4548+
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'."
45494549
),
45504550
],
45514551
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(
45794579
) -> ApiResponse[InstanceMetricsResponse]:
45804580
"""Get Metric
45814581
4582-
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.
4582+
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.
45834583
45844584
:param project_id: The UUID of the project. (required)
45854585
:type project_id: str
45864586
:param instance_id: The UUID of the instance. (required)
45874587
:type instance_id: str
4588-
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required)
4588+
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
45894589
:type metric: str
45904590
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
45914591
:type granularity: str
@@ -4652,7 +4652,7 @@ def list_metrics_without_preload_content(
46524652
metric: Annotated[
46534653
StrictStr,
46544654
Field(
4655-
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'."
4655+
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'."
46564656
),
46574657
],
46584658
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(
46864686
) -> RESTResponseType:
46874687
"""Get Metric
46884688
4689-
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.
4689+
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.
46904690
46914691
:param project_id: The UUID of the project. (required)
46924692
:type project_id: str
46934693
:param instance_id: The UUID of the instance. (required)
46944694
:type instance_id: str
4695-
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required)
4695+
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
46964696
:type metric: str
46974697
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
46984698
:type granularity: str

0 commit comments

Comments
 (0)