Skip to content

Commit 3c080a0

Browse files
Generate iaas
1 parent d14550d commit 3c080a0

154 files changed

Lines changed: 1274 additions & 947 deletions

File tree

Some content is hidden

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

services/iaas/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a35d8f28738a45005b098b66b6debd08a67ab018
1+
876a48fb56473c7c844baa697906d461c0675f47

services/iaas/src/stackit/iaas/__init__.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33
# flake8: noqa
44

55
"""
6-
STACKIT IaaS API
6+
STACKIT IaaS API
77
8-
This API allows you to create and modify IaaS resources.
8+
This API allows you to create and modify IaaS resources.
99
10-
The version of the OpenAPI document: 2
11-
Contact: stackit-iaas@mail.schwarz
12-
Generated by OpenAPI Generator (https://openapi-generator.tech)
10+
The version of the OpenAPI document: 2
11+
Contact: stackit-iaas@mail.schwarz
12+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
14-
Do not edit the class manually.
14+
Do not edit the class manually.
1515
""" # noqa: E501
1616

17+
1718
__version__ = "1.0.0"
1819

1920
# Define package exports
@@ -141,6 +142,7 @@
141142
"ServerMaintenance",
142143
"ServerNetwork",
143144
"ServerNetworking",
145+
"ServerVTPM",
144146
"ServiceAccountMailListResponse",
145147
"SetImageSharePayload",
146148
"Snapshot",
@@ -430,6 +432,7 @@
430432
)
431433
from stackit.iaas.models.server_network import ServerNetwork as ServerNetwork
432434
from stackit.iaas.models.server_networking import ServerNetworking as ServerNetworking
435+
from stackit.iaas.models.server_vtpm import ServerVTPM as ServerVTPM
433436
from stackit.iaas.models.service_account_mail_list_response import (
434437
ServiceAccountMailListResponse as ServiceAccountMailListResponse,
435438
)

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

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# coding: utf-8
22

33
"""
4-
STACKIT IaaS API
4+
STACKIT IaaS API
55

6-
This API allows you to create and modify IaaS resources.
6+
This API allows you to create and modify IaaS resources.
77

8-
The version of the OpenAPI document: 2
9-
Contact: stackit-iaas@mail.schwarz
10-
Generated by OpenAPI Generator (https://openapi-generator.tech)
8+
The version of the OpenAPI document: 2
9+
Contact: stackit-iaas@mail.schwarz
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

12-
Do not edit the class manually.
12+
Do not edit the class manually.
1313
""" # noqa: E501
1414

1515
from typing import Any, Dict, List, Optional, Tuple, Union
@@ -1971,7 +1971,7 @@ def add_service_account_to_server(
19711971
) -> ServiceAccountMailListResponse:
19721972
"""Attach service account to a server.
19731973

1974-
Attach an additional service account to the server.
1974+
Attach a service account to the server.
19751975

19761976
:param project_id: The identifier (ID) of a STACKIT Project. (required)
19771977
:type project_id: UUID
@@ -2051,7 +2051,7 @@ def add_service_account_to_server_with_http_info(
20512051
) -> ApiResponse[ServiceAccountMailListResponse]:
20522052
"""Attach service account to a server.
20532053

2054-
Attach an additional service account to the server.
2054+
Attach a service account to the server.
20552055

20562056
:param project_id: The identifier (ID) of a STACKIT Project. (required)
20572057
:type project_id: UUID
@@ -2131,7 +2131,7 @@ def add_service_account_to_server_without_preload_content(
21312131
) -> RESTResponseType:
21322132
"""Attach service account to a server.
21332133

2134-
Attach an additional service account to the server.
2134+
Attach a service account to the server.
21352135

21362136
:param project_id: The identifier (ID) of a STACKIT Project. (required)
21372137
:type project_id: UUID
@@ -2912,6 +2912,7 @@ def create_backup(
29122912
"401": "Error",
29132913
"403": "Error",
29142914
"404": "Error",
2915+
"413": "Error",
29152916
"500": "Error",
29162917
}
29172918
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2985,6 +2986,7 @@ def create_backup_with_http_info(
29852986
"401": "Error",
29862987
"403": "Error",
29872988
"404": "Error",
2989+
"413": "Error",
29882990
"500": "Error",
29892991
}
29902992
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -3058,6 +3060,7 @@ def create_backup_without_preload_content(
30583060
"401": "Error",
30593061
"403": "Error",
30603062
"404": "Error",
3063+
"413": "Error",
30613064
"500": "Error",
30623065
}
30633066
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -3145,7 +3148,7 @@ def create_image(
31453148
) -> ImageCreateResponse:
31463149
"""Create new Image.
31473150

3148-
Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.
3151+
Create a new Image in a project in queued state. Image data must be imported separately. This call returns a pre-signed URL to upload small images.
31493152

31503153
:param project_id: The identifier (ID) of a STACKIT Project. (required)
31513154
:type project_id: UUID
@@ -3191,6 +3194,7 @@ def create_image(
31913194
"401": "Error",
31923195
"403": "Error",
31933196
"404": "Error",
3197+
"413": "Error",
31943198
"429": "Error",
31953199
"500": "Error",
31963200
}
@@ -3219,7 +3223,7 @@ def create_image_with_http_info(
32193223
) -> ApiResponse[ImageCreateResponse]:
32203224
"""Create new Image.
32213225

3222-
Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.
3226+
Create a new Image in a project in queued state. Image data must be imported separately. This call returns a pre-signed URL to upload small images.
32233227

32243228
:param project_id: The identifier (ID) of a STACKIT Project. (required)
32253229
:type project_id: UUID
@@ -3265,6 +3269,7 @@ def create_image_with_http_info(
32653269
"401": "Error",
32663270
"403": "Error",
32673271
"404": "Error",
3272+
"413": "Error",
32683273
"429": "Error",
32693274
"500": "Error",
32703275
}
@@ -3293,7 +3298,7 @@ def create_image_without_preload_content(
32933298
) -> RESTResponseType:
32943299
"""Create new Image.
32953300

3296-
Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.
3301+
Create a new Image in a project in queued state. Image data must be imported separately. This call returns a pre-signed URL to upload small images.
32973302

32983303
:param project_id: The identifier (ID) of a STACKIT Project. (required)
32993304
:type project_id: UUID
@@ -3339,6 +3344,7 @@ def create_image_without_preload_content(
33393344
"401": "Error",
33403345
"403": "Error",
33413346
"404": "Error",
3347+
"413": "Error",
33423348
"429": "Error",
33433349
"500": "Error",
33443350
}
@@ -6923,6 +6929,8 @@ def create_snapshot(
69236929
"401": "Error",
69246930
"403": "Error",
69256931
"404": "Error",
6932+
"409": "Error",
6933+
"413": "Error",
69266934
"500": "Error",
69276935
}
69286936
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -6996,6 +7004,8 @@ def create_snapshot_with_http_info(
69967004
"401": "Error",
69977005
"403": "Error",
69987006
"404": "Error",
7007+
"409": "Error",
7008+
"413": "Error",
69997009
"500": "Error",
70007010
}
70017011
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -7069,6 +7079,8 @@ def create_snapshot_without_preload_content(
70697079
"401": "Error",
70707080
"403": "Error",
70717081
"404": "Error",
7082+
"409": "Error",
7083+
"413": "Error",
70727084
"500": "Error",
70737085
}
70747086
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -7202,6 +7214,8 @@ def create_volume(
72027214
"401": "Error",
72037215
"403": "Error",
72047216
"404": "Error",
7217+
"409": "Error",
7218+
"413": "Error",
72057219
"500": "Error",
72067220
}
72077221
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -7275,6 +7289,8 @@ def create_volume_with_http_info(
72757289
"401": "Error",
72767290
"403": "Error",
72777291
"404": "Error",
7292+
"409": "Error",
7293+
"413": "Error",
72787294
"500": "Error",
72797295
}
72807296
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -7348,6 +7364,8 @@ def create_volume_without_preload_content(
73487364
"401": "Error",
73497365
"403": "Error",
73507366
"404": "Error",
7367+
"409": "Error",
7368+
"413": "Error",
73517369
"500": "Error",
73527370
}
73537371
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -27738,9 +27756,9 @@ def list_server_service_accounts(
2773827756
_headers: Optional[Dict[StrictStr, Any]] = None,
2773927757
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2774027758
) -> ServiceAccountMailListResponse:
27741-
"""List all service accounts of the Server.
27759+
"""List the service account of the Server.
2774227760

27743-
Get the list of the service accounts of the server.
27761+
Get service account of the server in a list.
2774427762

2774527763
:param project_id: The identifier (ID) of a STACKIT Project. (required)
2774627764
:type project_id: UUID
@@ -27811,9 +27829,9 @@ def list_server_service_accounts_with_http_info(
2781127829
_headers: Optional[Dict[StrictStr, Any]] = None,
2781227830
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2781327831
) -> ApiResponse[ServiceAccountMailListResponse]:
27814-
"""List all service accounts of the Server.
27832+
"""List the service account of the Server.
2781527833

27816-
Get the list of the service accounts of the server.
27834+
Get service account of the server in a list.
2781727835

2781827836
:param project_id: The identifier (ID) of a STACKIT Project. (required)
2781927837
:type project_id: UUID
@@ -27884,9 +27902,9 @@ def list_server_service_accounts_without_preload_content(
2788427902
_headers: Optional[Dict[StrictStr, Any]] = None,
2788527903
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2788627904
) -> RESTResponseType:
27887-
"""List all service accounts of the Server.
27905+
"""List the service account of the Server.
2788827906

27889-
Get the list of the service accounts of the server.
27907+
Get service account of the server in a list.
2789027908

2789127909
:param project_id: The identifier (ID) of a STACKIT Project. (required)
2789227910
:type project_id: UUID
@@ -31149,7 +31167,7 @@ def remove_service_account_from_server(
3114931167
) -> ServiceAccountMailListResponse:
3115031168
"""Detach a service account from a server.
3115131169

31152-
Detach an additional service account from the server.
31170+
Detach a service account from the server.
3115331171

3115431172
:param project_id: The identifier (ID) of a STACKIT Project. (required)
3115531173
:type project_id: UUID
@@ -31229,7 +31247,7 @@ def remove_service_account_from_server_with_http_info(
3122931247
) -> ApiResponse[ServiceAccountMailListResponse]:
3123031248
"""Detach a service account from a server.
3123131249

31232-
Detach an additional service account from the server.
31250+
Detach a service account from the server.
3123331251

3123431252
:param project_id: The identifier (ID) of a STACKIT Project. (required)
3123531253
:type project_id: UUID
@@ -31309,7 +31327,7 @@ def remove_service_account_from_server_without_preload_content(
3130931327
) -> RESTResponseType:
3131031328
"""Detach a service account from a server.
3131131329

31312-
Detach an additional service account from the server.
31330+
Detach a service account from the server.
3131331331

3131431332
:param project_id: The identifier (ID) of a STACKIT Project. (required)
3131531333
:type project_id: UUID

services/iaas/src/stackit/iaas/api_client.py

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

33
"""
4-
STACKIT IaaS API
4+
STACKIT IaaS API
55
6-
This API allows you to create and modify IaaS resources.
6+
This API allows you to create and modify IaaS resources.
77
8-
The version of the OpenAPI document: 2
9-
Contact: stackit-iaas@mail.schwarz
10-
Generated by OpenAPI Generator (https://openapi-generator.tech)
8+
The version of the OpenAPI document: 2
9+
Contact: stackit-iaas@mail.schwarz
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
12-
Do not edit the class manually.
12+
Do not edit the class manually.
1313
""" # noqa: E501
1414

1515
import datetime
@@ -37,6 +37,7 @@
3737
ApiException,
3838
)
3939

40+
4041
RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]
4142

4243

services/iaas/src/stackit/iaas/api_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from pydantic import BaseModel, Field, StrictBytes, StrictInt
88

9+
910
T = TypeVar("T")
1011

1112

services/iaas/src/stackit/iaas/configuration.py

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

33
"""
4-
STACKIT IaaS API
4+
STACKIT IaaS API
55
6-
This API allows you to create and modify IaaS resources.
6+
This API allows you to create and modify IaaS resources.
77
8-
The version of the OpenAPI document: 2
9-
Contact: stackit-iaas@mail.schwarz
10-
Generated by OpenAPI Generator (https://openapi-generator.tech)
8+
The version of the OpenAPI document: 2
9+
Contact: stackit-iaas@mail.schwarz
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
12-
Do not edit the class manually.
12+
Do not edit the class manually.
1313
""" # noqa: E501
1414

1515
import sys
@@ -19,6 +19,7 @@
1919

2020
import os
2121

22+
2223
ServerVariablesT = Dict[str, str]
2324

2425

services/iaas/src/stackit/iaas/exceptions.py

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

33
"""
4-
STACKIT IaaS API
4+
STACKIT IaaS API
55
6-
This API allows you to create and modify IaaS resources.
6+
This API allows you to create and modify IaaS resources.
77
8-
The version of the OpenAPI document: 2
9-
Contact: stackit-iaas@mail.schwarz
10-
Generated by OpenAPI Generator (https://openapi-generator.tech)
8+
The version of the OpenAPI document: 2
9+
Contact: stackit-iaas@mail.schwarz
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
12-
Do not edit the class manually.
12+
Do not edit the class manually.
1313
""" # noqa: E501
1414

1515
from typing import Any, Optional

0 commit comments

Comments
 (0)