Skip to content

Commit 6a04629

Browse files
Generator: Update SDK /services/iaas (#10417)
Co-authored-by: Marcel Jacek <72880145+marceljk@users.noreply.github.com>
1 parent 1a5ff2c commit 6a04629

55 files changed

Lines changed: 432 additions & 56 deletions

Some content is hidden

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

‎CHANGELOG.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@
1616
- **Improvement:** `list_record_sets`/`list_zones` docs clarify that records/zones in the `DELETE_SUCCEEDED` state are excluded by default; pass `state[eq]=DELETE_SUCCEEDED` to retrieve them
1717
- **Improvement:** `Label.key`/`CreateLabelPayload.key` now accepts up to 314 characters (previously 63), supporting prefixed label keys (e.g. `example.com/environment`)
1818
- **Breaking Change:** `PartialUpdateZonePayload.extensions` type changed from `ZoneExtensions` to `DomainExtensions`, now also exposing `observability_extension.state`
19+
- `iaas`:
20+
- [v1.7.0](services/iaas/CHANGELOG.md#v170)
21+
- **Docs:** Update documentation for `labels` field constraints across models.
22+
- **Feature:** Add `Description` field in `Network` model
23+
- **Feature:** Add `CreatedAt` and `UpdatedAt` timestamps in `NIC`, `PublicIp` and `ServerNetwork` model
24+
- **Feature:** Add enum validation for `Type` field in `DestinationCIDRv4` model. Valid value is `cidrv4`.
25+
- **Feature:** Add enum validation for `Type` field in `DestinationCIDRv6` model. Valid value is `cidrv6`.
26+
- **Feature:** Add enum validation for `Type` field in `NexthopBlackhole` model. Valid value is `blackhole`.
27+
- **Feature:** Add enum validation for `Type` field in `NexthopInternet` model. Valid value is `internet`.
28+
- **Feature:** Add enum validation for `Type` field in `NexthopIPv4` model. Valid value is `ipv4`.
29+
- **Feature:** Add enum validation for `Type` field in `NexthopIPv6` model. Valid value is `ipv6`.
30+
- **Feature:** Add `ProjectType` and `VpcId` fields in `Project` model
1931
- `objectstorage`:
2032
- [v1.7.0](services/objectstorage/CHANGELOG.md#v170)
2133
- **Feature:** New field `Labels` in `ProjectStatus` model struct

‎services/iaas/CHANGELOG.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## v1.7.0
2+
- **Docs:** Update documentation for `labels` field constraints across models.
3+
- **Feature:** Add `Description` field in `Network` model
4+
- **Feature:** Add `CreatedAt` and `UpdatedAt` timestamps in `NIC`, `PublicIp` and `ServerNetwork` model
5+
- **Feature:** Add enum validation for `Type` field in `DestinationCIDRv4` model. Valid value is `cidrv4`.
6+
- **Feature:** Add enum validation for `Type` field in `DestinationCIDRv6` model. Valid value is `cidrv6`.
7+
- **Feature:** Add enum validation for `Type` field in `NexthopBlackhole` model. Valid value is `blackhole`.
8+
- **Feature:** Add enum validation for `Type` field in `NexthopInternet` model. Valid value is `internet`.
9+
- **Feature:** Add enum validation for `Type` field in `NexthopIPv4` model. Valid value is `ipv4`.
10+
- **Feature:** Add enum validation for `Type` field in `NexthopIPv6` model. Valid value is `ipv6`.
11+
- **Feature:** Add `ProjectType` and `VpcId` fields in `Project` model
12+
113
## v1.6.0
214
- **Docs:** Extend some descriptions
315
- **Feature:** Add support for configuring a `vpc_network_range_id` in `CreateNetworkIPv4WithPrefix`, `CreateNetworkIPv4WithPrefixLength`, `CreateNetworkIPv6WithPrefix` and `CreateNetworkIPv6WithPrefixLength` model

‎services/iaas/oas_commit‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
43a874547d9e5b23655d0f351c47b32b46d4a19e
1+
b155367fdf354045bbd1d2403a19bf4e363e76a3

‎services/iaas/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-iaas"
3-
version = "v1.6.0"
3+
version = "v1.7.0"
44
description = "IaaS-API"
55
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
66
requires-python = ">=3.10,<4.0"

‎services/iaas/src/stackit/iaas/models/add_routing_table_to_area_payload.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class AddRoutingTableToAreaPayload(BaseModel):
4949
id: Optional[UUID] = Field(default=None, description="Universally Unique Identifier (UUID).")
5050
labels: Optional[Dict[str, Any]] = Field(
5151
default=None,
52-
description="Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.",
52+
description="Object that represents the labels as key-value pairs of a resource. Key constraints: - May contain an optional domain prefix separated by a slash (`/`). - Domain prefix must be less than or equal to 250 characters. - Domain prefix must ba a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - Length (excluding the domain prefix) must be between 1 and 63 characters. - Must begin and end with an alphanumerical character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use. Value constraints: - Must be less than or equal to 63 characters long (can be empty). - If not empty it must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. A resource can have a maximum of 64 labels. Reserved labels are excluded from this count. Providing a `null` value for a key will remove that key.",
5353
)
5454
name: Annotated[str, Field(strict=True, max_length=127)] = Field(
5555
description="The name for a General Object. Matches Names and also UUIDs."

‎services/iaas/src/stackit/iaas/models/backup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Backup(BaseModel):
5252
id: Optional[UUID] = Field(default=None, description="Universally Unique Identifier (UUID).")
5353
labels: Optional[Dict[str, Any]] = Field(
5454
default=None,
55-
description="Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.",
55+
description="Object that represents the labels as key-value pairs of a resource. Key constraints: - May contain an optional domain prefix separated by a slash (`/`). - Domain prefix must be less than or equal to 250 characters. - Domain prefix must ba a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - Length (excluding the domain prefix) must be between 1 and 63 characters. - Must begin and end with an alphanumerical character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use. Value constraints: - Must be less than or equal to 63 characters long (can be empty). - If not empty it must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. A resource can have a maximum of 64 labels. Reserved labels are excluded from this count. Providing a `null` value for a key will remove that key.",
5656
)
5757
name: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
5858
default=None, description="The name for a General Object. Matches Names and also UUIDs."

‎services/iaas/src/stackit/iaas/models/create_backup_payload.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class CreateBackupPayload(BaseModel):
3636
)
3737
labels: Optional[Dict[str, Any]] = Field(
3838
default=None,
39-
description="Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.",
39+
description="Object that represents the labels as key-value pairs of a resource. Key constraints: - May contain an optional domain prefix separated by a slash (`/`). - Domain prefix must be less than or equal to 250 characters. - Domain prefix must ba a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - Length (excluding the domain prefix) must be between 1 and 63 characters. - Must begin and end with an alphanumerical character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use. Value constraints: - Must be less than or equal to 63 characters long (can be empty). - If not empty it must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. A resource can have a maximum of 64 labels. Reserved labels are excluded from this count. Providing a `null` value for a key will remove that key.",
4040
)
4141
name: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
4242
default=None, description="The name for a General Object. Matches Names and also UUIDs."

‎services/iaas/src/stackit/iaas/models/create_image_payload.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class CreateImagePayload(BaseModel):
5858
)
5959
labels: Optional[Dict[str, Any]] = Field(
6060
default=None,
61-
description="Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.",
61+
description="Object that represents the labels as key-value pairs of a resource. Key constraints: - May contain an optional domain prefix separated by a slash (`/`). - Domain prefix must be less than or equal to 250 characters. - Domain prefix must ba a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - Length (excluding the domain prefix) must be between 1 and 63 characters. - Must begin and end with an alphanumerical character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use. Value constraints: - Must be less than or equal to 63 characters long (can be empty). - If not empty it must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. A resource can have a maximum of 64 labels. Reserved labels are excluded from this count. Providing a `null` value for a key will remove that key.",
6262
)
6363
min_disk_size: Optional[StrictInt] = Field(default=None, description="Size in Gigabyte.", alias="minDiskSize")
6464
min_ram: Optional[StrictInt] = Field(default=None, description="Size in Megabyte.", alias="minRam")

‎services/iaas/src/stackit/iaas/models/create_isolated_network_payload.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CreateIsolatedNetworkPayload(BaseModel):
3535
ipv4: Optional[CreateNetworkIPv4] = None
3636
labels: Optional[Dict[str, Any]] = Field(
3737
default=None,
38-
description="Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.",
38+
description="Object that represents the labels as key-value pairs of a resource. Key constraints: - May contain an optional domain prefix separated by a slash (`/`). - Domain prefix must be less than or equal to 250 characters. - Domain prefix must ba a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - Length (excluding the domain prefix) must be between 1 and 63 characters. - Must begin and end with an alphanumerical character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use. Value constraints: - Must be less than or equal to 63 characters long (can be empty). - If not empty it must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. A resource can have a maximum of 64 labels. Reserved labels are excluded from this count. Providing a `null` value for a key will remove that key.",
3939
)
4040
name: Annotated[str, Field(strict=True, max_length=127)] = Field(
4141
description="The name for a General Object. Matches Names and also UUIDs."

‎services/iaas/src/stackit/iaas/models/create_key_pair_payload.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class CreateKeyPairPayload(BaseModel):
3838
)
3939
labels: Optional[Dict[str, Any]] = Field(
4040
default=None,
41-
description="Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.",
41+
description="Object that represents the labels as key-value pairs of a resource. Key constraints: - May contain an optional domain prefix separated by a slash (`/`). - Domain prefix must be less than or equal to 250 characters. - Domain prefix must ba a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - Length (excluding the domain prefix) must be between 1 and 63 characters. - Must begin and end with an alphanumerical character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use. Value constraints: - Must be less than or equal to 63 characters long (can be empty). - If not empty it must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. A resource can have a maximum of 64 labels. Reserved labels are excluded from this count. Providing a `null` value for a key will remove that key.",
4242
)
4343
name: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
4444
default=None,

0 commit comments

Comments
 (0)