diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/__init__.py b/services/sqlserverflex/src/stackit/sqlserverflex/__init__.py index b758dfab..08573c84 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/__init__.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/__init__.py @@ -7,7 +7,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/api/default_api.py b/services/sqlserverflex/src/stackit/sqlserverflex/api/default_api.py index ed4ea21e..2be2b646 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/api/default_api.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/api/default_api.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -14,7 +14,13 @@ from typing import Any, Dict, List, Optional, Tuple, Union -from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call +from pydantic import ( + Field, + StrictFloat, + StrictInt, + StrictStr, + validate_call, +) from stackit.core.configuration import Configuration from typing_extensions import Annotated @@ -75,6 +81,7 @@ def create_database( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], create_database_payload: Annotated[CreateDatabasePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -94,6 +101,8 @@ def create_database( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param create_database_payload: Body (required) :type create_database_payload: CreateDatabasePayload :param _request_timeout: timeout setting for this request. If one @@ -121,6 +130,7 @@ def create_database( _param = self._create_database_serialize( project_id=project_id, instance_id=instance_id, + region=region, create_database_payload=create_database_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -131,6 +141,7 @@ def create_database( _response_types_map: Dict[str, Optional[str]] = { "201": "CreateDatabaseResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -146,6 +157,7 @@ def create_database_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], create_database_payload: Annotated[CreateDatabasePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -165,6 +177,8 @@ def create_database_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param create_database_payload: Body (required) :type create_database_payload: CreateDatabasePayload :param _request_timeout: timeout setting for this request. If one @@ -192,6 +206,7 @@ def create_database_with_http_info( _param = self._create_database_serialize( project_id=project_id, instance_id=instance_id, + region=region, create_database_payload=create_database_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -202,6 +217,7 @@ def create_database_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "201": "CreateDatabaseResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -217,6 +233,7 @@ def create_database_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], create_database_payload: Annotated[CreateDatabasePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -236,6 +253,8 @@ def create_database_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param create_database_payload: Body (required) :type create_database_payload: CreateDatabasePayload :param _request_timeout: timeout setting for this request. If one @@ -263,6 +282,7 @@ def create_database_without_preload_content( _param = self._create_database_serialize( project_id=project_id, instance_id=instance_id, + region=region, create_database_payload=create_database_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -273,6 +293,7 @@ def create_database_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "201": "CreateDatabaseResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -283,6 +304,7 @@ def _create_database_serialize( self, project_id, instance_id, + region, create_database_payload, _request_auth, _content_type, @@ -306,6 +328,8 @@ def _create_database_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -330,7 +354,7 @@ def _create_database_serialize( return self.api_client.param_serialize( method="POST", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/databases", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/databases", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -347,6 +371,7 @@ def _create_database_serialize( def create_instance( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], create_instance_payload: Annotated[CreateInstancePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -364,6 +389,8 @@ def create_instance( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param create_instance_payload: Body (required) :type create_instance_payload: CreateInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -390,6 +417,7 @@ def create_instance( _param = self._create_instance_serialize( project_id=project_id, + region=region, create_instance_payload=create_instance_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -400,6 +428,7 @@ def create_instance( _response_types_map: Dict[str, Optional[str]] = { "201": "CreateInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -414,6 +443,7 @@ def create_instance( def create_instance_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], create_instance_payload: Annotated[CreateInstancePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -431,6 +461,8 @@ def create_instance_with_http_info( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param create_instance_payload: Body (required) :type create_instance_payload: CreateInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -457,6 +489,7 @@ def create_instance_with_http_info( _param = self._create_instance_serialize( project_id=project_id, + region=region, create_instance_payload=create_instance_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -467,6 +500,7 @@ def create_instance_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "201": "CreateInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -481,6 +515,7 @@ def create_instance_with_http_info( def create_instance_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], create_instance_payload: Annotated[CreateInstancePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -498,6 +533,8 @@ def create_instance_without_preload_content( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param create_instance_payload: Body (required) :type create_instance_payload: CreateInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -524,6 +561,7 @@ def create_instance_without_preload_content( _param = self._create_instance_serialize( project_id=project_id, + region=region, create_instance_payload=create_instance_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -534,6 +572,7 @@ def create_instance_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "201": "CreateInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -543,6 +582,7 @@ def create_instance_without_preload_content( def _create_instance_serialize( self, project_id, + region, create_instance_payload, _request_auth, _content_type, @@ -564,6 +604,8 @@ def _create_instance_serialize( # process the path parameters if project_id is not None: _path_params["projectId"] = project_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -588,7 +630,7 @@ def _create_instance_serialize( return self.api_client.param_serialize( method="POST", - resource_path="/v1/projects/{projectId}/instances", + resource_path="/v2/projects/{projectId}/regions/{region}/instances", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -606,6 +648,7 @@ def create_user( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], create_user_payload: Annotated[ CreateUserPayload, Field( @@ -630,6 +673,8 @@ def create_user( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param create_user_payload: The request body contains a username, a list of roles and database. The possible roles can be fetched from the ListRoles endpoint. (required) :type create_user_payload: CreateUserPayload :param _request_timeout: timeout setting for this request. If one @@ -657,6 +702,7 @@ def create_user( _param = self._create_user_serialize( project_id=project_id, instance_id=instance_id, + region=region, create_user_payload=create_user_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -667,6 +713,7 @@ def create_user( _response_types_map: Dict[str, Optional[str]] = { "201": "CreateUserResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -682,6 +729,7 @@ def create_user_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], create_user_payload: Annotated[ CreateUserPayload, Field( @@ -706,6 +754,8 @@ def create_user_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param create_user_payload: The request body contains a username, a list of roles and database. The possible roles can be fetched from the ListRoles endpoint. (required) :type create_user_payload: CreateUserPayload :param _request_timeout: timeout setting for this request. If one @@ -733,6 +783,7 @@ def create_user_with_http_info( _param = self._create_user_serialize( project_id=project_id, instance_id=instance_id, + region=region, create_user_payload=create_user_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -743,6 +794,7 @@ def create_user_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "201": "CreateUserResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -758,6 +810,7 @@ def create_user_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], create_user_payload: Annotated[ CreateUserPayload, Field( @@ -782,6 +835,8 @@ def create_user_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param create_user_payload: The request body contains a username, a list of roles and database. The possible roles can be fetched from the ListRoles endpoint. (required) :type create_user_payload: CreateUserPayload :param _request_timeout: timeout setting for this request. If one @@ -809,6 +864,7 @@ def create_user_without_preload_content( _param = self._create_user_serialize( project_id=project_id, instance_id=instance_id, + region=region, create_user_payload=create_user_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -819,6 +875,7 @@ def create_user_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "201": "CreateUserResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -829,6 +886,7 @@ def _create_user_serialize( self, project_id, instance_id, + region, create_user_payload, _request_auth, _content_type, @@ -852,6 +910,8 @@ def _create_user_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -876,7 +936,7 @@ def _create_user_serialize( return self.api_client.param_serialize( method="POST", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/users", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -895,6 +955,7 @@ def delete_database( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -915,6 +976,8 @@ def delete_database( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -941,6 +1004,7 @@ def delete_database( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -950,6 +1014,7 @@ def delete_database( _response_types_map: Dict[str, Optional[str]] = { "204": None, "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -966,6 +1031,7 @@ def delete_database_with_http_info( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -986,6 +1052,8 @@ def delete_database_with_http_info( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1012,6 +1080,7 @@ def delete_database_with_http_info( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1021,6 +1090,7 @@ def delete_database_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "204": None, "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1037,6 +1107,7 @@ def delete_database_without_preload_content( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1057,6 +1128,8 @@ def delete_database_without_preload_content( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1083,6 +1156,7 @@ def delete_database_without_preload_content( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1092,6 +1166,7 @@ def delete_database_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "204": None, "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1103,6 +1178,7 @@ def _delete_database_serialize( project_id, instance_id, database_name, + region, _request_auth, _content_type, _headers, @@ -1127,6 +1203,8 @@ def _delete_database_serialize( _path_params["instanceId"] = instance_id if database_name is not None: _path_params["databaseName"] = database_name + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -1141,7 +1219,7 @@ def _delete_database_serialize( return self.api_client.param_serialize( method="DELETE", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/databases/{databaseName}", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseName}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1159,6 +1237,7 @@ def delete_instance( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1177,6 +1256,8 @@ def delete_instance( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1202,6 +1283,7 @@ def delete_instance( _param = self._delete_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1211,6 +1293,7 @@ def delete_instance( _response_types_map: Dict[str, Optional[str]] = { "200": None, "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1226,6 +1309,7 @@ def delete_instance_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1244,6 +1328,8 @@ def delete_instance_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1269,6 +1355,7 @@ def delete_instance_with_http_info( _param = self._delete_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1278,6 +1365,7 @@ def delete_instance_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": None, "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1293,6 +1381,7 @@ def delete_instance_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1311,6 +1400,8 @@ def delete_instance_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1336,6 +1427,7 @@ def delete_instance_without_preload_content( _param = self._delete_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1345,6 +1437,7 @@ def delete_instance_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": None, "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1355,6 +1448,7 @@ def _delete_instance_serialize( self, project_id, instance_id, + region, _request_auth, _content_type, _headers, @@ -1377,6 +1471,8 @@ def _delete_instance_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -1391,7 +1487,7 @@ def _delete_instance_serialize( return self.api_client.param_serialize( method="DELETE", - resource_path="/v1/projects/{projectId}/instances/{instanceId}", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1410,6 +1506,7 @@ def delete_user( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], user_id: Annotated[StrictStr, Field(description="User ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1430,6 +1527,8 @@ def delete_user( :type instance_id: str :param user_id: User ID (required) :type user_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1456,6 +1555,7 @@ def delete_user( project_id=project_id, instance_id=instance_id, user_id=user_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1465,6 +1565,7 @@ def delete_user( _response_types_map: Dict[str, Optional[str]] = { "200": None, "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1481,6 +1582,7 @@ def delete_user_with_http_info( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], user_id: Annotated[StrictStr, Field(description="User ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1501,6 +1603,8 @@ def delete_user_with_http_info( :type instance_id: str :param user_id: User ID (required) :type user_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1527,6 +1631,7 @@ def delete_user_with_http_info( project_id=project_id, instance_id=instance_id, user_id=user_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1536,6 +1641,7 @@ def delete_user_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": None, "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1552,6 +1658,7 @@ def delete_user_without_preload_content( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], user_id: Annotated[StrictStr, Field(description="User ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1572,6 +1679,8 @@ def delete_user_without_preload_content( :type instance_id: str :param user_id: User ID (required) :type user_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1598,6 +1707,7 @@ def delete_user_without_preload_content( project_id=project_id, instance_id=instance_id, user_id=user_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1607,6 +1717,7 @@ def delete_user_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": None, "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1618,6 +1729,7 @@ def _delete_user_serialize( project_id, instance_id, user_id, + region, _request_auth, _content_type, _headers, @@ -1642,6 +1754,8 @@ def _delete_user_serialize( _path_params["instanceId"] = instance_id if user_id is not None: _path_params["userId"] = user_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -1656,7 +1770,7 @@ def _delete_user_serialize( return self.api_client.param_serialize( method="DELETE", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/users/{userId}", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1675,6 +1789,7 @@ def get_backup( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], backup_id: Annotated[StrictStr, Field(description="Backup ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1695,6 +1810,8 @@ def get_backup( :type instance_id: str :param backup_id: Backup ID (required) :type backup_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1721,6 +1838,7 @@ def get_backup( project_id=project_id, instance_id=instance_id, backup_id=backup_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1730,6 +1848,7 @@ def get_backup( _response_types_map: Dict[str, Optional[str]] = { "200": "GetBackupResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1746,6 +1865,7 @@ def get_backup_with_http_info( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], backup_id: Annotated[StrictStr, Field(description="Backup ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1766,6 +1886,8 @@ def get_backup_with_http_info( :type instance_id: str :param backup_id: Backup ID (required) :type backup_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1792,6 +1914,7 @@ def get_backup_with_http_info( project_id=project_id, instance_id=instance_id, backup_id=backup_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1801,6 +1924,7 @@ def get_backup_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "GetBackupResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1817,6 +1941,7 @@ def get_backup_without_preload_content( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], backup_id: Annotated[StrictStr, Field(description="Backup ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1837,6 +1962,8 @@ def get_backup_without_preload_content( :type instance_id: str :param backup_id: Backup ID (required) :type backup_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1863,6 +1990,7 @@ def get_backup_without_preload_content( project_id=project_id, instance_id=instance_id, backup_id=backup_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1872,6 +2000,7 @@ def get_backup_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "GetBackupResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -1883,6 +2012,7 @@ def _get_backup_serialize( project_id, instance_id, backup_id, + region, _request_auth, _content_type, _headers, @@ -1907,6 +2037,8 @@ def _get_backup_serialize( _path_params["instanceId"] = instance_id if backup_id is not None: _path_params["backupId"] = backup_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -1921,7 +2053,7 @@ def _get_backup_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/backups/{backupId}", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/backups/{backupId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1940,6 +2072,7 @@ def get_database( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1960,6 +2093,8 @@ def get_database( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1986,6 +2121,7 @@ def get_database( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1995,6 +2131,7 @@ def get_database( _response_types_map: Dict[str, Optional[str]] = { "200": "GetDatabaseResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -2011,6 +2148,7 @@ def get_database_with_http_info( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2031,6 +2169,8 @@ def get_database_with_http_info( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2057,6 +2197,7 @@ def get_database_with_http_info( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2066,6 +2207,7 @@ def get_database_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "GetDatabaseResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -2082,6 +2224,7 @@ def get_database_without_preload_content( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2102,6 +2245,8 @@ def get_database_without_preload_content( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2128,6 +2273,7 @@ def get_database_without_preload_content( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2137,6 +2283,7 @@ def get_database_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "GetDatabaseResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -2148,6 +2295,7 @@ def _get_database_serialize( project_id, instance_id, database_name, + region, _request_auth, _content_type, _headers, @@ -2172,6 +2320,8 @@ def _get_database_serialize( _path_params["instanceId"] = instance_id if database_name is not None: _path_params["databaseName"] = database_name + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -2186,7 +2336,7 @@ def _get_database_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/databases/{databaseName}", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseName}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2204,6 +2354,7 @@ def get_instance( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2222,6 +2373,8 @@ def get_instance( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2247,6 +2400,7 @@ def get_instance( _param = self._get_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2256,6 +2410,7 @@ def get_instance( _response_types_map: Dict[str, Optional[str]] = { "200": "GetInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -2271,6 +2426,7 @@ def get_instance_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2289,6 +2445,8 @@ def get_instance_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2314,6 +2472,7 @@ def get_instance_with_http_info( _param = self._get_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2323,6 +2482,7 @@ def get_instance_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "GetInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -2338,6 +2498,7 @@ def get_instance_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2356,6 +2517,8 @@ def get_instance_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2381,6 +2544,7 @@ def get_instance_without_preload_content( _param = self._get_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2390,6 +2554,7 @@ def get_instance_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "GetInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -2400,6 +2565,7 @@ def _get_instance_serialize( self, project_id, instance_id, + region, _request_auth, _content_type, _headers, @@ -2422,6 +2588,8 @@ def _get_instance_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -2436,7 +2604,7 @@ def _get_instance_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2455,6 +2623,7 @@ def get_user( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], user_id: Annotated[StrictStr, Field(description="User ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2475,6 +2644,8 @@ def get_user( :type instance_id: str :param user_id: User ID (required) :type user_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2501,6 +2672,7 @@ def get_user( project_id=project_id, instance_id=instance_id, user_id=user_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2510,6 +2682,7 @@ def get_user( _response_types_map: Dict[str, Optional[str]] = { "200": "GetUserResponse", "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -2527,6 +2700,7 @@ def get_user_with_http_info( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], user_id: Annotated[StrictStr, Field(description="User ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2547,6 +2721,8 @@ def get_user_with_http_info( :type instance_id: str :param user_id: User ID (required) :type user_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2573,6 +2749,7 @@ def get_user_with_http_info( project_id=project_id, instance_id=instance_id, user_id=user_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2582,6 +2759,7 @@ def get_user_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "GetUserResponse", "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -2599,6 +2777,7 @@ def get_user_without_preload_content( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], user_id: Annotated[StrictStr, Field(description="User ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2619,6 +2798,8 @@ def get_user_without_preload_content( :type instance_id: str :param user_id: User ID (required) :type user_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2645,6 +2826,7 @@ def get_user_without_preload_content( project_id=project_id, instance_id=instance_id, user_id=user_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2654,6 +2836,7 @@ def get_user_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "GetUserResponse", "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -2666,6 +2849,7 @@ def _get_user_serialize( project_id, instance_id, user_id, + region, _request_auth, _content_type, _headers, @@ -2690,6 +2874,8 @@ def _get_user_serialize( _path_params["instanceId"] = instance_id if user_id is not None: _path_params["userId"] = user_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -2704,7 +2890,7 @@ def _get_user_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/users/{userId}", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2722,6 +2908,7 @@ def list_backups( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2740,6 +2927,8 @@ def list_backups( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2765,6 +2954,7 @@ def list_backups( _param = self._list_backups_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2774,6 +2964,7 @@ def list_backups( _response_types_map: Dict[str, Optional[str]] = { "200": "ListBackupsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -2789,6 +2980,7 @@ def list_backups_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2807,6 +2999,8 @@ def list_backups_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2832,6 +3026,7 @@ def list_backups_with_http_info( _param = self._list_backups_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2841,6 +3036,7 @@ def list_backups_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListBackupsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -2856,6 +3052,7 @@ def list_backups_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2874,6 +3071,8 @@ def list_backups_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2899,6 +3098,7 @@ def list_backups_without_preload_content( _param = self._list_backups_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2908,6 +3108,7 @@ def list_backups_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListBackupsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -2918,6 +3119,7 @@ def _list_backups_serialize( self, project_id, instance_id, + region, _request_auth, _content_type, _headers, @@ -2940,6 +3142,8 @@ def _list_backups_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -2954,7 +3158,7 @@ def _list_backups_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/backups", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/backups", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2972,6 +3176,7 @@ def list_collations( self, project_id: Annotated[StrictStr, Field(description="The ID of the STACKIT project")], instance_id: Annotated[StrictStr, Field(description="The ID of the instance")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2990,6 +3195,8 @@ def list_collations( :type project_id: str :param instance_id: The ID of the instance (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3015,6 +3222,7 @@ def list_collations( _param = self._list_collations_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3024,6 +3232,7 @@ def list_collations( _response_types_map: Dict[str, Optional[str]] = { "200": "ListCollationsResponse", "400": "InstanceError", + "401": "InstanceError", "405": "InstanceError", "500": "InstanceError", } @@ -3039,6 +3248,7 @@ def list_collations_with_http_info( self, project_id: Annotated[StrictStr, Field(description="The ID of the STACKIT project")], instance_id: Annotated[StrictStr, Field(description="The ID of the instance")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3057,6 +3267,8 @@ def list_collations_with_http_info( :type project_id: str :param instance_id: The ID of the instance (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3082,6 +3294,7 @@ def list_collations_with_http_info( _param = self._list_collations_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3091,6 +3304,7 @@ def list_collations_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListCollationsResponse", "400": "InstanceError", + "401": "InstanceError", "405": "InstanceError", "500": "InstanceError", } @@ -3106,6 +3320,7 @@ def list_collations_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="The ID of the STACKIT project")], instance_id: Annotated[StrictStr, Field(description="The ID of the instance")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3124,6 +3339,8 @@ def list_collations_without_preload_content( :type project_id: str :param instance_id: The ID of the instance (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3149,6 +3366,7 @@ def list_collations_without_preload_content( _param = self._list_collations_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3158,6 +3376,7 @@ def list_collations_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListCollationsResponse", "400": "InstanceError", + "401": "InstanceError", "405": "InstanceError", "500": "InstanceError", } @@ -3168,6 +3387,7 @@ def _list_collations_serialize( self, project_id, instance_id, + region, _request_auth, _content_type, _headers, @@ -3190,6 +3410,8 @@ def _list_collations_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -3204,7 +3426,7 @@ def _list_collations_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/collation", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/collation", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3222,6 +3444,7 @@ def list_compatibility( self, project_id: Annotated[StrictStr, Field(description="The ID of the STACKIT project")], instance_id: Annotated[StrictStr, Field(description="The ID of the instance")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3240,6 +3463,8 @@ def list_compatibility( :type project_id: str :param instance_id: The ID of the instance (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3265,6 +3490,7 @@ def list_compatibility( _param = self._list_compatibility_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3274,6 +3500,7 @@ def list_compatibility( _response_types_map: Dict[str, Optional[str]] = { "200": "ListCompatibilityResponse", "400": "InstanceError", + "401": "InstanceError", "405": "InstanceError", "500": "InstanceError", } @@ -3289,6 +3516,7 @@ def list_compatibility_with_http_info( self, project_id: Annotated[StrictStr, Field(description="The ID of the STACKIT project")], instance_id: Annotated[StrictStr, Field(description="The ID of the instance")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3307,6 +3535,8 @@ def list_compatibility_with_http_info( :type project_id: str :param instance_id: The ID of the instance (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3332,6 +3562,7 @@ def list_compatibility_with_http_info( _param = self._list_compatibility_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3341,6 +3572,7 @@ def list_compatibility_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListCompatibilityResponse", "400": "InstanceError", + "401": "InstanceError", "405": "InstanceError", "500": "InstanceError", } @@ -3356,6 +3588,7 @@ def list_compatibility_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="The ID of the STACKIT project")], instance_id: Annotated[StrictStr, Field(description="The ID of the instance")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3374,6 +3607,8 @@ def list_compatibility_without_preload_content( :type project_id: str :param instance_id: The ID of the instance (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3399,6 +3634,7 @@ def list_compatibility_without_preload_content( _param = self._list_compatibility_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3408,6 +3644,7 @@ def list_compatibility_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListCompatibilityResponse", "400": "InstanceError", + "401": "InstanceError", "405": "InstanceError", "500": "InstanceError", } @@ -3418,6 +3655,7 @@ def _list_compatibility_serialize( self, project_id, instance_id, + region, _request_auth, _content_type, _headers, @@ -3440,6 +3678,8 @@ def _list_compatibility_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -3454,7 +3694,7 @@ def _list_compatibility_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/compatibility", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/compatibility", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3472,6 +3712,7 @@ def list_databases( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3490,6 +3731,8 @@ def list_databases( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3515,6 +3758,7 @@ def list_databases( _param = self._list_databases_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3524,6 +3768,7 @@ def list_databases( _response_types_map: Dict[str, Optional[str]] = { "200": "ListDatabasesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -3539,6 +3784,7 @@ def list_databases_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3557,6 +3803,8 @@ def list_databases_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3582,6 +3830,7 @@ def list_databases_with_http_info( _param = self._list_databases_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3591,6 +3840,7 @@ def list_databases_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListDatabasesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -3606,6 +3856,7 @@ def list_databases_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3624,6 +3875,8 @@ def list_databases_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3649,6 +3902,7 @@ def list_databases_without_preload_content( _param = self._list_databases_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3658,6 +3912,7 @@ def list_databases_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListDatabasesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -3668,6 +3923,7 @@ def _list_databases_serialize( self, project_id, instance_id, + region, _request_auth, _content_type, _headers, @@ -3690,6 +3946,8 @@ def _list_databases_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -3704,7 +3962,7 @@ def _list_databases_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/databases", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/databases", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3721,6 +3979,7 @@ def _list_databases_serialize( def list_flavors( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3737,6 +3996,8 @@ def list_flavors( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3761,6 +4022,7 @@ def list_flavors( _param = self._list_flavors_serialize( project_id=project_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3770,6 +4032,7 @@ def list_flavors( _response_types_map: Dict[str, Optional[str]] = { "200": "ListFlavorsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -3784,6 +4047,7 @@ def list_flavors( def list_flavors_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3800,6 +4064,8 @@ def list_flavors_with_http_info( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3824,6 +4090,7 @@ def list_flavors_with_http_info( _param = self._list_flavors_serialize( project_id=project_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3833,6 +4100,7 @@ def list_flavors_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListFlavorsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -3847,6 +4115,7 @@ def list_flavors_with_http_info( def list_flavors_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3863,6 +4132,8 @@ def list_flavors_without_preload_content( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3887,6 +4158,7 @@ def list_flavors_without_preload_content( _param = self._list_flavors_serialize( project_id=project_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3896,6 +4168,7 @@ def list_flavors_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListFlavorsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -3905,6 +4178,7 @@ def list_flavors_without_preload_content( def _list_flavors_serialize( self, project_id, + region, _request_auth, _content_type, _headers, @@ -3925,6 +4199,8 @@ def _list_flavors_serialize( # process the path parameters if project_id is not None: _path_params["projectId"] = project_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -3939,7 +4215,7 @@ def _list_flavors_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/flavors", + resource_path="/v2/projects/{projectId}/regions/{region}/flavors", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3956,6 +4232,7 @@ def _list_flavors_serialize( def list_instances( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3972,6 +4249,8 @@ def list_instances( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3996,6 +4275,7 @@ def list_instances( _param = self._list_instances_serialize( project_id=project_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4005,6 +4285,7 @@ def list_instances( _response_types_map: Dict[str, Optional[str]] = { "200": "ListInstancesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4019,6 +4300,7 @@ def list_instances( def list_instances_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4035,6 +4317,8 @@ def list_instances_with_http_info( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4059,6 +4343,7 @@ def list_instances_with_http_info( _param = self._list_instances_serialize( project_id=project_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4068,6 +4353,7 @@ def list_instances_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListInstancesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4082,6 +4368,7 @@ def list_instances_with_http_info( def list_instances_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4098,6 +4385,8 @@ def list_instances_without_preload_content( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4122,6 +4411,7 @@ def list_instances_without_preload_content( _param = self._list_instances_serialize( project_id=project_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4131,6 +4421,7 @@ def list_instances_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListInstancesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4140,6 +4431,7 @@ def list_instances_without_preload_content( def _list_instances_serialize( self, project_id, + region, _request_auth, _content_type, _headers, @@ -4160,6 +4452,8 @@ def _list_instances_serialize( # process the path parameters if project_id is not None: _path_params["projectId"] = project_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -4174,7 +4468,7 @@ def _list_instances_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances", + resource_path="/v2/projects/{projectId}/regions/{region}/instances", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4192,6 +4486,7 @@ def list_restore_jobs( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4210,6 +4505,8 @@ def list_restore_jobs( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4235,6 +4532,7 @@ def list_restore_jobs( _param = self._list_restore_jobs_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4244,6 +4542,7 @@ def list_restore_jobs( _response_types_map: Dict[str, Optional[str]] = { "200": "ListRestoreJobsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4259,6 +4558,7 @@ def list_restore_jobs_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4277,6 +4577,8 @@ def list_restore_jobs_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4302,6 +4604,7 @@ def list_restore_jobs_with_http_info( _param = self._list_restore_jobs_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4311,6 +4614,7 @@ def list_restore_jobs_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListRestoreJobsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4326,6 +4630,7 @@ def list_restore_jobs_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4344,6 +4649,8 @@ def list_restore_jobs_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4369,6 +4676,7 @@ def list_restore_jobs_without_preload_content( _param = self._list_restore_jobs_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4378,6 +4686,7 @@ def list_restore_jobs_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListRestoreJobsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4388,6 +4697,7 @@ def _list_restore_jobs_serialize( self, project_id, instance_id, + region, _request_auth, _content_type, _headers, @@ -4410,6 +4720,8 @@ def _list_restore_jobs_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -4424,7 +4736,7 @@ def _list_restore_jobs_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/restores", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/restores", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4442,6 +4754,7 @@ def list_roles( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4460,6 +4773,8 @@ def list_roles( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4485,6 +4800,7 @@ def list_roles( _param = self._list_roles_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4494,6 +4810,7 @@ def list_roles( _response_types_map: Dict[str, Optional[str]] = { "200": "ListRolesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4509,6 +4826,7 @@ def list_roles_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4527,6 +4845,8 @@ def list_roles_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4552,6 +4872,7 @@ def list_roles_with_http_info( _param = self._list_roles_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4561,6 +4882,7 @@ def list_roles_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListRolesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4576,6 +4898,7 @@ def list_roles_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4594,6 +4917,8 @@ def list_roles_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4619,6 +4944,7 @@ def list_roles_without_preload_content( _param = self._list_roles_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4628,6 +4954,7 @@ def list_roles_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListRolesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4638,6 +4965,7 @@ def _list_roles_serialize( self, project_id, instance_id, + region, _request_auth, _content_type, _headers, @@ -4660,6 +4988,8 @@ def _list_roles_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -4674,7 +5004,7 @@ def _list_roles_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/roles", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/roles", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4692,6 +5022,7 @@ def list_storages( self, project_id: Annotated[StrictStr, Field(description="Project ID")], flavor_id: Annotated[StrictStr, Field(description="Flavor ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4710,6 +5041,8 @@ def list_storages( :type project_id: str :param flavor_id: Flavor ID (required) :type flavor_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4735,6 +5068,7 @@ def list_storages( _param = self._list_storages_serialize( project_id=project_id, flavor_id=flavor_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4744,6 +5078,7 @@ def list_storages( _response_types_map: Dict[str, Optional[str]] = { "200": "ListStoragesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4759,6 +5094,7 @@ def list_storages_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], flavor_id: Annotated[StrictStr, Field(description="Flavor ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4777,6 +5113,8 @@ def list_storages_with_http_info( :type project_id: str :param flavor_id: Flavor ID (required) :type flavor_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4802,6 +5140,7 @@ def list_storages_with_http_info( _param = self._list_storages_serialize( project_id=project_id, flavor_id=flavor_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4811,6 +5150,7 @@ def list_storages_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListStoragesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4826,6 +5166,7 @@ def list_storages_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], flavor_id: Annotated[StrictStr, Field(description="Flavor ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4844,6 +5185,8 @@ def list_storages_without_preload_content( :type project_id: str :param flavor_id: Flavor ID (required) :type flavor_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4869,6 +5212,7 @@ def list_storages_without_preload_content( _param = self._list_storages_serialize( project_id=project_id, flavor_id=flavor_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4878,6 +5222,7 @@ def list_storages_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListStoragesResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -4888,6 +5233,7 @@ def _list_storages_serialize( self, project_id, flavor_id, + region, _request_auth, _content_type, _headers, @@ -4910,6 +5256,8 @@ def _list_storages_serialize( _path_params["projectId"] = project_id if flavor_id is not None: _path_params["flavorId"] = flavor_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -4924,7 +5272,7 @@ def _list_storages_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/storages/{flavorId}", + resource_path="/v2/projects/{projectId}/regions/{region}/storages/{flavorId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4942,6 +5290,7 @@ def list_users( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4960,6 +5309,8 @@ def list_users( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4985,6 +5336,7 @@ def list_users( _param = self._list_users_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4994,6 +5346,7 @@ def list_users( _response_types_map: Dict[str, Optional[str]] = { "200": "ListUsersResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -5009,6 +5362,7 @@ def list_users_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5027,6 +5381,8 @@ def list_users_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5052,6 +5408,7 @@ def list_users_with_http_info( _param = self._list_users_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5061,6 +5418,7 @@ def list_users_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListUsersResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -5076,6 +5434,7 @@ def list_users_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5094,6 +5453,8 @@ def list_users_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5119,6 +5480,7 @@ def list_users_without_preload_content( _param = self._list_users_serialize( project_id=project_id, instance_id=instance_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5128,6 +5490,7 @@ def list_users_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListUsersResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -5138,6 +5501,7 @@ def _list_users_serialize( self, project_id, instance_id, + region, _request_auth, _content_type, _headers, @@ -5160,6 +5524,8 @@ def _list_users_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -5174,7 +5540,7 @@ def _list_users_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/users", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -5191,6 +5557,7 @@ def _list_users_serialize( def list_versions( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], instance_id: Annotated[Optional[StrictStr], Field(description="Instance ID")] = None, _request_timeout: Union[ None, @@ -5208,6 +5575,8 @@ def list_versions( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param instance_id: Instance ID :type instance_id: str :param _request_timeout: timeout setting for this request. If one @@ -5234,6 +5603,7 @@ def list_versions( _param = self._list_versions_serialize( project_id=project_id, + region=region, instance_id=instance_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5244,6 +5614,7 @@ def list_versions( _response_types_map: Dict[str, Optional[str]] = { "200": "ListVersionsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -5258,6 +5629,7 @@ def list_versions( def list_versions_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], instance_id: Annotated[Optional[StrictStr], Field(description="Instance ID")] = None, _request_timeout: Union[ None, @@ -5275,6 +5647,8 @@ def list_versions_with_http_info( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param instance_id: Instance ID :type instance_id: str :param _request_timeout: timeout setting for this request. If one @@ -5301,6 +5675,7 @@ def list_versions_with_http_info( _param = self._list_versions_serialize( project_id=project_id, + region=region, instance_id=instance_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5311,6 +5686,7 @@ def list_versions_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ListVersionsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -5325,6 +5701,7 @@ def list_versions_with_http_info( def list_versions_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], instance_id: Annotated[Optional[StrictStr], Field(description="Instance ID")] = None, _request_timeout: Union[ None, @@ -5342,6 +5719,8 @@ def list_versions_without_preload_content( :param project_id: Project ID (required) :type project_id: str + :param region: The region which should be addressed (required) + :type region: str :param instance_id: Instance ID :type instance_id: str :param _request_timeout: timeout setting for this request. If one @@ -5368,6 +5747,7 @@ def list_versions_without_preload_content( _param = self._list_versions_serialize( project_id=project_id, + region=region, instance_id=instance_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5378,6 +5758,7 @@ def list_versions_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ListVersionsResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -5387,6 +5768,7 @@ def list_versions_without_preload_content( def _list_versions_serialize( self, project_id, + region, instance_id, _request_auth, _content_type, @@ -5408,6 +5790,8 @@ def _list_versions_serialize( # process the path parameters if project_id is not None: _path_params["projectId"] = project_id + if region is not None: + _path_params["region"] = region # process the query parameters if instance_id is not None: @@ -5426,7 +5810,7 @@ def _list_versions_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1/projects/{projectId}/versions", + resource_path="/v2/projects/{projectId}/regions/{region}/versions", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -5444,6 +5828,7 @@ def partial_update_instance( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], partial_update_instance_payload: Annotated[PartialUpdateInstancePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -5463,6 +5848,8 @@ def partial_update_instance( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param partial_update_instance_payload: Body (required) :type partial_update_instance_payload: PartialUpdateInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -5490,6 +5877,7 @@ def partial_update_instance( _param = self._partial_update_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, partial_update_instance_payload=partial_update_instance_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -5500,6 +5888,7 @@ def partial_update_instance( _response_types_map: Dict[str, Optional[str]] = { "200": "UpdateInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -5515,6 +5904,7 @@ def partial_update_instance_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], partial_update_instance_payload: Annotated[PartialUpdateInstancePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -5534,6 +5924,8 @@ def partial_update_instance_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param partial_update_instance_payload: Body (required) :type partial_update_instance_payload: PartialUpdateInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -5561,6 +5953,7 @@ def partial_update_instance_with_http_info( _param = self._partial_update_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, partial_update_instance_payload=partial_update_instance_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -5571,6 +5964,7 @@ def partial_update_instance_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "UpdateInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -5586,6 +5980,7 @@ def partial_update_instance_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], partial_update_instance_payload: Annotated[PartialUpdateInstancePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -5605,6 +6000,8 @@ def partial_update_instance_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param partial_update_instance_payload: Body (required) :type partial_update_instance_payload: PartialUpdateInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -5632,6 +6029,7 @@ def partial_update_instance_without_preload_content( _param = self._partial_update_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, partial_update_instance_payload=partial_update_instance_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -5642,6 +6040,7 @@ def partial_update_instance_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "UpdateInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -5652,6 +6051,7 @@ def _partial_update_instance_serialize( self, project_id, instance_id, + region, partial_update_instance_payload, _request_auth, _content_type, @@ -5675,6 +6075,8 @@ def _partial_update_instance_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -5699,7 +6101,7 @@ def _partial_update_instance_serialize( return self.api_client.param_serialize( method="PATCH", - resource_path="/v1/projects/{projectId}/instances/{instanceId}", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -5718,6 +6120,7 @@ def reset_user( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], user_id: Annotated[StrictStr, Field(description="user ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5738,6 +6141,8 @@ def reset_user( :type instance_id: str :param user_id: user ID (required) :type user_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5764,6 +6169,7 @@ def reset_user( project_id=project_id, instance_id=instance_id, user_id=user_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5773,6 +6179,7 @@ def reset_user( _response_types_map: Dict[str, Optional[str]] = { "200": "ResetUserResponse", "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -5790,6 +6197,7 @@ def reset_user_with_http_info( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], user_id: Annotated[StrictStr, Field(description="user ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5810,6 +6218,8 @@ def reset_user_with_http_info( :type instance_id: str :param user_id: user ID (required) :type user_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5836,6 +6246,7 @@ def reset_user_with_http_info( project_id=project_id, instance_id=instance_id, user_id=user_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5845,6 +6256,7 @@ def reset_user_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ResetUserResponse", "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -5862,6 +6274,7 @@ def reset_user_without_preload_content( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], user_id: Annotated[StrictStr, Field(description="user ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5882,6 +6295,8 @@ def reset_user_without_preload_content( :type instance_id: str :param user_id: user ID (required) :type user_id: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5908,6 +6323,7 @@ def reset_user_without_preload_content( project_id=project_id, instance_id=instance_id, user_id=user_id, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5917,6 +6333,7 @@ def reset_user_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ResetUserResponse", "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -5929,6 +6346,7 @@ def _reset_user_serialize( project_id, instance_id, user_id, + region, _request_auth, _content_type, _headers, @@ -5953,6 +6371,8 @@ def _reset_user_serialize( _path_params["instanceId"] = instance_id if user_id is not None: _path_params["userId"] = user_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -5967,7 +6387,260 @@ def _reset_user_serialize( return self.api_client.param_serialize( method="POST", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/users/{userId}/reset", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}/reset", + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth, + ) + + @validate_call + def terminate_project( + self, + project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Terminate the Project + + Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource + + :param project_id: Project ID (required) + :type project_id: str + :param region: The region which should be addressed (required) + :type region: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 docstring might be too long + + _param = self._terminate_project_serialize( + project_id=project_id, + region=region, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index, + ) + + _response_types_map: Dict[str, Optional[str]] = { + "202": None, + "400": "InstanceError", + "401": "InstanceError", + "405": None, + "500": "InstanceError", + } + response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + @validate_call + def terminate_project_with_http_info( + self, + project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Terminate the Project + + Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource + + :param project_id: Project ID (required) + :type project_id: str + :param region: The region which should be addressed (required) + :type region: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 docstring might be too long + + _param = self._terminate_project_serialize( + project_id=project_id, + region=region, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index, + ) + + _response_types_map: Dict[str, Optional[str]] = { + "202": None, + "400": "InstanceError", + "401": "InstanceError", + "405": None, + "500": "InstanceError", + } + response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + @validate_call + def terminate_project_without_preload_content( + self, + project_id: Annotated[StrictStr, Field(description="Project ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Terminate the Project + + Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource + + :param project_id: Project ID (required) + :type project_id: str + :param region: The region which should be addressed (required) + :type region: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 docstring might be too long + + _param = self._terminate_project_serialize( + project_id=project_id, + region=region, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index, + ) + + _response_types_map: Dict[str, Optional[str]] = { + "202": None, + "400": "InstanceError", + "401": "InstanceError", + "405": None, + "500": "InstanceError", + } + response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) + return response_data.response + + def _terminate_project_serialize( + self, + project_id, + region, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = {} + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[str, Union[str, bytes]] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if project_id is not None: + _path_params["projectId"] = project_id + if region is not None: + _path_params["region"] = region + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + # set the HTTP header `Accept` + if "Accept" not in _header_params: + _header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) + + # authentication setting + _auth_settings: List[str] = [] + + return self.api_client.param_serialize( + method="DELETE", + resource_path="/v2/projects/{projectId}/regions/{region}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -5986,6 +6659,7 @@ def trigger_database_backup( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6006,6 +6680,8 @@ def trigger_database_backup( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6032,6 +6708,7 @@ def trigger_database_backup( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6041,6 +6718,7 @@ def trigger_database_backup( _response_types_map: Dict[str, Optional[str]] = { "202": None, "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -6058,6 +6736,7 @@ def trigger_database_backup_with_http_info( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6078,6 +6757,8 @@ def trigger_database_backup_with_http_info( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6104,6 +6785,7 @@ def trigger_database_backup_with_http_info( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6113,6 +6795,7 @@ def trigger_database_backup_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "202": None, "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -6130,6 +6813,7 @@ def trigger_database_backup_without_preload_content( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6150,6 +6834,8 @@ def trigger_database_backup_without_preload_content( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6176,6 +6862,7 @@ def trigger_database_backup_without_preload_content( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6185,6 +6872,7 @@ def trigger_database_backup_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "202": None, "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -6197,6 +6885,7 @@ def _trigger_database_backup_serialize( project_id, instance_id, database_name, + region, _request_auth, _content_type, _headers, @@ -6221,6 +6910,8 @@ def _trigger_database_backup_serialize( _path_params["instanceId"] = instance_id if database_name is not None: _path_params["databaseName"] = database_name + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -6228,14 +6919,14 @@ def _trigger_database_backup_serialize( # set the HTTP header `Accept` if "Accept" not in _header_params: - _header_params["Accept"] = self.api_client.select_header_accept(["*/*"]) + _header_params["Accept"] = self.api_client.select_header_accept(["*/*", "application/json"]) # authentication setting _auth_settings: List[str] = [] return self.api_client.param_serialize( method="POST", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/backups/databases/{databaseName}", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/backups/databases/{databaseName}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -6254,6 +6945,7 @@ def trigger_database_restore( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], trigger_database_restore_payload: Annotated[TriggerDatabaseRestorePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -6275,6 +6967,8 @@ def trigger_database_restore( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param trigger_database_restore_payload: Body (required) :type trigger_database_restore_payload: TriggerDatabaseRestorePayload :param _request_timeout: timeout setting for this request. If one @@ -6303,6 +6997,7 @@ def trigger_database_restore( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, trigger_database_restore_payload=trigger_database_restore_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -6313,6 +7008,7 @@ def trigger_database_restore( _response_types_map: Dict[str, Optional[str]] = { "202": None, "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -6330,6 +7026,7 @@ def trigger_database_restore_with_http_info( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], trigger_database_restore_payload: Annotated[TriggerDatabaseRestorePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -6351,6 +7048,8 @@ def trigger_database_restore_with_http_info( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param trigger_database_restore_payload: Body (required) :type trigger_database_restore_payload: TriggerDatabaseRestorePayload :param _request_timeout: timeout setting for this request. If one @@ -6379,6 +7078,7 @@ def trigger_database_restore_with_http_info( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, trigger_database_restore_payload=trigger_database_restore_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -6389,6 +7089,7 @@ def trigger_database_restore_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "202": None, "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -6406,6 +7107,7 @@ def trigger_database_restore_without_preload_content( project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], database_name: Annotated[StrictStr, Field(description="Database Name")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], trigger_database_restore_payload: Annotated[TriggerDatabaseRestorePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -6427,6 +7129,8 @@ def trigger_database_restore_without_preload_content( :type instance_id: str :param database_name: Database Name (required) :type database_name: str + :param region: The region which should be addressed (required) + :type region: str :param trigger_database_restore_payload: Body (required) :type trigger_database_restore_payload: TriggerDatabaseRestorePayload :param _request_timeout: timeout setting for this request. If one @@ -6455,6 +7159,7 @@ def trigger_database_restore_without_preload_content( project_id=project_id, instance_id=instance_id, database_name=database_name, + region=region, trigger_database_restore_payload=trigger_database_restore_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -6465,6 +7170,7 @@ def trigger_database_restore_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "202": None, "400": "InstanceError", + "401": "InstanceError", "404": "InstanceError", "405": None, "500": "InstanceError", @@ -6477,6 +7183,7 @@ def _trigger_database_restore_serialize( project_id, instance_id, database_name, + region, trigger_database_restore_payload, _request_auth, _content_type, @@ -6502,6 +7209,8 @@ def _trigger_database_restore_serialize( _path_params["instanceId"] = instance_id if database_name is not None: _path_params["databaseName"] = database_name + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -6511,7 +7220,7 @@ def _trigger_database_restore_serialize( # set the HTTP header `Accept` if "Accept" not in _header_params: - _header_params["Accept"] = self.api_client.select_header_accept(["*/*"]) + _header_params["Accept"] = self.api_client.select_header_accept(["*/*", "application/json"]) # set the HTTP header `Content-Type` if _content_type: @@ -6526,7 +7235,7 @@ def _trigger_database_restore_serialize( return self.api_client.param_serialize( method="POST", - resource_path="/v1/projects/{projectId}/instances/{instanceId}/backups/databases/{databaseName}/restores", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/backups/databases/{databaseName}/restores", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -6544,6 +7253,7 @@ def update_instance( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], update_instance_payload: Annotated[UpdateInstancePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -6563,6 +7273,8 @@ def update_instance( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param update_instance_payload: Body (required) :type update_instance_payload: UpdateInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -6590,6 +7302,7 @@ def update_instance( _param = self._update_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, update_instance_payload=update_instance_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -6600,6 +7313,7 @@ def update_instance( _response_types_map: Dict[str, Optional[str]] = { "200": "UpdateInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -6615,6 +7329,7 @@ def update_instance_with_http_info( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], update_instance_payload: Annotated[UpdateInstancePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -6634,6 +7349,8 @@ def update_instance_with_http_info( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param update_instance_payload: Body (required) :type update_instance_payload: UpdateInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -6661,6 +7378,7 @@ def update_instance_with_http_info( _param = self._update_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, update_instance_payload=update_instance_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -6671,6 +7389,7 @@ def update_instance_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "UpdateInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -6686,6 +7405,7 @@ def update_instance_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="Project ID")], instance_id: Annotated[StrictStr, Field(description="Instance ID")], + region: Annotated[StrictStr, Field(description="The region which should be addressed")], update_instance_payload: Annotated[UpdateInstancePayload, Field(description="Body")], _request_timeout: Union[ None, @@ -6705,6 +7425,8 @@ def update_instance_without_preload_content( :type project_id: str :param instance_id: Instance ID (required) :type instance_id: str + :param region: The region which should be addressed (required) + :type region: str :param update_instance_payload: Body (required) :type update_instance_payload: UpdateInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -6732,6 +7454,7 @@ def update_instance_without_preload_content( _param = self._update_instance_serialize( project_id=project_id, instance_id=instance_id, + region=region, update_instance_payload=update_instance_payload, _request_auth=_request_auth, _content_type=_content_type, @@ -6742,6 +7465,7 @@ def update_instance_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "UpdateInstanceResponse", "400": "InstanceError", + "401": "InstanceError", "405": None, "500": None, } @@ -6752,6 +7476,7 @@ def _update_instance_serialize( self, project_id, instance_id, + region, update_instance_payload, _request_auth, _content_type, @@ -6775,6 +7500,8 @@ def _update_instance_serialize( _path_params["projectId"] = project_id if instance_id is not None: _path_params["instanceId"] = instance_id + if region is not None: + _path_params["region"] = region # process the query parameters # process the header parameters # process the form parameters @@ -6799,7 +7526,7 @@ def _update_instance_serialize( return self.api_client.param_serialize( method="PUT", - resource_path="/v1/projects/{projectId}/instances/{instanceId}", + resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/api_client.py b/services/sqlserverflex/src/stackit/sqlserverflex/api_client.py index 7ebb62dc..c0bf6962 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/api_client.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/api_client.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/configuration.py b/services/sqlserverflex/src/stackit/sqlserverflex/configuration.py index 8cbe0928..58682b39 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/configuration.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/configuration.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,7 @@ def __init__( ) """Constructor """ - self._base_path = "https://mssql-flex-service.api.eu01.stackit.cloud" + self._base_path = "https://mssql-flex-service.api.stackit.cloud" """Default Base url """ self.server_index = 0 if server_index is None else server_index @@ -57,13 +57,12 @@ def get_host_settings(self): """ return [ { - "url": "https://mssql-flex-service.api.{region}stackit.cloud", + "url": "https://mssql-flex-service.api.stackit.cloud", "description": "No description provided", "variables": { "region": { "description": "No description provided", - "default_value": "eu01.", - "enum_values": ["eu01."], + "default_value": "global", } }, } diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/exceptions.py b/services/sqlserverflex/src/stackit/sqlserverflex/exceptions.py index 3e72aa16..b57dc75e 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/exceptions.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/exceptions.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/__init__.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/__init__.py index 971b7a78..57e05a5f 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/__init__.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/__init__.py @@ -6,7 +6,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/acl.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/acl.py index 75ede433..11120df8 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/acl.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/acl.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/backup.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/backup.py index b8fec52b..5284e73e 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/backup.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/backup.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/backup_list_backups_response_grouped.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/backup_list_backups_response_grouped.py index d5402e93..8352b4e6 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/backup_list_backups_response_grouped.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/backup_list_backups_response_grouped.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_database_payload.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_database_payload.py index d374dade..9b39e27c 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_database_payload.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_database_payload.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_database_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_database_response.py index d26d310c..a7219940 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_database_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_database_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_instance_payload.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_instance_payload.py index b07bb1a0..1764ea26 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_instance_payload.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_instance_payload.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_instance_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_instance_response.py index cb639d79..a994c5e1 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_instance_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_instance_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_user_payload.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_user_payload.py index db83f16e..caf29c06 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_user_payload.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_user_payload.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_user_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_user_response.py index f803bcbb..a9000845 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/create_user_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/create_user_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/database.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/database.py index f9620a0e..395ab76d 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/database.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/database.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/database_documentation_create_database_request_options.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/database_documentation_create_database_request_options.py index ba3f79dc..c69322c0 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/database_documentation_create_database_request_options.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/database_documentation_create_database_request_options.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/database_options.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/database_options.py index a532c870..40c825df 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/database_options.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/database_options.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/flavor.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/flavor.py index 8b1a543d..97321d31 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/flavor.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/flavor.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/get_backup_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/get_backup_response.py index 5dfde7a2..a2cf2ae1 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/get_backup_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/get_backup_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,14 +27,18 @@ class GetBackupResponse(BaseModel): GetBackupResponse """ - end_time: Optional[StrictStr] = Field(default=None, description="Backup end time in UTC", alias="endTime") + end_time: Optional[StrictStr] = Field( + default=None, description="Backup end time represents local server time", alias="endTime" + ) error: Optional[StrictStr] = Field(default=None, description="Backup error") id: Optional[StrictStr] = Field(default=None, description="Backup id") labels: Optional[List[StrictStr]] = Field(default=None, description="Backup labels") name: Optional[StrictStr] = Field(default=None, description="Backup name") options: Optional[Dict[str, StrictStr]] = Field(default=None, description="Backup specific options") size: Optional[StrictInt] = Field(default=None, description="Backup size in byte") - start_time: Optional[StrictStr] = Field(default=None, description="Backup start time in UTC", alias="startTime") + start_time: Optional[StrictStr] = Field( + default=None, description="Backup start time represents local server time", alias="startTime" + ) __properties: ClassVar[List[str]] = ["endTime", "error", "id", "labels", "name", "options", "size", "startTime"] model_config = ConfigDict( diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/get_database_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/get_database_response.py index 9040756d..924e23d7 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/get_database_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/get_database_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/get_instance_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/get_instance_response.py index a6da31e1..14279133 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/get_instance_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/get_instance_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/get_user_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/get_user_response.py index 5bf4f5ad..f3199652 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/get_user_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/get_user_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance.py index dd7f10c9..ac5c645e 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_acl.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_acl.py index 8efb7180..eed3d4b9 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_acl.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_acl.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_options.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_options.py index 013f08bc..0b5d24ea 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_options.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_options.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_storage.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_storage.py index a879287e..bfa0dd8a 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_storage.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_documentation_storage.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_error.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_error.py index 150ec72e..4a864016 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_error.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_error.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_flavor_entry.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_flavor_entry.py index 566bc80f..f6353604 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_flavor_entry.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_flavor_entry.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_list_instance.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_list_instance.py index 78bacb64..2cfd6a34 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_list_instance.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_list_instance.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_list_user.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_list_user.py index e2b790f4..bcba5097 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_list_user.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/instance_list_user.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_backups_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_backups_response.py index 46acf766..68774176 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_backups_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_backups_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_collations_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_collations_response.py index 7964492e..3f509e38 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_collations_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_collations_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_compatibility_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_compatibility_response.py index 3aa64a05..71caeae0 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_compatibility_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_compatibility_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_databases_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_databases_response.py index bb4044bc..1655adc4 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_databases_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_databases_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_flavors_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_flavors_response.py index 21e8d507..8889c412 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_flavors_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_flavors_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_instances_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_instances_response.py index adefb8a5..e492024d 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_instances_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_instances_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_restore_jobs_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_restore_jobs_response.py index a2aef8b1..25919882 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_restore_jobs_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_restore_jobs_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_roles_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_roles_response.py index cf6bed67..2a00641c 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_roles_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_roles_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_storages_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_storages_response.py index eadc4e82..cfba90f1 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_storages_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_storages_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_users_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_users_response.py index 1fb1d59a..f9eb441c 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_users_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_users_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_versions_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_versions_response.py index 9dc57490..42c3707b 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/list_versions_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/list_versions_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/mssql_database_collation.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/mssql_database_collation.py index 533356e4..5e064070 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/mssql_database_collation.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/mssql_database_collation.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/mssql_database_compatibility.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/mssql_database_compatibility.py index 315a20fe..e45560ae 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/mssql_database_compatibility.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/mssql_database_compatibility.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/partial_update_instance_payload.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/partial_update_instance_payload.py index ee94c4d4..9178de36 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/partial_update_instance_payload.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/partial_update_instance_payload.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/reset_user_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/reset_user_response.py index f402a992..4e9f29d1 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/reset_user_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/reset_user_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/restore_running_restore.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/restore_running_restore.py index c50c9672..81bc9d04 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/restore_running_restore.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/restore_running_restore.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/single_database.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/single_database.py index 504eb4b1..44c47223 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/single_database.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/single_database.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/single_user.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/single_user.py index 7f000ad9..96fb3d34 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/single_user.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/single_user.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/storage.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/storage.py index 167989ec..3ca017e6 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/storage.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/storage.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/storage_range.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/storage_range.py index d60d81a9..46197d9e 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/storage_range.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/storage_range.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/trigger_database_restore_payload.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/trigger_database_restore_payload.py index 115f464e..1cff4697 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/trigger_database_restore_payload.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/trigger_database_restore_payload.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/type.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/type.py index 82c62e3e..fa30ca1e 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/type.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/type.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/update_instance_payload.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/update_instance_payload.py index 75dcf9e6..b60ea61f 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/update_instance_payload.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/update_instance_payload.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/update_instance_response.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/update_instance_response.py index b1ededba..1a33dd86 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/update_instance_response.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/update_instance_response.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/user.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/user.py index 7e4dea8c..1fcb8424 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/user.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/user.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/models/user_response_user.py b/services/sqlserverflex/src/stackit/sqlserverflex/models/user_response_user.py index c335c3e5..389f4682 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/models/user_response_user.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/models/user_response_user.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/sqlserverflex/src/stackit/sqlserverflex/rest.py b/services/sqlserverflex/src/stackit/sqlserverflex/rest.py index 83841673..80fe225a 100644 --- a/services/sqlserverflex/src/stackit/sqlserverflex/rest.py +++ b/services/sqlserverflex/src/stackit/sqlserverflex/rest.py @@ -5,7 +5,7 @@ This is the documentation for the STACKIT MSSQL service - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.0 Contact: support@stackit.cloud Generated by OpenAPI Generator (https://openapi-generator.tech)