ionoscloud-dbaas-postgres 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/docs/CHANGELOG.md +26 -0
- data/docs/api/BackupsApi.md +3 -3
- data/docs/api/ClustersApi.md +10 -10
- data/docs/api/LogsApi.md +1 -1
- data/docs/api/MetadataApi.md +2 -2
- data/docs/api/RestoresApi.md +1 -1
- data/docs/models/ClusterBackup.md +5 -1
- data/docs/models/ClusterProperties.md +2 -0
- data/docs/models/DBUser.md +2 -2
- data/docs/models/ErrorResponse.md +1 -1
- data/docs/models/MaintenanceWindow.md +1 -1
- data/ionoscloud-dbaas-postgres.gemspec +5 -5
- data/lib/ionoscloud-dbaas-postgres/api/backups_api.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/api/clusters_api.rb +5 -5
- data/lib/ionoscloud-dbaas-postgres/api/logs_api.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/api/metadata_api.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/api/restores_api.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/api_client.rb +4 -4
- data/lib/ionoscloud-dbaas-postgres/api_error.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/configuration.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/models/api_version.rb +21 -5
- data/lib/ionoscloud-dbaas-postgres/models/backup_metadata.rb +21 -5
- data/lib/ionoscloud-dbaas-postgres/models/backup_response.rb +40 -8
- data/lib/ionoscloud-dbaas-postgres/models/cluster_backup.rb +88 -12
- data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list.rb +58 -10
- data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list_all_of.rb +30 -6
- data/lib/ionoscloud-dbaas-postgres/models/cluster_list.rb +58 -10
- data/lib/ionoscloud-dbaas-postgres/models/cluster_list_all_of.rb +30 -6
- data/lib/ionoscloud-dbaas-postgres/models/cluster_logs.rb +12 -4
- data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_instances.rb +21 -5
- data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_messages.rb +21 -5
- data/lib/ionoscloud-dbaas-postgres/models/cluster_properties.rb +131 -17
- data/lib/ionoscloud-dbaas-postgres/models/cluster_response.rb +40 -8
- data/lib/ionoscloud-dbaas-postgres/models/connection.rb +30 -6
- data/lib/ionoscloud-dbaas-postgres/models/create_cluster_properties.rb +129 -17
- data/lib/ionoscloud-dbaas-postgres/models/create_cluster_request.rb +21 -5
- data/lib/ionoscloud-dbaas-postgres/models/create_restore_request.rb +21 -5
- data/lib/ionoscloud-dbaas-postgres/models/day_of_the_week.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/models/db_user.rb +41 -6
- data/lib/ionoscloud-dbaas-postgres/models/error_message.rb +21 -5
- data/lib/ionoscloud-dbaas-postgres/models/error_response.rb +22 -6
- data/lib/ionoscloud-dbaas-postgres/models/maintenance_window.rb +23 -6
- data/lib/ionoscloud-dbaas-postgres/models/metadata.rb +67 -11
- data/lib/ionoscloud-dbaas-postgres/models/pagination.rb +30 -6
- data/lib/ionoscloud-dbaas-postgres/models/pagination_links.rb +30 -6
- data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_properties.rb +76 -12
- data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_request.rb +22 -6
- data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list.rb +13 -5
- data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list_data.rb +12 -4
- data/lib/ionoscloud-dbaas-postgres/models/resource_type.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/models/state.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/models/storage_type.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/models/synchronization_mode.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/version.rb +4 -4
- data/lib/ionoscloud-dbaas-postgres.rb +3 -3
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38276bb6aaaf15e365e19011ac71078f468644cf15d8fdccce30d047ba1ddb54
|
4
|
+
data.tar.gz: 3fe1ccb70b1e463f93086e76fb042221c24b1d86832641327e37f07a1ae9dcfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07afe0a530c811d45f4b4aac4650a619587ba6d5b82af8385066e408f1def9ec246c164d9638084227bcc112dd7e7d75edfa6f640252807d25d16cab178e5ef6
|
7
|
+
data.tar.gz: f8c8d7b0db47fcaf6900404c89a884a3173c086244a5baa3f506c72e051a9670d1795a3ae5f4ce7a42bffab60e3c6f024dbe7d719a19eaf9b278f7ddaaea922d
|
data/Gemfile.lock
CHANGED
data/docs/CHANGELOG.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## 1.0.3 \(July, 2022\)
|
4
|
+
|
5
|
+
### Features
|
6
|
+
* Added size and location to ClusterBackup
|
7
|
+
|
8
|
+
## 1.0.2 \(May 12th, 2022\)
|
9
|
+
|
10
|
+
### Enhancements:
|
11
|
+
|
12
|
+
* added Storage Types 'SSD_STANDARD' and 'SSD_PREMIUM'
|
13
|
+
* backup_location and location are now strings, descriptions updated
|
14
|
+
|
15
|
+
|
16
|
+
## 1.0.1 \(March 28th, 2022\)
|
17
|
+
|
18
|
+
### Enhancements:
|
19
|
+
|
20
|
+
* added **new property** `backup_location` on `CreateClusterProperties` structure
|
21
|
+
* added **new query parameter** `direction` for `cluster_logs_get` method
|
22
|
+
|
23
|
+
|
24
|
+
## 1.0.0 \(January 12th, 2022\)
|
25
|
+
|
26
|
+
* First stable release
|
data/docs/api/BackupsApi.md
CHANGED
@@ -72,7 +72,7 @@ end
|
|
72
72
|
|
73
73
|
### Return type
|
74
74
|
|
75
|
-
[**ClusterBackupList**](ClusterBackupList.md)
|
75
|
+
[**ClusterBackupList**](../models/ClusterBackupList.md)
|
76
76
|
|
77
77
|
### Authorization
|
78
78
|
|
@@ -147,7 +147,7 @@ end
|
|
147
147
|
|
148
148
|
### Return type
|
149
149
|
|
150
|
-
[**BackupResponse**](BackupResponse.md)
|
150
|
+
[**BackupResponse**](../models/BackupResponse.md)
|
151
151
|
|
152
152
|
### Authorization
|
153
153
|
|
@@ -219,7 +219,7 @@ This endpoint does not need any parameter.
|
|
219
219
|
|
220
220
|
### Return type
|
221
221
|
|
222
|
-
[**ClusterBackupList**](ClusterBackupList.md)
|
222
|
+
[**ClusterBackupList**](../models/ClusterBackupList.md)
|
223
223
|
|
224
224
|
### Authorization
|
225
225
|
|
data/docs/api/ClustersApi.md
CHANGED
@@ -76,7 +76,7 @@ end
|
|
76
76
|
|
77
77
|
### Return type
|
78
78
|
|
79
|
-
[**PostgresVersionList**](PostgresVersionList.md)
|
79
|
+
[**PostgresVersionList**](../models/PostgresVersionList.md)
|
80
80
|
|
81
81
|
### Authorization
|
82
82
|
|
@@ -151,7 +151,7 @@ end
|
|
151
151
|
|
152
152
|
### Return type
|
153
153
|
|
154
|
-
[**ClusterResponse**](ClusterResponse.md)
|
154
|
+
[**ClusterResponse**](../models/ClusterResponse.md)
|
155
155
|
|
156
156
|
### Authorization
|
157
157
|
|
@@ -226,7 +226,7 @@ end
|
|
226
226
|
|
227
227
|
### Return type
|
228
228
|
|
229
|
-
[**ClusterResponse**](ClusterResponse.md)
|
229
|
+
[**ClusterResponse**](../models/ClusterResponse.md)
|
230
230
|
|
231
231
|
### Authorization
|
232
232
|
|
@@ -303,7 +303,7 @@ end
|
|
303
303
|
|
304
304
|
### Return type
|
305
305
|
|
306
|
-
[**ClusterList**](ClusterList.md)
|
306
|
+
[**ClusterList**](../models/ClusterList.md)
|
307
307
|
|
308
308
|
### Authorization
|
309
309
|
|
@@ -342,7 +342,7 @@ end
|
|
342
342
|
|
343
343
|
api_instance = IonoscloudDbaasPostgres::ClustersApi.new
|
344
344
|
cluster_id = 'cluster_id_example' # String | The unique ID of the cluster.
|
345
|
-
patch_cluster_request = IonoscloudDbaasPostgres::PatchClusterRequest.new # PatchClusterRequest |
|
345
|
+
patch_cluster_request = IonoscloudDbaasPostgres::PatchClusterRequest.new # PatchClusterRequest | Part of the cluster which should be modified.
|
346
346
|
|
347
347
|
begin
|
348
348
|
# Patch a cluster
|
@@ -376,11 +376,11 @@ end
|
|
376
376
|
| Name | Type | Description | Notes |
|
377
377
|
| ---- | ---- | ----------- | ----- |
|
378
378
|
| **cluster_id** | **String** | The unique ID of the cluster. | |
|
379
|
-
| **patch_cluster_request** | [**PatchClusterRequest**](PatchClusterRequest.md) |
|
379
|
+
| **patch_cluster_request** | [**PatchClusterRequest**](../models/PatchClusterRequest.md) | Part of the cluster which should be modified. | |
|
380
380
|
|
381
381
|
### Return type
|
382
382
|
|
383
|
-
[**ClusterResponse**](ClusterResponse.md)
|
383
|
+
[**ClusterResponse**](../models/ClusterResponse.md)
|
384
384
|
|
385
385
|
### Authorization
|
386
386
|
|
@@ -451,11 +451,11 @@ end
|
|
451
451
|
|
452
452
|
| Name | Type | Description | Notes |
|
453
453
|
| ---- | ---- | ----------- | ----- |
|
454
|
-
| **create_cluster_request** | [**CreateClusterRequest**](CreateClusterRequest.md) | The cluster to be created. | |
|
454
|
+
| **create_cluster_request** | [**CreateClusterRequest**](../models/CreateClusterRequest.md) | The cluster to be created. | |
|
455
455
|
|
456
456
|
### Return type
|
457
457
|
|
458
|
-
[**ClusterResponse**](ClusterResponse.md)
|
458
|
+
[**ClusterResponse**](../models/ClusterResponse.md)
|
459
459
|
|
460
460
|
### Authorization
|
461
461
|
|
@@ -527,7 +527,7 @@ This endpoint does not need any parameter.
|
|
527
527
|
|
528
528
|
### Return type
|
529
529
|
|
530
|
-
[**PostgresVersionList**](PostgresVersionList.md)
|
530
|
+
[**PostgresVersionList**](../models/PostgresVersionList.md)
|
531
531
|
|
532
532
|
### Authorization
|
533
533
|
|
data/docs/api/LogsApi.md
CHANGED
data/docs/api/MetadataApi.md
CHANGED
@@ -68,7 +68,7 @@ This endpoint does not need any parameter.
|
|
68
68
|
|
69
69
|
### Return type
|
70
70
|
|
71
|
-
[**APIVersion**](APIVersion.md)
|
71
|
+
[**APIVersion**](../models/APIVersion.md)
|
72
72
|
|
73
73
|
### Authorization
|
74
74
|
|
@@ -140,7 +140,7 @@ This endpoint does not need any parameter.
|
|
140
140
|
|
141
141
|
### Return type
|
142
142
|
|
143
|
-
[**Array<APIVersion>**](APIVersion.md)
|
143
|
+
[**Array<APIVersion>**](../models/APIVersion.md)
|
144
144
|
|
145
145
|
### Authorization
|
146
146
|
|
data/docs/api/RestoresApi.md
CHANGED
@@ -67,7 +67,7 @@ end
|
|
67
67
|
| Name | Type | Description | Notes |
|
68
68
|
| ---- | ---- | ----------- | ----- |
|
69
69
|
| **cluster_id** | **String** | The unique ID of the cluster. | |
|
70
|
-
| **create_restore_request** | [**CreateRestoreRequest**](CreateRestoreRequest.md) | The restore request to create. | |
|
70
|
+
| **create_restore_request** | [**CreateRestoreRequest**](../models/CreateRestoreRequest.md) | The restore request to create. | |
|
71
71
|
|
72
72
|
### Return type
|
73
73
|
|
@@ -9,6 +9,8 @@
|
|
9
9
|
| **version** | **String** | The PostgreSQL version this backup was created from. | [optional] |
|
10
10
|
| **is_active** | **Boolean** | Whether a cluster currently backs up data to this backup. | [optional] |
|
11
11
|
| **earliest_recovery_target_time** | **Time** | The oldest available timestamp to which you can restore. | [optional] |
|
12
|
+
| **size** | **Integer** | Size of all base backups including the wal size in MB. | [optional] |
|
13
|
+
| **location** | **String** | The S3 location where the backups will be stored. | [optional] |
|
12
14
|
|
13
15
|
## Example
|
14
16
|
|
@@ -20,7 +22,9 @@ instance = IonoscloudDbaasPostgres::ClusterBackup.new(
|
|
20
22
|
cluster_id: 498ae72f-411f-11eb-9d07-046c59cc737e,
|
21
23
|
version: 12,
|
22
24
|
is_active: true,
|
23
|
-
earliest_recovery_target_time: 2021-10-23T01:21:10Z
|
25
|
+
earliest_recovery_target_time: 2021-10-23T01:21:10Z,
|
26
|
+
size: 2052,
|
27
|
+
location: de
|
24
28
|
)
|
25
29
|
```
|
26
30
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **display_name** | **String** | The friendly name of your cluster. | [optional] |
|
8
8
|
| **postgres_version** | **String** | The PostgreSQL version of your cluster. | [optional] |
|
9
9
|
| **location** | **String** | The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. | [optional] |
|
10
|
+
| **dns_name** | **String** | The DNS name pointing to your cluster. | [optional] |
|
10
11
|
| **backup_location** | **String** | The S3 location where the backups will be stored. | [optional] |
|
11
12
|
| **instances** | **Integer** | The total number of instances in the cluster (one master and n-1 standbys). | [optional] |
|
12
13
|
| **ram** | **Integer** | The amount of memory per instance in megabytes. Has to be a multiple of 1024. | [optional] |
|
@@ -26,6 +27,7 @@ instance = IonoscloudDbaasPostgres::ClusterProperties.new(
|
|
26
27
|
display_name: PostgreSQL cluster,
|
27
28
|
postgres_version: 13,
|
28
29
|
location: de/fra,
|
30
|
+
dns_name: pg.example.com,
|
29
31
|
backup_location: de,
|
30
32
|
instances: 2,
|
31
33
|
ram: 2048,
|
data/docs/models/DBUser.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **username** | **String** | The username for the initial
|
7
|
+
| **username** | **String** | The username for the initial PostgreSQL user. Some system usernames are restricted (e.g. \"postgres\", \"admin\", \"standby\"). | |
|
8
8
|
| **password** | **String** | | |
|
9
9
|
|
10
10
|
## Example
|
@@ -14,7 +14,7 @@ require 'ionoscloud-dbaas-postgres'
|
|
14
14
|
|
15
15
|
instance = IonoscloudDbaasPostgres::DBUser.new(
|
16
16
|
username: db-admin,
|
17
|
-
password:
|
17
|
+
password: password123
|
18
18
|
)
|
19
19
|
```
|
20
20
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **http_status** | **Integer** | HTTP status code of the operation | [optional] |
|
7
|
+
| **http_status** | **Integer** | The HTTP status code of the operation. | [optional] |
|
8
8
|
| **messages** | [**Array<ErrorMessage>**](ErrorMessage.md) | | [optional] |
|
9
9
|
|
10
10
|
## Example
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **time** | **String** |
|
7
|
+
| **time** | **String** | Start of the maintenance window in UTC time. | |
|
8
8
|
| **day_of_the_week** | [**DayOfTheWeek**](DayOfTheWeek.md) | | |
|
9
9
|
|
10
10
|
## Example
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
=begin
|
4
|
-
#IONOS DBaaS REST API
|
4
|
+
#IONOS DBaaS PostgreSQL REST API
|
5
5
|
|
6
|
-
#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 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.
|
6
|
+
#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.
|
7
7
|
|
8
|
-
The version of the OpenAPI document:
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
9
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -22,8 +22,8 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.authors = ["OpenAPI-Generator"]
|
23
23
|
s.email = [""]
|
24
24
|
s.homepage = "https://openapi-generator.tech"
|
25
|
-
s.summary = "IONOS DBaaS REST API Ruby Gem"
|
26
|
-
s.description = "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 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. "
|
25
|
+
s.summary = "IONOS DBaaS PostgreSQL REST API Ruby Gem"
|
26
|
+
s.description = "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. "
|
27
27
|
s.license = "Unlicense"
|
28
28
|
s.required_ruby_version = ">= 2.4"
|
29
29
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#IONOS DBaaS REST API
|
2
|
+
#IONOS DBaaS PostgreSQL REST API
|
3
3
|
|
4
|
-
#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 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.
|
4
|
+
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#IONOS DBaaS REST API
|
2
|
+
#IONOS DBaaS PostgreSQL REST API
|
3
3
|
|
4
|
-
#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 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.
|
4
|
+
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -271,7 +271,7 @@ module IonoscloudDbaasPostgres
|
|
271
271
|
# Patch a cluster
|
272
272
|
# Patch attributes of a PostgreSQL cluster.
|
273
273
|
# @param cluster_id [String] The unique ID of the cluster.
|
274
|
-
# @param patch_cluster_request [PatchClusterRequest]
|
274
|
+
# @param patch_cluster_request [PatchClusterRequest] Part of the cluster which should be modified.
|
275
275
|
# @param [Hash] opts the optional parameters
|
276
276
|
# @return [ClusterResponse]
|
277
277
|
def clusters_patch(cluster_id, patch_cluster_request, opts = {})
|
@@ -282,7 +282,7 @@ module IonoscloudDbaasPostgres
|
|
282
282
|
# Patch a cluster
|
283
283
|
# Patch attributes of a PostgreSQL cluster.
|
284
284
|
# @param cluster_id [String] The unique ID of the cluster.
|
285
|
-
# @param patch_cluster_request [PatchClusterRequest]
|
285
|
+
# @param patch_cluster_request [PatchClusterRequest] Part of the cluster which should be modified.
|
286
286
|
# @param [Hash] opts the optional parameters
|
287
287
|
# @return [Array<(ClusterResponse, Integer, Hash)>] ClusterResponse data, response status code and response headers
|
288
288
|
def clusters_patch_with_http_info(cluster_id, patch_cluster_request, opts = {})
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#IONOS DBaaS REST API
|
2
|
+
#IONOS DBaaS PostgreSQL REST API
|
3
3
|
|
4
|
-
#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 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.
|
4
|
+
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#IONOS DBaaS REST API
|
2
|
+
#IONOS DBaaS PostgreSQL REST API
|
3
3
|
|
4
|
-
#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 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.
|
4
|
+
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#IONOS DBaaS REST API
|
2
|
+
#IONOS DBaaS PostgreSQL REST API
|
3
3
|
|
4
|
-
#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 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.
|
4
|
+
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#IONOS DBaaS REST API
|
2
|
+
#IONOS DBaaS PostgreSQL REST API
|
3
3
|
|
4
|
-
#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 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.
|
4
|
+
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -38,7 +38,7 @@ module IonoscloudDbaasPostgres
|
|
38
38
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
39
39
|
def initialize(config = Configuration.default)
|
40
40
|
@config = config
|
41
|
-
@user_agent = "sdk-ruby-dbaas-postgres/v1.0
|
41
|
+
@user_agent = "sdk-ruby-dbaas-postgres/v1.1.0"
|
42
42
|
@default_headers = {
|
43
43
|
'Content-Type' => 'application/json',
|
44
44
|
'User-Agent' => @user_agent
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#IONOS DBaaS REST API
|
2
|
+
#IONOS DBaaS PostgreSQL REST API
|
3
3
|
|
4
|
-
#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 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.
|
4
|
+
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#IONOS DBaaS REST API
|
2
|
+
#IONOS DBaaS PostgreSQL REST API
|
3
3
|
|
4
|
-
#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 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.
|
4
|
+
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#IONOS DBaaS REST API
|
2
|
+
#IONOS DBaaS PostgreSQL REST API
|
3
3
|
|
4
|
-
#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 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.
|
4
|
+
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -15,14 +15,18 @@ require 'time'
|
|
15
15
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
17
|
class APIVersion
|
18
|
+
|
18
19
|
attr_accessor :name
|
19
20
|
|
21
|
+
|
20
22
|
attr_accessor :swagger_url
|
21
23
|
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
25
|
def self.attribute_map
|
24
26
|
{
|
27
|
+
|
25
28
|
:'name' => :'name',
|
29
|
+
|
26
30
|
:'swagger_url' => :'swaggerUrl'
|
27
31
|
}
|
28
32
|
end
|
@@ -35,7 +39,9 @@ module IonoscloudDbaasPostgres
|
|
35
39
|
# Attribute type mapping.
|
36
40
|
def self.openapi_types
|
37
41
|
{
|
42
|
+
|
38
43
|
:'name' => :'String',
|
44
|
+
|
39
45
|
:'swagger_url' => :'String'
|
40
46
|
}
|
41
47
|
end
|
@@ -43,6 +49,8 @@ module IonoscloudDbaasPostgres
|
|
43
49
|
# List of attributes with nullable: true
|
44
50
|
def self.openapi_nullable
|
45
51
|
Set.new([
|
52
|
+
|
53
|
+
|
46
54
|
])
|
47
55
|
end
|
48
56
|
|
@@ -60,11 +68,13 @@ module IonoscloudDbaasPostgres
|
|
60
68
|
end
|
61
69
|
h[k.to_sym] = v
|
62
70
|
}
|
71
|
+
|
63
72
|
|
64
73
|
if attributes.key?(:'name')
|
65
74
|
self.name = attributes[:'name']
|
66
75
|
end
|
67
76
|
|
77
|
+
|
68
78
|
if attributes.key?(:'swagger_url')
|
69
79
|
self.swagger_url = attributes[:'swagger_url']
|
70
80
|
end
|
@@ -74,22 +84,28 @@ module IonoscloudDbaasPostgres
|
|
74
84
|
# @return Array for valid properties with the reasons
|
75
85
|
def list_invalid_properties
|
76
86
|
invalid_properties = Array.new
|
87
|
+
|
88
|
+
|
77
89
|
invalid_properties
|
78
90
|
end
|
79
91
|
|
80
92
|
# Check to see if the all the properties in the model are valid
|
81
93
|
# @return true if the model is valid
|
82
94
|
def valid?
|
95
|
+
|
96
|
+
|
83
97
|
true
|
84
98
|
end
|
85
99
|
|
100
|
+
|
101
|
+
|
86
102
|
# Checks equality by comparing each attribute.
|
87
103
|
# @param [Object] Object to be compared
|
88
104
|
def ==(o)
|
89
105
|
return true if self.equal?(o)
|
90
106
|
self.class == o.class &&
|
91
|
-
|
92
|
-
|
107
|
+
name == o.name &&
|
108
|
+
swagger_url == o.swagger_url
|
93
109
|
end
|
94
110
|
|
95
111
|
# @see the `==` method
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#IONOS DBaaS REST API
|
2
|
+
#IONOS DBaaS PostgreSQL REST API
|
3
3
|
|
4
|
-
#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 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.
|
4
|
+
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -16,15 +16,19 @@ require 'time'
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
17
|
# Metadata of the backup resource.
|
18
18
|
class BackupMetadata
|
19
|
+
|
19
20
|
# The ISO 8601 creation timestamp.
|
20
21
|
attr_accessor :created_date
|
21
22
|
|
23
|
+
|
22
24
|
attr_accessor :state
|
23
25
|
|
24
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
27
|
def self.attribute_map
|
26
28
|
{
|
29
|
+
|
27
30
|
:'created_date' => :'createdDate',
|
31
|
+
|
28
32
|
:'state' => :'state'
|
29
33
|
}
|
30
34
|
end
|
@@ -37,7 +41,9 @@ module IonoscloudDbaasPostgres
|
|
37
41
|
# Attribute type mapping.
|
38
42
|
def self.openapi_types
|
39
43
|
{
|
44
|
+
|
40
45
|
:'created_date' => :'Time',
|
46
|
+
|
41
47
|
:'state' => :'State'
|
42
48
|
}
|
43
49
|
end
|
@@ -45,6 +51,8 @@ module IonoscloudDbaasPostgres
|
|
45
51
|
# List of attributes with nullable: true
|
46
52
|
def self.openapi_nullable
|
47
53
|
Set.new([
|
54
|
+
|
55
|
+
|
48
56
|
])
|
49
57
|
end
|
50
58
|
|
@@ -62,11 +70,13 @@ module IonoscloudDbaasPostgres
|
|
62
70
|
end
|
63
71
|
h[k.to_sym] = v
|
64
72
|
}
|
73
|
+
|
65
74
|
|
66
75
|
if attributes.key?(:'created_date')
|
67
76
|
self.created_date = attributes[:'created_date']
|
68
77
|
end
|
69
78
|
|
79
|
+
|
70
80
|
if attributes.key?(:'state')
|
71
81
|
self.state = attributes[:'state']
|
72
82
|
end
|
@@ -76,22 +86,28 @@ module IonoscloudDbaasPostgres
|
|
76
86
|
# @return Array for valid properties with the reasons
|
77
87
|
def list_invalid_properties
|
78
88
|
invalid_properties = Array.new
|
89
|
+
|
90
|
+
|
79
91
|
invalid_properties
|
80
92
|
end
|
81
93
|
|
82
94
|
# Check to see if the all the properties in the model are valid
|
83
95
|
# @return true if the model is valid
|
84
96
|
def valid?
|
97
|
+
|
98
|
+
|
85
99
|
true
|
86
100
|
end
|
87
101
|
|
102
|
+
|
103
|
+
|
88
104
|
# Checks equality by comparing each attribute.
|
89
105
|
# @param [Object] Object to be compared
|
90
106
|
def ==(o)
|
91
107
|
return true if self.equal?(o)
|
92
108
|
self.class == o.class &&
|
93
|
-
|
94
|
-
|
109
|
+
created_date == o.created_date &&
|
110
|
+
state == o.state
|
95
111
|
end
|
96
112
|
|
97
113
|
# @see the `==` method
|