stackit-sqlserverflex 1.0.2__py3-none-any.whl → 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stackit/sqlserverflex/__init__.py +201 -72
- stackit/sqlserverflex/api/default_api.py +119 -119
- stackit/sqlserverflex/api_client.py +18 -5
- stackit/sqlserverflex/configuration.py +33 -11
- stackit/sqlserverflex/exceptions.py +20 -1
- stackit/sqlserverflex/models/__init__.py +1 -1
- stackit/sqlserverflex/models/acl.py +2 -2
- stackit/sqlserverflex/models/backup.py +2 -2
- stackit/sqlserverflex/models/backup_list_backups_response_grouped.py +2 -2
- stackit/sqlserverflex/models/create_database_payload.py +2 -2
- stackit/sqlserverflex/models/create_database_response.py +2 -2
- stackit/sqlserverflex/models/create_instance_payload.py +2 -2
- stackit/sqlserverflex/models/create_instance_response.py +2 -2
- stackit/sqlserverflex/models/create_user_payload.py +2 -2
- stackit/sqlserverflex/models/create_user_response.py +2 -2
- stackit/sqlserverflex/models/data_point.py +2 -2
- stackit/sqlserverflex/models/database.py +2 -2
- stackit/sqlserverflex/models/database_documentation_create_database_request_options.py +2 -2
- stackit/sqlserverflex/models/database_options.py +2 -2
- stackit/sqlserverflex/models/flavor.py +2 -2
- stackit/sqlserverflex/models/get_backup_response.py +2 -2
- stackit/sqlserverflex/models/get_database_response.py +2 -2
- stackit/sqlserverflex/models/get_instance_response.py +2 -2
- stackit/sqlserverflex/models/get_user_response.py +2 -2
- stackit/sqlserverflex/models/host.py +2 -2
- stackit/sqlserverflex/models/host_metric.py +2 -2
- stackit/sqlserverflex/models/instance.py +2 -2
- stackit/sqlserverflex/models/instance_documentation_acl.py +2 -2
- stackit/sqlserverflex/models/instance_documentation_options.py +2 -2
- stackit/sqlserverflex/models/instance_documentation_storage.py +2 -2
- stackit/sqlserverflex/models/instance_error.py +2 -2
- stackit/sqlserverflex/models/instance_flavor_entry.py +2 -2
- stackit/sqlserverflex/models/instance_list_instance.py +2 -2
- stackit/sqlserverflex/models/instance_list_user.py +2 -2
- stackit/sqlserverflex/models/list_backups_response.py +2 -2
- stackit/sqlserverflex/models/list_collations_response.py +2 -2
- stackit/sqlserverflex/models/list_compatibility_response.py +2 -2
- stackit/sqlserverflex/models/list_databases_response.py +2 -2
- stackit/sqlserverflex/models/list_flavors_response.py +2 -2
- stackit/sqlserverflex/models/list_instances_response.py +2 -2
- stackit/sqlserverflex/models/list_metrics_response.py +2 -2
- stackit/sqlserverflex/models/list_restore_jobs_response.py +2 -2
- stackit/sqlserverflex/models/list_roles_response.py +2 -2
- stackit/sqlserverflex/models/list_storages_response.py +2 -2
- stackit/sqlserverflex/models/list_users_response.py +2 -2
- stackit/sqlserverflex/models/list_versions_response.py +2 -2
- stackit/sqlserverflex/models/mssql_database_collation.py +2 -2
- stackit/sqlserverflex/models/mssql_database_compatibility.py +2 -2
- stackit/sqlserverflex/models/partial_update_instance_payload.py +2 -2
- stackit/sqlserverflex/models/reset_user_response.py +2 -2
- stackit/sqlserverflex/models/restore_running_restore.py +2 -2
- stackit/sqlserverflex/models/single_database.py +2 -2
- stackit/sqlserverflex/models/single_user.py +2 -2
- stackit/sqlserverflex/models/storage.py +2 -2
- stackit/sqlserverflex/models/storage_range.py +2 -2
- stackit/sqlserverflex/models/trigger_database_restore_payload.py +2 -2
- stackit/sqlserverflex/models/type.py +1 -1
- stackit/sqlserverflex/models/update_instance_payload.py +2 -2
- stackit/sqlserverflex/models/update_instance_response.py +2 -2
- stackit/sqlserverflex/models/user.py +2 -2
- stackit/sqlserverflex/models/user_response_user.py +2 -2
- stackit/sqlserverflex/rest.py +2 -2
- {stackit_sqlserverflex-1.0.2.dist-info → stackit_sqlserverflex-1.1.0.dist-info}/METADATA +5 -4
- stackit_sqlserverflex-1.1.0.dist-info/RECORD +70 -0
- {stackit_sqlserverflex-1.0.2.dist-info → stackit_sqlserverflex-1.1.0.dist-info}/WHEEL +1 -1
- stackit_sqlserverflex-1.0.2.dist-info/RECORD +0 -70
- {stackit_sqlserverflex-1.0.2.dist-info → stackit_sqlserverflex-1.1.0.dist-info}/LICENSE.md +0 -0
- {stackit_sqlserverflex-1.0.2.dist-info → stackit_sqlserverflex-1.1.0.dist-info}/NOTICE.txt +0 -0
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.type import Type
|
|
|
27
27
|
class InstanceError(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
InstanceError
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
code: Optional[StrictInt] = None
|
|
33
33
|
fields: Optional[Dict[str, List[StrictStr]]] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class InstanceFlavorEntry(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
InstanceFlavorEntry
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
categories: Optional[StrictStr] = None
|
|
31
31
|
cpu: Optional[StrictInt] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class InstanceListInstance(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
InstanceListInstance
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
id: Optional[StrictStr] = None
|
|
31
31
|
name: Optional[StrictStr] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class InstanceListUser(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
InstanceListUser
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
id: Optional[StrictStr] = None
|
|
31
31
|
username: Optional[StrictStr] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -29,7 +29,7 @@ from stackit.sqlserverflex.models.backup_list_backups_response_grouped import (
|
|
|
29
29
|
class ListBackupsResponse(BaseModel):
|
|
30
30
|
"""
|
|
31
31
|
ListBackupsResponse
|
|
32
|
-
"""
|
|
32
|
+
""" # noqa: E501
|
|
33
33
|
|
|
34
34
|
databases: Optional[List[BackupListBackupsResponseGrouped]] = None
|
|
35
35
|
__properties: ClassVar[List[str]] = ["databases"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.mssql_database_collation import MssqlDatabaseC
|
|
|
27
27
|
class ListCollationsResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ListCollationsResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
collations: Optional[List[MssqlDatabaseCollation]] = None
|
|
33
33
|
__properties: ClassVar[List[str]] = ["collations"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -29,7 +29,7 @@ from stackit.sqlserverflex.models.mssql_database_compatibility import (
|
|
|
29
29
|
class ListCompatibilityResponse(BaseModel):
|
|
30
30
|
"""
|
|
31
31
|
ListCompatibilityResponse
|
|
32
|
-
"""
|
|
32
|
+
""" # noqa: E501
|
|
33
33
|
|
|
34
34
|
compatibilities: Optional[List[MssqlDatabaseCompatibility]] = None
|
|
35
35
|
__properties: ClassVar[List[str]] = ["compatibilities"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.database import Database
|
|
|
27
27
|
class ListDatabasesResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ListDatabasesResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
databases: Optional[List[Database]] = None
|
|
33
33
|
__properties: ClassVar[List[str]] = ["databases"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.instance_flavor_entry import InstanceFlavorEnt
|
|
|
27
27
|
class ListFlavorsResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ListFlavorsResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
flavors: Optional[List[InstanceFlavorEntry]] = None
|
|
33
33
|
__properties: ClassVar[List[str]] = ["flavors"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.instance_list_instance import InstanceListInst
|
|
|
27
27
|
class ListInstancesResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ListInstancesResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
count: Optional[StrictInt] = None
|
|
33
33
|
items: Optional[List[InstanceListInstance]] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.host import Host
|
|
|
27
27
|
class ListMetricsResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ListMetricsResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
hosts: Optional[List[Host]] = None
|
|
33
33
|
__properties: ClassVar[List[str]] = ["hosts"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.restore_running_restore import RestoreRunningR
|
|
|
27
27
|
class ListRestoreJobsResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ListRestoreJobsResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
running_restores: Optional[List[RestoreRunningRestore]] = Field(default=None, alias="runningRestores")
|
|
33
33
|
__properties: ClassVar[List[str]] = ["runningRestores"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class ListRolesResponse(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
ListRolesResponse
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
roles: Optional[List[StrictStr]] = None
|
|
31
31
|
__properties: ClassVar[List[str]] = ["roles"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.storage_range import StorageRange
|
|
|
27
27
|
class ListStoragesResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ListStoragesResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
storage_classes: Optional[List[StrictStr]] = Field(default=None, alias="storageClasses")
|
|
33
33
|
storage_range: Optional[StorageRange] = Field(default=None, alias="storageRange")
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.instance_list_user import InstanceListUser
|
|
|
27
27
|
class ListUsersResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ListUsersResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
count: Optional[StrictInt] = None
|
|
33
33
|
items: Optional[List[InstanceListUser]] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class ListVersionsResponse(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
ListVersionsResponse
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
versions: Optional[List[StrictStr]] = None
|
|
31
31
|
__properties: ClassVar[List[str]] = ["versions"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class MssqlDatabaseCollation(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
MssqlDatabaseCollation
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
collation_name: Optional[StrictStr] = None
|
|
31
31
|
description: Optional[StrictStr] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class MssqlDatabaseCompatibility(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
MssqlDatabaseCompatibility
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
compatibility_level: Optional[StrictInt] = None
|
|
31
31
|
description: Optional[StrictStr] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -29,7 +29,7 @@ from stackit.sqlserverflex.models.instance_documentation_acl import (
|
|
|
29
29
|
class PartialUpdateInstancePayload(BaseModel):
|
|
30
30
|
"""
|
|
31
31
|
PartialUpdateInstancePayload
|
|
32
|
-
"""
|
|
32
|
+
""" # noqa: E501
|
|
33
33
|
|
|
34
34
|
acl: Optional[InstanceDocumentationACL] = Field(
|
|
35
35
|
default=None,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.single_user import SingleUser
|
|
|
27
27
|
class ResetUserResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ResetUserResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
item: Optional[SingleUser] = None
|
|
33
33
|
__properties: ClassVar[List[str]] = ["item"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class RestoreRunningRestore(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
RestoreRunningRestore
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
command: Optional[StrictStr] = None
|
|
31
31
|
database_name: Optional[StrictStr] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.database_options import DatabaseOptions
|
|
|
27
27
|
class SingleDatabase(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
SingleDatabase
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
id: Optional[StrictStr] = Field(default=None, description="Database id")
|
|
33
33
|
name: Optional[StrictStr] = Field(default=None, description="Database name")
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class SingleUser(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
SingleUser
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
default_database: Optional[StrictStr] = None
|
|
31
31
|
host: Optional[StrictStr] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class Storage(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
Storage
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
var_class: Optional[StrictStr] = Field(default=None, alias="class")
|
|
31
31
|
size: Optional[StrictInt] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class StorageRange(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
StorageRange
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
max: Optional[StrictInt] = None
|
|
31
31
|
min: Optional[StrictInt] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class TriggerDatabaseRestorePayload(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
TriggerDatabaseRestorePayload
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
name: StrictStr = Field(description="Name for the restored database no overwrite allowed at the moment")
|
|
31
31
|
restore_date_time: StrictStr = Field(
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -29,7 +29,7 @@ from stackit.sqlserverflex.models.instance_documentation_acl import (
|
|
|
29
29
|
class UpdateInstancePayload(BaseModel):
|
|
30
30
|
"""
|
|
31
31
|
UpdateInstancePayload
|
|
32
|
-
"""
|
|
32
|
+
""" # noqa: E501
|
|
33
33
|
|
|
34
34
|
acl: InstanceDocumentationACL = Field(
|
|
35
35
|
description="ACL is the Access Control List defining the IP ranges allowed to connect to the database"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.sqlserverflex.models.instance import Instance
|
|
|
27
27
|
class UpdateInstanceResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
UpdateInstanceResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
item: Optional[Instance] = None
|
|
33
33
|
__properties: ClassVar[List[str]] = ["item"]
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class User(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
User
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
database: Optional[StrictStr] = None
|
|
31
31
|
host: Optional[StrictStr] = None
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class UserResponseUser(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
UserResponseUser
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
default_database: Optional[StrictStr] = None
|
|
31
31
|
host: Optional[StrictStr] = None
|
stackit/sqlserverflex/rest.py
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
import io
|
|
16
16
|
import json
|
|
@@ -125,7 +125,7 @@ class RESTClientObject:
|
|
|
125
125
|
data=body,
|
|
126
126
|
headers=headers,
|
|
127
127
|
)
|
|
128
|
-
elif headers["Content-Type"]
|
|
128
|
+
elif headers["Content-Type"].startswith("text/") and isinstance(body, bool):
|
|
129
129
|
request_body = "true" if body else "false"
|
|
130
130
|
r = self.session.request(method, url, data=request_body, headers=headers)
|
|
131
131
|
else:
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: stackit-sqlserverflex
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: STACKIT MSSQL Service API
|
|
5
5
|
Author: STACKIT Developer Tools
|
|
6
6
|
Author-email: developer-tools@stackit.cloud
|
|
7
|
-
Requires-Python: >=3.
|
|
7
|
+
Requires-Python: >=3.9,<4.0
|
|
8
8
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
9
9
|
Classifier: Operating System :: OS Independent
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -18,6 +17,8 @@ Requires-Dist: pydantic (>=2.9.2)
|
|
|
18
17
|
Requires-Dist: python-dateutil (>=2.9.0.post0)
|
|
19
18
|
Requires-Dist: requests (>=2.32.3)
|
|
20
19
|
Requires-Dist: stackit-core (>=0.0.1a)
|
|
20
|
+
Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
|
|
21
|
+
Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
|
|
21
22
|
Description-Content-Type: text/markdown
|
|
22
23
|
|
|
23
24
|
# stackit.sqlserverflex
|