From 8c0e751f25df95c71e45807ec21acce43f76e4a7 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Fri, 23 Oct 2026 13:30:43 +0000 Subject: [PATCH 1/2] Generate loadbalancer --- services/loadbalancer/oas_commit | 2 +- .../v2api/model_load_balancer_options.go | 40 ++++++++++++++++++- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/services/loadbalancer/oas_commit b/services/loadbalancer/oas_commit index 71a76821d4..16ab3e1f36 100644 --- a/services/loadbalancer/oas_commit +++ b/services/loadbalancer/oas_commit @@ -1 +1 @@ -0afa5e4924e6bf230fdade5cb294ecfd97dd63e5 +20c75d1fe743052968e3837f1eb1cf9fc84f40cd diff --git a/services/loadbalancer/v2api/model_load_balancer_options.go b/services/loadbalancer/v2api/model_load_balancer_options.go index 11ece55e1c..9ffa9fc3f3 100644 --- a/services/loadbalancer/v2api/model_load_balancer_options.go +++ b/services/loadbalancer/v2api/model_load_balancer_options.go @@ -19,7 +19,9 @@ var _ MappedNullable = &LoadBalancerOptions{} // LoadBalancerOptions Defines any optional functionality you want to have enabled on your load balancer. type LoadBalancerOptions struct { - AccessControl *LoadbalancerOptionAccessControl `json:"accessControl,omitempty"` + AccessControl *LoadbalancerOptionAccessControl `json:"accessControl,omitempty"` + // Enable per-request access logs on the Load Balancer. Defaults to false. Enable only when the Load Balancer's expected traffic volume can be sustained by the downstream logging pipeline, as access-log volume scales linearly with request rate. Requires STACKIT Telemetry Hub or STACKIT Observability to be set up for the logs to be viewable. + AccessLogs *bool `json:"accessLogs,omitempty"` EphemeralAddress *bool `json:"ephemeralAddress,omitempty"` Observability *LoadbalancerOptionObservability `json:"observability,omitempty"` // Load Balancer is accessible only via a private network ip address. Not changeable after creation. @@ -78,6 +80,38 @@ func (o *LoadBalancerOptions) SetAccessControl(v LoadbalancerOptionAccessControl o.AccessControl = &v } +// GetAccessLogs returns the AccessLogs field value if set, zero value otherwise. +func (o *LoadBalancerOptions) GetAccessLogs() bool { + if o == nil || IsNil(o.AccessLogs) { + var ret bool + return ret + } + return *o.AccessLogs +} + +// GetAccessLogsOk returns a tuple with the AccessLogs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LoadBalancerOptions) GetAccessLogsOk() (*bool, bool) { + if o == nil || IsNil(o.AccessLogs) { + return nil, false + } + return o.AccessLogs, true +} + +// HasAccessLogs returns a boolean if a field has been set. +func (o *LoadBalancerOptions) HasAccessLogs() bool { + if o != nil && !IsNil(o.AccessLogs) { + return true + } + + return false +} + +// SetAccessLogs gets a reference to the given bool and assigns it to the AccessLogs field. +func (o *LoadBalancerOptions) SetAccessLogs(v bool) { + o.AccessLogs = &v +} + // GetEphemeralAddress returns the EphemeralAddress field value if set, zero value otherwise. func (o *LoadBalancerOptions) GetEphemeralAddress() bool { if o == nil || IsNil(o.EphemeralAddress) { @@ -187,6 +221,9 @@ func (o LoadBalancerOptions) ToMap() (map[string]interface{}, error) { if !IsNil(o.AccessControl) { toSerialize["accessControl"] = o.AccessControl } + if !IsNil(o.AccessLogs) { + toSerialize["accessLogs"] = o.AccessLogs + } if !IsNil(o.EphemeralAddress) { toSerialize["ephemeralAddress"] = o.EphemeralAddress } @@ -219,6 +256,7 @@ func (o *LoadBalancerOptions) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "accessControl") + delete(additionalProperties, "accessLogs") delete(additionalProperties, "ephemeralAddress") delete(additionalProperties, "observability") delete(additionalProperties, "privateNetworkOnly") From 86fe5f4d9998f7f095768e251ffeba73a0beab40 Mon Sep 17 00:00:00 2001 From: Manuel Vaas Date: Mon, 26 Oct 2026 11:13:28 +0100 Subject: [PATCH 2/2] add changelog --- CHANGELOG.md | 7 +++++-- services/loadbalancer/CHANGELOG.md | 3 +++ services/loadbalancer/VERSION | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f91589decd..5042e71ddb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -110,7 +110,10 @@ - **Breaking change:** Removal of deprecated compatibility layer previously found in the root of the SDK module - [v1.13.2](services/kms/CHANGELOG.md#v1132) - **Dependencies:** Bump STACKIT SDK core module from `v0.27.0` to `v0.27.1` -- `loadbalancer`: +- `loadbalancer`: + - [1.17.0](services/loadbalancer/CHANGELOG.md#1170) + - `v2api`: + - **Feature**: Add `AccessLogs` field of type bool in `LoadBalancerOptions` model - [1.16.0](services/loadbalancer/CHANGELOG.md#1160) - **Breaking change**: Removal of deprecated compatibility layer previously found in the root of the SDK module - `logme`: @@ -5180,4 +5183,4 @@ List of modules: - `ske`: [v0.7.0](services/ske/CHANGELOG.md#v070-2023-12-05) - Manage your STACKIT Kubernetes Engine resources: `Project`, `Cluster`, `Credentials`, `Options` - Waiters for async operations: `CreateOrUpdateClusterWaitHandler`, `DeleteClusterWaitHandler`, `CreateProjectWaitHandler`, `DeleteProjectWaitHandler`, `RotateCredentialsWaitHandler` - - [Usage example](https://github.com/stackitcloud/stackit-sdk-go/tree/main/examples/ske) \ No newline at end of file + - [Usage example](https://github.com/stackitcloud/stackit-sdk-go/tree/main/examples/ske) diff --git a/services/loadbalancer/CHANGELOG.md b/services/loadbalancer/CHANGELOG.md index 3025fe8c5c..296f066b99 100644 --- a/services/loadbalancer/CHANGELOG.md +++ b/services/loadbalancer/CHANGELOG.md @@ -1,3 +1,6 @@ +## v1.17.0 +- **Feature**: Add `AccessLogs` field of type bool in `LoadBalancerOptions` model + ## v1.16.0 - **Breaking change**: Removal of deprecated compatibility layer previously found in the root of the SDK module diff --git a/services/loadbalancer/VERSION b/services/loadbalancer/VERSION index a406138ee1..07c3efad8d 100644 --- a/services/loadbalancer/VERSION +++ b/services/loadbalancer/VERSION @@ -1 +1 @@ -v1.16.0 +v1.17.0