Skip to content

Generator: Update SDK #2038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jul 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 36 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,39 @@
## Release (2025-XX-YY)

- `alb`: [v0.3.1](services/alb/CHANGELOG.md#v031)
- **Internal:** Improve deserializing and error types
- `alb`:
- [v0.4.0](services/alb/CHANGELOG.md#v040)
- **Feature:** Add new field `load_balancer_security_group` in `LoadBalancer`, `CreateLoadBalancerPayload` and `UpdateLoadBalancerPayload` Models
- [v0.3.1](services/alb/CHANGELOG.md#v031)
- **Internal:** Improve deserializing and error types
- `authorization`: [v0.2.5](services/authorization/CHANGELOG.md#v025)
- **Internal:** Improve deserializing and error types
- `certificates`: [v1.0.2](services/certificates/CHANGELOG.md#v102)
- **Internal:** Improve deserializing and error types
- `lbapplication`: [v0.3.4](services/lbapplication/CHANGELOG.md#v034)
- **Internal:** Improve deserializing and error types
- `loadbalancer`: [v0.4.1](services/loadbalancer/CHANGELOG.md#v041)
- **Internal:** Improve deserializing and error types
- `loadbalancer`:
- [v0.5.0](services/loadbalancer/CHANGELOG.md#v050)
- **Feature:** Add new field `load_balancer_security_group` in `LoadBalancer`, `CreateLoadBalancerPayload` and `UpdateLoadBalancerPayload` Models
- [v0.4.1](services/loadbalancer/CHANGELOG.md#v041)
- **Internal:** Improve deserializing and error types
- `logme`: [v0.3.2](services/logme/CHANGELOG.md#v032)
- **Internal:** Improve deserializing and error types
- `mariadb`: [v0.2.3](services/mariadb/CHANGELOG.md#v023)
- **Internal:** Improve deserializing and error types
- `modelserving`: [v0.1.2](services/modelserving/CHANGELOG.md#v012)
- **Internal:** Improve deserializing and error types
- `mongodbflex`:
- [v1.1.0](services/mongodbflex/CHANGELOG.md#v110)
- **Breaking Change:** Add required `region` parameter to all API methods.
- **Feature:** Add new methods `clone_instance()` and `restore_instance()`.
- **Feature:** Add new models `InstanceFlavor` and `InstanceResponse`.
- `objectstorage`: [v1.0.4](services/objectstorage/CHANGELOG.md#v104)
- **Internal:** Improve deserializing and error types
- `observability`: [v0.5.1](services/observability/CHANGELOG.md#v051)
- **Internal:** Improve deserializing and error types
- `observability`:
- [v0.6.0](services/observability/CHANGELOG.md#v060)
- **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()`
- **Feature:** Add new models `LogsConfig`, `LogsConfigResponse`, `TraceConfig`, `TracesConfigResponse`, `UpdateLogsConfigsPayload`, `UpdateTracesConfigsPayload`
- [v0.5.1](services/observability/CHANGELOG.md#v051)
- **Internal:** Improve deserializing and error types
- `postgresflex`: [v1.0.2](services/postgresflex/CHANGELOG.md#v102)
- **Internal:** Improve deserializing and error types
- `rabbitmq`: [v0.2.2](services/rabbitmq/CHANGELOG.md#v022)
Expand Down Expand Up @@ -97,17 +111,21 @@
- **Internal:** Improve deserializing and error types
- [v0.3.0](services/opensearch/CHANGELOG.md#v030)
- **Breaking change:** Attribute `tls_protocols` of `InstanceParameters` model is now of type `List[StrictStr]` (previously `StrictStr`)
- `iaas`: [v0.5.4](services/iaas/CHANGELOG.md#v054)
- **Improvement:** Increase max length of `machine_type` and `volume_performance_class` fields from 63 to 127 characters in API methods
- **Improvement:** Increase max length of `name` fields from 63 to 127 characters for various models:
- `AffinityGroup`, `Backup`, `BootVolume`, `CreateAffinityGroupPayload`, `CreateBackupPayload`
`CreateImagePayload`, `CreateNetworkAreaPayload`, `CreateNetworkPayload`, `CreateNicPayload`
`CreateSecurityGroupPayload`, `CreateServerPayload`, `CreateSnapshotPayload`, `CreateVolumePayload`
`Image`, `MachineType`, `Nic`, `PartialUpdateNetworkAreaPayload`, `PartialUpdateNetworkPayload`
`ResizeServerPayload`, `SecurityGroup`, `Server`, `ServerNetwork`, `Snapshot`
`UpdateBackupPayload`, `UpdateImagePayload`, `UpdateNicPayload`, `UpdateSecurityGroupPayload`
`UpdateServerPayload`, `UpdateSnapshotPayload`, `UpdateVolumePayload`, `Volume`, `VolumePerformanceClass`
- **Improvement:** Update regular expression pattern for name validation to allow more flexible naming conventions
- `iaas`:
- [v0.5.5](services/iaas/CHANGELOG.md#v055)
- **Improvement:** Add proper noqa comments for docstrings
- **Improvement:** Update type annotations for better type safety
- [v0.5.4](services/iaas/CHANGELOG.md#v054)
- **Improvement:** Increase max length of `machine_type` and `volume_performance_class` fields from 63 to 127 characters in API methods
- **Improvement:** Increase max length of `name` fields from 63 to 127 characters for various models:
- `AffinityGroup`, `Backup`, `BootVolume`, `CreateAffinityGroupPayload`, `CreateBackupPayload`
`CreateImagePayload`, `CreateNetworkAreaPayload`, `CreateNetworkPayload`, `CreateNicPayload`
`CreateSecurityGroupPayload`, `CreateServerPayload`, `CreateSnapshotPayload`, `CreateVolumePayload`
`Image`, `MachineType`, `Nic`, `PartialUpdateNetworkAreaPayload`, `PartialUpdateNetworkPayload`
`ResizeServerPayload`, `SecurityGroup`, `Server`, `ServerNetwork`, `Snapshot`
`UpdateBackupPayload`, `UpdateImagePayload`, `UpdateNicPayload`, `UpdateSecurityGroupPayload`
`UpdateServerPayload`, `UpdateSnapshotPayload`, `UpdateVolumePayload`, `Volume`, `VolumePerformanceClass`
- **Improvement:** Update regular expression pattern for name validation to allow more flexible naming conventions

## Release (2025-06-16)
- `core`: [v0.2.0](core/CHANGELOG.md#v020-2025-06-12)
Expand Down
3 changes: 3 additions & 0 deletions services/alb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.4.0
- **Feature:** Add new field `load_balancer_security_group` in `LoadBalancer`, `CreateLoadBalancerPayload` and `UpdateLoadBalancerPayload` Models

## v0.3.1
- **Internal:** Improve deserializing and error types

Expand Down
2 changes: 1 addition & 1 deletion services/alb/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "stackit-alb"

[tool.poetry]
name = "stackit-alb"
version = "v0.3.1"
version = "v0.4.0"
authors = [
"STACKIT Developer Tools <[email protected]>",
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ class CreateLoadBalancerPayload(BaseModel):
alias="externalAddress",
)
listeners: Optional[List[Listener]] = Field(default=None, description="There is a maximum listener count of 20. ")
load_balancer_security_group: Optional[SecurityGroup] = Field(
default=None,
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
alias="loadBalancerSecurityGroup",
)
name: Optional[Annotated[str, Field(strict=True)]] = Field(
default=None, description="Application Load Balancer name. Not changeable after creation."
)
Expand Down Expand Up @@ -82,7 +87,7 @@ class CreateLoadBalancerPayload(BaseModel):
)
target_security_group: Optional[SecurityGroup] = Field(
default=None,
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
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.",
alias="targetSecurityGroup",
)
version: Optional[StrictStr] = Field(
Expand All @@ -94,6 +99,7 @@ class CreateLoadBalancerPayload(BaseModel):
"errors",
"externalAddress",
"listeners",
"loadBalancerSecurityGroup",
"name",
"networks",
"options",
Expand Down Expand Up @@ -164,10 +170,12 @@ def to_dict(self) -> Dict[str, Any]:
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
"""
excluded_fields: Set[str] = set(
[
"errors",
"load_balancer_security_group",
"private_address",
"region",
"status",
Expand All @@ -194,6 +202,9 @@ def to_dict(self) -> Dict[str, Any]:
if _item:
_items.append(_item.to_dict())
_dict["listeners"] = _items
# override the default output from pydantic by calling `to_dict()` of load_balancer_security_group
if self.load_balancer_security_group:
_dict["loadBalancerSecurityGroup"] = self.load_balancer_security_group.to_dict()
# override the default output from pydantic by calling `to_dict()` of each item in networks (list)
_items = []
if self.networks:
Expand Down Expand Up @@ -239,6 +250,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
if obj.get("listeners") is not None
else None
),
"loadBalancerSecurityGroup": (
SecurityGroup.from_dict(obj["loadBalancerSecurityGroup"])
if obj.get("loadBalancerSecurityGroup") is not None
else None
),
"name": obj.get("name"),
"networks": (
[Network.from_dict(_item) for _item in obj["networks"]] if obj.get("networks") is not None else None
Expand Down
18 changes: 17 additions & 1 deletion services/alb/src/stackit/alb/models/load_balancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ class LoadBalancer(BaseModel):
alias="externalAddress",
)
listeners: Optional[List[Listener]] = Field(default=None, description="There is a maximum listener count of 20. ")
load_balancer_security_group: Optional[SecurityGroup] = Field(
default=None,
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
alias="loadBalancerSecurityGroup",
)
name: Optional[Annotated[str, Field(strict=True)]] = Field(
default=None, description="Application Load Balancer name. Not changeable after creation."
)
Expand Down Expand Up @@ -82,7 +87,7 @@ class LoadBalancer(BaseModel):
)
target_security_group: Optional[SecurityGroup] = Field(
default=None,
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
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.",
alias="targetSecurityGroup",
)
version: Optional[StrictStr] = Field(
Expand All @@ -94,6 +99,7 @@ class LoadBalancer(BaseModel):
"errors",
"externalAddress",
"listeners",
"loadBalancerSecurityGroup",
"name",
"networks",
"options",
Expand Down Expand Up @@ -164,10 +170,12 @@ def to_dict(self) -> Dict[str, Any]:
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
"""
excluded_fields: Set[str] = set(
[
"errors",
"load_balancer_security_group",
"private_address",
"region",
"status",
Expand All @@ -194,6 +202,9 @@ def to_dict(self) -> Dict[str, Any]:
if _item:
_items.append(_item.to_dict())
_dict["listeners"] = _items
# override the default output from pydantic by calling `to_dict()` of load_balancer_security_group
if self.load_balancer_security_group:
_dict["loadBalancerSecurityGroup"] = self.load_balancer_security_group.to_dict()
# override the default output from pydantic by calling `to_dict()` of each item in networks (list)
_items = []
if self.networks:
Expand Down Expand Up @@ -239,6 +250,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
if obj.get("listeners") is not None
else None
),
"loadBalancerSecurityGroup": (
SecurityGroup.from_dict(obj["loadBalancerSecurityGroup"])
if obj.get("loadBalancerSecurityGroup") is not None
else None
),
"name": obj.get("name"),
"networks": (
[Network.from_dict(_item) for _item in obj["networks"]] if obj.get("networks") is not None else None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ class UpdateLoadBalancerPayload(BaseModel):
alias="externalAddress",
)
listeners: Optional[List[Listener]] = Field(default=None, description="There is a maximum listener count of 20. ")
load_balancer_security_group: Optional[SecurityGroup] = Field(
default=None,
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
alias="loadBalancerSecurityGroup",
)
name: Optional[Annotated[str, Field(strict=True)]] = Field(
default=None, description="Application Load Balancer name. Not changeable after creation."
)
Expand Down Expand Up @@ -82,7 +87,7 @@ class UpdateLoadBalancerPayload(BaseModel):
)
target_security_group: Optional[SecurityGroup] = Field(
default=None,
description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
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.",
alias="targetSecurityGroup",
)
version: Optional[StrictStr] = Field(
Expand All @@ -94,6 +99,7 @@ class UpdateLoadBalancerPayload(BaseModel):
"errors",
"externalAddress",
"listeners",
"loadBalancerSecurityGroup",
"name",
"networks",
"options",
Expand Down Expand Up @@ -164,10 +170,12 @@ def to_dict(self) -> Dict[str, Any]:
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
"""
excluded_fields: Set[str] = set(
[
"errors",
"load_balancer_security_group",
"private_address",
"region",
"status",
Expand All @@ -194,6 +202,9 @@ def to_dict(self) -> Dict[str, Any]:
if _item:
_items.append(_item.to_dict())
_dict["listeners"] = _items
# override the default output from pydantic by calling `to_dict()` of load_balancer_security_group
if self.load_balancer_security_group:
_dict["loadBalancerSecurityGroup"] = self.load_balancer_security_group.to_dict()
# override the default output from pydantic by calling `to_dict()` of each item in networks (list)
_items = []
if self.networks:
Expand Down Expand Up @@ -239,6 +250,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
if obj.get("listeners") is not None
else None
),
"loadBalancerSecurityGroup": (
SecurityGroup.from_dict(obj["loadBalancerSecurityGroup"])
if obj.get("loadBalancerSecurityGroup") is not None
else None
),
"name": obj.get("name"),
"networks": (
[Network.from_dict(_item) for _item in obj["networks"]] if obj.get("networks") is not None else None
Expand Down
4 changes: 4 additions & 0 deletions services/iaas/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.5.5
- **Improvement:** Add proper noqa comments for docstrings
- **Improvement:** Update type annotations for better type safety

## v0.5.4
- **Improvement:** Increase max length of `machine_type` and `volume_performance_class` fields from 63 to 127 characters in API methods
- **Improvement:** Increase max length of `name` fields from 63 to 127 characters for various models:
Expand Down
2 changes: 1 addition & 1 deletion services/iaas/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "stackit-iaas"

[tool.poetry]
name = "stackit-iaas"
version = "v0.5.4"
version = "v0.5.5"
authors = [
"STACKIT Developer Tools <[email protected]>",
]
Expand Down
Loading
Loading