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
15 changes: 9 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@
- **Feature:** added KmsKey to Instance, CreateInstancePayload and UpdateInstancePayload
- `sfs`: [v0.1.0](services/sfs/CHANGELOG.md#v010)
- **New:** STACKIT File Storage (SFS) service
- `alb` [v0.7.0](services/alb/CHANGELOG.md#v070)
- **Feature:** Switch from `v2beta` API version to `v2` version.
- **Feature:** `MaxCredentials` field added to `GetQuotaResponse`
- **Breaking change:** added `version` to LoadBalancer constructor
- **Breaking change:** renamed `exact` to `exactMatch` in Path model
- **Breaking change:** removed `pathPrefix` from Rule model
- `alb`:
- [v0.8.0](services/alb/CHANGELOG.md#v080)
- **Feature:** Add new fields `used_credentials` and `used_load_balancers` to `GetQuotaResponse` model
- [v0.7.0](services/alb/CHANGELOG.md#v070)
- **Feature:** Switch from `v2beta` API version to `v2` version.
- **Feature:** `MaxCredentials` field added to `GetQuotaResponse`
- **Breaking change:** added `version` to LoadBalancer constructor
- **Breaking change:** renamed `exact` to `exactMatch` in Path model
- **Breaking change:** removed `pathPrefix` from Rule model
- `certificates`: [v1.2.0](services/certificates/CHANGELOG.md#v120)
- **Feature:** Switch from `v2beta` API version to `v2` version.
- **Breaking change:** Rename `CreateCertificateResponse` to `GetCertificateResponse`
Expand Down
3 changes: 3 additions & 0 deletions services/alb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.8.0
- **Feature:** Add new fields `used_credentials` and `used_load_balancers` to `GetQuotaResponse` model

## v0.7.0
- **Feature:** Switch from `v2beta` API version to `v2` version.
- **Feature:** `MaxCredentials` field added to `GetQuotaResponse`
Expand Down
2 changes: 1 addition & 1 deletion services/alb/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "stackit-alb"

[tool.poetry]
name = "stackit-alb"
version = "v0.7.0"
version = "v0.8.0"
authors = [
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
]
Expand Down
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