33"""
44 STACKIT Kubernetes Engine API
55
6- The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
6+ The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.
77
88 The version of the OpenAPI document: 2.0
99 Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -335,9 +335,9 @@ def create_kubeconfig(
335335 _headers : Optional [Dict [StrictStr , Any ]] = None ,
336336 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
337337 ) -> Kubeconfig :
338- """Create a kubeconfig
338+ """Create an admin kubeconfig
339339
340- Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months).
340+ Create a new admin kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). Defaults to 3600 .
341341
342342 :param project_id: (required)
343343 :type project_id: str
@@ -384,6 +384,7 @@ def create_kubeconfig(
384384 "200" : "Kubeconfig" ,
385385 "400" : "object" ,
386386 "401" : "object" ,
387+ "404" : "object" ,
387388 }
388389 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
389390 response_data .read ()
@@ -409,9 +410,9 @@ def create_kubeconfig_with_http_info(
409410 _headers : Optional [Dict [StrictStr , Any ]] = None ,
410411 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
411412 ) -> ApiResponse [Kubeconfig ]:
412- """Create a kubeconfig
413+ """Create an admin kubeconfig
413414
414- Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months).
415+ Create a new admin kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). Defaults to 3600 .
415416
416417 :param project_id: (required)
417418 :type project_id: str
@@ -458,6 +459,7 @@ def create_kubeconfig_with_http_info(
458459 "200" : "Kubeconfig" ,
459460 "400" : "object" ,
460461 "401" : "object" ,
462+ "404" : "object" ,
461463 }
462464 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
463465 response_data .read ()
@@ -483,9 +485,9 @@ def create_kubeconfig_without_preload_content(
483485 _headers : Optional [Dict [StrictStr , Any ]] = None ,
484486 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
485487 ) -> RESTResponseType :
486- """Create a kubeconfig
488+ """Create an admin kubeconfig
487489
488- Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months).
490+ Create a new admin kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). Defaults to 3600 .
489491
490492 :param project_id: (required)
491493 :type project_id: str
@@ -532,6 +534,7 @@ def create_kubeconfig_without_preload_content(
532534 "200" : "Kubeconfig" ,
533535 "400" : "object" ,
534536 "401" : "object" ,
537+ "404" : "object" ,
535538 }
536539 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
537540 return response_data .response
@@ -957,6 +960,7 @@ def delete_cluster(
957960 "202" : "object" ,
958961 "400" : "object" ,
959962 "401" : "object" ,
963+ "404" : "object" ,
960964 }
961965 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
962966 response_data .read ()
@@ -1028,6 +1032,7 @@ def delete_cluster_with_http_info(
10281032 "202" : "object" ,
10291033 "400" : "object" ,
10301034 "401" : "object" ,
1035+ "404" : "object" ,
10311036 }
10321037 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
10331038 response_data .read ()
@@ -1099,6 +1104,7 @@ def delete_cluster_without_preload_content(
10991104 "202" : "object" ,
11001105 "400" : "object" ,
11011106 "401" : "object" ,
1107+ "404" : "object" ,
11021108 }
11031109 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
11041110 return response_data .response
@@ -1221,6 +1227,7 @@ def get_cluster(
12211227 "200" : "Cluster" ,
12221228 "400" : "object" ,
12231229 "401" : "object" ,
1230+ "404" : "object" ,
12241231 }
12251232 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
12261233 response_data .read ()
@@ -1291,6 +1298,7 @@ def get_cluster_with_http_info(
12911298 "200" : "Cluster" ,
12921299 "400" : "object" ,
12931300 "401" : "object" ,
1301+ "404" : "object" ,
12941302 }
12951303 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
12961304 response_data .read ()
@@ -1361,6 +1369,7 @@ def get_cluster_without_preload_content(
13611369 "200" : "Cluster" ,
13621370 "400" : "object" ,
13631371 "401" : "object" ,
1372+ "404" : "object" ,
13641373 }
13651374 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
13661375 return response_data .response
@@ -1437,9 +1446,9 @@ def get_login_kubeconfig(
14371446 _headers : Optional [Dict [StrictStr , Any ]] = None ,
14381447 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
14391448 ) -> LoginKubeconfig :
1440- """Get a kubeconfig for use with the STACKIT CLI
1449+ """Get an admin kubeconfig for use with the STACKIT CLI
14411450
1442- A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
1451+ A admin kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
14431452
14441453 :param project_id: (required)
14451454 :type project_id: str
@@ -1483,6 +1492,7 @@ def get_login_kubeconfig(
14831492 "200" : "LoginKubeconfig" ,
14841493 "400" : "object" ,
14851494 "401" : "object" ,
1495+ "404" : "object" ,
14861496 }
14871497 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
14881498 response_data .read ()
@@ -1507,9 +1517,9 @@ def get_login_kubeconfig_with_http_info(
15071517 _headers : Optional [Dict [StrictStr , Any ]] = None ,
15081518 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
15091519 ) -> ApiResponse [LoginKubeconfig ]:
1510- """Get a kubeconfig for use with the STACKIT CLI
1520+ """Get an admin kubeconfig for use with the STACKIT CLI
15111521
1512- A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
1522+ A admin kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
15131523
15141524 :param project_id: (required)
15151525 :type project_id: str
@@ -1553,6 +1563,7 @@ def get_login_kubeconfig_with_http_info(
15531563 "200" : "LoginKubeconfig" ,
15541564 "400" : "object" ,
15551565 "401" : "object" ,
1566+ "404" : "object" ,
15561567 }
15571568 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
15581569 response_data .read ()
@@ -1577,9 +1588,9 @@ def get_login_kubeconfig_without_preload_content(
15771588 _headers : Optional [Dict [StrictStr , Any ]] = None ,
15781589 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
15791590 ) -> RESTResponseType :
1580- """Get a kubeconfig for use with the STACKIT CLI
1591+ """Get an admin kubeconfig for use with the STACKIT CLI
15811592
1582- A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
1593+ A admin kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
15831594
15841595 :param project_id: (required)
15851596 :type project_id: str
@@ -1623,6 +1634,7 @@ def get_login_kubeconfig_without_preload_content(
16231634 "200" : "LoginKubeconfig" ,
16241635 "400" : "object" ,
16251636 "401" : "object" ,
1637+ "404" : "object" ,
16261638 }
16271639 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
16281640 return response_data .response
@@ -1950,7 +1962,7 @@ def list_provider_options(
19501962 ) -> ProviderOptions :
19511963 """List provider options
19521964
1953- Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes.
1965+ Returns available Kubernetes versions, availability zones, machine types, OS versions and volume types for the cluster nodes.
19541966
19551967 :param region: (required)
19561968 :type region: str
@@ -1989,7 +2001,6 @@ def list_provider_options(
19892001
19902002 _response_types_map : Dict [str , Optional [str ]] = {
19912003 "200" : "ProviderOptions" ,
1992- "400" : "object" ,
19932004 "401" : "object" ,
19942005 }
19952006 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
@@ -2016,7 +2027,7 @@ def list_provider_options_with_http_info(
20162027 ) -> ApiResponse [ProviderOptions ]:
20172028 """List provider options
20182029
2019- Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes.
2030+ Returns available Kubernetes versions, availability zones, machine types, OS versions and volume types for the cluster nodes.
20202031
20212032 :param region: (required)
20222033 :type region: str
@@ -2055,7 +2066,6 @@ def list_provider_options_with_http_info(
20552066
20562067 _response_types_map : Dict [str , Optional [str ]] = {
20572068 "200" : "ProviderOptions" ,
2058- "400" : "object" ,
20592069 "401" : "object" ,
20602070 }
20612071 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
@@ -2082,7 +2092,7 @@ def list_provider_options_without_preload_content(
20822092 ) -> RESTResponseType :
20832093 """List provider options
20842094
2085- Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes.
2095+ Returns available Kubernetes versions, availability zones, machine types, OS versions and volume types for the cluster nodes.
20862096
20872097 :param region: (required)
20882098 :type region: str
@@ -2121,7 +2131,6 @@ def list_provider_options_without_preload_content(
21212131
21222132 _response_types_map : Dict [str , Optional [str ]] = {
21232133 "200" : "ProviderOptions" ,
2124- "400" : "object" ,
21252134 "401" : "object" ,
21262135 }
21272136 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
@@ -2468,7 +2477,7 @@ def trigger_hibernate(
24682477 ) -> object :
24692478 """Trigger cluster hibernation
24702479
2471- Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing.
2480+ Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, this endpoint does nothing.
24722481
24732482 :param project_id: (required)
24742483 :type project_id: str
@@ -2540,7 +2549,7 @@ def trigger_hibernate_with_http_info(
25402549 ) -> ApiResponse [object ]:
25412550 """Trigger cluster hibernation
25422551
2543- Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing.
2552+ Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, this endpoint does nothing.
25442553
25452554 :param project_id: (required)
25462555 :type project_id: str
@@ -2612,7 +2621,7 @@ def trigger_hibernate_without_preload_content(
26122621 ) -> RESTResponseType :
26132622 """Trigger cluster hibernation
26142623
2615- Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing.
2624+ Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, this endpoint does nothing.
26162625
26172626 :param project_id: (required)
26182627 :type project_id: str
@@ -3272,7 +3281,7 @@ def trigger_wakeup(
32723281 ) -> object :
32733282 """Trigger cluster wakeup
32743283
3275- Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing.
3284+ Trigger immediate wake up of the cluster. If the cluster is already in running state, this endpoint does nothing.
32763285
32773286 :param project_id: (required)
32783287 :type project_id: str
@@ -3344,7 +3353,7 @@ def trigger_wakeup_with_http_info(
33443353 ) -> ApiResponse [object ]:
33453354 """Trigger cluster wakeup
33463355
3347- Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing.
3356+ Trigger immediate wake up of the cluster. If the cluster is already in running state, this endpoint does nothing.
33483357
33493358 :param project_id: (required)
33503359 :type project_id: str
@@ -3416,7 +3425,7 @@ def trigger_wakeup_without_preload_content(
34163425 ) -> RESTResponseType :
34173426 """Trigger cluster wakeup
34183427
3419- Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing.
3428+ Trigger immediate wake up of the cluster. If the cluster is already in running state, this endpoint does nothing.
34203429
34213430 :param project_id: (required)
34223431 :type project_id: str
0 commit comments