ionoscloud-dbaas-postgres 1.2.0__tar.gz → 3.0.0__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 (142) hide show
  1. ionoscloud_dbaas_postgres-3.0.0/PKG-INFO +244 -0
  2. ionoscloud_dbaas_postgres-3.0.0/README.md +218 -0
  3. {ionoscloud-dbaas-postgres-1.2.0 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/__init__.py +12 -9
  4. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/api/backups_api.py +924 -0
  5. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/api/clusters_api.py +2327 -0
  6. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/api/databases_api.py +1238 -0
  7. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/api/logs_api.py +403 -0
  8. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/api/metadata_api.py +824 -0
  9. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/api/restores_api.py +341 -0
  10. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/api/users_api.py +1576 -0
  11. {ionoscloud-dbaas-postgres-1.2.0 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api_client.py +454 -372
  12. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/api_response.py +21 -0
  13. {ionoscloud-dbaas-postgres-1.2.0 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/configuration.py +263 -117
  14. {ionoscloud-dbaas-postgres-1.2.0 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/exceptions.py +97 -23
  15. {ionoscloud-dbaas-postgres-1.2.0 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/__init__.py +11 -8
  16. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/api_version.py +89 -0
  17. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/backup_metadata.py +91 -0
  18. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/backup_response.py +102 -0
  19. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/cluster_backup.py +100 -0
  20. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/cluster_backup_list.py +111 -0
  21. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/cluster_list.py +111 -0
  22. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/cluster_logs.py +95 -0
  23. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/cluster_logs_instances_inner.py +97 -0
  24. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/cluster_logs_instances_inner_messages_inner.py +90 -0
  25. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/cluster_metadata.py +101 -0
  26. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/cluster_properties.py +132 -0
  27. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/cluster_response.py +102 -0
  28. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/connection.py +91 -0
  29. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/connection_pooler.py +90 -0
  30. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/create_cluster_properties.py +142 -0
  31. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/create_cluster_request.py +97 -0
  32. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/create_restore_request.py +90 -0
  33. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/create_synchronization_mode.py +37 -0
  34. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/database.py +91 -0
  35. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/database_items.py +95 -0
  36. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/database_list.py +113 -0
  37. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/database_properties.py +90 -0
  38. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/database_resource.py +104 -0
  39. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/day_of_the_week.py +42 -0
  40. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/db_user.py +90 -0
  41. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/deprecated_pagination.py +96 -0
  42. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/error_message.py +89 -0
  43. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/error_response.py +97 -0
  44. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/maintenance_window.py +90 -0
  45. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/metadata.py +100 -0
  46. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/pagination.py +96 -0
  47. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/pagination_links.py +94 -0
  48. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/patch_cluster_properties.py +123 -0
  49. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/patch_cluster_request.py +97 -0
  50. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/patch_user_properties.py +88 -0
  51. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/pool_mode.py +37 -0
  52. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/postgres_version_list.py +95 -0
  53. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/postgres_version_list_data_inner.py +87 -0
  54. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/resource.py +92 -0
  55. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/resource_metadata.py +91 -0
  56. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/resource_type.py +40 -0
  57. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/state.py +41 -0
  58. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/storage_type.py +39 -0
  59. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/synchronization_mode.py +38 -0
  60. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/user.py +91 -0
  61. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/user_items.py +95 -0
  62. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/user_list.py +113 -0
  63. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/user_properties.py +93 -0
  64. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/user_resource.py +104 -0
  65. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/users_patch_request.py +91 -0
  66. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/py.typed +0 -0
  67. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/rest.py +286 -0
  68. ionoscloud_dbaas_postgres-3.0.0/pyproject.toml +89 -0
  69. ionoscloud-dbaas-postgres-1.2.0/PKG-INFO +0 -253
  70. ionoscloud-dbaas-postgres-1.2.0/README.md +0 -232
  71. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/api/backups_api.py +0 -454
  72. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/api/clusters_api.py +0 -999
  73. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/api/databases_api.py +0 -633
  74. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/api/logs_api.py +0 -187
  75. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/api/metadata_api.py +0 -270
  76. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/api/restores_api.py +0 -170
  77. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/api/users_api.py +0 -809
  78. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/api_response.py +0 -25
  79. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/api_version.py +0 -150
  80. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/backup_location.py +0 -101
  81. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/backup_metadata.py +0 -152
  82. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/backup_response.py +0 -208
  83. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_backup.py +0 -304
  84. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_backup_list.py +0 -277
  85. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_backup_list_all_of.py +0 -180
  86. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_list.py +0 -277
  87. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_list_all_of.py +0 -180
  88. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_logs.py +0 -122
  89. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_logs_instances.py +0 -152
  90. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_logs_instances_messages.py +0 -150
  91. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_logs_messages.py +0 -150
  92. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_metadata.py +0 -294
  93. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_properties.py +0 -500
  94. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/cluster_response.py +0 -208
  95. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/connection.py +0 -187
  96. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/create_cluster_properties.py +0 -537
  97. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/create_cluster_request.py +0 -150
  98. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/create_restore_request.py +0 -155
  99. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/database.py +0 -123
  100. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/database_items.py +0 -123
  101. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/database_list.py +0 -311
  102. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/database_properties.py +0 -168
  103. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/database_resource.py +0 -242
  104. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/day_of_the_week.py +0 -105
  105. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/db_user.py +0 -157
  106. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/deprecated_pagination.py +0 -191
  107. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/error_message.py +0 -154
  108. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/error_response.py +0 -152
  109. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/location.py +0 -104
  110. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/maintenance_window.py +0 -154
  111. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/metadata.py +0 -304
  112. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/pagination.py +0 -191
  113. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/pagination_links.py +0 -184
  114. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/patch_cluster_properties.py +0 -354
  115. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/patch_cluster_request.py +0 -150
  116. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/patch_user_properties.py +0 -130
  117. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/postgres_version_list.py +0 -122
  118. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/postgres_version_list_data.py +0 -122
  119. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/resource.py +0 -185
  120. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/resource_metadata.py +0 -122
  121. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/resource_type.py +0 -103
  122. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/state.py +0 -104
  123. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/storage_type.py +0 -102
  124. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/synchronization_mode.py +0 -101
  125. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/user.py +0 -123
  126. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/user_items.py +0 -123
  127. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/user_list.py +0 -311
  128. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/user_properties.py +0 -197
  129. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/user_resource.py +0 -242
  130. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/models/users_patch_request.py +0 -123
  131. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/rest.py +0 -322
  132. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres/test-driver.py +0 -97
  133. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres.egg-info/PKG-INFO +0 -253
  134. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres.egg-info/SOURCES.txt +0 -78
  135. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres.egg-info/dependency_links.txt +0 -1
  136. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres.egg-info/requires.txt +0 -5
  137. ionoscloud-dbaas-postgres-1.2.0/ionoscloud_dbaas_postgres.egg-info/top_level.txt +0 -1
  138. ionoscloud-dbaas-postgres-1.2.0/pyproject.toml +0 -30
  139. ionoscloud-dbaas-postgres-1.2.0/setup.cfg +0 -7
  140. ionoscloud-dbaas-postgres-1.2.0/setup.py +0 -62
  141. {ionoscloud-dbaas-postgres-1.2.0 → ionoscloud_dbaas_postgres-3.0.0}/LICENSE +0 -0
  142. {ionoscloud-dbaas-postgres-1.2.0 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api/__init__.py +0 -0
@@ -0,0 +1,244 @@
1
+ Metadata-Version: 2.4
2
+ Name: ionoscloud_dbaas_postgres
3
+ Version: 3.0.0
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: 3.0.0
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
+ - [CreateSynchronizationMode](docs/models/CreateSynchronizationMode.md)
187
+ - [DBUser](docs/models/DBUser.md)
188
+ - [Database](docs/models/Database.md)
189
+ - [DatabaseItems](docs/models/DatabaseItems.md)
190
+ - [DatabaseList](docs/models/DatabaseList.md)
191
+ - [DatabaseProperties](docs/models/DatabaseProperties.md)
192
+ - [DatabaseResource](docs/models/DatabaseResource.md)
193
+ - [DayOfTheWeek](docs/models/DayOfTheWeek.md)
194
+ - [DeprecatedPagination](docs/models/DeprecatedPagination.md)
195
+ - [ErrorMessage](docs/models/ErrorMessage.md)
196
+ - [ErrorResponse](docs/models/ErrorResponse.md)
197
+ - [MaintenanceWindow](docs/models/MaintenanceWindow.md)
198
+ - [Metadata](docs/models/Metadata.md)
199
+ - [Pagination](docs/models/Pagination.md)
200
+ - [PaginationLinks](docs/models/PaginationLinks.md)
201
+ - [PatchClusterProperties](docs/models/PatchClusterProperties.md)
202
+ - [PatchClusterRequest](docs/models/PatchClusterRequest.md)
203
+ - [PatchUserProperties](docs/models/PatchUserProperties.md)
204
+ - [PoolMode](docs/models/PoolMode.md)
205
+ - [PostgresVersionList](docs/models/PostgresVersionList.md)
206
+ - [PostgresVersionListDataInner](docs/models/PostgresVersionListDataInner.md)
207
+ - [Resource](docs/models/Resource.md)
208
+ - [ResourceMetadata](docs/models/ResourceMetadata.md)
209
+ - [ResourceType](docs/models/ResourceType.md)
210
+ - [State](docs/models/State.md)
211
+ - [StorageType](docs/models/StorageType.md)
212
+ - [SynchronizationMode](docs/models/SynchronizationMode.md)
213
+ - [User](docs/models/User.md)
214
+ - [UserItems](docs/models/UserItems.md)
215
+ - [UserList](docs/models/UserList.md)
216
+ - [UserProperties](docs/models/UserProperties.md)
217
+ - [UserResource](docs/models/UserResource.md)
218
+ - [UsersPatchRequest](docs/models/UsersPatchRequest.md)
219
+
220
+
221
+ <a id="documentation-for-authorization"></a>
222
+ ## Documentation For Authorization
223
+
224
+
225
+ Authentication schemes defined for the API:
226
+ <a id="basicAuth"></a>
227
+ ### basicAuth
228
+
229
+ - **Type**: HTTP basic authentication
230
+
231
+ <a id="tokenAuth"></a>
232
+ ### tokenAuth
233
+
234
+ - **Type**: API key
235
+ - **API key parameter name**: Authorization
236
+ - **Location**: HTTP header
237
+
238
+
239
+ ## Author
240
+
241
+
242
+
243
+
244
+
@@ -0,0 +1,218 @@
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: 3.0.0
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
+ - [CreateSynchronizationMode](docs/models/CreateSynchronizationMode.md)
162
+ - [DBUser](docs/models/DBUser.md)
163
+ - [Database](docs/models/Database.md)
164
+ - [DatabaseItems](docs/models/DatabaseItems.md)
165
+ - [DatabaseList](docs/models/DatabaseList.md)
166
+ - [DatabaseProperties](docs/models/DatabaseProperties.md)
167
+ - [DatabaseResource](docs/models/DatabaseResource.md)
168
+ - [DayOfTheWeek](docs/models/DayOfTheWeek.md)
169
+ - [DeprecatedPagination](docs/models/DeprecatedPagination.md)
170
+ - [ErrorMessage](docs/models/ErrorMessage.md)
171
+ - [ErrorResponse](docs/models/ErrorResponse.md)
172
+ - [MaintenanceWindow](docs/models/MaintenanceWindow.md)
173
+ - [Metadata](docs/models/Metadata.md)
174
+ - [Pagination](docs/models/Pagination.md)
175
+ - [PaginationLinks](docs/models/PaginationLinks.md)
176
+ - [PatchClusterProperties](docs/models/PatchClusterProperties.md)
177
+ - [PatchClusterRequest](docs/models/PatchClusterRequest.md)
178
+ - [PatchUserProperties](docs/models/PatchUserProperties.md)
179
+ - [PoolMode](docs/models/PoolMode.md)
180
+ - [PostgresVersionList](docs/models/PostgresVersionList.md)
181
+ - [PostgresVersionListDataInner](docs/models/PostgresVersionListDataInner.md)
182
+ - [Resource](docs/models/Resource.md)
183
+ - [ResourceMetadata](docs/models/ResourceMetadata.md)
184
+ - [ResourceType](docs/models/ResourceType.md)
185
+ - [State](docs/models/State.md)
186
+ - [StorageType](docs/models/StorageType.md)
187
+ - [SynchronizationMode](docs/models/SynchronizationMode.md)
188
+ - [User](docs/models/User.md)
189
+ - [UserItems](docs/models/UserItems.md)
190
+ - [UserList](docs/models/UserList.md)
191
+ - [UserProperties](docs/models/UserProperties.md)
192
+ - [UserResource](docs/models/UserResource.md)
193
+ - [UsersPatchRequest](docs/models/UsersPatchRequest.md)
194
+
195
+
196
+ <a id="documentation-for-authorization"></a>
197
+ ## Documentation For Authorization
198
+
199
+
200
+ Authentication schemes defined for the API:
201
+ <a id="basicAuth"></a>
202
+ ### basicAuth
203
+
204
+ - **Type**: HTTP basic authentication
205
+
206
+ <a id="tokenAuth"></a>
207
+ ### tokenAuth
208
+
209
+ - **Type**: API key
210
+ - **API key parameter name**: Authorization
211
+ - **Location**: HTTP header
212
+
213
+
214
+ ## Author
215
+
216
+
217
+
218
+
@@ -5,14 +5,16 @@
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)
12
+
13
+ Do not edit the class manually.
14
+ """ # noqa: E501
13
15
 
14
16
 
15
- __version__ = "1.2.0"
17
+ __version__ = "3.0.0"
16
18
 
17
19
  # import apis into sdk package
18
20
  from ionoscloud_dbaas_postgres.api.backups_api import BackupsApi
@@ -40,19 +42,19 @@ from ionoscloud_dbaas_postgres.models.backup_metadata import BackupMetadata
40
42
  from ionoscloud_dbaas_postgres.models.backup_response import BackupResponse
41
43
  from ionoscloud_dbaas_postgres.models.cluster_backup import ClusterBackup
42
44
  from ionoscloud_dbaas_postgres.models.cluster_backup_list import ClusterBackupList
43
- from ionoscloud_dbaas_postgres.models.cluster_backup_list_all_of import ClusterBackupListAllOf
44
45
  from ionoscloud_dbaas_postgres.models.cluster_list import ClusterList
45
- from ionoscloud_dbaas_postgres.models.cluster_list_all_of import ClusterListAllOf
46
46
  from ionoscloud_dbaas_postgres.models.cluster_logs import ClusterLogs
47
- from ionoscloud_dbaas_postgres.models.cluster_logs_instances import ClusterLogsInstances
48
- from ionoscloud_dbaas_postgres.models.cluster_logs_instances_messages import ClusterLogsInstancesMessages
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
49
  from ionoscloud_dbaas_postgres.models.cluster_metadata import ClusterMetadata
50
50
  from ionoscloud_dbaas_postgres.models.cluster_properties import ClusterProperties
51
51
  from ionoscloud_dbaas_postgres.models.cluster_response import ClusterResponse
52
52
  from ionoscloud_dbaas_postgres.models.connection import Connection
53
+ from ionoscloud_dbaas_postgres.models.connection_pooler import ConnectionPooler
53
54
  from ionoscloud_dbaas_postgres.models.create_cluster_properties import CreateClusterProperties
54
55
  from ionoscloud_dbaas_postgres.models.create_cluster_request import CreateClusterRequest
55
56
  from ionoscloud_dbaas_postgres.models.create_restore_request import CreateRestoreRequest
57
+ from ionoscloud_dbaas_postgres.models.create_synchronization_mode import CreateSynchronizationMode
56
58
  from ionoscloud_dbaas_postgres.models.db_user import DBUser
57
59
  from ionoscloud_dbaas_postgres.models.database import Database
58
60
  from ionoscloud_dbaas_postgres.models.database_items import DatabaseItems
@@ -70,8 +72,9 @@ from ionoscloud_dbaas_postgres.models.pagination_links import PaginationLinks
70
72
  from ionoscloud_dbaas_postgres.models.patch_cluster_properties import PatchClusterProperties
71
73
  from ionoscloud_dbaas_postgres.models.patch_cluster_request import PatchClusterRequest
72
74
  from ionoscloud_dbaas_postgres.models.patch_user_properties import PatchUserProperties
75
+ from ionoscloud_dbaas_postgres.models.pool_mode import PoolMode
73
76
  from ionoscloud_dbaas_postgres.models.postgres_version_list import PostgresVersionList
74
- from ionoscloud_dbaas_postgres.models.postgres_version_list_data import PostgresVersionListData
77
+ from ionoscloud_dbaas_postgres.models.postgres_version_list_data_inner import PostgresVersionListDataInner
75
78
  from ionoscloud_dbaas_postgres.models.resource import Resource
76
79
  from ionoscloud_dbaas_postgres.models.resource_metadata import ResourceMetadata
77
80
  from ionoscloud_dbaas_postgres.models.resource_type import ResourceType