Skip to content

Commit b9a247f

Browse files
Generate resourcemanager
1 parent 869578b commit b9a247f

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f22dd14374388602d895c8892b3e5b110dc16582
1+
9ff2efb2c9614ebfffa878f0a99f82ee15fd4b9d

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ class PartialUpdateFolderPayload(BaseModel):
3333
description="New parent identifier for the resource container - containerId as well as UUID identifier is supported.",
3434
alias="containerParentId",
3535
)
36-
labels: Optional[Dict[str, StrictStr]] = Field(
36+
labels: Optional[Dict[str, Optional[StrictStr]]] = Field(
3737
default=None,
38-
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.*",
38+
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **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}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.*",
3939
)
4040
name: Optional[Annotated[str, Field(strict=True)]] = Field(
4141
default=None,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ class PartialUpdateOrganizationPayload(BaseModel):
2828
PartialUpdateOrganizationPayload
2929
""" # noqa: E501
3030

31-
labels: Optional[Dict[str, StrictStr]] = Field(
31+
labels: Optional[Dict[str, Optional[StrictStr]]] = Field(
3232
default=None,
33-
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.*",
33+
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **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}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.*",
3434
)
3535
name: Optional[Annotated[str, Field(strict=True)]] = Field(
3636
default=None,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ class PartialUpdateProjectPayload(BaseModel):
3333
description="New parent identifier for the resource container - containerId as well as UUID identifier is supported.",
3434
alias="containerParentId",
3535
)
36-
labels: Optional[Dict[str, StrictStr]] = Field(
36+
labels: Optional[Dict[str, Optional[StrictStr]]] = Field(
3737
default=None,
38-
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.*",
38+
description="Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **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}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.*",
3939
)
4040
name: Optional[Annotated[str, Field(strict=True)]] = Field(
4141
default=None,

0 commit comments

Comments
 (0)