Skip to content

Commit fbdd357

Browse files
Benjosh95stackit-pipelineFyusel
authored
Generator: Update SDK (#2038)
* Generate alb * Generate iaas * Generate loadbalancer * Generate mongodbflex * Generate observability * update changelogs and version * update changelogs and version * update changelogs and version * update changelogs and version * update changelogs and version * Adjust changelogs Signed-off-by: Alexander Dahmen <[email protected]> --------- Signed-off-by: Alexander Dahmen <[email protected]> Co-authored-by: SDK Generator Bot <[email protected]> Co-authored-by: Alexander Dahmen <[email protected]>
1 parent 1666049 commit fbdd357

File tree

208 files changed

+4818
-2355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+4818
-2355
lines changed

CHANGELOG.md

Lines changed: 36 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,39 @@
11
## Release (2025-XX-YY)
2-
3-
- `alb`: [v0.3.1](services/alb/CHANGELOG.md#v031)
4-
- **Internal:** Improve deserializing and error types
2+
- `alb`:
3+
- [v0.4.0](services/alb/CHANGELOG.md#v040)
4+
- **Feature:** Add new field `load_balancer_security_group` in `LoadBalancer`, `CreateLoadBalancerPayload` and `UpdateLoadBalancerPayload` Models
5+
- [v0.3.1](services/alb/CHANGELOG.md#v031)
6+
- **Internal:** Improve deserializing and error types
57
- `authorization`: [v0.2.5](services/authorization/CHANGELOG.md#v025)
68
- **Internal:** Improve deserializing and error types
79
- `certificates`: [v1.0.2](services/certificates/CHANGELOG.md#v102)
810
- **Internal:** Improve deserializing and error types
911
- `lbapplication`: [v0.3.4](services/lbapplication/CHANGELOG.md#v034)
1012
- **Internal:** Improve deserializing and error types
11-
- `loadbalancer`: [v0.4.1](services/loadbalancer/CHANGELOG.md#v041)
12-
- **Internal:** Improve deserializing and error types
13+
- `loadbalancer`:
14+
- [v0.5.0](services/loadbalancer/CHANGELOG.md#v050)
15+
- **Feature:** Add new field `load_balancer_security_group` in `LoadBalancer`, `CreateLoadBalancerPayload` and `UpdateLoadBalancerPayload` Models
16+
- [v0.4.1](services/loadbalancer/CHANGELOG.md#v041)
17+
- **Internal:** Improve deserializing and error types
1318
- `logme`: [v0.3.2](services/logme/CHANGELOG.md#v032)
1419
- **Internal:** Improve deserializing and error types
1520
- `mariadb`: [v0.2.3](services/mariadb/CHANGELOG.md#v023)
1621
- **Internal:** Improve deserializing and error types
1722
- `modelserving`: [v0.1.2](services/modelserving/CHANGELOG.md#v012)
1823
- **Internal:** Improve deserializing and error types
24+
- `mongodbflex`:
25+
- [v1.1.0](services/mongodbflex/CHANGELOG.md#v110)
26+
- **Breaking Change:** Add required `region` parameter to all API methods.
27+
- **Feature:** Add new methods `clone_instance()` and `restore_instance()`.
28+
- **Feature:** Add new models `InstanceFlavor` and `InstanceResponse`.
1929
- `objectstorage`: [v1.0.4](services/objectstorage/CHANGELOG.md#v104)
2030
- **Internal:** Improve deserializing and error types
21-
- `observability`: [v0.5.1](services/observability/CHANGELOG.md#v051)
22-
- **Internal:** Improve deserializing and error types
31+
- `observability`:
32+
- [v0.6.0](services/observability/CHANGELOG.md#v060)
33+
- **Feature:** Add new methods `get_logs_configs()`, `update_logs_configs()`, `get_traces_configs()`, `update_traces_configs()`, `get_metrics_storage_retention()`, `update_metrics_storage_retention()`, `get_scrape_config()`, `update_scrape_config()`, `list_acl()`, `update_acl()`, `list_alert_config_receivers()`, `list_alert_config_routes()`, `update_alert_config_receiver()`, `update_alert_config_route()`, `list_alertgroups()`, `list_alertrules()`, `list_credentials()`, `list_instances()`
34+
- **Feature:** Add new models `LogsConfig`, `LogsConfigResponse`, `TraceConfig`, `TracesConfigResponse`, `UpdateLogsConfigsPayload`, `UpdateTracesConfigsPayload`
35+
- [v0.5.1](services/observability/CHANGELOG.md#v051)
36+
- **Internal:** Improve deserializing and error types
2337
- `postgresflex`: [v1.0.2](services/postgresflex/CHANGELOG.md#v102)
2438
- **Internal:** Improve deserializing and error types
2539
- `rabbitmq`: [v0.2.2](services/rabbitmq/CHANGELOG.md#v022)
@@ -97,17 +111,21 @@
97111
- **Internal:** Improve deserializing and error types
98112
- [v0.3.0](services/opensearch/CHANGELOG.md#v030)
99113
- **Breaking change:** Attribute `tls_protocols` of `InstanceParameters` model is now of type `List[StrictStr]` (previously `StrictStr`)
100-
- `iaas`: [v0.5.4](services/iaas/CHANGELOG.md#v054)
101-
- **Improvement:** Increase max length of `machine_type` and `volume_performance_class` fields from 63 to 127 characters in API methods
102-
- **Improvement:** Increase max length of `name` fields from 63 to 127 characters for various models:
103-
- `AffinityGroup`, `Backup`, `BootVolume`, `CreateAffinityGroupPayload`, `CreateBackupPayload`
104-
`CreateImagePayload`, `CreateNetworkAreaPayload`, `CreateNetworkPayload`, `CreateNicPayload`
105-
`CreateSecurityGroupPayload`, `CreateServerPayload`, `CreateSnapshotPayload`, `CreateVolumePayload`
106-
`Image`, `MachineType`, `Nic`, `PartialUpdateNetworkAreaPayload`, `PartialUpdateNetworkPayload`
107-
`ResizeServerPayload`, `SecurityGroup`, `Server`, `ServerNetwork`, `Snapshot`
108-
`UpdateBackupPayload`, `UpdateImagePayload`, `UpdateNicPayload`, `UpdateSecurityGroupPayload`
109-
`UpdateServerPayload`, `UpdateSnapshotPayload`, `UpdateVolumePayload`, `Volume`, `VolumePerformanceClass`
110-
- **Improvement:** Update regular expression pattern for name validation to allow more flexible naming conventions
114+
- `iaas`:
115+
- [v0.5.5](services/iaas/CHANGELOG.md#v055)
116+
- **Improvement:** Add proper noqa comments for docstrings
117+
- **Improvement:** Update type annotations for better type safety
118+
- [v0.5.4](services/iaas/CHANGELOG.md#v054)
119+
- **Improvement:** Increase max length of `machine_type` and `volume_performance_class` fields from 63 to 127 characters in API methods
120+
- **Improvement:** Increase max length of `name` fields from 63 to 127 characters for various models:
121+
- `AffinityGroup`, `Backup`, `BootVolume`, `CreateAffinityGroupPayload`, `CreateBackupPayload`
122+
`CreateImagePayload`, `CreateNetworkAreaPayload`, `CreateNetworkPayload`, `CreateNicPayload`
123+
`CreateSecurityGroupPayload`, `CreateServerPayload`, `CreateSnapshotPayload`, `CreateVolumePayload`
124+
`Image`, `MachineType`, `Nic`, `PartialUpdateNetworkAreaPayload`, `PartialUpdateNetworkPayload`
125+
`ResizeServerPayload`, `SecurityGroup`, `Server`, `ServerNetwork`, `Snapshot`
126+
`UpdateBackupPayload`, `UpdateImagePayload`, `UpdateNicPayload`, `UpdateSecurityGroupPayload`
127+
`UpdateServerPayload`, `UpdateSnapshotPayload`, `UpdateVolumePayload`, `Volume`, `VolumePerformanceClass`
128+
- **Improvement:** Update regular expression pattern for name validation to allow more flexible naming conventions
111129

112130
## Release (2025-06-16)
113131
- `core`: [v0.2.0](core/CHANGELOG.md#v020-2025-06-12)

services/alb/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.4.0
2+
- **Feature:** Add new field `load_balancer_security_group` in `LoadBalancer`, `CreateLoadBalancerPayload` and `UpdateLoadBalancerPayload` Models
3+
14
## v0.3.1
25
- **Internal:** Improve deserializing and error types
36

services/alb/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "stackit-alb"
33

44
[tool.poetry]
55
name = "stackit-alb"
6-
version = "v0.3.1"
6+
version = "v0.4.0"
77
authors = [
88
"STACKIT Developer Tools <[email protected]>",
99
]

services/alb/src/stackit/alb/models/create_load_balancer_payload.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ class CreateLoadBalancerPayload(BaseModel):
5555
alias="externalAddress",
5656
)
5757
listeners: Optional[List[Listener]] = Field(default=None, description="There is a maximum listener count of 20. ")
58+
load_balancer_security_group: Optional[SecurityGroup] = Field(
59+
default=None,
60+
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
61+
alias="loadBalancerSecurityGroup",
62+
)
5863
name: Optional[Annotated[str, Field(strict=True)]] = Field(
5964
default=None, description="Application Load Balancer name. Not changeable after creation."
6065
)
@@ -82,7 +87,7 @@ class CreateLoadBalancerPayload(BaseModel):
8287
)
8388
target_security_group: Optional[SecurityGroup] = Field(
8489
default=None,
85-
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
90+
description="Security Group that allows the targets to receive traffic from the LoadBalancer. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
8691
alias="targetSecurityGroup",
8792
)
8893
version: Optional[StrictStr] = Field(
@@ -94,6 +99,7 @@ class CreateLoadBalancerPayload(BaseModel):
9499
"errors",
95100
"externalAddress",
96101
"listeners",
102+
"loadBalancerSecurityGroup",
97103
"name",
98104
"networks",
99105
"options",
@@ -164,10 +170,12 @@ def to_dict(self) -> Dict[str, Any]:
164170
* OpenAPI `readOnly` fields are excluded.
165171
* OpenAPI `readOnly` fields are excluded.
166172
* OpenAPI `readOnly` fields are excluded.
173+
* OpenAPI `readOnly` fields are excluded.
167174
"""
168175
excluded_fields: Set[str] = set(
169176
[
170177
"errors",
178+
"load_balancer_security_group",
171179
"private_address",
172180
"region",
173181
"status",
@@ -194,6 +202,9 @@ def to_dict(self) -> Dict[str, Any]:
194202
if _item:
195203
_items.append(_item.to_dict())
196204
_dict["listeners"] = _items
205+
# override the default output from pydantic by calling `to_dict()` of load_balancer_security_group
206+
if self.load_balancer_security_group:
207+
_dict["loadBalancerSecurityGroup"] = self.load_balancer_security_group.to_dict()
197208
# override the default output from pydantic by calling `to_dict()` of each item in networks (list)
198209
_items = []
199210
if self.networks:
@@ -239,6 +250,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
239250
if obj.get("listeners") is not None
240251
else None
241252
),
253+
"loadBalancerSecurityGroup": (
254+
SecurityGroup.from_dict(obj["loadBalancerSecurityGroup"])
255+
if obj.get("loadBalancerSecurityGroup") is not None
256+
else None
257+
),
242258
"name": obj.get("name"),
243259
"networks": (
244260
[Network.from_dict(_item) for _item in obj["networks"]] if obj.get("networks") is not None else None

services/alb/src/stackit/alb/models/load_balancer.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ class LoadBalancer(BaseModel):
5555
alias="externalAddress",
5656
)
5757
listeners: Optional[List[Listener]] = Field(default=None, description="There is a maximum listener count of 20. ")
58+
load_balancer_security_group: Optional[SecurityGroup] = Field(
59+
default=None,
60+
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
61+
alias="loadBalancerSecurityGroup",
62+
)
5863
name: Optional[Annotated[str, Field(strict=True)]] = Field(
5964
default=None, description="Application Load Balancer name. Not changeable after creation."
6065
)
@@ -82,7 +87,7 @@ class LoadBalancer(BaseModel):
8287
)
8388
target_security_group: Optional[SecurityGroup] = Field(
8489
default=None,
85-
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
90+
description="Security Group that allows the targets to receive traffic from the LoadBalancer. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
8691
alias="targetSecurityGroup",
8792
)
8893
version: Optional[StrictStr] = Field(
@@ -94,6 +99,7 @@ class LoadBalancer(BaseModel):
9499
"errors",
95100
"externalAddress",
96101
"listeners",
102+
"loadBalancerSecurityGroup",
97103
"name",
98104
"networks",
99105
"options",
@@ -164,10 +170,12 @@ def to_dict(self) -> Dict[str, Any]:
164170
* OpenAPI `readOnly` fields are excluded.
165171
* OpenAPI `readOnly` fields are excluded.
166172
* OpenAPI `readOnly` fields are excluded.
173+
* OpenAPI `readOnly` fields are excluded.
167174
"""
168175
excluded_fields: Set[str] = set(
169176
[
170177
"errors",
178+
"load_balancer_security_group",
171179
"private_address",
172180
"region",
173181
"status",
@@ -194,6 +202,9 @@ def to_dict(self) -> Dict[str, Any]:
194202
if _item:
195203
_items.append(_item.to_dict())
196204
_dict["listeners"] = _items
205+
# override the default output from pydantic by calling `to_dict()` of load_balancer_security_group
206+
if self.load_balancer_security_group:
207+
_dict["loadBalancerSecurityGroup"] = self.load_balancer_security_group.to_dict()
197208
# override the default output from pydantic by calling `to_dict()` of each item in networks (list)
198209
_items = []
199210
if self.networks:
@@ -239,6 +250,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
239250
if obj.get("listeners") is not None
240251
else None
241252
),
253+
"loadBalancerSecurityGroup": (
254+
SecurityGroup.from_dict(obj["loadBalancerSecurityGroup"])
255+
if obj.get("loadBalancerSecurityGroup") is not None
256+
else None
257+
),
242258
"name": obj.get("name"),
243259
"networks": (
244260
[Network.from_dict(_item) for _item in obj["networks"]] if obj.get("networks") is not None else None

services/alb/src/stackit/alb/models/update_load_balancer_payload.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ class UpdateLoadBalancerPayload(BaseModel):
5555
alias="externalAddress",
5656
)
5757
listeners: Optional[List[Listener]] = Field(default=None, description="There is a maximum listener count of 20. ")
58+
load_balancer_security_group: Optional[SecurityGroup] = Field(
59+
default=None,
60+
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
61+
alias="loadBalancerSecurityGroup",
62+
)
5863
name: Optional[Annotated[str, Field(strict=True)]] = Field(
5964
default=None, description="Application Load Balancer name. Not changeable after creation."
6065
)
@@ -82,7 +87,7 @@ class UpdateLoadBalancerPayload(BaseModel):
8287
)
8388
target_security_group: Optional[SecurityGroup] = Field(
8489
default=None,
85-
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
90+
description="Security Group that allows the targets to receive traffic from the LoadBalancer. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
8691
alias="targetSecurityGroup",
8792
)
8893
version: Optional[StrictStr] = Field(
@@ -94,6 +99,7 @@ class UpdateLoadBalancerPayload(BaseModel):
9499
"errors",
95100
"externalAddress",
96101
"listeners",
102+
"loadBalancerSecurityGroup",
97103
"name",
98104
"networks",
99105
"options",
@@ -164,10 +170,12 @@ def to_dict(self) -> Dict[str, Any]:
164170
* OpenAPI `readOnly` fields are excluded.
165171
* OpenAPI `readOnly` fields are excluded.
166172
* OpenAPI `readOnly` fields are excluded.
173+
* OpenAPI `readOnly` fields are excluded.
167174
"""
168175
excluded_fields: Set[str] = set(
169176
[
170177
"errors",
178+
"load_balancer_security_group",
171179
"private_address",
172180
"region",
173181
"status",
@@ -194,6 +202,9 @@ def to_dict(self) -> Dict[str, Any]:
194202
if _item:
195203
_items.append(_item.to_dict())
196204
_dict["listeners"] = _items
205+
# override the default output from pydantic by calling `to_dict()` of load_balancer_security_group
206+
if self.load_balancer_security_group:
207+
_dict["loadBalancerSecurityGroup"] = self.load_balancer_security_group.to_dict()
197208
# override the default output from pydantic by calling `to_dict()` of each item in networks (list)
198209
_items = []
199210
if self.networks:
@@ -239,6 +250,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
239250
if obj.get("listeners") is not None
240251
else None
241252
),
253+
"loadBalancerSecurityGroup": (
254+
SecurityGroup.from_dict(obj["loadBalancerSecurityGroup"])
255+
if obj.get("loadBalancerSecurityGroup") is not None
256+
else None
257+
),
242258
"name": obj.get("name"),
243259
"networks": (
244260
[Network.from_dict(_item) for _item in obj["networks"]] if obj.get("networks") is not None else None

services/iaas/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.5.5
2+
- **Improvement:** Add proper noqa comments for docstrings
3+
- **Improvement:** Update type annotations for better type safety
4+
15
## v0.5.4
26
- **Improvement:** Increase max length of `machine_type` and `volume_performance_class` fields from 63 to 127 characters in API methods
37
- **Improvement:** Increase max length of `name` fields from 63 to 127 characters for various models:

services/iaas/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "stackit-iaas"
33

44
[tool.poetry]
55
name = "stackit-iaas"
6-
version = "v0.5.4"
6+
version = "v0.5.5"
77
authors = [
88
"STACKIT Developer Tools <[email protected]>",
99
]

0 commit comments

Comments
 (0)