From b1b2e147c9cdfb37e72ffc9c911c17a7a90aa8df Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Tue, 21 Jul 2026 08:20:35 +0000 Subject: [PATCH] Generate resourcemanager --- services/resourcemanager/model_create_folder_payload.go | 2 +- services/resourcemanager/model_create_project_payload.go | 2 +- services/resourcemanager/model_folder_response.go | 2 +- services/resourcemanager/model_get_folder_details_response.go | 2 +- services/resourcemanager/model_get_project_response.go | 2 +- .../resourcemanager/model_list_folders_response_items_inner.go | 2 +- .../model_list_organizations_response_items_inner.go | 2 +- services/resourcemanager/model_organization_response.go | 2 +- services/resourcemanager/model_partial_update_folder_payload.go | 2 +- .../model_partial_update_organization_payload.go | 2 +- .../resourcemanager/model_partial_update_project_payload.go | 2 +- services/resourcemanager/model_project.go | 2 +- services/resourcemanager/oas_commit | 2 +- services/resourcemanager/v0api/model_create_folder_payload.go | 2 +- services/resourcemanager/v0api/model_create_project_payload.go | 2 +- services/resourcemanager/v0api/model_folder_response.go | 2 +- .../resourcemanager/v0api/model_get_folder_details_response.go | 2 +- services/resourcemanager/v0api/model_get_project_response.go | 2 +- .../v0api/model_list_folders_response_items_inner.go | 2 +- .../v0api/model_list_organizations_response_items_inner.go | 2 +- services/resourcemanager/v0api/model_organization_response.go | 2 +- .../v0api/model_partial_update_folder_payload.go | 2 +- .../v0api/model_partial_update_organization_payload.go | 2 +- .../v0api/model_partial_update_project_payload.go | 2 +- services/resourcemanager/v0api/model_project.go | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/services/resourcemanager/model_create_folder_payload.go b/services/resourcemanager/model_create_folder_payload.go index 0c9cc323c..d7c0ba2a7 100644 --- a/services/resourcemanager/model_create_folder_payload.go +++ b/services/resourcemanager/model_create_folder_payload.go @@ -132,7 +132,7 @@ type CreateFolderPayload struct { // Identifier of the parent resource container - containerId as well as UUID identifier is supported. // REQUIRED ContainerParentId CreateFolderPayloadGetContainerParentIdAttributeType `json:"containerParentId" required:"true"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels CreateFolderPayloadGetLabelsAttributeType `json:"labels,omitempty"` // The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account. Members CreateFolderPayloadGetMembersAttributeType `json:"members,omitempty"` diff --git a/services/resourcemanager/model_create_project_payload.go b/services/resourcemanager/model_create_project_payload.go index 1a8990226..1d3470d1b 100644 --- a/services/resourcemanager/model_create_project_payload.go +++ b/services/resourcemanager/model_create_project_payload.go @@ -132,7 +132,7 @@ type CreateProjectPayload struct { // Identifier of the parent resource container - containerId as well as UUID identifier is supported. // REQUIRED ContainerParentId CreateProjectPayloadGetContainerParentIdAttributeType `json:"containerParentId" required:"true"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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\": \"\"`. > **Important:** The `networkArea` label is immutable and **cannot be changed** after project creation. Labels CreateProjectPayloadGetLabelsAttributeType `json:"labels,omitempty"` // The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account. // REQUIRED diff --git a/services/resourcemanager/model_folder_response.go b/services/resourcemanager/model_folder_response.go index ccb9381c5..89c625bf8 100644 --- a/services/resourcemanager/model_folder_response.go +++ b/services/resourcemanager/model_folder_response.go @@ -220,7 +220,7 @@ type FolderResponse struct { // Globally unique folder identifier. // REQUIRED FolderId FolderResponseGetFolderIdAttributeType `json:"folderId" required:"true"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels FolderResponseGetLabelsAttributeType `json:"labels,omitempty"` // Folder name. // REQUIRED diff --git a/services/resourcemanager/model_get_folder_details_response.go b/services/resourcemanager/model_get_folder_details_response.go index 1a5d4f837..ace7d984e 100644 --- a/services/resourcemanager/model_get_folder_details_response.go +++ b/services/resourcemanager/model_get_folder_details_response.go @@ -247,7 +247,7 @@ type GetFolderDetailsResponse struct { // Globally unique folder identifier. // REQUIRED FolderId GetFolderDetailsResponseGetFolderIdAttributeType `json:"folderId" required:"true"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels GetFolderDetailsResponseGetLabelsAttributeType `json:"labels,omitempty"` // Folder name. // REQUIRED diff --git a/services/resourcemanager/model_get_project_response.go b/services/resourcemanager/model_get_project_response.go index 6a085c002..287416299 100644 --- a/services/resourcemanager/model_get_project_response.go +++ b/services/resourcemanager/model_get_project_response.go @@ -271,7 +271,7 @@ type GetProjectResponse struct { // Timestamp at which the project was created. // REQUIRED CreationTime GetProjectResponseGetCreationTimeAttributeType `json:"creationTime" required:"true"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels GetProjectResponseGetLabelsAttributeType `json:"labels,omitempty"` // REQUIRED LifecycleState GetProjectResponseGetLifecycleStateAttributeType `json:"lifecycleState" required:"true"` diff --git a/services/resourcemanager/model_list_folders_response_items_inner.go b/services/resourcemanager/model_list_folders_response_items_inner.go index b96b10c6d..c25d87bd6 100644 --- a/services/resourcemanager/model_list_folders_response_items_inner.go +++ b/services/resourcemanager/model_list_folders_response_items_inner.go @@ -220,7 +220,7 @@ type ListFoldersResponseItemsInner struct { // Globally unique folder identifier. // REQUIRED FolderId ListFoldersResponseItemsInnerGetFolderIdAttributeType `json:"folderId" required:"true"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels ListFoldersResponseItemsInnerGetLabelsAttributeType `json:"labels,omitempty"` // Name of the folder. // REQUIRED diff --git a/services/resourcemanager/model_list_organizations_response_items_inner.go b/services/resourcemanager/model_list_organizations_response_items_inner.go index 3471badd3..b1441e7b4 100644 --- a/services/resourcemanager/model_list_organizations_response_items_inner.go +++ b/services/resourcemanager/model_list_organizations_response_items_inner.go @@ -217,7 +217,7 @@ type ListOrganizationsResponseItemsInner struct { // Timestamp at which the organization was created. // REQUIRED CreationTime ListOrganizationsResponseItemsInnerGetCreationTimeAttributeType `json:"creationTime" required:"true"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels ListOrganizationsResponseItemsInnerGetLabelsAttributeType `json:"labels,omitempty"` // REQUIRED LifecycleState ListOrganizationsResponseItemsInnerGetLifecycleStateAttributeType `json:"lifecycleState" required:"true"` diff --git a/services/resourcemanager/model_organization_response.go b/services/resourcemanager/model_organization_response.go index 15645fc87..e0a997e65 100644 --- a/services/resourcemanager/model_organization_response.go +++ b/services/resourcemanager/model_organization_response.go @@ -217,7 +217,7 @@ type OrganizationResponse struct { // Timestamp at which the organization was created. // REQUIRED CreationTime OrganizationResponseGetCreationTimeAttributeType `json:"creationTime" required:"true"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels OrganizationResponseGetLabelsAttributeType `json:"labels,omitempty"` // REQUIRED LifecycleState OrganizationResponseGetLifecycleStateAttributeType `json:"lifecycleState" required:"true"` diff --git a/services/resourcemanager/model_partial_update_folder_payload.go b/services/resourcemanager/model_partial_update_folder_payload.go index 1cae08427..ab30502aa 100644 --- a/services/resourcemanager/model_partial_update_folder_payload.go +++ b/services/resourcemanager/model_partial_update_folder_payload.go @@ -104,7 +104,7 @@ type PartialUpdateFolderPayloadGetNameRetType = string type PartialUpdateFolderPayload struct { // New parent identifier for the resource container - containerId as well as UUID identifier is supported. ContainerParentId PartialUpdateFolderPayloadGetContainerParentIdAttributeType `json:"containerParentId,omitempty"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels PartialUpdateFolderPayloadGetLabelsAttributeType `json:"labels,omitempty"` // New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name PartialUpdateFolderPayloadGetNameAttributeType `json:"name,omitempty"` diff --git a/services/resourcemanager/model_partial_update_organization_payload.go b/services/resourcemanager/model_partial_update_organization_payload.go index af5858662..1c8b512b8 100644 --- a/services/resourcemanager/model_partial_update_organization_payload.go +++ b/services/resourcemanager/model_partial_update_organization_payload.go @@ -75,7 +75,7 @@ type PartialUpdateOrganizationPayloadGetNameRetType = string // PartialUpdateOrganizationPayload struct for PartialUpdateOrganizationPayload // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead type PartialUpdateOrganizationPayload struct { - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels PartialUpdateOrganizationPayloadGetLabelsAttributeType `json:"labels,omitempty"` // The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name PartialUpdateOrganizationPayloadGetNameAttributeType `json:"name,omitempty"` diff --git a/services/resourcemanager/model_partial_update_project_payload.go b/services/resourcemanager/model_partial_update_project_payload.go index 76d259d3d..93a8c8c71 100644 --- a/services/resourcemanager/model_partial_update_project_payload.go +++ b/services/resourcemanager/model_partial_update_project_payload.go @@ -104,7 +104,7 @@ type PartialUpdateProjectPayloadGetNameRetType = string type PartialUpdateProjectPayload struct { // New parent identifier for the resource container - containerId as well as UUID identifier is supported. ContainerParentId PartialUpdateProjectPayloadGetContainerParentIdAttributeType `json:"containerParentId,omitempty"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels PartialUpdateProjectPayloadGetLabelsAttributeType `json:"labels,omitempty"` // New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name PartialUpdateProjectPayloadGetNameAttributeType `json:"name,omitempty"` diff --git a/services/resourcemanager/model_project.go b/services/resourcemanager/model_project.go index ad963a6ac..58bb89e68 100644 --- a/services/resourcemanager/model_project.go +++ b/services/resourcemanager/model_project.go @@ -244,7 +244,7 @@ type Project struct { // Timestamp at which the project was created. // REQUIRED CreationTime ProjectGetCreationTimeAttributeType `json:"creationTime" required:"true"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels ProjectGetLabelsAttributeType `json:"labels,omitempty"` // REQUIRED LifecycleState ProjectGetLifecycleStateAttributeType `json:"lifecycleState" required:"true"` diff --git a/services/resourcemanager/oas_commit b/services/resourcemanager/oas_commit index c08a6770d..0f8ce352b 100644 --- a/services/resourcemanager/oas_commit +++ b/services/resourcemanager/oas_commit @@ -1 +1 @@ -4407196dbbef4e53e6798809e856725cbc84ae05 +876a48fb56473c7c844baa697906d461c0675f47 diff --git a/services/resourcemanager/v0api/model_create_folder_payload.go b/services/resourcemanager/v0api/model_create_folder_payload.go index 1487eec6c..55944352f 100644 --- a/services/resourcemanager/v0api/model_create_folder_payload.go +++ b/services/resourcemanager/v0api/model_create_folder_payload.go @@ -22,7 +22,7 @@ var _ MappedNullable = &CreateFolderPayload{} type CreateFolderPayload struct { // Identifier of the parent resource container - containerId as well as UUID identifier is supported. ContainerParentId string `json:"containerParentId"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` // The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account. Members []Member `json:"members,omitempty"` diff --git a/services/resourcemanager/v0api/model_create_project_payload.go b/services/resourcemanager/v0api/model_create_project_payload.go index ea3b20673..66a6cde0e 100644 --- a/services/resourcemanager/v0api/model_create_project_payload.go +++ b/services/resourcemanager/v0api/model_create_project_payload.go @@ -22,7 +22,7 @@ var _ MappedNullable = &CreateProjectPayload{} type CreateProjectPayload struct { // Identifier of the parent resource container - containerId as well as UUID identifier is supported. ContainerParentId string `json:"containerParentId"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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\": \"\"`. > **Important:** The `networkArea` label is immutable and **cannot be changed** after project creation. Labels *map[string]string `json:"labels,omitempty"` // The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account. Members []Member `json:"members"` diff --git a/services/resourcemanager/v0api/model_folder_response.go b/services/resourcemanager/v0api/model_folder_response.go index 50bbee5eb..32617884c 100644 --- a/services/resourcemanager/v0api/model_folder_response.go +++ b/services/resourcemanager/v0api/model_folder_response.go @@ -27,7 +27,7 @@ type FolderResponse struct { CreationTime time.Time `json:"creationTime"` // Globally unique folder identifier. FolderId string `json:"folderId"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` // Folder name. Name string `json:"name"` diff --git a/services/resourcemanager/v0api/model_get_folder_details_response.go b/services/resourcemanager/v0api/model_get_folder_details_response.go index 160ba2c08..a7ddcfa0f 100644 --- a/services/resourcemanager/v0api/model_get_folder_details_response.go +++ b/services/resourcemanager/v0api/model_get_folder_details_response.go @@ -27,7 +27,7 @@ type GetFolderDetailsResponse struct { CreationTime time.Time `json:"creationTime"` // Globally unique folder identifier. FolderId string `json:"folderId"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` // Folder name. Name string `json:"name"` diff --git a/services/resourcemanager/v0api/model_get_project_response.go b/services/resourcemanager/v0api/model_get_project_response.go index f622737fb..fc124c0d9 100644 --- a/services/resourcemanager/v0api/model_get_project_response.go +++ b/services/resourcemanager/v0api/model_get_project_response.go @@ -25,7 +25,7 @@ type GetProjectResponse struct { ContainerId string `json:"containerId"` // Timestamp at which the project was created. CreationTime time.Time `json:"creationTime"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` LifecycleState LifecycleState `json:"lifecycleState"` // Project name. diff --git a/services/resourcemanager/v0api/model_list_folders_response_items_inner.go b/services/resourcemanager/v0api/model_list_folders_response_items_inner.go index 3f4950b04..1bf49bdaa 100644 --- a/services/resourcemanager/v0api/model_list_folders_response_items_inner.go +++ b/services/resourcemanager/v0api/model_list_folders_response_items_inner.go @@ -27,7 +27,7 @@ type ListFoldersResponseItemsInner struct { CreationTime time.Time `json:"creationTime"` // Globally unique folder identifier. FolderId string `json:"folderId"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` // Name of the folder. Name string `json:"name"` diff --git a/services/resourcemanager/v0api/model_list_organizations_response_items_inner.go b/services/resourcemanager/v0api/model_list_organizations_response_items_inner.go index 795ac10cf..8cb268f4d 100644 --- a/services/resourcemanager/v0api/model_list_organizations_response_items_inner.go +++ b/services/resourcemanager/v0api/model_list_organizations_response_items_inner.go @@ -25,7 +25,7 @@ type ListOrganizationsResponseItemsInner struct { ContainerId string `json:"containerId"` // Timestamp at which the organization was created. CreationTime time.Time `json:"creationTime"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` LifecycleState LifecycleState `json:"lifecycleState"` // Name of the organization. diff --git a/services/resourcemanager/v0api/model_organization_response.go b/services/resourcemanager/v0api/model_organization_response.go index 597e17340..0a74aee46 100644 --- a/services/resourcemanager/v0api/model_organization_response.go +++ b/services/resourcemanager/v0api/model_organization_response.go @@ -25,7 +25,7 @@ type OrganizationResponse struct { ContainerId string `json:"containerId"` // Timestamp at which the organization was created. CreationTime time.Time `json:"creationTime"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` LifecycleState LifecycleState `json:"lifecycleState"` // Organization name. diff --git a/services/resourcemanager/v0api/model_partial_update_folder_payload.go b/services/resourcemanager/v0api/model_partial_update_folder_payload.go index f4d62f686..9c4c64bfa 100644 --- a/services/resourcemanager/v0api/model_partial_update_folder_payload.go +++ b/services/resourcemanager/v0api/model_partial_update_folder_payload.go @@ -21,7 +21,7 @@ var _ MappedNullable = &PartialUpdateFolderPayload{} type PartialUpdateFolderPayload struct { // New parent identifier for the resource container - containerId as well as UUID identifier is supported. ContainerParentId *string `json:"containerParentId,omitempty"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` // New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$"` diff --git a/services/resourcemanager/v0api/model_partial_update_organization_payload.go b/services/resourcemanager/v0api/model_partial_update_organization_payload.go index 7d57c7c0e..b7b21ff73 100644 --- a/services/resourcemanager/v0api/model_partial_update_organization_payload.go +++ b/services/resourcemanager/v0api/model_partial_update_organization_payload.go @@ -19,7 +19,7 @@ var _ MappedNullable = &PartialUpdateOrganizationPayload{} // PartialUpdateOrganizationPayload struct for PartialUpdateOrganizationPayload type PartialUpdateOrganizationPayload struct { - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` // The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$"` diff --git a/services/resourcemanager/v0api/model_partial_update_project_payload.go b/services/resourcemanager/v0api/model_partial_update_project_payload.go index b732d862e..d3b60d0ab 100644 --- a/services/resourcemanager/v0api/model_partial_update_project_payload.go +++ b/services/resourcemanager/v0api/model_partial_update_project_payload.go @@ -21,7 +21,7 @@ var _ MappedNullable = &PartialUpdateProjectPayload{} type PartialUpdateProjectPayload struct { // New parent identifier for the resource container - containerId as well as UUID identifier is supported. ContainerParentId *string `json:"containerParentId,omitempty"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` // New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$"` diff --git a/services/resourcemanager/v0api/model_project.go b/services/resourcemanager/v0api/model_project.go index 718cd9a74..6fe520604 100644 --- a/services/resourcemanager/v0api/model_project.go +++ b/services/resourcemanager/v0api/model_project.go @@ -25,7 +25,7 @@ type Project struct { ContainerId string `json:"containerId"` // Timestamp at which the project was created. CreationTime time.Time `json:"creationTime"` - // 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\": \"\"` is required. This can not be changed after project creation. + // 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.* Labels *map[string]string `json:"labels,omitempty"` LifecycleState LifecycleState `json:"lifecycleState"` // Project name.