Skip to content

Commit 970c4e7

Browse files
Generate alb
1 parent 11298e1 commit 970c4e7

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

‎services/alb/oas_commit‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7e7c0c6d141ef436fa9dee1e9724936562b7d6da
1+
7f06203ae1280163695cd27b7f353dca0d2d04b8

‎services/alb/src/stackit/alb/models/load_balancer_options.py‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ class LoadBalancerOptions(BaseModel):
3535
""" # noqa: E501
3636

3737
access_control: Optional[LoadbalancerOptionAccessControl] = Field(default=None, alias="accessControl")
38+
access_logs: Optional[StrictBool] = Field(
39+
default=None,
40+
description="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.",
41+
alias="accessLogs",
42+
)
3843
ephemeral_address: Optional[StrictBool] = Field(
3944
default=None,
4045
description="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.",
@@ -46,7 +51,13 @@ class LoadBalancerOptions(BaseModel):
4651
description="Application Load Balancer is accessible only via a private network ip address. Not changeable after creation.",
4752
alias="privateNetworkOnly",
4853
)
49-
__properties: ClassVar[List[str]] = ["accessControl", "ephemeralAddress", "observability", "privateNetworkOnly"]
54+
__properties: ClassVar[List[str]] = [
55+
"accessControl",
56+
"accessLogs",
57+
"ephemeralAddress",
58+
"observability",
59+
"privateNetworkOnly",
60+
]
5061

5162
model_config = ConfigDict(
5263
validate_by_name=True,
@@ -109,6 +120,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
109120
if obj.get("accessControl") is not None
110121
else None
111122
),
123+
"accessLogs": obj.get("accessLogs"),
112124
"ephemeralAddress": obj.get("ephemeralAddress"),
113125
"observability": (
114126
LoadbalancerOptionObservability.from_dict(obj["observability"])

0 commit comments

Comments
 (0)