|
5 | 5 | """ |
6 | 6 | STACKIT PostgreSQL Flex API |
7 | 7 |
|
8 | | - This is the documentation for the STACKIT postgres service |
| 8 | + This is the documentation for the STACKIT Postgres Flex service |
9 | 9 |
|
10 | | - The version of the OpenAPI document: 2.0.0 |
| 10 | + The version of the OpenAPI document: 3.0.0 |
11 | 11 | Contact: support@stackit.cloud |
12 | 12 | Generated by OpenAPI Generator (https://openapi-generator.tech) |
13 | 13 |
|
|
29 | 29 | "ApiKeyError", |
30 | 30 | "ApiAttributeError", |
31 | 31 | "ApiException", |
32 | | - "ACL", |
33 | | - "ApiConfiguration", |
34 | | - "ApiExtensionConfigLoadResponse", |
35 | | - "ApiExtensionConfigureResponse", |
36 | | - "ApiExtensionDeleteResponse", |
37 | | - "ApiExtensionList", |
38 | | - "ApiExtensionLoadResponse", |
39 | | - "ApiInstallResponse", |
40 | | - "ApiInstalledListResponse", |
41 | | - "Backup", |
| 32 | + "BackupData", |
| 33 | + "BackupSort", |
| 34 | + "CloneInstanceOverrides", |
42 | 35 | "CloneInstancePayload", |
43 | 36 | "CloneInstanceResponse", |
44 | 37 | "CreateDatabasePayload", |
| 38 | + "CreateDatabaseResponse", |
45 | 39 | "CreateInstancePayload", |
46 | 40 | "CreateInstanceResponse", |
47 | 41 | "CreateUserPayload", |
48 | 42 | "CreateUserResponse", |
| 43 | + "DatabaseRoles", |
| 44 | + "DatabaseSort", |
49 | 45 | "Error", |
50 | | - "ExtensionsConfiguration", |
51 | | - "ExtensionsExtensionListResponse", |
52 | | - "ExtensionsNewConfig", |
53 | | - "Flavor", |
54 | | - "GetBackupResponse", |
| 46 | + "FlavorSort", |
| 47 | + "FlavorStorageClassesStorageClass", |
| 48 | + "GetDatabaseResponse", |
| 49 | + "GetInstanceResponse", |
55 | 50 | "GetUserResponse", |
56 | | - "Instance", |
57 | | - "InstanceCreateDatabaseResponse", |
58 | | - "InstanceDataPoint", |
59 | | - "InstanceDatabase", |
60 | | - "InstanceHost", |
61 | | - "InstanceHostMetric", |
62 | | - "InstanceListDatabasesResponse", |
63 | | - "InstanceListInstance", |
64 | | - "InstanceMetricsResponse", |
65 | | - "InstanceResponse", |
66 | | - "ListBackupsResponse", |
| 51 | + "InstanceConnectionInfo", |
| 52 | + "InstanceConnectionInfoWrite", |
| 53 | + "InstanceEncryption", |
| 54 | + "InstanceNetwork", |
| 55 | + "InstanceNetworkAccessScope", |
| 56 | + "InstanceNetworkCreate", |
| 57 | + "InstanceNetworkOpt", |
| 58 | + "InstanceNetworkUpdate", |
| 59 | + "InstanceSort", |
| 60 | + "InstanceStorageRange", |
| 61 | + "ListBackupResponse", |
| 62 | + "ListCollationsResponse", |
| 63 | + "ListDatabase", |
| 64 | + "ListDatabasesResponse", |
| 65 | + "ListFlavors", |
67 | 66 | "ListFlavorsResponse", |
| 67 | + "ListInstance", |
68 | 68 | "ListInstancesResponse", |
69 | | - "ListStoragesResponse", |
70 | | - "ListUsersResponse", |
71 | | - "ListUsersResponseItem", |
72 | | - "ListVersionsResponse", |
| 69 | + "ListRolesResponse", |
| 70 | + "ListUser", |
| 71 | + "ListUserResponse", |
| 72 | + "ListVersionResponse", |
| 73 | + "Pagination", |
| 74 | + "PartialUpdateDatabasePayload", |
73 | 75 | "PartialUpdateInstancePayload", |
74 | | - "PartialUpdateInstanceResponse", |
75 | 76 | "PartialUpdateUserPayload", |
76 | | - "PostgresDatabaseParameter", |
77 | | - "PostgresDatabaseParameterResponse", |
78 | | - "ResetUserResponse", |
| 77 | + "ResetUserPasswordResponse", |
| 78 | + "State", |
79 | 79 | "Storage", |
80 | | - "StorageRange", |
| 80 | + "StorageCreate", |
81 | 81 | "StorageUpdate", |
82 | | - "UpdateBackupSchedulePayload", |
| 82 | + "UpdateDatabasePartiallyResponse", |
| 83 | + "UpdateDatabasePayload", |
| 84 | + "UpdateDatabaseResponse", |
83 | 85 | "UpdateInstancePayload", |
| 86 | + "UpdateInstanceProtectionPayload", |
| 87 | + "UpdateInstanceProtectionResponse", |
84 | 88 | "UpdateUserPayload", |
85 | | - "User", |
86 | | - "UserResponse", |
| 89 | + "UserSort", |
| 90 | + "ValidationError", |
| 91 | + "ValidationErrorValidationInner", |
| 92 | + "Version", |
87 | 93 | ] |
88 | 94 |
|
89 | 95 | # import apis into sdk package |
|
101 | 107 | from stackit.postgresflex.exceptions import OpenApiException as OpenApiException |
102 | 108 |
|
103 | 109 | # import models into sdk package |
104 | | -from stackit.postgresflex.models.acl import ACL as ACL |
105 | | -from stackit.postgresflex.models.api_configuration import ( |
106 | | - ApiConfiguration as ApiConfiguration, |
| 110 | +from stackit.postgresflex.models.backup_data import BackupData as BackupData |
| 111 | +from stackit.postgresflex.models.backup_sort import BackupSort as BackupSort |
| 112 | +from stackit.postgresflex.models.clone_instance_overrides import ( |
| 113 | + CloneInstanceOverrides as CloneInstanceOverrides, |
107 | 114 | ) |
108 | | -from stackit.postgresflex.models.api_extension_config_load_response import ( |
109 | | - ApiExtensionConfigLoadResponse as ApiExtensionConfigLoadResponse, |
110 | | -) |
111 | | -from stackit.postgresflex.models.api_extension_configure_response import ( |
112 | | - ApiExtensionConfigureResponse as ApiExtensionConfigureResponse, |
113 | | -) |
114 | | -from stackit.postgresflex.models.api_extension_delete_response import ( |
115 | | - ApiExtensionDeleteResponse as ApiExtensionDeleteResponse, |
116 | | -) |
117 | | -from stackit.postgresflex.models.api_extension_list import ( |
118 | | - ApiExtensionList as ApiExtensionList, |
119 | | -) |
120 | | -from stackit.postgresflex.models.api_extension_load_response import ( |
121 | | - ApiExtensionLoadResponse as ApiExtensionLoadResponse, |
122 | | -) |
123 | | -from stackit.postgresflex.models.api_install_response import ( |
124 | | - ApiInstallResponse as ApiInstallResponse, |
125 | | -) |
126 | | -from stackit.postgresflex.models.api_installed_list_response import ( |
127 | | - ApiInstalledListResponse as ApiInstalledListResponse, |
128 | | -) |
129 | | -from stackit.postgresflex.models.backup import Backup as Backup |
130 | 115 | from stackit.postgresflex.models.clone_instance_payload import ( |
131 | 116 | CloneInstancePayload as CloneInstancePayload, |
132 | 117 | ) |
|
136 | 121 | from stackit.postgresflex.models.create_database_payload import ( |
137 | 122 | CreateDatabasePayload as CreateDatabasePayload, |
138 | 123 | ) |
| 124 | +from stackit.postgresflex.models.create_database_response import ( |
| 125 | + CreateDatabaseResponse as CreateDatabaseResponse, |
| 126 | +) |
139 | 127 | from stackit.postgresflex.models.create_instance_payload import ( |
140 | 128 | CreateInstancePayload as CreateInstancePayload, |
141 | 129 | ) |
|
148 | 136 | from stackit.postgresflex.models.create_user_response import ( |
149 | 137 | CreateUserResponse as CreateUserResponse, |
150 | 138 | ) |
| 139 | +from stackit.postgresflex.models.database_roles import DatabaseRoles as DatabaseRoles |
| 140 | +from stackit.postgresflex.models.database_sort import DatabaseSort as DatabaseSort |
151 | 141 | from stackit.postgresflex.models.error import Error as Error |
152 | | -from stackit.postgresflex.models.extensions_configuration import ( |
153 | | - ExtensionsConfiguration as ExtensionsConfiguration, |
154 | | -) |
155 | | -from stackit.postgresflex.models.extensions_extension_list_response import ( |
156 | | - ExtensionsExtensionListResponse as ExtensionsExtensionListResponse, |
| 142 | +from stackit.postgresflex.models.flavor_sort import FlavorSort as FlavorSort |
| 143 | +from stackit.postgresflex.models.flavor_storage_classes_storage_class import ( |
| 144 | + FlavorStorageClassesStorageClass as FlavorStorageClassesStorageClass, |
157 | 145 | ) |
158 | | -from stackit.postgresflex.models.extensions_new_config import ( |
159 | | - ExtensionsNewConfig as ExtensionsNewConfig, |
| 146 | +from stackit.postgresflex.models.get_database_response import ( |
| 147 | + GetDatabaseResponse as GetDatabaseResponse, |
160 | 148 | ) |
161 | | -from stackit.postgresflex.models.flavor import Flavor as Flavor |
162 | | -from stackit.postgresflex.models.get_backup_response import ( |
163 | | - GetBackupResponse as GetBackupResponse, |
| 149 | +from stackit.postgresflex.models.get_instance_response import ( |
| 150 | + GetInstanceResponse as GetInstanceResponse, |
164 | 151 | ) |
165 | 152 | from stackit.postgresflex.models.get_user_response import ( |
166 | 153 | GetUserResponse as GetUserResponse, |
167 | 154 | ) |
168 | | -from stackit.postgresflex.models.instance import Instance as Instance |
169 | | -from stackit.postgresflex.models.instance_create_database_response import ( |
170 | | - InstanceCreateDatabaseResponse as InstanceCreateDatabaseResponse, |
| 155 | +from stackit.postgresflex.models.instance_connection_info import ( |
| 156 | + InstanceConnectionInfo as InstanceConnectionInfo, |
| 157 | +) |
| 158 | +from stackit.postgresflex.models.instance_connection_info_write import ( |
| 159 | + InstanceConnectionInfoWrite as InstanceConnectionInfoWrite, |
| 160 | +) |
| 161 | +from stackit.postgresflex.models.instance_encryption import ( |
| 162 | + InstanceEncryption as InstanceEncryption, |
171 | 163 | ) |
172 | | -from stackit.postgresflex.models.instance_data_point import ( |
173 | | - InstanceDataPoint as InstanceDataPoint, |
| 164 | +from stackit.postgresflex.models.instance_network import ( |
| 165 | + InstanceNetwork as InstanceNetwork, |
174 | 166 | ) |
175 | | -from stackit.postgresflex.models.instance_database import ( |
176 | | - InstanceDatabase as InstanceDatabase, |
| 167 | +from stackit.postgresflex.models.instance_network_access_scope import ( |
| 168 | + InstanceNetworkAccessScope as InstanceNetworkAccessScope, |
177 | 169 | ) |
178 | | -from stackit.postgresflex.models.instance_host import InstanceHost as InstanceHost |
179 | | -from stackit.postgresflex.models.instance_host_metric import ( |
180 | | - InstanceHostMetric as InstanceHostMetric, |
| 170 | +from stackit.postgresflex.models.instance_network_create import ( |
| 171 | + InstanceNetworkCreate as InstanceNetworkCreate, |
181 | 172 | ) |
182 | | -from stackit.postgresflex.models.instance_list_databases_response import ( |
183 | | - InstanceListDatabasesResponse as InstanceListDatabasesResponse, |
| 173 | +from stackit.postgresflex.models.instance_network_opt import ( |
| 174 | + InstanceNetworkOpt as InstanceNetworkOpt, |
184 | 175 | ) |
185 | | -from stackit.postgresflex.models.instance_list_instance import ( |
186 | | - InstanceListInstance as InstanceListInstance, |
| 176 | +from stackit.postgresflex.models.instance_network_update import ( |
| 177 | + InstanceNetworkUpdate as InstanceNetworkUpdate, |
187 | 178 | ) |
188 | | -from stackit.postgresflex.models.instance_metrics_response import ( |
189 | | - InstanceMetricsResponse as InstanceMetricsResponse, |
| 179 | +from stackit.postgresflex.models.instance_sort import InstanceSort as InstanceSort |
| 180 | +from stackit.postgresflex.models.instance_storage_range import ( |
| 181 | + InstanceStorageRange as InstanceStorageRange, |
190 | 182 | ) |
191 | | -from stackit.postgresflex.models.instance_response import ( |
192 | | - InstanceResponse as InstanceResponse, |
| 183 | +from stackit.postgresflex.models.list_backup_response import ( |
| 184 | + ListBackupResponse as ListBackupResponse, |
193 | 185 | ) |
194 | | -from stackit.postgresflex.models.list_backups_response import ( |
195 | | - ListBackupsResponse as ListBackupsResponse, |
| 186 | +from stackit.postgresflex.models.list_collations_response import ( |
| 187 | + ListCollationsResponse as ListCollationsResponse, |
196 | 188 | ) |
| 189 | +from stackit.postgresflex.models.list_database import ListDatabase as ListDatabase |
| 190 | +from stackit.postgresflex.models.list_databases_response import ( |
| 191 | + ListDatabasesResponse as ListDatabasesResponse, |
| 192 | +) |
| 193 | +from stackit.postgresflex.models.list_flavors import ListFlavors as ListFlavors |
197 | 194 | from stackit.postgresflex.models.list_flavors_response import ( |
198 | 195 | ListFlavorsResponse as ListFlavorsResponse, |
199 | 196 | ) |
| 197 | +from stackit.postgresflex.models.list_instance import ListInstance as ListInstance |
200 | 198 | from stackit.postgresflex.models.list_instances_response import ( |
201 | 199 | ListInstancesResponse as ListInstancesResponse, |
202 | 200 | ) |
203 | | -from stackit.postgresflex.models.list_storages_response import ( |
204 | | - ListStoragesResponse as ListStoragesResponse, |
| 201 | +from stackit.postgresflex.models.list_roles_response import ( |
| 202 | + ListRolesResponse as ListRolesResponse, |
205 | 203 | ) |
206 | | -from stackit.postgresflex.models.list_users_response import ( |
207 | | - ListUsersResponse as ListUsersResponse, |
| 204 | +from stackit.postgresflex.models.list_user import ListUser as ListUser |
| 205 | +from stackit.postgresflex.models.list_user_response import ( |
| 206 | + ListUserResponse as ListUserResponse, |
208 | 207 | ) |
209 | | -from stackit.postgresflex.models.list_users_response_item import ( |
210 | | - ListUsersResponseItem as ListUsersResponseItem, |
| 208 | +from stackit.postgresflex.models.list_version_response import ( |
| 209 | + ListVersionResponse as ListVersionResponse, |
211 | 210 | ) |
212 | | -from stackit.postgresflex.models.list_versions_response import ( |
213 | | - ListVersionsResponse as ListVersionsResponse, |
| 211 | +from stackit.postgresflex.models.pagination import Pagination as Pagination |
| 212 | +from stackit.postgresflex.models.partial_update_database_payload import ( |
| 213 | + PartialUpdateDatabasePayload as PartialUpdateDatabasePayload, |
214 | 214 | ) |
215 | 215 | from stackit.postgresflex.models.partial_update_instance_payload import ( |
216 | 216 | PartialUpdateInstancePayload as PartialUpdateInstancePayload, |
217 | 217 | ) |
218 | | -from stackit.postgresflex.models.partial_update_instance_response import ( |
219 | | - PartialUpdateInstanceResponse as PartialUpdateInstanceResponse, |
220 | | -) |
221 | 218 | from stackit.postgresflex.models.partial_update_user_payload import ( |
222 | 219 | PartialUpdateUserPayload as PartialUpdateUserPayload, |
223 | 220 | ) |
224 | | -from stackit.postgresflex.models.postgres_database_parameter import ( |
225 | | - PostgresDatabaseParameter as PostgresDatabaseParameter, |
226 | | -) |
227 | | -from stackit.postgresflex.models.postgres_database_parameter_response import ( |
228 | | - PostgresDatabaseParameterResponse as PostgresDatabaseParameterResponse, |
229 | | -) |
230 | | -from stackit.postgresflex.models.reset_user_response import ( |
231 | | - ResetUserResponse as ResetUserResponse, |
| 221 | +from stackit.postgresflex.models.reset_user_password_response import ( |
| 222 | + ResetUserPasswordResponse as ResetUserPasswordResponse, |
232 | 223 | ) |
| 224 | +from stackit.postgresflex.models.state import State as State |
233 | 225 | from stackit.postgresflex.models.storage import Storage as Storage |
234 | | -from stackit.postgresflex.models.storage_range import StorageRange as StorageRange |
| 226 | +from stackit.postgresflex.models.storage_create import StorageCreate as StorageCreate |
235 | 227 | from stackit.postgresflex.models.storage_update import StorageUpdate as StorageUpdate |
236 | | -from stackit.postgresflex.models.update_backup_schedule_payload import ( |
237 | | - UpdateBackupSchedulePayload as UpdateBackupSchedulePayload, |
| 228 | +from stackit.postgresflex.models.update_database_partially_response import ( |
| 229 | + UpdateDatabasePartiallyResponse as UpdateDatabasePartiallyResponse, |
| 230 | +) |
| 231 | +from stackit.postgresflex.models.update_database_payload import ( |
| 232 | + UpdateDatabasePayload as UpdateDatabasePayload, |
| 233 | +) |
| 234 | +from stackit.postgresflex.models.update_database_response import ( |
| 235 | + UpdateDatabaseResponse as UpdateDatabaseResponse, |
238 | 236 | ) |
239 | 237 | from stackit.postgresflex.models.update_instance_payload import ( |
240 | 238 | UpdateInstancePayload as UpdateInstancePayload, |
241 | 239 | ) |
| 240 | +from stackit.postgresflex.models.update_instance_protection_payload import ( |
| 241 | + UpdateInstanceProtectionPayload as UpdateInstanceProtectionPayload, |
| 242 | +) |
| 243 | +from stackit.postgresflex.models.update_instance_protection_response import ( |
| 244 | + UpdateInstanceProtectionResponse as UpdateInstanceProtectionResponse, |
| 245 | +) |
242 | 246 | from stackit.postgresflex.models.update_user_payload import ( |
243 | 247 | UpdateUserPayload as UpdateUserPayload, |
244 | 248 | ) |
245 | | -from stackit.postgresflex.models.user import User as User |
246 | | -from stackit.postgresflex.models.user_response import UserResponse as UserResponse |
| 249 | +from stackit.postgresflex.models.user_sort import UserSort as UserSort |
| 250 | +from stackit.postgresflex.models.validation_error import ( |
| 251 | + ValidationError as ValidationError, |
| 252 | +) |
| 253 | +from stackit.postgresflex.models.validation_error_validation_inner import ( |
| 254 | + ValidationErrorValidationInner as ValidationErrorValidationInner, |
| 255 | +) |
| 256 | +from stackit.postgresflex.models.version import Version as Version |
0 commit comments