Skip to content

Commit 115b2a6

Browse files
OAS Update
1 parent 07d6bfd commit 115b2a6

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

services/resource-manager/v0/resource-manager.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,15 @@
157157
"title": "CreateFolderRequest",
158158
"type": "object"
159159
},
160+
"CreateProjectLabels": {
161+
"additionalProperties": {
162+
"type": "string"
163+
},
164+
"description": "Key-value string pairs attached to a resource container during creation. Certain labels may be enforced via organizational policies.\n\n* **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`\n* **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`\n* Either a `\"scope\": \"PUBLIC\"` label or a valid `networkArea` label must be provided for project creation.\n* To create a project within a STACKIT Network Area, you must set the label `\"networkArea\": \"\u003cnetworkAreaID\u003e\"`. \n\n\u003e **Important:** The `networkArea` label is immutable and **cannot be changed** after project creation.",
165+
"maxProperties": 100,
166+
"title": "Labels",
167+
"type": "object"
168+
},
160169
"CreateProjectPayload": {
161170
"properties": {
162171
"containerParentId": {
@@ -165,7 +174,7 @@
165174
"type": "string"
166175
},
167176
"labels": {
168-
"$ref": "#/components/schemas/Labels"
177+
"$ref": "#/components/schemas/CreateProjectLabels"
169178
},
170179
"members": {
171180
"description": "The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account.",
@@ -388,7 +397,7 @@
388397
"additionalProperties": {
389398
"type": "string"
390399
},
391-
"description": "Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. \n- A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.\n- A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.\n- To create a project within a STACKIT Network Area, setting the label `\"networkArea\": \"\u003cnetworkAreaID\u003e\"` is required. This can not be changed after project creation.",
400+
"description": "Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies.\n\n* **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`\n* **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`\n\n\u003e Note: Additional naming restrictions may apply depending on your specific organization.*",
392401
"maxProperties": 100,
393402
"title": "Labels",
394403
"type": "object"

0 commit comments

Comments
 (0)