Skip to content

Commit 2f953ae

Browse files
Generate telemetrylink
1 parent efa5d45 commit 2f953ae

23 files changed

+7471
-0
lines changed

services/telemetrylink/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# stackit.telemetrylink
2+
This API provides endpoints for managing Telemetry Links. The Telemetry Link enables Log Routing towards a defined Telemetry Router.
3+
4+
5+
6+
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.
7+
8+
9+
## Installation & Usage
10+
### pip install
11+
12+
```sh
13+
pip install stackit-telemetrylink
14+
```
15+
16+
Then import the package:
17+
```python
18+
import stackit.telemetrylink
19+
```
20+
21+
## Getting Started
22+
23+
[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.

services/telemetrylink/oas_commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2036779290791a94b94ee28993b68df2eb96788f
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
[project]
2+
name = "stackit-telemetrylink"
3+
version = "v0.0.1a"
4+
description = "STACKIT Telemetry Link API"
5+
authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
6+
requires-python = ">=3.9,<4.0"
7+
readme = "README.md"
8+
classifiers = [
9+
"Programming Language :: Python :: 3",
10+
"License :: OSI Approved :: Apache Software License",
11+
"Operating System :: OS Independent",
12+
"Programming Language :: Python :: 3.9",
13+
"Programming Language :: Python :: 3.10",
14+
"Programming Language :: Python :: 3.11",
15+
"Programming Language :: Python :: 3.12",
16+
"Programming Language :: Python :: 3.13",
17+
"Programming Language :: Python :: 3.14",
18+
]
19+
dependencies = [
20+
"stackit-core>=0.0.1a",
21+
"requests>=2.32.3",
22+
"pydantic>=2.9.2",
23+
"python-dateutil>=2.9.0.post0",
24+
]
25+
26+
[project.urls]
27+
Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
28+
Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
29+
30+
[dependency-groups]
31+
dev = [
32+
"black>=24.8.0",
33+
"pytest>=8.3.3",
34+
"flake8>=5.0.3 ; python_full_version < '3.12'",
35+
"flake8>=6.0.1 ; python_full_version >= '3.12'",
36+
"flake8-black>=0.3.6",
37+
"flake8-pyproject>=1.2.3",
38+
"autoimport>=1.6.1",
39+
"flake8-eol>=0.0.8",
40+
"flake8-eradicate>=1.5.0",
41+
"flake8-bandit>=4.1.1",
42+
"flake8-bugbear>=23.1.14",
43+
"flake8-quotes>=3.4.0",
44+
"isort>=5.13.2",
45+
]
46+
47+
[tool.uv]
48+
default-groups = "all"
49+
50+
[tool.uv.sources]
51+
stackit-core = { path = "../../core" }
52+
53+
[tool.hatch.build.targets.sdist]
54+
include = ["src/stackit"]
55+
56+
[tool.hatch.build.targets.wheel]
57+
include = ["src/stackit"]
58+
59+
[tool.hatch.build.targets.wheel-sources]
60+
"src/stackit" = "stackit"
61+
62+
[build-system]
63+
requires = ["hatchling"]
64+
build-backend = "hatchling.build"
65+
66+
[tool.pytest.ini_options]
67+
pythonpath = [
68+
"src"
69+
]
70+
testpaths = [
71+
"tests"
72+
]
73+
74+
[tool.black]
75+
line-length = 120
76+
exclude = """
77+
/(
78+
.eggs
79+
| .git
80+
| .hg
81+
| .mypy_cache
82+
| .nox
83+
| .pants.d
84+
| .tox
85+
| .venv
86+
| _build
87+
| buck-out
88+
| build
89+
| dist
90+
| node_modules
91+
| venv
92+
)/
93+
"""
94+
95+
[tool.isort]
96+
profile = 'black'
97+
98+
[tool.flake8]
99+
exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
100+
statistics = true
101+
show-source = false
102+
max-line-length = 120
103+
# E203,W503 and E704 are incompatible with the formatter black
104+
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
105+
ignore = ["E203", "W503", "E704", "W291"]
106+
inline-quotes = '"'
107+
docstring-quotes = '"""'
108+
multiline-quotes = '"""'
109+
ban-relative-imports = true
110+
# Exclude generated code
111+
extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ]
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
STACKIT Telemetry Link API
7+
8+
This API provides endpoints for managing Telemetry Links. The Telemetry Link enables Log Routing towards a defined Telemetry Router.
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
15+
16+
17+
__version__ = "1.0.0"
18+
19+
# Define package exports
20+
__all__ = [
21+
"DefaultApi",
22+
"ApiResponse",
23+
"ApiClient",
24+
"HostConfiguration",
25+
"OpenApiException",
26+
"ApiTypeError",
27+
"ApiValueError",
28+
"ApiKeyError",
29+
"ApiAttributeError",
30+
"ApiException",
31+
"PatchFolderTelemetryLinkPayload",
32+
"PatchOrganizationTelemetryLinkPayload",
33+
"PatchProjectTelemetryLinkPayload",
34+
"PutFolderTelemetryLinkPayload",
35+
"PutOrganizationTelemetryLinkPayload",
36+
"PutProjectTelemetryLinkPayload",
37+
"Response4xx",
38+
"TelemetryLinkRequest",
39+
"TelemetryLinkResponse",
40+
]
41+
42+
# import apis into sdk package
43+
from stackit.telemetrylink.api.default_api import DefaultApi as DefaultApi
44+
from stackit.telemetrylink.api_client import ApiClient as ApiClient
45+
46+
# import ApiClient
47+
from stackit.telemetrylink.api_response import ApiResponse as ApiResponse
48+
from stackit.telemetrylink.configuration import HostConfiguration as HostConfiguration
49+
from stackit.telemetrylink.exceptions import ApiAttributeError as ApiAttributeError
50+
from stackit.telemetrylink.exceptions import ApiException as ApiException
51+
from stackit.telemetrylink.exceptions import ApiKeyError as ApiKeyError
52+
from stackit.telemetrylink.exceptions import ApiTypeError as ApiTypeError
53+
from stackit.telemetrylink.exceptions import ApiValueError as ApiValueError
54+
from stackit.telemetrylink.exceptions import OpenApiException as OpenApiException
55+
56+
# import models into sdk package
57+
from stackit.telemetrylink.models.patch_folder_telemetry_link_payload import (
58+
PatchFolderTelemetryLinkPayload as PatchFolderTelemetryLinkPayload,
59+
)
60+
from stackit.telemetrylink.models.patch_organization_telemetry_link_payload import (
61+
PatchOrganizationTelemetryLinkPayload as PatchOrganizationTelemetryLinkPayload,
62+
)
63+
from stackit.telemetrylink.models.patch_project_telemetry_link_payload import (
64+
PatchProjectTelemetryLinkPayload as PatchProjectTelemetryLinkPayload,
65+
)
66+
from stackit.telemetrylink.models.put_folder_telemetry_link_payload import (
67+
PutFolderTelemetryLinkPayload as PutFolderTelemetryLinkPayload,
68+
)
69+
from stackit.telemetrylink.models.put_organization_telemetry_link_payload import (
70+
PutOrganizationTelemetryLinkPayload as PutOrganizationTelemetryLinkPayload,
71+
)
72+
from stackit.telemetrylink.models.put_project_telemetry_link_payload import (
73+
PutProjectTelemetryLinkPayload as PutProjectTelemetryLinkPayload,
74+
)
75+
from stackit.telemetrylink.models.response4xx import Response4xx as Response4xx
76+
from stackit.telemetrylink.models.telemetry_link_request import (
77+
TelemetryLinkRequest as TelemetryLinkRequest,
78+
)
79+
from stackit.telemetrylink.models.telemetry_link_response import (
80+
TelemetryLinkResponse as TelemetryLinkResponse,
81+
)
Lines changed: 4 additions & 0 deletions
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.telemetrylink.api.default_api import DefaultApi

0 commit comments

Comments
 (0)