Skip to content

Commit d72ce90

Browse files
Generator: Update SDK /services/loadbalancer (#3576)
Co-authored-by: Marcel Jacek <Marcel.Jacek@digits.schwarz>
1 parent 614131c commit d72ce90

File tree

6 files changed

+17
-10
lines changed

6 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@
9191
- **Feature:** Add new field `Tls` to `HttpHealthCheck`
9292
- **Breaking change:** Renamed `TargetPoolTlsConfig` to `TlsConfig`
9393
- `loadbalancer`:
94+
- [v0.9.2](services/loadbalancer/CHANGELOG.md#v092)
95+
- **Improvement:** Increase limit for `max_credentials` in `GetQuotaResponse` model to 1000000
96+
- **Improvement:** Update docs of `get_quota` method
9497
- [v0.9.1](services/loadbalancer/CHANGELOG.md#v091)
9598
- **Feature:** client now supports UUID and decimal types
9699
- **Bugfix:** timeouts now passed to requests library

services/loadbalancer/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.9.2
2+
- **Improvement:** Increase limit for `max_credentials` in `GetQuotaResponse` model to 1000000
3+
- **Improvement:** Update docs of `get_quota` method
4+
15
## v0.9.1
26
- **Feature:** client now supports UUID and decimal types
37
- **Bugfix:** timeouts now passed to requests library

services/loadbalancer/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0e64886dd0847341800d7191ed193b75413be998
1+
95de5cba3201a683657cb472d5fa30aa768f19cc

services/loadbalancer/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stackit-loadbalancer"
3-
version = "v0.9.1"
3+
version = "v0.9.2"
44
description = "Load Balancer API"
55
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
66
requires-python = ">=3.9,<4.0"

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,9 +1746,9 @@ def get_quota(
17461746
_headers: Optional[Dict[StrictStr, Any]] = None,
17471747
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
17481748
) -> GetQuotaResponse:
1749-
"""Get the quota of Load Balancers in a project.
1749+
"""Get the quota of Network Load Balancers in a project.
17501750
1751-
Retrieves the configured Load Balancer quota for the project. Limit can be changed via service request. There can be 3 times as many observability credentials as Load Balancers.
1751+
Retrieves the configured Network Load Balancer quota for the project. Limit can be changed via service request.
17521752
17531753
:param project_id: (required)
17541754
:type project_id: str
@@ -1814,9 +1814,9 @@ def get_quota_with_http_info(
18141814
_headers: Optional[Dict[StrictStr, Any]] = None,
18151815
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
18161816
) -> ApiResponse[GetQuotaResponse]:
1817-
"""Get the quota of Load Balancers in a project.
1817+
"""Get the quota of Network Load Balancers in a project.
18181818
1819-
Retrieves the configured Load Balancer quota for the project. Limit can be changed via service request. There can be 3 times as many observability credentials as Load Balancers.
1819+
Retrieves the configured Network Load Balancer quota for the project. Limit can be changed via service request.
18201820
18211821
:param project_id: (required)
18221822
:type project_id: str
@@ -1882,9 +1882,9 @@ def get_quota_without_preload_content(
18821882
_headers: Optional[Dict[StrictStr, Any]] = None,
18831883
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
18841884
) -> RESTResponseType:
1885-
"""Get the quota of Load Balancers in a project.
1885+
"""Get the quota of Network Load Balancers in a project.
18861886
1887-
Retrieves the configured Load Balancer quota for the project. Limit can be changed via service request. There can be 3 times as many observability credentials as Load Balancers.
1887+
Retrieves the configured Network Load Balancer quota for the project. Limit can be changed via service request.
18881888
18891889
:param project_id: (required)
18901890
:type project_id: str

services/loadbalancer/src/stackit/loadbalancer/models/get_quota_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ class GetQuotaResponse(BaseModel):
2828
GetQuotaResponse
2929
""" # noqa: E501
3030

31-
max_credentials: Optional[Annotated[int, Field(le=999, strict=True, ge=-1)]] = Field(
31+
max_credentials: Optional[Annotated[int, Field(le=1000000, strict=True, ge=-1)]] = Field(
3232
default=None,
3333
description="The maximum number of observability credentials that can be stored in this project.",
3434
alias="maxCredentials",
3535
)
3636
max_load_balancers: Optional[Annotated[int, Field(le=1000000, strict=True, ge=-1)]] = Field(
3737
default=None,
38-
description="The maximum number of load balancing servers in this project. Unlimited if set to -1.",
38+
description="The maximum number of load balancing servers in this project.",
3939
alias="maxLoadBalancers",
4040
)
4141
project_id: Optional[UUID] = Field(default=None, description="Project identifier", alias="projectId")

0 commit comments

Comments
 (0)