Skip to content

Commit 15fce9a

Browse files
Generator: Update SDK /services/ske (#2543)
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@stackit.cloud>
1 parent a8bbff2 commit 15fce9a

Some content is hidden

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

47 files changed

+118
-45
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## Release (2025-XX-XX)
22
- `authorization`: [v0.5.0](services/authorization/CHANGELOG.md#v050)
33
- Add new `etag` attribute to `Role` model class
4+
- `ske`: [v1.4.0](services/ske/CHANGELOG.md#v140)
5+
- **Feature:** Add new optional `version_state` param to `DefaultApi.list_provider_options` method
6+
- **Feature:** Add new enum `GetProviderOptionsRequestVersionState`
47

58
## Release (2025-11-14)
69
- `cdn`:

services/ske/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v1.4.0
2+
- **Feature:** Add new optional `version_state` param to `DefaultApi.list_provider_options` method
3+
- **Feature:** Add new enum `GetProviderOptionsRequestVersionState`
4+
15
## v1.3.1
26
- **Bugfix:** Prevent year 0 timestamp issue
37

services/ske/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "stackit-ske"
33

44
[tool.poetry]
55
name = "stackit-ske"
6-
version = "v1.3.1"
6+
version = "v1.4.0"
77
authors = [
88
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
99
]

services/ske/src/stackit/ske/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# flake8: noqa
44

55
"""
6-
SKE-API
6+
STACKIT Kubernetes Engine API
77
88
The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
99
@@ -40,6 +40,7 @@
4040
"CredentialsRotationState",
4141
"DNS",
4242
"Extension",
43+
"GetProviderOptionsRequestVersionState",
4344
"Hibernation",
4445
"HibernationSchedule",
4546
"Image",
@@ -101,6 +102,9 @@
101102
from stackit.ske.models.cri import CRI as CRI
102103
from stackit.ske.models.dns import DNS as DNS
103104
from stackit.ske.models.extension import Extension as Extension
105+
from stackit.ske.models.get_provider_options_request_version_state import (
106+
GetProviderOptionsRequestVersionState as GetProviderOptionsRequestVersionState,
107+
)
104108
from stackit.ske.models.hibernation import Hibernation as Hibernation
105109
from stackit.ske.models.hibernation_schedule import (
106110
HibernationSchedule as HibernationSchedule,

services/ske/src/stackit/ske/api/default_api.py

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
SKE-API
4+
STACKIT Kubernetes Engine API
55
66
The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
77
@@ -13,7 +13,13 @@
1313

1414
from typing import Any, Dict, List, Optional, Tuple, Union
1515

16-
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
16+
from pydantic import (
17+
Field,
18+
StrictFloat,
19+
StrictInt,
20+
StrictStr,
21+
validate_call,
22+
)
1723
from stackit.core.configuration import Configuration
1824
from typing_extensions import Annotated
1925

@@ -1931,6 +1937,7 @@ def _list_clusters_serialize(
19311937
def list_provider_options(
19321938
self,
19331939
region: StrictStr,
1940+
version_state: Optional[StrictStr] = None,
19341941
_request_timeout: Union[
19351942
None,
19361943
Annotated[StrictFloat, Field(gt=0)],
@@ -1947,6 +1954,8 @@ def list_provider_options(
19471954
19481955
:param region: (required)
19491956
:type region: str
1957+
:param version_state:
1958+
:type version_state: str
19501959
:param _request_timeout: timeout setting for this request. If one
19511960
number provided, it will be total request
19521961
timeout. It can also be a pair (tuple) of
@@ -1971,6 +1980,7 @@ def list_provider_options(
19711980

19721981
_param = self._list_provider_options_serialize(
19731982
region=region,
1983+
version_state=version_state,
19741984
_request_auth=_request_auth,
19751985
_content_type=_content_type,
19761986
_headers=_headers,
@@ -1993,6 +2003,7 @@ def list_provider_options(
19932003
def list_provider_options_with_http_info(
19942004
self,
19952005
region: StrictStr,
2006+
version_state: Optional[StrictStr] = None,
19962007
_request_timeout: Union[
19972008
None,
19982009
Annotated[StrictFloat, Field(gt=0)],
@@ -2009,6 +2020,8 @@ def list_provider_options_with_http_info(
20092020
20102021
:param region: (required)
20112022
:type region: str
2023+
:param version_state:
2024+
:type version_state: str
20122025
:param _request_timeout: timeout setting for this request. If one
20132026
number provided, it will be total request
20142027
timeout. It can also be a pair (tuple) of
@@ -2033,6 +2046,7 @@ def list_provider_options_with_http_info(
20332046

20342047
_param = self._list_provider_options_serialize(
20352048
region=region,
2049+
version_state=version_state,
20362050
_request_auth=_request_auth,
20372051
_content_type=_content_type,
20382052
_headers=_headers,
@@ -2055,6 +2069,7 @@ def list_provider_options_with_http_info(
20552069
def list_provider_options_without_preload_content(
20562070
self,
20572071
region: StrictStr,
2072+
version_state: Optional[StrictStr] = None,
20582073
_request_timeout: Union[
20592074
None,
20602075
Annotated[StrictFloat, Field(gt=0)],
@@ -2071,6 +2086,8 @@ def list_provider_options_without_preload_content(
20712086
20722087
:param region: (required)
20732088
:type region: str
2089+
:param version_state:
2090+
:type version_state: str
20742091
:param _request_timeout: timeout setting for this request. If one
20752092
number provided, it will be total request
20762093
timeout. It can also be a pair (tuple) of
@@ -2095,6 +2112,7 @@ def list_provider_options_without_preload_content(
20952112

20962113
_param = self._list_provider_options_serialize(
20972114
region=region,
2115+
version_state=version_state,
20982116
_request_auth=_request_auth,
20992117
_content_type=_content_type,
21002118
_headers=_headers,
@@ -2112,6 +2130,7 @@ def list_provider_options_without_preload_content(
21122130
def _list_provider_options_serialize(
21132131
self,
21142132
region,
2133+
version_state,
21152134
_request_auth,
21162135
_content_type,
21172136
_headers,
@@ -2133,6 +2152,10 @@ def _list_provider_options_serialize(
21332152
if region is not None:
21342153
_path_params["region"] = region
21352154
# process the query parameters
2155+
if version_state is not None:
2156+
2157+
_query_params.append(("versionState", version_state))
2158+
21362159
# process the header parameters
21372160
# process the form parameters
21382161
# process the body parameter

services/ske/src/stackit/ske/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
SKE-API
4+
STACKIT Kubernetes Engine API
55
66
The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
77

services/ske/src/stackit/ske/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
SKE-API
4+
STACKIT Kubernetes Engine API
55
66
The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
77

services/ske/src/stackit/ske/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
SKE-API
4+
STACKIT Kubernetes Engine API
55
66
The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
77

services/ske/src/stackit/ske/models/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# flake8: noqa
44
"""
5-
SKE-API
5+
STACKIT Kubernetes Engine API
66
77
The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
88
@@ -28,6 +28,9 @@
2828
from stackit.ske.models.cri import CRI
2929
from stackit.ske.models.dns import DNS
3030
from stackit.ske.models.extension import Extension
31+
from stackit.ske.models.get_provider_options_request_version_state import (
32+
GetProviderOptionsRequestVersionState,
33+
)
3134
from stackit.ske.models.hibernation import Hibernation
3235
from stackit.ske.models.hibernation_schedule import HibernationSchedule
3336
from stackit.ske.models.image import Image

services/ske/src/stackit/ske/models/acl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: utf-8
22

33
"""
4-
SKE-API
4+
STACKIT Kubernetes Engine API
55
66
The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
77

0 commit comments

Comments
 (0)