ionoscloud-dbaas-postgres 1.1.1__tar.gz → 2.0.0b1__tar.gz

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.
Files changed (121) hide show
  1. ionoscloud_dbaas_postgres-2.0.0b1/PKG-INFO +243 -0
  2. ionoscloud_dbaas_postgres-2.0.0b1/README.md +217 -0
  3. {ionoscloud-dbaas-postgres-1.1.1 → ionoscloud_dbaas_postgres-2.0.0b1}/ionoscloud_dbaas_postgres/__init__.py +30 -11
  4. {ionoscloud-dbaas-postgres-1.1.1 → ionoscloud_dbaas_postgres-2.0.0b1}/ionoscloud_dbaas_postgres/api/__init__.py +3 -2
  5. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/api/backups_api.py +915 -0
  6. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/api/clusters_api.py +2303 -0
  7. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/api/databases_api.py +1226 -0
  8. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/api/logs_api.py +400 -0
  9. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/api/metadata_api.py +815 -0
  10. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/api/restores_api.py +338 -0
  11. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/api/users_api.py +1561 -0
  12. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/api_client.py +913 -0
  13. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/api_response.py +21 -0
  14. {ionoscloud-dbaas-postgres-1.1.1 → ionoscloud_dbaas_postgres-2.0.0b1}/ionoscloud_dbaas_postgres/configuration.py +263 -117
  15. {ionoscloud-dbaas-postgres-1.1.1 → ionoscloud_dbaas_postgres-2.0.0b1}/ionoscloud_dbaas_postgres/exceptions.py +97 -23
  16. {ionoscloud-dbaas-postgres-1.1.1 → ionoscloud_dbaas_postgres-2.0.0b1}/ionoscloud_dbaas_postgres/models/__init__.py +25 -9
  17. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/api_version.py +89 -0
  18. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/backup_metadata.py +91 -0
  19. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/backup_response.py +102 -0
  20. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/cluster_backup.py +100 -0
  21. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/cluster_backup_list.py +111 -0
  22. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/cluster_list.py +111 -0
  23. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/cluster_logs.py +95 -0
  24. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/cluster_logs_instances_inner.py +97 -0
  25. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/cluster_logs_instances_inner_messages_inner.py +90 -0
  26. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/cluster_metadata.py +101 -0
  27. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/cluster_properties.py +132 -0
  28. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/cluster_response.py +102 -0
  29. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/connection.py +91 -0
  30. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/connection_pooler.py +90 -0
  31. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/create_cluster_properties.py +142 -0
  32. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/create_cluster_request.py +97 -0
  33. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/create_restore_request.py +90 -0
  34. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/database.py +91 -0
  35. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/database_items.py +95 -0
  36. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/database_list.py +113 -0
  37. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/database_properties.py +90 -0
  38. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/database_resource.py +104 -0
  39. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/day_of_the_week.py +42 -0
  40. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/db_user.py +90 -0
  41. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/deprecated_pagination.py +96 -0
  42. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/error_message.py +89 -0
  43. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/error_response.py +97 -0
  44. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/maintenance_window.py +90 -0
  45. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/metadata.py +100 -0
  46. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/pagination.py +96 -0
  47. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/pagination_links.py +94 -0
  48. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/patch_cluster_properties.py +120 -0
  49. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/patch_cluster_request.py +97 -0
  50. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/patch_user_properties.py +88 -0
  51. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/pool_mode.py +37 -0
  52. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/postgres_version_list.py +95 -0
  53. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/postgres_version_list_data_inner.py +87 -0
  54. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/resource.py +92 -0
  55. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/resource_metadata.py +91 -0
  56. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/resource_type.py +40 -0
  57. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/state.py +41 -0
  58. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/storage_type.py +39 -0
  59. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/synchronization_mode.py +38 -0
  60. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/user.py +91 -0
  61. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/user_items.py +95 -0
  62. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/user_list.py +113 -0
  63. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/user_properties.py +93 -0
  64. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/user_resource.py +104 -0
  65. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/models/users_patch_request.py +91 -0
  66. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/py.typed +0 -0
  67. ionoscloud_dbaas_postgres-2.0.0b1/ionoscloud_dbaas_postgres/rest.py +286 -0
  68. ionoscloud_dbaas_postgres-2.0.0b1/pyproject.toml +89 -0
  69. ionoscloud-dbaas-postgres-1.1.1/PKG-INFO +0 -228
  70. ionoscloud-dbaas-postgres-1.1.1/README.md +0 -207
  71. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/api/backups_api.py +0 -454
  72. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/api/clusters_api.py +0 -999
  73. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/api/logs_api.py +0 -187
  74. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/api/metadata_api.py +0 -270
  75. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/api/restores_api.py +0 -170
  76. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/api_client.py +0 -828
  77. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/api_version.py +0 -150
  78. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/backup_location.py +0 -101
  79. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/backup_metadata.py +0 -152
  80. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/backup_response.py +0 -208
  81. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/cluster_backup.py +0 -304
  82. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/cluster_backup_list.py +0 -277
  83. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/cluster_backup_list_all_of.py +0 -180
  84. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/cluster_list.py +0 -277
  85. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/cluster_list_all_of.py +0 -180
  86. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/cluster_logs.py +0 -122
  87. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/cluster_logs_instances.py +0 -152
  88. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/cluster_logs_messages.py +0 -150
  89. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/cluster_properties.py +0 -500
  90. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/cluster_response.py +0 -208
  91. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/connection.py +0 -187
  92. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/create_cluster_properties.py +0 -537
  93. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/create_cluster_request.py +0 -150
  94. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/create_restore_request.py +0 -155
  95. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/day_of_the_week.py +0 -105
  96. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/db_user.py +0 -157
  97. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/error_message.py +0 -154
  98. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/error_response.py +0 -152
  99. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/location.py +0 -104
  100. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/maintenance_window.py +0 -154
  101. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/metadata.py +0 -294
  102. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/pagination.py +0 -191
  103. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/pagination_links.py +0 -184
  104. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/patch_cluster_properties.py +0 -354
  105. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/patch_cluster_request.py +0 -150
  106. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/postgres_version_list.py +0 -122
  107. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/postgres_version_list_data.py +0 -122
  108. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/resource_type.py +0 -101
  109. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/state.py +0 -104
  110. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/storage_type.py +0 -102
  111. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/models/synchronization_mode.py +0 -101
  112. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/rest.py +0 -322
  113. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres/test-driver.py +0 -97
  114. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres.egg-info/PKG-INFO +0 -228
  115. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres.egg-info/SOURCES.txt +0 -57
  116. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres.egg-info/dependency_links.txt +0 -1
  117. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres.egg-info/requires.txt +0 -5
  118. ionoscloud-dbaas-postgres-1.1.1/ionoscloud_dbaas_postgres.egg-info/top_level.txt +0 -1
  119. ionoscloud-dbaas-postgres-1.1.1/setup.cfg +0 -7
  120. ionoscloud-dbaas-postgres-1.1.1/setup.py +0 -62
  121. {ionoscloud-dbaas-postgres-1.1.1 → ionoscloud_dbaas_postgres-2.0.0b1}/LICENSE +0 -0
@@ -0,0 +1,243 @@
1
+ Metadata-Version: 2.4
2
+ Name: ionoscloud_dbaas_postgres
3
+ Version: 2.0.0b1
4
+ Summary: IONOS DBaaS PostgreSQL REST API
5
+ License: NoLicense
6
+ License-File: LICENSE
7
+ Keywords: OpenAPI,OpenAPI-Generator,IONOS DBaaS PostgreSQL REST API
8
+ Author: OpenAPI Generator Community
9
+ Author-email: team@openapitools.org
10
+ Requires-Python: >=3.9,<4.0
11
+ Classifier: License :: Other/Proprietary License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Requires-Dist: pydantic (>=2)
20
+ Requires-Dist: python-dateutil (>=2.8.2)
21
+ Requires-Dist: typing-extensions (>=4.7.1)
22
+ Requires-Dist: urllib3 (>=2.1.0,<3.0.0)
23
+ Project-URL: Repository, https://github.com/ionos-cloud/sdk-python
24
+ Description-Content-Type: text/markdown
25
+
26
+ # ionoscloud-dbaas-postgres
27
+ An enterprise-grade Database is provided as a Service (DBaaS) solution that
28
+ can be managed through a browser-based \"Data Center Designer\" (DCD) tool or
29
+ via an easy to use API.
30
+
31
+ The API allows you to create additional PostgreSQL database clusters or modify existing
32
+ ones. It is designed to allow users to leverage the same power and
33
+ flexibility found within the DCD visual tool. Both tools are consistent with
34
+ their concepts and lend well to making the experience smooth and intuitive.
35
+
36
+
37
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
38
+
39
+ - API version: 1.0.0
40
+ - Package version: 2.0.0-beta.1
41
+ - Generator version: 7.13.0-SNAPSHOT
42
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
43
+
44
+ ## Requirements.
45
+
46
+ Python 3.9+
47
+
48
+ ## Installation & Usage
49
+ ### pip install
50
+
51
+ If the python package is hosted on a repository, you can install directly using:
52
+
53
+ ```sh
54
+ pip install git+https://github.com/ionos-cloud/sdk-python.git
55
+ ```
56
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/ionos-cloud/sdk-python.git`)
57
+
58
+ Then import the package:
59
+ ```python
60
+ import ionoscloud_dbaas_postgres
61
+ ```
62
+
63
+ ### Setuptools
64
+
65
+ Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
66
+
67
+ ```sh
68
+ python setup.py install --user
69
+ ```
70
+ (or `sudo python setup.py install` to install the package for all users)
71
+
72
+ Then import the package:
73
+ ```python
74
+ import ionoscloud_dbaas_postgres
75
+ ```
76
+
77
+ ### Tests
78
+
79
+ Execute `pytest` to run the tests.
80
+
81
+ ## Getting Started
82
+
83
+ Please follow the [installation procedure](#installation--usage) and then run the following:
84
+
85
+ ```python
86
+
87
+ import ionoscloud_dbaas_postgres
88
+ from ionoscloud_dbaas_postgres.rest import ApiException
89
+ from pprint import pprint
90
+ import os
91
+
92
+ # Defining the host is optional and defaults to https://api.ionos.com/databases/postgresql
93
+ # See configuration.py for a list of all supported configuration parameters.
94
+ configuration = ionoscloud_dbaas_postgres.Configuration(
95
+ host = "https://api.ionos.com/databases/postgresql"
96
+ )
97
+
98
+ # The client must configure the authentication and authorization parameters
99
+ # in accordance with the API server security policy.
100
+ # Examples for each auth method are provided below, use the example that
101
+ # satisfies your auth use case.
102
+
103
+ # Configure HTTP basic authorization: basicAuth
104
+ configuration = ionoscloud_dbaas_postgres.Configuration(
105
+ username = os.environ["USERNAME"],
106
+ password = os.environ["PASSWORD"]
107
+ )
108
+
109
+ # Configure API key authorization: tokenAuth
110
+ configuration.api_key['tokenAuth'] = os.environ["API_KEY"]
111
+
112
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
113
+ # configuration.api_key_prefix['tokenAuth'] = 'Bearer'
114
+
115
+
116
+ # Enter a context with an instance of the API client
117
+ with ionoscloud_dbaas_postgres.ApiClient(configuration) as api_client:
118
+ # Create an instance of the API class
119
+ api_instance = ionoscloud_dbaas_postgres.BackupsApi(api_client)
120
+ cluster_id = '498ae72f-411f-11eb-9d07-046c59cc737e' # str | The unique ID of the cluster.
121
+ limit = 100 # int | The maximum number of elements to return. Use together with 'offset' for pagination. (optional) (default to 100)
122
+ offset = 0 # int | The first element to return. Use together with 'limit' for pagination. (optional) (default to 0)
123
+
124
+ try:
125
+ # List backups of cluster
126
+ api_response = api_instance.cluster_backups_get(cluster_id, limit=limit, offset=offset)
127
+ print("The response of BackupsApi->cluster_backups_get:\n")
128
+ pprint(api_response)
129
+ except ApiException as e:
130
+ print("Exception when calling BackupsApi->cluster_backups_get: %s\n" % e)
131
+
132
+ ```
133
+
134
+ ## Documentation for API Endpoints
135
+
136
+ All URIs are relative to *https://api.ionos.com/databases/postgresql*
137
+
138
+ Class | Method | HTTP request | Description
139
+ ------------ | ------------- | ------------- | -------------
140
+ *BackupsApi* | [**cluster_backups_get**](docs/api/BackupsApi.md#cluster_backups_get) | **GET** /clusters/{clusterId}/backups | List backups of cluster
141
+ *BackupsApi* | [**clusters_backups_find_by_id**](docs/api/BackupsApi.md#clusters_backups_find_by_id) | **GET** /clusters/backups/{backupId} | Fetch a cluster backup
142
+ *BackupsApi* | [**clusters_backups_get**](docs/api/BackupsApi.md#clusters_backups_get) | **GET** /clusters/backups | List cluster backups
143
+ *ClustersApi* | [**cluster_postgres_versions_get**](docs/api/ClustersApi.md#cluster_postgres_versions_get) | **GET** /clusters/{clusterId}/postgresversions | List PostgreSQL versions
144
+ *ClustersApi* | [**clusters_delete**](docs/api/ClustersApi.md#clusters_delete) | **DELETE** /clusters/{clusterId} | Delete a cluster
145
+ *ClustersApi* | [**clusters_find_by_id**](docs/api/ClustersApi.md#clusters_find_by_id) | **GET** /clusters/{clusterId} | Fetch a cluster
146
+ *ClustersApi* | [**clusters_get**](docs/api/ClustersApi.md#clusters_get) | **GET** /clusters | List clusters
147
+ *ClustersApi* | [**clusters_patch**](docs/api/ClustersApi.md#clusters_patch) | **PATCH** /clusters/{clusterId} | Patch a cluster
148
+ *ClustersApi* | [**clusters_post**](docs/api/ClustersApi.md#clusters_post) | **POST** /clusters | Create a cluster
149
+ *ClustersApi* | [**clusters_versions_get**](docs/api/ClustersApi.md#clusters_versions_get) | **GET** /clusters/{clusterId}/versions | Supported PostgreSQL versions of cluster
150
+ *ClustersApi* | [**postgres_versions_get**](docs/api/ClustersApi.md#postgres_versions_get) | **GET** /clusters/postgresversions | List all PostgreSQL versions
151
+ *DatabasesApi* | [**databases_delete**](docs/api/DatabasesApi.md#databases_delete) | **DELETE** /clusters/{clusterId}/databases/{databasename} | Delete database
152
+ *DatabasesApi* | [**databases_get**](docs/api/DatabasesApi.md#databases_get) | **GET** /clusters/{clusterId}/databases/{databasename} | Get database
153
+ *DatabasesApi* | [**databases_list**](docs/api/DatabasesApi.md#databases_list) | **GET** /clusters/{clusterId}/databases | List databases
154
+ *DatabasesApi* | [**databases_post**](docs/api/DatabasesApi.md#databases_post) | **POST** /clusters/{clusterId}/databases | Create a database
155
+ *LogsApi* | [**cluster_logs_get**](docs/api/LogsApi.md#cluster_logs_get) | **GET** /clusters/{clusterId}/logs | Get logs of your cluster
156
+ *MetadataApi* | [**infos_version_get**](docs/api/MetadataApi.md#infos_version_get) | **GET** /infos/version | Get the current API version
157
+ *MetadataApi* | [**infos_versions_get**](docs/api/MetadataApi.md#infos_versions_get) | **GET** /infos/versions | Fetch all API versions
158
+ *MetadataApi* | [**versions_get**](docs/api/MetadataApi.md#versions_get) | **GET** /versions | PostgreSQL versions for new clusters
159
+ *RestoresApi* | [**cluster_restore_post**](docs/api/RestoresApi.md#cluster_restore_post) | **POST** /clusters/{clusterId}/restore | In-place restore of a cluster
160
+ *UsersApi* | [**users_delete**](docs/api/UsersApi.md#users_delete) | **DELETE** /clusters/{clusterId}/users/{username} | Delete user
161
+ *UsersApi* | [**users_get**](docs/api/UsersApi.md#users_get) | **GET** /clusters/{clusterId}/users/{username} | Get user
162
+ *UsersApi* | [**users_list**](docs/api/UsersApi.md#users_list) | **GET** /clusters/{clusterId}/users | List users
163
+ *UsersApi* | [**users_patch**](docs/api/UsersApi.md#users_patch) | **PATCH** /clusters/{clusterId}/users/{username} | Patch user
164
+ *UsersApi* | [**users_post**](docs/api/UsersApi.md#users_post) | **POST** /clusters/{clusterId}/users | Create a user
165
+
166
+
167
+ ## Documentation For Models
168
+
169
+ - [APIVersion](docs/models/APIVersion.md)
170
+ - [BackupMetadata](docs/models/BackupMetadata.md)
171
+ - [BackupResponse](docs/models/BackupResponse.md)
172
+ - [ClusterBackup](docs/models/ClusterBackup.md)
173
+ - [ClusterBackupList](docs/models/ClusterBackupList.md)
174
+ - [ClusterList](docs/models/ClusterList.md)
175
+ - [ClusterLogs](docs/models/ClusterLogs.md)
176
+ - [ClusterLogsInstancesInner](docs/models/ClusterLogsInstancesInner.md)
177
+ - [ClusterLogsInstancesInnerMessagesInner](docs/models/ClusterLogsInstancesInnerMessagesInner.md)
178
+ - [ClusterMetadata](docs/models/ClusterMetadata.md)
179
+ - [ClusterProperties](docs/models/ClusterProperties.md)
180
+ - [ClusterResponse](docs/models/ClusterResponse.md)
181
+ - [Connection](docs/models/Connection.md)
182
+ - [ConnectionPooler](docs/models/ConnectionPooler.md)
183
+ - [CreateClusterProperties](docs/models/CreateClusterProperties.md)
184
+ - [CreateClusterRequest](docs/models/CreateClusterRequest.md)
185
+ - [CreateRestoreRequest](docs/models/CreateRestoreRequest.md)
186
+ - [DBUser](docs/models/DBUser.md)
187
+ - [Database](docs/models/Database.md)
188
+ - [DatabaseItems](docs/models/DatabaseItems.md)
189
+ - [DatabaseList](docs/models/DatabaseList.md)
190
+ - [DatabaseProperties](docs/models/DatabaseProperties.md)
191
+ - [DatabaseResource](docs/models/DatabaseResource.md)
192
+ - [DayOfTheWeek](docs/models/DayOfTheWeek.md)
193
+ - [DeprecatedPagination](docs/models/DeprecatedPagination.md)
194
+ - [ErrorMessage](docs/models/ErrorMessage.md)
195
+ - [ErrorResponse](docs/models/ErrorResponse.md)
196
+ - [MaintenanceWindow](docs/models/MaintenanceWindow.md)
197
+ - [Metadata](docs/models/Metadata.md)
198
+ - [Pagination](docs/models/Pagination.md)
199
+ - [PaginationLinks](docs/models/PaginationLinks.md)
200
+ - [PatchClusterProperties](docs/models/PatchClusterProperties.md)
201
+ - [PatchClusterRequest](docs/models/PatchClusterRequest.md)
202
+ - [PatchUserProperties](docs/models/PatchUserProperties.md)
203
+ - [PoolMode](docs/models/PoolMode.md)
204
+ - [PostgresVersionList](docs/models/PostgresVersionList.md)
205
+ - [PostgresVersionListDataInner](docs/models/PostgresVersionListDataInner.md)
206
+ - [Resource](docs/models/Resource.md)
207
+ - [ResourceMetadata](docs/models/ResourceMetadata.md)
208
+ - [ResourceType](docs/models/ResourceType.md)
209
+ - [State](docs/models/State.md)
210
+ - [StorageType](docs/models/StorageType.md)
211
+ - [SynchronizationMode](docs/models/SynchronizationMode.md)
212
+ - [User](docs/models/User.md)
213
+ - [UserItems](docs/models/UserItems.md)
214
+ - [UserList](docs/models/UserList.md)
215
+ - [UserProperties](docs/models/UserProperties.md)
216
+ - [UserResource](docs/models/UserResource.md)
217
+ - [UsersPatchRequest](docs/models/UsersPatchRequest.md)
218
+
219
+
220
+ <a id="documentation-for-authorization"></a>
221
+ ## Documentation For Authorization
222
+
223
+
224
+ Authentication schemes defined for the API:
225
+ <a id="basicAuth"></a>
226
+ ### basicAuth
227
+
228
+ - **Type**: HTTP basic authentication
229
+
230
+ <a id="tokenAuth"></a>
231
+ ### tokenAuth
232
+
233
+ - **Type**: API key
234
+ - **API key parameter name**: Authorization
235
+ - **Location**: HTTP header
236
+
237
+
238
+ ## Author
239
+
240
+
241
+
242
+
243
+
@@ -0,0 +1,217 @@
1
+ # ionoscloud-dbaas-postgres
2
+ An enterprise-grade Database is provided as a Service (DBaaS) solution that
3
+ can be managed through a browser-based \"Data Center Designer\" (DCD) tool or
4
+ via an easy to use API.
5
+
6
+ The API allows you to create additional PostgreSQL database clusters or modify existing
7
+ ones. It is designed to allow users to leverage the same power and
8
+ flexibility found within the DCD visual tool. Both tools are consistent with
9
+ their concepts and lend well to making the experience smooth and intuitive.
10
+
11
+
12
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
13
+
14
+ - API version: 1.0.0
15
+ - Package version: 2.0.0-beta.1
16
+ - Generator version: 7.13.0-SNAPSHOT
17
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
18
+
19
+ ## Requirements.
20
+
21
+ Python 3.9+
22
+
23
+ ## Installation & Usage
24
+ ### pip install
25
+
26
+ If the python package is hosted on a repository, you can install directly using:
27
+
28
+ ```sh
29
+ pip install git+https://github.com/ionos-cloud/sdk-python.git
30
+ ```
31
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/ionos-cloud/sdk-python.git`)
32
+
33
+ Then import the package:
34
+ ```python
35
+ import ionoscloud_dbaas_postgres
36
+ ```
37
+
38
+ ### Setuptools
39
+
40
+ Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
41
+
42
+ ```sh
43
+ python setup.py install --user
44
+ ```
45
+ (or `sudo python setup.py install` to install the package for all users)
46
+
47
+ Then import the package:
48
+ ```python
49
+ import ionoscloud_dbaas_postgres
50
+ ```
51
+
52
+ ### Tests
53
+
54
+ Execute `pytest` to run the tests.
55
+
56
+ ## Getting Started
57
+
58
+ Please follow the [installation procedure](#installation--usage) and then run the following:
59
+
60
+ ```python
61
+
62
+ import ionoscloud_dbaas_postgres
63
+ from ionoscloud_dbaas_postgres.rest import ApiException
64
+ from pprint import pprint
65
+ import os
66
+
67
+ # Defining the host is optional and defaults to https://api.ionos.com/databases/postgresql
68
+ # See configuration.py for a list of all supported configuration parameters.
69
+ configuration = ionoscloud_dbaas_postgres.Configuration(
70
+ host = "https://api.ionos.com/databases/postgresql"
71
+ )
72
+
73
+ # The client must configure the authentication and authorization parameters
74
+ # in accordance with the API server security policy.
75
+ # Examples for each auth method are provided below, use the example that
76
+ # satisfies your auth use case.
77
+
78
+ # Configure HTTP basic authorization: basicAuth
79
+ configuration = ionoscloud_dbaas_postgres.Configuration(
80
+ username = os.environ["USERNAME"],
81
+ password = os.environ["PASSWORD"]
82
+ )
83
+
84
+ # Configure API key authorization: tokenAuth
85
+ configuration.api_key['tokenAuth'] = os.environ["API_KEY"]
86
+
87
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
88
+ # configuration.api_key_prefix['tokenAuth'] = 'Bearer'
89
+
90
+
91
+ # Enter a context with an instance of the API client
92
+ with ionoscloud_dbaas_postgres.ApiClient(configuration) as api_client:
93
+ # Create an instance of the API class
94
+ api_instance = ionoscloud_dbaas_postgres.BackupsApi(api_client)
95
+ cluster_id = '498ae72f-411f-11eb-9d07-046c59cc737e' # str | The unique ID of the cluster.
96
+ limit = 100 # int | The maximum number of elements to return. Use together with 'offset' for pagination. (optional) (default to 100)
97
+ offset = 0 # int | The first element to return. Use together with 'limit' for pagination. (optional) (default to 0)
98
+
99
+ try:
100
+ # List backups of cluster
101
+ api_response = api_instance.cluster_backups_get(cluster_id, limit=limit, offset=offset)
102
+ print("The response of BackupsApi->cluster_backups_get:\n")
103
+ pprint(api_response)
104
+ except ApiException as e:
105
+ print("Exception when calling BackupsApi->cluster_backups_get: %s\n" % e)
106
+
107
+ ```
108
+
109
+ ## Documentation for API Endpoints
110
+
111
+ All URIs are relative to *https://api.ionos.com/databases/postgresql*
112
+
113
+ Class | Method | HTTP request | Description
114
+ ------------ | ------------- | ------------- | -------------
115
+ *BackupsApi* | [**cluster_backups_get**](docs/api/BackupsApi.md#cluster_backups_get) | **GET** /clusters/{clusterId}/backups | List backups of cluster
116
+ *BackupsApi* | [**clusters_backups_find_by_id**](docs/api/BackupsApi.md#clusters_backups_find_by_id) | **GET** /clusters/backups/{backupId} | Fetch a cluster backup
117
+ *BackupsApi* | [**clusters_backups_get**](docs/api/BackupsApi.md#clusters_backups_get) | **GET** /clusters/backups | List cluster backups
118
+ *ClustersApi* | [**cluster_postgres_versions_get**](docs/api/ClustersApi.md#cluster_postgres_versions_get) | **GET** /clusters/{clusterId}/postgresversions | List PostgreSQL versions
119
+ *ClustersApi* | [**clusters_delete**](docs/api/ClustersApi.md#clusters_delete) | **DELETE** /clusters/{clusterId} | Delete a cluster
120
+ *ClustersApi* | [**clusters_find_by_id**](docs/api/ClustersApi.md#clusters_find_by_id) | **GET** /clusters/{clusterId} | Fetch a cluster
121
+ *ClustersApi* | [**clusters_get**](docs/api/ClustersApi.md#clusters_get) | **GET** /clusters | List clusters
122
+ *ClustersApi* | [**clusters_patch**](docs/api/ClustersApi.md#clusters_patch) | **PATCH** /clusters/{clusterId} | Patch a cluster
123
+ *ClustersApi* | [**clusters_post**](docs/api/ClustersApi.md#clusters_post) | **POST** /clusters | Create a cluster
124
+ *ClustersApi* | [**clusters_versions_get**](docs/api/ClustersApi.md#clusters_versions_get) | **GET** /clusters/{clusterId}/versions | Supported PostgreSQL versions of cluster
125
+ *ClustersApi* | [**postgres_versions_get**](docs/api/ClustersApi.md#postgres_versions_get) | **GET** /clusters/postgresversions | List all PostgreSQL versions
126
+ *DatabasesApi* | [**databases_delete**](docs/api/DatabasesApi.md#databases_delete) | **DELETE** /clusters/{clusterId}/databases/{databasename} | Delete database
127
+ *DatabasesApi* | [**databases_get**](docs/api/DatabasesApi.md#databases_get) | **GET** /clusters/{clusterId}/databases/{databasename} | Get database
128
+ *DatabasesApi* | [**databases_list**](docs/api/DatabasesApi.md#databases_list) | **GET** /clusters/{clusterId}/databases | List databases
129
+ *DatabasesApi* | [**databases_post**](docs/api/DatabasesApi.md#databases_post) | **POST** /clusters/{clusterId}/databases | Create a database
130
+ *LogsApi* | [**cluster_logs_get**](docs/api/LogsApi.md#cluster_logs_get) | **GET** /clusters/{clusterId}/logs | Get logs of your cluster
131
+ *MetadataApi* | [**infos_version_get**](docs/api/MetadataApi.md#infos_version_get) | **GET** /infos/version | Get the current API version
132
+ *MetadataApi* | [**infos_versions_get**](docs/api/MetadataApi.md#infos_versions_get) | **GET** /infos/versions | Fetch all API versions
133
+ *MetadataApi* | [**versions_get**](docs/api/MetadataApi.md#versions_get) | **GET** /versions | PostgreSQL versions for new clusters
134
+ *RestoresApi* | [**cluster_restore_post**](docs/api/RestoresApi.md#cluster_restore_post) | **POST** /clusters/{clusterId}/restore | In-place restore of a cluster
135
+ *UsersApi* | [**users_delete**](docs/api/UsersApi.md#users_delete) | **DELETE** /clusters/{clusterId}/users/{username} | Delete user
136
+ *UsersApi* | [**users_get**](docs/api/UsersApi.md#users_get) | **GET** /clusters/{clusterId}/users/{username} | Get user
137
+ *UsersApi* | [**users_list**](docs/api/UsersApi.md#users_list) | **GET** /clusters/{clusterId}/users | List users
138
+ *UsersApi* | [**users_patch**](docs/api/UsersApi.md#users_patch) | **PATCH** /clusters/{clusterId}/users/{username} | Patch user
139
+ *UsersApi* | [**users_post**](docs/api/UsersApi.md#users_post) | **POST** /clusters/{clusterId}/users | Create a user
140
+
141
+
142
+ ## Documentation For Models
143
+
144
+ - [APIVersion](docs/models/APIVersion.md)
145
+ - [BackupMetadata](docs/models/BackupMetadata.md)
146
+ - [BackupResponse](docs/models/BackupResponse.md)
147
+ - [ClusterBackup](docs/models/ClusterBackup.md)
148
+ - [ClusterBackupList](docs/models/ClusterBackupList.md)
149
+ - [ClusterList](docs/models/ClusterList.md)
150
+ - [ClusterLogs](docs/models/ClusterLogs.md)
151
+ - [ClusterLogsInstancesInner](docs/models/ClusterLogsInstancesInner.md)
152
+ - [ClusterLogsInstancesInnerMessagesInner](docs/models/ClusterLogsInstancesInnerMessagesInner.md)
153
+ - [ClusterMetadata](docs/models/ClusterMetadata.md)
154
+ - [ClusterProperties](docs/models/ClusterProperties.md)
155
+ - [ClusterResponse](docs/models/ClusterResponse.md)
156
+ - [Connection](docs/models/Connection.md)
157
+ - [ConnectionPooler](docs/models/ConnectionPooler.md)
158
+ - [CreateClusterProperties](docs/models/CreateClusterProperties.md)
159
+ - [CreateClusterRequest](docs/models/CreateClusterRequest.md)
160
+ - [CreateRestoreRequest](docs/models/CreateRestoreRequest.md)
161
+ - [DBUser](docs/models/DBUser.md)
162
+ - [Database](docs/models/Database.md)
163
+ - [DatabaseItems](docs/models/DatabaseItems.md)
164
+ - [DatabaseList](docs/models/DatabaseList.md)
165
+ - [DatabaseProperties](docs/models/DatabaseProperties.md)
166
+ - [DatabaseResource](docs/models/DatabaseResource.md)
167
+ - [DayOfTheWeek](docs/models/DayOfTheWeek.md)
168
+ - [DeprecatedPagination](docs/models/DeprecatedPagination.md)
169
+ - [ErrorMessage](docs/models/ErrorMessage.md)
170
+ - [ErrorResponse](docs/models/ErrorResponse.md)
171
+ - [MaintenanceWindow](docs/models/MaintenanceWindow.md)
172
+ - [Metadata](docs/models/Metadata.md)
173
+ - [Pagination](docs/models/Pagination.md)
174
+ - [PaginationLinks](docs/models/PaginationLinks.md)
175
+ - [PatchClusterProperties](docs/models/PatchClusterProperties.md)
176
+ - [PatchClusterRequest](docs/models/PatchClusterRequest.md)
177
+ - [PatchUserProperties](docs/models/PatchUserProperties.md)
178
+ - [PoolMode](docs/models/PoolMode.md)
179
+ - [PostgresVersionList](docs/models/PostgresVersionList.md)
180
+ - [PostgresVersionListDataInner](docs/models/PostgresVersionListDataInner.md)
181
+ - [Resource](docs/models/Resource.md)
182
+ - [ResourceMetadata](docs/models/ResourceMetadata.md)
183
+ - [ResourceType](docs/models/ResourceType.md)
184
+ - [State](docs/models/State.md)
185
+ - [StorageType](docs/models/StorageType.md)
186
+ - [SynchronizationMode](docs/models/SynchronizationMode.md)
187
+ - [User](docs/models/User.md)
188
+ - [UserItems](docs/models/UserItems.md)
189
+ - [UserList](docs/models/UserList.md)
190
+ - [UserProperties](docs/models/UserProperties.md)
191
+ - [UserResource](docs/models/UserResource.md)
192
+ - [UsersPatchRequest](docs/models/UsersPatchRequest.md)
193
+
194
+
195
+ <a id="documentation-for-authorization"></a>
196
+ ## Documentation For Authorization
197
+
198
+
199
+ Authentication schemes defined for the API:
200
+ <a id="basicAuth"></a>
201
+ ### basicAuth
202
+
203
+ - **Type**: HTTP basic authentication
204
+
205
+ <a id="tokenAuth"></a>
206
+ ### tokenAuth
207
+
208
+ - **Type**: API key
209
+ - **API key parameter name**: Authorization
210
+ - **Location**: HTTP header
211
+
212
+
213
+ ## Author
214
+
215
+
216
+
217
+
@@ -5,25 +5,28 @@
5
5
  """
6
6
  IONOS DBaaS PostgreSQL REST API
7
7
 
8
- An enterprise-grade Database is provided as a Service (DBaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to create additional PostgreSQL database clusters or modify existing ones. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive. # noqa: E501
8
+ An enterprise-grade Database is provided as a Service (DBaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to create additional PostgreSQL database clusters or modify existing ones. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
9
9
 
10
10
  The version of the OpenAPI document: 1.0.0
11
- Generated by: https://openapi-generator.tech
12
- """
11
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
13
12
 
13
+ Do not edit the class manually.
14
+ """ # noqa: E501
14
15
 
15
- from __future__ import absolute_import
16
16
 
17
- __version__ = "1.1.1"
17
+ __version__ = "2.0.0-beta.1"
18
18
 
19
19
  # import apis into sdk package
20
20
  from ionoscloud_dbaas_postgres.api.backups_api import BackupsApi
21
21
  from ionoscloud_dbaas_postgres.api.clusters_api import ClustersApi
22
+ from ionoscloud_dbaas_postgres.api.databases_api import DatabasesApi
22
23
  from ionoscloud_dbaas_postgres.api.logs_api import LogsApi
23
24
  from ionoscloud_dbaas_postgres.api.metadata_api import MetadataApi
24
25
  from ionoscloud_dbaas_postgres.api.restores_api import RestoresApi
26
+ from ionoscloud_dbaas_postgres.api.users_api import UsersApi
25
27
 
26
28
  # import ApiClient
29
+ from ionoscloud_dbaas_postgres.api_response import ApiResponse
27
30
  from ionoscloud_dbaas_postgres.api_client import ApiClient
28
31
  from ionoscloud_dbaas_postgres.configuration import Configuration
29
32
  from ionoscloud_dbaas_postgres.exceptions import OpenApiException
@@ -32,26 +35,33 @@ from ionoscloud_dbaas_postgres.exceptions import ApiValueError
32
35
  from ionoscloud_dbaas_postgres.exceptions import ApiKeyError
33
36
  from ionoscloud_dbaas_postgres.exceptions import ApiAttributeError
34
37
  from ionoscloud_dbaas_postgres.exceptions import ApiException
38
+
35
39
  # import models into sdk package
36
40
  from ionoscloud_dbaas_postgres.models.api_version import APIVersion
37
41
  from ionoscloud_dbaas_postgres.models.backup_metadata import BackupMetadata
38
42
  from ionoscloud_dbaas_postgres.models.backup_response import BackupResponse
39
43
  from ionoscloud_dbaas_postgres.models.cluster_backup import ClusterBackup
40
44
  from ionoscloud_dbaas_postgres.models.cluster_backup_list import ClusterBackupList
41
- from ionoscloud_dbaas_postgres.models.cluster_backup_list_all_of import ClusterBackupListAllOf
42
45
  from ionoscloud_dbaas_postgres.models.cluster_list import ClusterList
43
- from ionoscloud_dbaas_postgres.models.cluster_list_all_of import ClusterListAllOf
44
46
  from ionoscloud_dbaas_postgres.models.cluster_logs import ClusterLogs
45
- from ionoscloud_dbaas_postgres.models.cluster_logs_instances import ClusterLogsInstances
46
- from ionoscloud_dbaas_postgres.models.cluster_logs_messages import ClusterLogsMessages
47
+ from ionoscloud_dbaas_postgres.models.cluster_logs_instances_inner import ClusterLogsInstancesInner
48
+ from ionoscloud_dbaas_postgres.models.cluster_logs_instances_inner_messages_inner import ClusterLogsInstancesInnerMessagesInner
49
+ from ionoscloud_dbaas_postgres.models.cluster_metadata import ClusterMetadata
47
50
  from ionoscloud_dbaas_postgres.models.cluster_properties import ClusterProperties
48
51
  from ionoscloud_dbaas_postgres.models.cluster_response import ClusterResponse
49
52
  from ionoscloud_dbaas_postgres.models.connection import Connection
53
+ from ionoscloud_dbaas_postgres.models.connection_pooler import ConnectionPooler
50
54
  from ionoscloud_dbaas_postgres.models.create_cluster_properties import CreateClusterProperties
51
55
  from ionoscloud_dbaas_postgres.models.create_cluster_request import CreateClusterRequest
52
56
  from ionoscloud_dbaas_postgres.models.create_restore_request import CreateRestoreRequest
53
57
  from ionoscloud_dbaas_postgres.models.db_user import DBUser
58
+ from ionoscloud_dbaas_postgres.models.database import Database
59
+ from ionoscloud_dbaas_postgres.models.database_items import DatabaseItems
60
+ from ionoscloud_dbaas_postgres.models.database_list import DatabaseList
61
+ from ionoscloud_dbaas_postgres.models.database_properties import DatabaseProperties
62
+ from ionoscloud_dbaas_postgres.models.database_resource import DatabaseResource
54
63
  from ionoscloud_dbaas_postgres.models.day_of_the_week import DayOfTheWeek
64
+ from ionoscloud_dbaas_postgres.models.deprecated_pagination import DeprecatedPagination
55
65
  from ionoscloud_dbaas_postgres.models.error_message import ErrorMessage
56
66
  from ionoscloud_dbaas_postgres.models.error_response import ErrorResponse
57
67
  from ionoscloud_dbaas_postgres.models.maintenance_window import MaintenanceWindow
@@ -60,10 +70,19 @@ from ionoscloud_dbaas_postgres.models.pagination import Pagination
60
70
  from ionoscloud_dbaas_postgres.models.pagination_links import PaginationLinks
61
71
  from ionoscloud_dbaas_postgres.models.patch_cluster_properties import PatchClusterProperties
62
72
  from ionoscloud_dbaas_postgres.models.patch_cluster_request import PatchClusterRequest
73
+ from ionoscloud_dbaas_postgres.models.patch_user_properties import PatchUserProperties
74
+ from ionoscloud_dbaas_postgres.models.pool_mode import PoolMode
63
75
  from ionoscloud_dbaas_postgres.models.postgres_version_list import PostgresVersionList
64
- from ionoscloud_dbaas_postgres.models.postgres_version_list_data import PostgresVersionListData
76
+ from ionoscloud_dbaas_postgres.models.postgres_version_list_data_inner import PostgresVersionListDataInner
77
+ from ionoscloud_dbaas_postgres.models.resource import Resource
78
+ from ionoscloud_dbaas_postgres.models.resource_metadata import ResourceMetadata
65
79
  from ionoscloud_dbaas_postgres.models.resource_type import ResourceType
66
80
  from ionoscloud_dbaas_postgres.models.state import State
67
81
  from ionoscloud_dbaas_postgres.models.storage_type import StorageType
68
82
  from ionoscloud_dbaas_postgres.models.synchronization_mode import SynchronizationMode
69
-
83
+ from ionoscloud_dbaas_postgres.models.user import User
84
+ from ionoscloud_dbaas_postgres.models.user_items import UserItems
85
+ from ionoscloud_dbaas_postgres.models.user_list import UserList
86
+ from ionoscloud_dbaas_postgres.models.user_properties import UserProperties
87
+ from ionoscloud_dbaas_postgres.models.user_resource import UserResource
88
+ from ionoscloud_dbaas_postgres.models.users_patch_request import UsersPatchRequest
@@ -1,10 +1,11 @@
1
- from __future__ import absolute_import
2
-
3
1
  # flake8: noqa
4
2
 
5
3
  # import apis into api package
6
4
  from ionoscloud_dbaas_postgres.api.backups_api import BackupsApi
7
5
  from ionoscloud_dbaas_postgres.api.clusters_api import ClustersApi
6
+ from ionoscloud_dbaas_postgres.api.databases_api import DatabasesApi
8
7
  from ionoscloud_dbaas_postgres.api.logs_api import LogsApi
9
8
  from ionoscloud_dbaas_postgres.api.metadata_api import MetadataApi
10
9
  from ionoscloud_dbaas_postgres.api.restores_api import RestoresApi
10
+ from ionoscloud_dbaas_postgres.api.users_api import UsersApi
11
+