Skip to content

Commit 8db6cac

Browse files
Generator: Update SDK /services/resourcemanager (#9986)
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@digits.schwarz>
1 parent 8b3aa37 commit 8db6cac

17 files changed

Lines changed: 21 additions & 15 deletions

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
- **Improvement:** Add HTTP 429 rate limit error responses in API operations
1010
- **Breaking Change:** Field `expires` in `AccessKey` model is now optional (`Optional[StrictStr]`)
1111
- **Improvement:** Field `expires` in `CreateAccessKeyPayload` model now supports explicit `None` serialization
12+
- `resourcemanager`
13+
- [v0.11.1](services/resourcemanager/CHANGELOG.md#0111)
14+
- Update descriptions of `labels` attributes in model classes
1215
- `telemetryrouter`:
1316
- [v0.6.0](services/telemetryrouter/CHANGELOG.md#v060)
1417
- **Feature:** Add `disabled` field to `ConfigFilter` to allow disabling a filter without removing it

‎services/resourcemanager/CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.11.1
2+
- Update descriptions of `labels` attributes in model classes
3+
14
## v0.11.0
25
- Updated pydoc comments of the API client methods
36
- **Breaking change:** Removal of unused model class `ContainerSearchResult`
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3fc1363ce4ead752c576a30ee9cf0e1b5836ae35
1+
61666e6da6a7eaa8ac113f9bf8748266058f493d

‎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.11.0"
3+
version = "v0.11.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="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.*",
39+
description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > 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='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.',
39+
description='Key-value string pairs attached to a resource container during creation. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). * 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="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.*",
40+
description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > 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="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.*",
41+
description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > 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="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.*",
41+
description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > 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="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.*",
40+
description='Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > 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)