Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/iaas/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a35d8f28738a45005b098b66b6debd08a67ab018
876a48fb56473c7c844baa697906d461c0675f47
15 changes: 9 additions & 6 deletions services/iaas/src/stackit/iaas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@
# flake8: noqa

"""
STACKIT IaaS API
STACKIT IaaS API

This API allows you to create and modify IaaS resources.
This API allows you to create and modify IaaS resources.

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

Do not edit the class manually.
Do not edit the class manually.
""" # noqa: E501


__version__ = "1.0.0"

# Define package exports
Expand Down Expand Up @@ -141,6 +142,7 @@
"ServerMaintenance",
"ServerNetwork",
"ServerNetworking",
"ServerVTPM",
"ServiceAccountMailListResponse",
"SetImageSharePayload",
"Snapshot",
Expand Down Expand Up @@ -430,6 +432,7 @@
)
from stackit.iaas.models.server_network import ServerNetwork as ServerNetwork
from stackit.iaas.models.server_networking import ServerNetworking as ServerNetworking
from stackit.iaas.models.server_vtpm import ServerVTPM as ServerVTPM
from stackit.iaas.models.service_account_mail_list_response import (
ServiceAccountMailListResponse as ServiceAccountMailListResponse,
)
Expand Down
60 changes: 39 additions & 21 deletions services/iaas/src/stackit/iaas/api/default_api.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# coding: utf-8

"""
STACKIT IaaS API
STACKIT IaaS API

This API allows you to create and modify IaaS resources.
This API allows you to create and modify IaaS resources.

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

Do not edit the class manually.
Do not edit the class manually.
""" # noqa: E501

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

Attach an additional service account to the server.
Attach a service account to the server.

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

Attach an additional service account to the server.
Attach a service account to the server.

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

Attach an additional service account to the server.
Attach a service account to the server.

:param project_id: The identifier (ID) of a STACKIT Project. (required)
:type project_id: UUID
Expand Down Expand Up @@ -2912,6 +2912,7 @@ def create_backup(
"401": "Error",
"403": "Error",
"404": "Error",
"413": "Error",
"500": "Error",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -2985,6 +2986,7 @@ def create_backup_with_http_info(
"401": "Error",
"403": "Error",
"404": "Error",
"413": "Error",
"500": "Error",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -3058,6 +3060,7 @@ def create_backup_without_preload_content(
"401": "Error",
"403": "Error",
"404": "Error",
"413": "Error",
"500": "Error",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -3145,7 +3148,7 @@ def create_image(
) -> ImageCreateResponse:
"""Create new Image.

Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.
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.

:param project_id: The identifier (ID) of a STACKIT Project. (required)
:type project_id: UUID
Expand Down Expand Up @@ -3191,6 +3194,7 @@ def create_image(
"401": "Error",
"403": "Error",
"404": "Error",
"413": "Error",
"429": "Error",
"500": "Error",
}
Expand Down Expand Up @@ -3219,7 +3223,7 @@ def create_image_with_http_info(
) -> ApiResponse[ImageCreateResponse]:
"""Create new Image.

Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.
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.

:param project_id: The identifier (ID) of a STACKIT Project. (required)
:type project_id: UUID
Expand Down Expand Up @@ -3265,6 +3269,7 @@ def create_image_with_http_info(
"401": "Error",
"403": "Error",
"404": "Error",
"413": "Error",
"429": "Error",
"500": "Error",
}
Expand Down Expand Up @@ -3293,7 +3298,7 @@ def create_image_without_preload_content(
) -> RESTResponseType:
"""Create new Image.

Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.
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.

:param project_id: The identifier (ID) of a STACKIT Project. (required)
:type project_id: UUID
Expand Down Expand Up @@ -3339,6 +3344,7 @@ def create_image_without_preload_content(
"401": "Error",
"403": "Error",
"404": "Error",
"413": "Error",
"429": "Error",
"500": "Error",
}
Expand Down Expand Up @@ -6923,6 +6929,8 @@ def create_snapshot(
"401": "Error",
"403": "Error",
"404": "Error",
"409": "Error",
"413": "Error",
"500": "Error",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -6996,6 +7004,8 @@ def create_snapshot_with_http_info(
"401": "Error",
"403": "Error",
"404": "Error",
"409": "Error",
"413": "Error",
"500": "Error",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -7069,6 +7079,8 @@ def create_snapshot_without_preload_content(
"401": "Error",
"403": "Error",
"404": "Error",
"409": "Error",
"413": "Error",
"500": "Error",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -7202,6 +7214,8 @@ def create_volume(
"401": "Error",
"403": "Error",
"404": "Error",
"409": "Error",
"413": "Error",
"500": "Error",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -7275,6 +7289,8 @@ def create_volume_with_http_info(
"401": "Error",
"403": "Error",
"404": "Error",
"409": "Error",
"413": "Error",
"500": "Error",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -7348,6 +7364,8 @@ def create_volume_without_preload_content(
"401": "Error",
"403": "Error",
"404": "Error",
"409": "Error",
"413": "Error",
"500": "Error",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -27738,9 +27756,9 @@ def list_server_service_accounts(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ServiceAccountMailListResponse:
"""List all service accounts of the Server.
"""List the service account of the Server.

Get the list of the service accounts of the server.
Get service account of the server in a list.

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

Get the list of the service accounts of the server.
Get service account of the server in a list.

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

Get the list of the service accounts of the server.
Get service account of the server in a list.

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

Detach an additional service account from the server.
Detach a service account from the server.

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

Detach an additional service account from the server.
Detach a service account from the server.

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

Detach an additional service account from the server.
Detach a service account from the server.

:param project_id: The identifier (ID) of a STACKIT Project. (required)
:type project_id: UUID
Expand Down
13 changes: 7 additions & 6 deletions services/iaas/src/stackit/iaas/api_client.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# coding: utf-8

"""
STACKIT IaaS API
STACKIT IaaS API

This API allows you to create and modify IaaS resources.
This API allows you to create and modify IaaS resources.

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

Do not edit the class manually.
Do not edit the class manually.
""" # noqa: E501

import datetime
Expand Down Expand Up @@ -37,6 +37,7 @@
ApiException,
)


RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]


Expand Down
1 change: 1 addition & 0 deletions services/iaas/src/stackit/iaas/api_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from pydantic import BaseModel, Field, StrictBytes, StrictInt


T = TypeVar("T")


Expand Down
13 changes: 7 additions & 6 deletions services/iaas/src/stackit/iaas/configuration.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# coding: utf-8

"""
STACKIT IaaS API
STACKIT IaaS API

This API allows you to create and modify IaaS resources.
This API allows you to create and modify IaaS resources.

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

Do not edit the class manually.
Do not edit the class manually.
""" # noqa: E501

import sys
Expand All @@ -19,6 +19,7 @@

import os


ServerVariablesT = Dict[str, str]


Expand Down
12 changes: 6 additions & 6 deletions services/iaas/src/stackit/iaas/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# coding: utf-8

"""
STACKIT IaaS API
STACKIT IaaS API

This API allows you to create and modify IaaS resources.
This API allows you to create and modify IaaS resources.

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

Do not edit the class manually.
Do not edit the class manually.
""" # noqa: E501

from typing import Any, Optional
Expand Down
Loading
Loading