From 8af8c4ff06ef582f6107f6b9e30bece84f5771f9 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Fri, 17 Jul 2026 07:48:54 +0000 Subject: [PATCH 1/2] Generate loadbalancer --- .../loadbalancer/model_load_balancer_error.go | 9 ++++++++ .../model_load_balancer_error_test.go | 21 +++++++++++++++++++ services/loadbalancer/oas_commit | 2 +- .../v2api/model_load_balancer_error_type.go | 6 ++++++ 4 files changed, 37 insertions(+), 1 deletion(-) diff --git a/services/loadbalancer/model_load_balancer_error.go b/services/loadbalancer/model_load_balancer_error.go index 81d423f5d..eb236fc2e 100644 --- a/services/loadbalancer/model_load_balancer_error.go +++ b/services/loadbalancer/model_load_balancer_error.go @@ -79,6 +79,12 @@ const ( LOADBALANCERERRORTYPE_LOGS_MISCONFIGURED LoadBalancerErrorTypes = "TYPE_LOGS_MISCONFIGURED" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead LOADBALANCERERRORTYPE_FIP_NOT_FOUND LoadBalancerErrorTypes = "TYPE_FIP_NOT_FOUND" + // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead + LOADBALANCERERRORTYPE_IP_EXHAUSTED LoadBalancerErrorTypes = "TYPE_IP_EXHAUSTED" + // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead + LOADBALANCERERRORTYPE_DNS_NOT_CONFIGURED LoadBalancerErrorTypes = "TYPE_DNS_NOT_CONFIGURED" + // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead + LOADBALANCERERRORTYPE_VM_PORT_NOT_CONFIGURED LoadBalancerErrorTypes = "TYPE_VM_PORT_NOT_CONFIGURED" ) // All allowed values of LoadBalancerError enum @@ -94,6 +100,9 @@ var AllowedLoadBalancerErrorTypesEnumValues = []LoadBalancerErrorTypes{ "TYPE_METRICS_MISCONFIGURED", "TYPE_LOGS_MISCONFIGURED", "TYPE_FIP_NOT_FOUND", + "TYPE_IP_EXHAUSTED", + "TYPE_DNS_NOT_CONFIGURED", + "TYPE_VM_PORT_NOT_CONFIGURED", } // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead diff --git a/services/loadbalancer/model_load_balancer_error_test.go b/services/loadbalancer/model_load_balancer_error_test.go index 928768681..f82fb6a66 100644 --- a/services/loadbalancer/model_load_balancer_error_test.go +++ b/services/loadbalancer/model_load_balancer_error_test.go @@ -95,6 +95,27 @@ func TestLoadBalancerErrorTypes_UnmarshalJSON(t *testing.T) { }, wantErr: false, }, + { + name: `success - possible enum value no. 11`, + args: args{ + src: []byte(`"TYPE_IP_EXHAUSTED"`), + }, + wantErr: false, + }, + { + name: `success - possible enum value no. 12`, + args: args{ + src: []byte(`"TYPE_DNS_NOT_CONFIGURED"`), + }, + wantErr: false, + }, + { + name: `success - possible enum value no. 13`, + args: args{ + src: []byte(`"TYPE_VM_PORT_NOT_CONFIGURED"`), + }, + wantErr: false, + }, { name: "fail", args: args{ diff --git a/services/loadbalancer/oas_commit b/services/loadbalancer/oas_commit index b129c2291..97ce74323 100644 --- a/services/loadbalancer/oas_commit +++ b/services/loadbalancer/oas_commit @@ -1 +1 @@ -98c11e0ee4834ddaaa474eccc437d234e6276a70 +e4d23dc7d62fd23751cce23a8f70967f581bb282 diff --git a/services/loadbalancer/v2api/model_load_balancer_error_type.go b/services/loadbalancer/v2api/model_load_balancer_error_type.go index 2d24944b0..86bae1ef8 100644 --- a/services/loadbalancer/v2api/model_load_balancer_error_type.go +++ b/services/loadbalancer/v2api/model_load_balancer_error_type.go @@ -30,6 +30,9 @@ const ( LOADBALANCERERRORTYPE_TYPE_METRICS_MISCONFIGURED LoadBalancerErrorType = "TYPE_METRICS_MISCONFIGURED" LOADBALANCERERRORTYPE_TYPE_LOGS_MISCONFIGURED LoadBalancerErrorType = "TYPE_LOGS_MISCONFIGURED" LOADBALANCERERRORTYPE_TYPE_FIP_NOT_FOUND LoadBalancerErrorType = "TYPE_FIP_NOT_FOUND" + LOADBALANCERERRORTYPE_TYPE_IP_EXHAUSTED LoadBalancerErrorType = "TYPE_IP_EXHAUSTED" + LOADBALANCERERRORTYPE_TYPE_DNS_NOT_CONFIGURED LoadBalancerErrorType = "TYPE_DNS_NOT_CONFIGURED" + LOADBALANCERERRORTYPE_TYPE_VM_PORT_NOT_CONFIGURED LoadBalancerErrorType = "TYPE_VM_PORT_NOT_CONFIGURED" LOADBALANCERERRORTYPE_UNKNOWN_DEFAULT_OPEN_API LoadBalancerErrorType = "unknown_default_open_api" ) @@ -45,6 +48,9 @@ var AllowedLoadBalancerErrorTypeEnumValues = []LoadBalancerErrorType{ "TYPE_METRICS_MISCONFIGURED", "TYPE_LOGS_MISCONFIGURED", "TYPE_FIP_NOT_FOUND", + "TYPE_IP_EXHAUSTED", + "TYPE_DNS_NOT_CONFIGURED", + "TYPE_VM_PORT_NOT_CONFIGURED", "unknown_default_open_api", } From 395e536e1d71a8274a279d8e2a9037b6bfbe4f03 Mon Sep 17 00:00:00 2001 From: Jonas Schlecht Date: Mon, 20 Jul 2026 09:14:04 +0200 Subject: [PATCH 2/2] chore(loadbalancer): add changelogs --- CHANGELOG.md | 6 ++++++ services/loadbalancer/CHANGELOG.md | 6 ++++++ services/loadbalancer/VERSION | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fe6babd0..fbe13e314 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,12 @@ - **Feature:** Add waiters for VPC region and VPC network ranges - `kms`: [v1.12.0](services/kms/CHANGELOG.md#v1120) - **Feature:** Add enum "hsm" for key protection. Only as private preview feature available. +- `loadbalancer`: + - [v1.15.0](services/loadbalancer/CHANGELOG.md#v1150) + - `v2api`: + - **Feature**: Introduce `TYPE_IP_EXHAUSTED`, `TYPE_DNS_NOT_CONFIGURED` and `TYPE_VM_PORT_NOT_CONFIGURED` errors for `LoadBalancerErrorType` + - Deprecated SDK layer in root of the module: + - **Feature**: Introduce `TYPE_IP_EXHAUSTED`, `TYPE_DNS_NOT_CONFIGURED` and `TYPE_VM_PORT_NOT_CONFIGURED` errors for `LoadBalancerErrorType` - `logme`: - [v1.0.1](services/logme/CHANGELOG.md#v101) - `v1api`: diff --git a/services/loadbalancer/CHANGELOG.md b/services/loadbalancer/CHANGELOG.md index 10e638c84..af3a68aeb 100644 --- a/services/loadbalancer/CHANGELOG.md +++ b/services/loadbalancer/CHANGELOG.md @@ -1,3 +1,9 @@ +## v1.15.0 +- `v2api` + - **Feature**: Introduce `TYPE_IP_EXHAUSTED`, `TYPE_DNS_NOT_CONFIGURED` and `TYPE_VM_PORT_NOT_CONFIGURED` errors for `LoadBalancerErrorType` +- Deprecated SDK layer in root of the module: + - **Feature**: Introduce `TYPE_IP_EXHAUSTED`, `TYPE_DNS_NOT_CONFIGURED` and `TYPE_VM_PORT_NOT_CONFIGURED` errors for `LoadBalancerErrorType` + ## v1.14.0 - **Feature:** Introduce enums for various attributes diff --git a/services/loadbalancer/VERSION b/services/loadbalancer/VERSION index 79f9beba8..440ddd8f1 100644 --- a/services/loadbalancer/VERSION +++ b/services/loadbalancer/VERSION @@ -1 +1 @@ -v1.14.0 +v1.15.0