From 3986eaf05e0dd2e24ff2626c0608576e77bd200f Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Oct 2026 09:17:49 +0000 Subject: [PATCH] Generate alb --- services/alb/oas_commit | 2 +- .../alb/v2api/model_load_balancer_options.go | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/services/alb/oas_commit b/services/alb/oas_commit index 71a76821d4..9c7455dfa4 100644 --- a/services/alb/oas_commit +++ b/services/alb/oas_commit @@ -1 +1 @@ -0afa5e4924e6bf230fdade5cb294ecfd97dd63e5 +7f06203ae1280163695cd27b7f353dca0d2d04b8 diff --git a/services/alb/v2api/model_load_balancer_options.go b/services/alb/v2api/model_load_balancer_options.go index 9533bc5dae..29d2d123eb 100644 --- a/services/alb/v2api/model_load_balancer_options.go +++ b/services/alb/v2api/model_load_balancer_options.go @@ -20,6 +20,8 @@ var _ MappedNullable = &LoadBalancerOptions{} // LoadBalancerOptions Defines any optional functionality you want to have enabled on your Application Load Balancer. type LoadBalancerOptions struct { AccessControl *LoadbalancerOptionAccessControl `json:"accessControl,omitempty"` + // Enable per-request access logs on the Application Load Balancer. Defaults to false. Enable only when the Application 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"` // This option automates the handling of the external IP address for an Application Load Balancer. If set to true a new IP address will be automatically created. It will also be automatically deleted when the Load Balancer is deleted. EphemeralAddress *bool `json:"ephemeralAddress,omitempty"` Observability *LoadbalancerOptionObservability `json:"observability,omitempty"` @@ -79,6 +81,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) { @@ -188,6 +222,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 } @@ -220,6 +257,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")