Skip to content

Commit 8d13395

Browse files
Generator: Update SDK /services/iaas (#1275)
Co-authored-by: Ruben Hoenle <[email protected]>
1 parent 8f04f9e commit 8d13395

17 files changed

+41
-26
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
## Release (2025-XX-YY)
2+
- `iaas`: [v0.5.3](services/iaas/CHANGELOG.md#v053-2025-06-12)
3+
- Increase max length of description from 127 to 255 for
4+
- Security groups: `BaseSecurityGroupRule`, `CreateSecurityGroupPayload`, `CreateSecurityGroupRulePayload`, `SecurityGroup`, `SecurityGroupRule`, `UpdateSecurityGroupPayload`
5+
- Volumes: `CreateVolumePayload`, `UpdateVolumePayload`, `Volume`, `VolumePerformanceClass`
6+
- `MachineType`
7+
- Set max length of description of `Network` to 255
8+
- Update the description of `Server` and `CreateServerPayload` status field to include new possible value `PAUSED`
29
- `loadbalanccer`: [v0.3.0](services/loadbalancer/CHANGELOG.md#v030-2025-06-10)
310
- **Feature:** Add new field `target_security_group` in `LoadBalancer` Model
411
- `resourcemanager`: [v0.5.0](services/resourcemanager/CHANGELOG.md#v050-2025-06-04)

services/iaas/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## v0.5.3 (2025-06-12)
2+
- Increase max length of description from 127 to 255 for
3+
- Security groups: `BaseSecurityGroupRule`, `CreateSecurityGroupPayload`, `CreateSecurityGroupRulePayload`, `SecurityGroup`, `SecurityGroupRule`, `UpdateSecurityGroupPayload`
4+
- Volumes: `CreateVolumePayload`, `UpdateVolumePayload`, `Volume`, `VolumePerformanceClass`
5+
- `MachineType`
6+
- Set max length of description of `Network` to 255
7+
- Update the description of `Server` and `CreateServerPayload` status field to include new possible value `PAUSED`
8+
19
## v0.5.2 (2025-05-19)
210
- **Improvement:** Update descriptions
311

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.2"
6+
version = "v0.5.3"
77
authors = [
88
"STACKIT Developer Tools <[email protected]>",
99
]

services/iaas/src/stackit/iaas/models/base_security_group_rule.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class BaseSecurityGroupRule(BaseModel):
3131
The base schema for a security group rule.
3232
"""
3333

34-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
35-
default=None, description="Description Object. Allows string up to 127 Characters."
34+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
35+
default=None, description="Description Object. Allows string up to 255 Characters."
3636
)
3737
direction: StrictStr = Field(description="The direction of the traffic which the rule should match.")
3838
ethertype: Optional[StrictStr] = Field(default="IPv4", description="The ethertype which the rule should match.")

services/iaas/src/stackit/iaas/models/create_security_group_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class CreateSecurityGroupPayload(BaseModel):
3434
created_at: Optional[datetime] = Field(
3535
default=None, description="Date-time when resource was created.", alias="createdAt"
3636
)
37-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
38-
default=None, description="Description Object. Allows string up to 127 Characters."
37+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
38+
default=None, description="Description Object. Allows string up to 255 Characters."
3939
)
4040
id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field(
4141
default=None, description="Universally Unique Identifier (UUID)."

services/iaas/src/stackit/iaas/models/create_security_group_rule_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class CreateSecurityGroupRulePayload(BaseModel):
3232
Object that represents a request body for security group rule creation.
3333
"""
3434

35-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
36-
default=None, description="Description Object. Allows string up to 127 Characters."
35+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
36+
default=None, description="Description Object. Allows string up to 255 Characters."
3737
)
3838
direction: StrictStr = Field(description="The direction of the traffic which the rule should match.")
3939
ethertype: Optional[StrictStr] = Field(default="IPv4", description="The ethertype which the rule should match.")

services/iaas/src/stackit/iaas/models/create_server_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class CreateServerPayload(BaseModel):
9999
)
100100
status: Optional[StrictStr] = Field(
101101
default=None,
102-
description="The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.",
102+
description="The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `PAUSED`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.",
103103
)
104104
updated_at: Optional[datetime] = Field(
105105
default=None, description="Date-time when resource was last updated.", alias="updatedAt"

services/iaas/src/stackit/iaas/models/create_volume_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ class CreateVolumePayload(BaseModel):
4747
created_at: Optional[datetime] = Field(
4848
default=None, description="Date-time when resource was created.", alias="createdAt"
4949
)
50-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
51-
default=None, description="Description Object. Allows string up to 127 Characters."
50+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
51+
default=None, description="Description Object. Allows string up to 255 Characters."
5252
)
5353
id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field(
5454
default=None, description="Universally Unique Identifier (UUID)."

services/iaas/src/stackit/iaas/models/machine_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class MachineType(BaseModel):
2828
Machine Type. Filterable Fields: `disk`, `extraSpecs`, `name`, `ram`, `vcpus`.
2929
"""
3030

31-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
32-
default=None, description="Description Object. Allows string up to 127 Characters."
31+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
32+
default=None, description="Description Object. Allows string up to 255 Characters."
3333
)
3434
disk: StrictInt = Field(description="Size in Gigabyte.")
3535
extra_specs: Optional[Dict[str, Any]] = Field(

services/iaas/src/stackit/iaas/models/network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Network(BaseModel):
5151
default=None,
5252
description="Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`.",
5353
)
54-
name: StrictStr
54+
name: Annotated[str, Field(strict=True, max_length=255)]
5555
nameservers: Optional[Annotated[List[Annotated[str, Field(strict=True)]], Field(max_length=3)]] = Field(
5656
default=None, description="A list containing DNS Servers/Nameservers for IPv4."
5757
)

services/iaas/src/stackit/iaas/models/security_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class SecurityGroup(BaseModel):
3434
created_at: Optional[datetime] = Field(
3535
default=None, description="Date-time when resource was created.", alias="createdAt"
3636
)
37-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
38-
default=None, description="Description Object. Allows string up to 127 Characters."
37+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
38+
default=None, description="Description Object. Allows string up to 255 Characters."
3939
)
4040
id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field(
4141
default=None, description="Universally Unique Identifier (UUID)."

services/iaas/src/stackit/iaas/models/security_group_rule.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class SecurityGroupRule(BaseModel):
3232
Object that represents a security group rule.
3333
"""
3434

35-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
36-
default=None, description="Description Object. Allows string up to 127 Characters."
35+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
36+
default=None, description="Description Object. Allows string up to 255 Characters."
3737
)
3838
direction: StrictStr = Field(description="The direction of the traffic which the rule should match.")
3939
ethertype: Optional[StrictStr] = Field(default="IPv4", description="The ethertype which the rule should match.")

services/iaas/src/stackit/iaas/models/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class Server(BaseModel):
9999
)
100100
status: Optional[StrictStr] = Field(
101101
default=None,
102-
description="The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.",
102+
description="The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `PAUSED`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.",
103103
)
104104
updated_at: Optional[datetime] = Field(
105105
default=None, description="Date-time when resource was last updated.", alias="updatedAt"

services/iaas/src/stackit/iaas/models/update_security_group_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class UpdateSecurityGroupPayload(BaseModel):
2828
Object that represents an update request body of a security group.
2929
"""
3030

31-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
32-
default=None, description="Description Object. Allows string up to 127 Characters."
31+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
32+
default=None, description="Description Object. Allows string up to 255 Characters."
3333
)
3434
labels: Optional[Dict[str, Any]] = Field(
3535
default=None,

services/iaas/src/stackit/iaas/models/update_volume_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class UpdateVolumePayload(BaseModel):
3131
"""
3232

3333
bootable: Optional[StrictBool] = Field(default=None, description="Indicates if a volume is bootable.")
34-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
35-
default=None, description="Description Object. Allows string up to 127 Characters."
34+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
35+
default=None, description="Description Object. Allows string up to 255 Characters."
3636
)
3737
image_config: Optional[ImageConfig] = Field(default=None, alias="imageConfig")
3838
labels: Optional[Dict[str, Any]] = Field(

services/iaas/src/stackit/iaas/models/volume.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ class Volume(BaseModel):
4747
created_at: Optional[datetime] = Field(
4848
default=None, description="Date-time when resource was created.", alias="createdAt"
4949
)
50-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
51-
default=None, description="Description Object. Allows string up to 127 Characters."
50+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
51+
default=None, description="Description Object. Allows string up to 255 Characters."
5252
)
5353
id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field(
5454
default=None, description="Universally Unique Identifier (UUID)."

services/iaas/src/stackit/iaas/models/volume_performance_class.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class VolumePerformanceClass(BaseModel):
2828
Object that represents a Volume performance class.
2929
"""
3030

31-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
32-
default=None, description="Description Object. Allows string up to 127 Characters."
31+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
32+
default=None, description="Description Object. Allows string up to 255 Characters."
3333
)
3434
iops: Optional[StrictInt] = Field(default=None, description="Input/Output Operations per second.")
3535
labels: Optional[Dict[str, Any]] = Field(

0 commit comments

Comments
 (0)