Skip to content

Commit bd382b4

Browse files
Generator: Update SDK /services/resourcemanager (#7595)
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@digits.schwarz>
1 parent 1f6317f commit bd382b4

16 files changed

Lines changed: 19 additions & 14 deletions

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@
143143
- [v0.9.0](services/resourcemanager/CHANGELOG.md#090)
144144
- **Chore:** Bump minimum Python version to 3.10
145145
- **Chore:** Update dependencies
146+
- [v0.9.1](services/resourcemanager/CHANGELOG.md#091)
147+
- Update description of the `labels` attribute in model classes
146148
- `runcommand`
147149
- [v1.3.0](services/runcommand/CHANGELOG.md#v130)
148150
- **Chore:** Bump minimum Python version to 3.10

services/resourcemanager/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.9.1
2+
- Update description of the `labels` attribute in model classes
3+
14
## v0.9.0
25
- **Chore:** Bump minimum Python version to 3.10
36
- **Chore:** Update dependencies
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1580d22d7dd90cfd56802bdda4a61795d1cb9813
1+
f22dd14374388602d895c8892b3e5b110dc16582

services/resourcemanager/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-resourcemanager"
3-
version = "v0.9.0"
3+
version = "v0.9.1"
44
description = "Resource Manager API"
55
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
66
requires-python = ">=3.10,<4.0"

services/resourcemanager/src/stackit/resourcemanager/models/create_folder_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class CreateFolderPayload(BaseModel):
3636
)
3737
labels: Optional[Dict[str, StrictStr]] = Field(
3838
default=None,
39-
description='Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - To create a project within a STACKIT Network Area, setting the label `"networkArea": "<networkAreaID>"` is required. This can not be changed after project creation.',
39+
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.*",
4040
)
4141
members: Optional[Annotated[List[Member], Field(min_length=1)]] = Field(
4242
default=None,

services/resourcemanager/src/stackit/resourcemanager/models/create_project_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class CreateProjectPayload(BaseModel):
3636
)
3737
labels: Optional[Dict[str, StrictStr]] = Field(
3838
default=None,
39-
description='Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - To create a project within a STACKIT Network Area, setting the label `"networkArea": "<networkAreaID>"` is required. This can not be changed after project creation.',
39+
description='Key-value string pairs attached to a resource container during creation. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * Either a `"scope": "PUBLIC"` label or a valid `networkArea` label must be provided for project creation. * To create a project within a STACKIT Network Area, you must set the label `"networkArea": "<networkAreaID>"`. > **Important:** The `networkArea` label is immutable and **cannot be changed** after project creation.',
4040
)
4141
members: Annotated[List[Member], Field(min_length=1)] = Field(
4242
description="The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account."

services/resourcemanager/src/stackit/resourcemanager/models/folder_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class FolderResponse(BaseModel):
3737
folder_id: UUID = Field(description="Globally unique folder identifier.", alias="folderId")
3838
labels: Optional[Dict[str, StrictStr]] = Field(
3939
default=None,
40-
description='Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - To create a project within a STACKIT Network Area, setting the label `"networkArea": "<networkAreaID>"` is required. This can not be changed after project creation.',
40+
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.*",
4141
)
4242
name: StrictStr = Field(description="Folder name.")
4343
parent: Parent

services/resourcemanager/src/stackit/resourcemanager/models/get_folder_details_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GetFolderDetailsResponse(BaseModel):
3838
folder_id: UUID = Field(description="Globally unique folder identifier.", alias="folderId")
3939
labels: Optional[Dict[str, StrictStr]] = Field(
4040
default=None,
41-
description='Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - To create a project within a STACKIT Network Area, setting the label `"networkArea": "<networkAreaID>"` is required. This can not be changed after project creation.',
41+
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.*",
4242
)
4343
name: StrictStr = Field(description="Folder name.")
4444
parent: Parent

services/resourcemanager/src/stackit/resourcemanager/models/get_project_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GetProjectResponse(BaseModel):
3838
creation_time: datetime = Field(description="Timestamp at which the project was created.", alias="creationTime")
3939
labels: Optional[Dict[str, StrictStr]] = Field(
4040
default=None,
41-
description='Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - To create a project within a STACKIT Network Area, setting the label `"networkArea": "<networkAreaID>"` is required. This can not be changed after project creation.',
41+
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.*",
4242
)
4343
lifecycle_state: LifecycleState = Field(alias="lifecycleState")
4444
name: StrictStr = Field(description="Project name.")

services/resourcemanager/src/stackit/resourcemanager/models/list_folders_response_items_inner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ListFoldersResponseItemsInner(BaseModel):
3737
folder_id: UUID = Field(description="Globally unique folder identifier.", alias="folderId")
3838
labels: Optional[Dict[str, StrictStr]] = Field(
3939
default=None,
40-
description='Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - To create a project within a STACKIT Network Area, setting the label `"networkArea": "<networkAreaID>"` is required. This can not be changed after project creation.',
40+
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.*",
4141
)
4242
name: StrictStr = Field(description="Name of the folder.")
4343
parent: Parent

0 commit comments

Comments
 (0)