Skip to content

Commit a65432d

Browse files
Generator: Update SDK /services/lbapplication (#468)
* Generate lbapplication * Update changelog --------- Co-authored-by: Vicente Pinto <[email protected]>
1 parent 26926ad commit a65432d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+11301
-0
lines changed

Diff for: CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
- `certificates`: [v0.1.0](services/certificates/CHANGELOG.md#v010-2024-12-23)
66
- Manage your STACKIT Load Balancer certificates
7+
- `lbapplication`: [v0.1.0](services/lbapplication/CHANGELOG.md#v010-2024-12-23)
8+
- Manage your STACKIT Load Balancer applications
79

810
## Release (2024-12-04)
911

Diff for: services/lbapplication/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## v0.1.0 (2024-12-23)
2+
3+
- Manage your STACKIT Load Balancer applications

Diff for: services/lbapplication/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# stackit.lbapplication
2+
This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes.
3+
4+
For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.
5+
6+
7+
This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
8+
9+
10+
## Installation & Usage
11+
### pip install
12+
13+
```sh
14+
pip install stackit-lbapplication
15+
```
16+
17+
Then import the package:
18+
```python
19+
import stackit.lbapplication
20+
```
21+
22+
## Getting Started
23+
24+
[Examples](https://github.com/stackitcloud/stackit-sdk-python/tree/main/examples) for the usage of the package can be found in the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.

Diff for: services/lbapplication/poetry.lock

+1,316
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: services/lbapplication/pyproject.toml

+105
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
[tool.poetry]
2+
name = "stackit-lbapplication"
3+
version = "v0.0.1a"
4+
authors = [
5+
"STACKIT Developer Tools <[email protected]>",
6+
]
7+
description = "Application Load Balancer API"
8+
readme = "README.md"
9+
#license = "NoLicense"
10+
classifiers = [
11+
"Programming Language :: Python :: 3",
12+
"License :: OSI Approved :: Apache Software License",
13+
"Operating System :: OS Independent",
14+
]
15+
packages = [
16+
{ include = "stackit", from="src" }
17+
]
18+
19+
[tool.poetry.dependencies]
20+
python = ">=3.8,<4.0"
21+
stackit-core = ">=0.0.1a"
22+
requests = ">=2.32.3"
23+
pydantic = ">=2.9.2"
24+
python-dateutil = ">=2.9.0.post0"
25+
26+
[tool.poetry.group.dev.dependencies]
27+
black = ">=24.8.0"
28+
pytest = ">=8.3.3"
29+
flake8 = [
30+
{ version= ">=5.0.3", python="<3.12"},
31+
{ version= ">=6.0.1", python=">=3.12"}
32+
]
33+
flake8-black = ">=0.3.6"
34+
flake8-pyproject = ">=1.2.3"
35+
autoimport = ">=1.6.1"
36+
flake8-eol = ">=0.0.8"
37+
flake8-eradicate = ">=1.5.0"
38+
flake8-bandit = ">=4.1.1"
39+
flake8-bugbear = ">=23.1.14"
40+
flake8-quotes = ">=3.4.0"
41+
isort = ">=5.13.2"
42+
43+
[project.urls]
44+
Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
45+
Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
46+
47+
[build-system]
48+
requires = ["setuptools", "poetry-core"]
49+
build-backend = "poetry.core.masonry.api"
50+
51+
[tool.pytest.ini_options]
52+
pythonpath = [
53+
"src"
54+
]
55+
testpaths = [
56+
"tests"
57+
]
58+
59+
[tool.black]
60+
line-length = 120
61+
exclude = """
62+
/(
63+
.eggs
64+
| .git
65+
| .hg
66+
| .mypy_cache
67+
| .nox
68+
| .pants.d
69+
| .tox
70+
| .venv
71+
| _build
72+
| buck-out
73+
| build
74+
| dist
75+
| node_modules
76+
| venv
77+
)/
78+
"""
79+
80+
[tool.isort]
81+
profile = 'black'
82+
83+
[tool.flake8]
84+
exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
85+
statistics = true
86+
show-source = false
87+
max-line-length = 120
88+
# E203,W503 and E704 are incompatible with the formatter black
89+
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
90+
ignore = ["E203", "W503", "E704", "W291"]
91+
inline-quotes = '"'
92+
docstring-quotes = '"""'
93+
multiline-quotes = '"""'
94+
ban-relative-imports = true
95+
per-file-ignores = """
96+
# asserts are fine in tests, tests shouldn't be build optimized
97+
./tests/*: S101,
98+
# F841: some variables get generated but may not be used, depending on the api-spec
99+
# E501: long descriptions/string values might lead to lines that are too long
100+
./src/stackit/*/models/*: F841,E501
101+
# F841: some variables get generated but may not be used, depending on the api-spec
102+
# E501: long descriptions/string values might lead to lines that are too long
103+
# B028: stacklevel for deprecation warning is irrelevant
104+
./src/stackit/*/api/default_api.py: F841,B028,E501
105+
"""
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
Application Load Balancer API
7+
8+
This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.
9+
10+
The version of the OpenAPI document: 1beta.0.0
11+
Generated by OpenAPI Generator (https://openapi-generator.tech)
12+
13+
Do not edit the class manually.
14+
""" # noqa: E501 docstring might be too long
15+
16+
17+
__version__ = "1.0.0"
18+
19+
# import apis into sdk package
20+
from stackit.lbapplication.api.default_api import DefaultApi
21+
from stackit.lbapplication.api_client import ApiClient
22+
23+
# import ApiClient
24+
from stackit.lbapplication.api_response import ApiResponse
25+
from stackit.lbapplication.configuration import HostConfiguration
26+
from stackit.lbapplication.exceptions import (
27+
ApiAttributeError,
28+
ApiException,
29+
ApiKeyError,
30+
ApiTypeError,
31+
ApiValueError,
32+
OpenApiException,
33+
)
34+
35+
# import models into sdk package
36+
from stackit.lbapplication.models.active_health_check import ActiveHealthCheck
37+
from stackit.lbapplication.models.certificate_config import CertificateConfig
38+
from stackit.lbapplication.models.cookie_persistence import CookiePersistence
39+
from stackit.lbapplication.models.create_credentials_payload import (
40+
CreateCredentialsPayload,
41+
)
42+
from stackit.lbapplication.models.create_credentials_response import (
43+
CreateCredentialsResponse,
44+
)
45+
from stackit.lbapplication.models.create_load_balancer_payload import (
46+
CreateLoadBalancerPayload,
47+
)
48+
from stackit.lbapplication.models.credentials_response import CredentialsResponse
49+
from stackit.lbapplication.models.get_credentials_response import GetCredentialsResponse
50+
from stackit.lbapplication.models.get_quota_response import GetQuotaResponse
51+
from stackit.lbapplication.models.get_service_status_response import (
52+
GetServiceStatusResponse,
53+
)
54+
from stackit.lbapplication.models.google_protobuf_any import GoogleProtobufAny
55+
from stackit.lbapplication.models.header import Header
56+
from stackit.lbapplication.models.http_config import HTTPConfig
57+
from stackit.lbapplication.models.http_health_checks import HttpHealthChecks
58+
from stackit.lbapplication.models.list_credentials_response import (
59+
ListCredentialsResponse,
60+
)
61+
from stackit.lbapplication.models.list_load_balancers_response import (
62+
ListLoadBalancersResponse,
63+
)
64+
from stackit.lbapplication.models.list_plans_response import ListPlansResponse
65+
from stackit.lbapplication.models.listener import Listener
66+
from stackit.lbapplication.models.load_balancer import LoadBalancer
67+
from stackit.lbapplication.models.load_balancer_error import LoadBalancerError
68+
from stackit.lbapplication.models.load_balancer_options import LoadBalancerOptions
69+
from stackit.lbapplication.models.loadbalancer_option_access_control import (
70+
LoadbalancerOptionAccessControl,
71+
)
72+
from stackit.lbapplication.models.loadbalancer_option_logs import LoadbalancerOptionLogs
73+
from stackit.lbapplication.models.loadbalancer_option_metrics import (
74+
LoadbalancerOptionMetrics,
75+
)
76+
from stackit.lbapplication.models.loadbalancer_option_observability import (
77+
LoadbalancerOptionObservability,
78+
)
79+
from stackit.lbapplication.models.matcher import Matcher
80+
from stackit.lbapplication.models.network import Network
81+
from stackit.lbapplication.models.plan_details import PlanDetails
82+
from stackit.lbapplication.models.protocol_options_https import ProtocolOptionsHTTPS
83+
from stackit.lbapplication.models.query_parameters import QueryParameters
84+
from stackit.lbapplication.models.rule import Rule
85+
from stackit.lbapplication.models.status import Status
86+
from stackit.lbapplication.models.target import Target
87+
from stackit.lbapplication.models.target_pool import TargetPool
88+
from stackit.lbapplication.models.update_credentials_payload import (
89+
UpdateCredentialsPayload,
90+
)
91+
from stackit.lbapplication.models.update_credentials_response import (
92+
UpdateCredentialsResponse,
93+
)
94+
from stackit.lbapplication.models.update_load_balancer_payload import (
95+
UpdateLoadBalancerPayload,
96+
)
97+
from stackit.lbapplication.models.update_target_pool_payload import (
98+
UpdateTargetPoolPayload,
99+
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# flake8: noqa
2+
3+
# import apis into api package
4+
from stackit.lbapplication.api.default_api import DefaultApi

0 commit comments

Comments
 (0)