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