Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion services/alb/src/stackit/alb/models/get_quota_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,24 @@ class GetQuotaResponse(BaseModel):
default=None, description="Project identifier", alias="projectId"
)
region: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Region")
__properties: ClassVar[List[str]] = ["maxCredentials", "maxLoadBalancers", "projectId", "region"]
used_credentials: Optional[Annotated[int, Field(le=1000000, strict=True, ge=-1)]] = Field(
default=None,
description="The number of observability credentials that are currently existing in this project.",
alias="usedCredentials",
)
used_load_balancers: Optional[Annotated[int, Field(le=1000000, strict=True, ge=-1)]] = Field(
default=None,
description="The number of load balancing servers that are currently existing in this project.",
alias="usedLoadBalancers",
)
__properties: ClassVar[List[str]] = [
"maxCredentials",
"maxLoadBalancers",
"projectId",
"region",
"usedCredentials",
"usedLoadBalancers",
]

@field_validator("project_id")
def project_id_validate_regular_expression(cls, value):
Expand Down Expand Up @@ -126,6 +143,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"maxLoadBalancers": obj.get("maxLoadBalancers"),
"projectId": obj.get("projectId"),
"region": obj.get("region"),
"usedCredentials": obj.get("usedCredentials"),
"usedLoadBalancers": obj.get("usedLoadBalancers"),
}
)
return _obj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ class LoadBalancerOptions(BaseModel):
""" # noqa: E501

access_control: Optional[LoadbalancerOptionAccessControl] = Field(default=None, alias="accessControl")
ephemeral_address: Optional[StrictBool] = Field(default=None, alias="ephemeralAddress")
ephemeral_address: Optional[StrictBool] = Field(
default=None,
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.",
alias="ephemeralAddress",
)
observability: Optional[LoadbalancerOptionObservability] = None
private_network_only: Optional[StrictBool] = Field(
default=None,
Expand Down
Loading