Skip to content

Commit 10acaab

Browse files
Generate ske
1 parent b7bc6f6 commit 10acaab

File tree

4 files changed

+10
-31
lines changed

4 files changed

+10
-31
lines changed

services/ske/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0e64886dd0847341800d7191ed193b75413be998
1+
7387ad1600ca8bb2a3f15a5df04cd5831d75852f

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

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ def complete_credentials_rotation(
110110
)
111111

112112
_response_types_map: Dict[str, Optional[str]] = {
113-
"200": "object",
114113
"202": "object",
115114
"400": "object",
116115
"401": "object",
@@ -182,7 +181,6 @@ def complete_credentials_rotation_with_http_info(
182181
)
183182

184183
_response_types_map: Dict[str, Optional[str]] = {
185-
"200": "object",
186184
"202": "object",
187185
"400": "object",
188186
"401": "object",
@@ -254,7 +252,6 @@ def complete_credentials_rotation_without_preload_content(
254252
)
255253

256254
_response_types_map: Dict[str, Optional[str]] = {
257-
"200": "object",
258255
"202": "object",
259256
"400": "object",
260257
"401": "object",
@@ -670,8 +667,7 @@ def create_or_update_cluster(
670667
)
671668

672669
_response_types_map: Dict[str, Optional[str]] = {
673-
"200": "Cluster",
674-
"202": "object",
670+
"202": "Cluster",
675671
"400": "object",
676672
"401": "object",
677673
"404": "object",
@@ -746,8 +742,7 @@ def create_or_update_cluster_with_http_info(
746742
)
747743

748744
_response_types_map: Dict[str, Optional[str]] = {
749-
"200": "Cluster",
750-
"202": "object",
745+
"202": "Cluster",
751746
"400": "object",
752747
"401": "object",
753748
"404": "object",
@@ -822,8 +817,7 @@ def create_or_update_cluster_without_preload_content(
822817
)
823818

824819
_response_types_map: Dict[str, Optional[str]] = {
825-
"200": "Cluster",
826-
"202": "object",
820+
"202": "Cluster",
827821
"400": "object",
828822
"401": "object",
829823
"404": "object",
@@ -957,7 +951,6 @@ def delete_cluster(
957951
)
958952

959953
_response_types_map: Dict[str, Optional[str]] = {
960-
"200": "object",
961954
"202": "object",
962955
"400": "object",
963956
"401": "object",
@@ -1029,7 +1022,6 @@ def delete_cluster_with_http_info(
10291022
)
10301023

10311024
_response_types_map: Dict[str, Optional[str]] = {
1032-
"200": "object",
10331025
"202": "object",
10341026
"400": "object",
10351027
"401": "object",
@@ -1101,7 +1093,6 @@ def delete_cluster_without_preload_content(
11011093
)
11021094

11031095
_response_types_map: Dict[str, Optional[str]] = {
1104-
"200": "object",
11051096
"202": "object",
11061097
"400": "object",
11071098
"401": "object",
@@ -2267,6 +2258,7 @@ def list_provider_options(
22672258

22682259
_response_types_map: Dict[str, Optional[str]] = {
22692260
"200": "ProviderOptions",
2261+
"400": "object",
22702262
"401": "object",
22712263
}
22722264
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2332,6 +2324,7 @@ def list_provider_options_with_http_info(
23322324

23332325
_response_types_map: Dict[str, Optional[str]] = {
23342326
"200": "ProviderOptions",
2327+
"400": "object",
23352328
"401": "object",
23362329
}
23372330
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2397,6 +2390,7 @@ def list_provider_options_without_preload_content(
23972390

23982391
_response_types_map: Dict[str, Optional[str]] = {
23992392
"200": "ProviderOptions",
2393+
"400": "object",
24002394
"401": "object",
24012395
}
24022396
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2516,7 +2510,6 @@ def start_credentials_rotation(
25162510
)
25172511

25182512
_response_types_map: Dict[str, Optional[str]] = {
2519-
"200": "object",
25202513
"202": "object",
25212514
"400": "object",
25222515
"401": "object",
@@ -2588,7 +2581,6 @@ def start_credentials_rotation_with_http_info(
25882581
)
25892582

25902583
_response_types_map: Dict[str, Optional[str]] = {
2591-
"200": "object",
25922584
"202": "object",
25932585
"400": "object",
25942586
"401": "object",
@@ -2660,7 +2652,6 @@ def start_credentials_rotation_without_preload_content(
26602652
)
26612653

26622654
_response_types_map: Dict[str, Optional[str]] = {
2663-
"200": "object",
26642655
"202": "object",
26652656
"400": "object",
26662657
"401": "object",
@@ -2784,7 +2775,6 @@ def trigger_hibernate(
27842775
)
27852776

27862777
_response_types_map: Dict[str, Optional[str]] = {
2787-
"200": "object",
27882778
"202": "object",
27892779
"400": "object",
27902780
"401": "object",
@@ -2856,7 +2846,6 @@ def trigger_hibernate_with_http_info(
28562846
)
28572847

28582848
_response_types_map: Dict[str, Optional[str]] = {
2859-
"200": "object",
28602849
"202": "object",
28612850
"400": "object",
28622851
"401": "object",
@@ -2928,7 +2917,6 @@ def trigger_hibernate_without_preload_content(
29282917
)
29292918

29302919
_response_types_map: Dict[str, Optional[str]] = {
2931-
"200": "object",
29322920
"202": "object",
29332921
"400": "object",
29342922
"401": "object",
@@ -3052,7 +3040,6 @@ def trigger_maintenance(
30523040
)
30533041

30543042
_response_types_map: Dict[str, Optional[str]] = {
3055-
"200": "object",
30563043
"202": "object",
30573044
"400": "object",
30583045
"401": "object",
@@ -3124,7 +3111,6 @@ def trigger_maintenance_with_http_info(
31243111
)
31253112

31263113
_response_types_map: Dict[str, Optional[str]] = {
3127-
"200": "object",
31283114
"202": "object",
31293115
"400": "object",
31303116
"401": "object",
@@ -3196,7 +3182,6 @@ def trigger_maintenance_without_preload_content(
31963182
)
31973183

31983184
_response_types_map: Dict[str, Optional[str]] = {
3199-
"200": "object",
32003185
"202": "object",
32013186
"400": "object",
32023187
"401": "object",
@@ -3320,7 +3305,6 @@ def trigger_reconcile(
33203305
)
33213306

33223307
_response_types_map: Dict[str, Optional[str]] = {
3323-
"200": "object",
33243308
"202": "object",
33253309
"400": "object",
33263310
"401": "object",
@@ -3392,7 +3376,6 @@ def trigger_reconcile_with_http_info(
33923376
)
33933377

33943378
_response_types_map: Dict[str, Optional[str]] = {
3395-
"200": "object",
33963379
"202": "object",
33973380
"400": "object",
33983381
"401": "object",
@@ -3464,7 +3447,6 @@ def trigger_reconcile_without_preload_content(
34643447
)
34653448

34663449
_response_types_map: Dict[str, Optional[str]] = {
3467-
"200": "object",
34683450
"202": "object",
34693451
"400": "object",
34703452
"401": "object",
@@ -3588,7 +3570,6 @@ def trigger_wakeup(
35883570
)
35893571

35903572
_response_types_map: Dict[str, Optional[str]] = {
3591-
"200": "object",
35923573
"202": "object",
35933574
"400": "object",
35943575
"401": "object",
@@ -3660,7 +3641,6 @@ def trigger_wakeup_with_http_info(
36603641
)
36613642

36623643
_response_types_map: Dict[str, Optional[str]] = {
3663-
"200": "object",
36643644
"202": "object",
36653645
"400": "object",
36663646
"401": "object",
@@ -3732,7 +3712,6 @@ def trigger_wakeup_without_preload_content(
37323712
)
37333713

37343714
_response_types_map: Dict[str, Optional[str]] = {
3735-
"200": "object",
37363715
"202": "object",
37373716
"400": "object",
37383717
"401": "object",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class AccessScope(str, Enum):
2323
"""
24-
The access scope of the Control Plane. It defines if the Kubernetes control plane is public or only available inside a STACKIT Network Area. ⚠️ Note: This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected.
24+
The access scope of the Control Plane. It defines if the Kubernetes control plane is public or only available inside a STACKIT Network Area. This field is immutable. ⚠️ Note: This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected.
2525
"""
2626

2727
"""

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def name_validate_enum(cls, value):
3535
if value is None:
3636
return value
3737

38-
if value not in set(["docker", "containerd"]):
39-
raise ValueError("must be one of enum values ('docker', 'containerd')")
38+
if value not in set(["containerd"]):
39+
raise ValueError("must be one of enum values ('containerd')")
4040
return value
4141

4242
model_config = ConfigDict(

0 commit comments

Comments
 (0)