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
1313
1414from 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+ )
1723from stackit .core .configuration import Configuration
1824from 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
0 commit comments