ionoscloud-dbaas-postgres 1.0.3 → 1.1.1
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.
- checksums.yaml +4 -4
- data/docs/CHANGELOG.md +5 -0
- data/docs/api/BackupsApi.md +25 -12
- data/docs/api/ClustersApi.md +14 -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/BackupResponse.md +1 -1
- data/docs/models/ClusterBackupList.md +6 -6
- data/docs/models/ClusterList.md +6 -6
- data/docs/models/ClusterProperties.md +2 -0
- data/docs/models/ClusterResponse.md +1 -1
- data/docs/models/DBUser.md +1 -1
- data/docs/models/Pagination.md +6 -6
- data/ionoscloud-dbaas-postgres.gemspec +4 -4
- data/lib/ionoscloud-dbaas-postgres/api/backups_api.rb +30 -2
- data/lib/ionoscloud-dbaas-postgres/api/clusters_api.rb +18 -4
- data/lib/ionoscloud-dbaas-postgres/api/logs_api.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/api/metadata_api.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/api/restores_api.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/api_client.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/api_error.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/configuration.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/api_version.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/backup_metadata.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/backup_response.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/cluster_backup.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list.rb +24 -11
- data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list_all_of.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/cluster_list.rb +24 -11
- data/lib/ionoscloud-dbaas-postgres/models/cluster_list_all_of.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/cluster_logs.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_instances.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_messages.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/cluster_properties.rb +21 -3
- data/lib/ionoscloud-dbaas-postgres/models/cluster_response.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/connection.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/create_cluster_properties.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/create_cluster_request.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/create_restore_request.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/day_of_the_week.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/db_user.rb +21 -2
- data/lib/ionoscloud-dbaas-postgres/models/error_message.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/error_response.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/maintenance_window.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/metadata.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/pagination.rb +24 -11
- data/lib/ionoscloud-dbaas-postgres/models/pagination_links.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_properties.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_request.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list_data.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/resource_type.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/state.rb +3 -2
- data/lib/ionoscloud-dbaas-postgres/models/storage_type.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/models/synchronization_mode.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/version.rb +3 -3
- data/lib/ionoscloud-dbaas-postgres.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +10 -10
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -27,15 +27,15 @@ module IonoscloudDbaasPostgres
|
|
27
27
|
attr_accessor :items
|
28
28
|
|
29
29
|
|
30
|
-
# The offset specified in the request (if none was specified, the default offset is 0)
|
30
|
+
# The offset specified in the request (if none was specified, the default offset is 0).
|
31
31
|
attr_accessor :offset
|
32
32
|
|
33
33
|
|
34
|
-
# The limit specified in the request (if none was specified,
|
34
|
+
# The limit specified in the request (if none was specified, the default limit is 100).
|
35
35
|
attr_accessor :limit
|
36
36
|
|
37
37
|
|
38
|
-
attr_accessor :
|
38
|
+
attr_accessor :links
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
def self.attribute_map
|
@@ -51,7 +51,7 @@ module IonoscloudDbaasPostgres
|
|
51
51
|
|
52
52
|
:'limit' => :'limit',
|
53
53
|
|
54
|
-
:'
|
54
|
+
:'links' => :'links'
|
55
55
|
}
|
56
56
|
end
|
57
57
|
|
@@ -74,7 +74,7 @@ module IonoscloudDbaasPostgres
|
|
74
74
|
|
75
75
|
:'limit' => :'Integer',
|
76
76
|
|
77
|
-
:'
|
77
|
+
:'links' => :'PaginationLinks'
|
78
78
|
}
|
79
79
|
end
|
80
80
|
|
@@ -131,16 +131,20 @@ module IonoscloudDbaasPostgres
|
|
131
131
|
|
132
132
|
if attributes.key?(:'offset')
|
133
133
|
self.offset = attributes[:'offset']
|
134
|
+
else
|
135
|
+
self.offset = 0
|
134
136
|
end
|
135
137
|
|
136
138
|
|
137
139
|
if attributes.key?(:'limit')
|
138
140
|
self.limit = attributes[:'limit']
|
141
|
+
else
|
142
|
+
self.limit = 100
|
139
143
|
end
|
140
144
|
|
141
145
|
|
142
|
-
if attributes.key?(:'
|
143
|
-
self.
|
146
|
+
if attributes.key?(:'links')
|
147
|
+
self.links = attributes[:'links']
|
144
148
|
end
|
145
149
|
end
|
146
150
|
|
@@ -157,6 +161,10 @@ module IonoscloudDbaasPostgres
|
|
157
161
|
end
|
158
162
|
|
159
163
|
|
164
|
+
if !@limit.nil? && @limit > 1000
|
165
|
+
invalid_properties.push('invalid value for "limit", must be smaller than or equal to 1000.')
|
166
|
+
end
|
167
|
+
|
160
168
|
if !@limit.nil? && @limit < 0
|
161
169
|
invalid_properties.push('invalid value for "limit", must be greater than or equal to 0.')
|
162
170
|
end
|
@@ -174,6 +182,7 @@ module IonoscloudDbaasPostgres
|
|
174
182
|
|
175
183
|
return false if !@offset.nil? && @offset < 0
|
176
184
|
|
185
|
+
return false if !@limit.nil? && @limit > 1000
|
177
186
|
return false if !@limit.nil? && @limit < 0
|
178
187
|
|
179
188
|
true
|
@@ -197,6 +206,10 @@ module IonoscloudDbaasPostgres
|
|
197
206
|
# Custom attribute writer method with validation
|
198
207
|
# @param [Object] limit Value to be assigned
|
199
208
|
def limit=(limit)
|
209
|
+
if !limit.nil? && limit > 1000
|
210
|
+
fail ArgumentError, 'invalid value for "limit", must be smaller than or equal to 1000.'
|
211
|
+
end
|
212
|
+
|
200
213
|
if !limit.nil? && limit < 0
|
201
214
|
fail ArgumentError, 'invalid value for "limit", must be greater than or equal to 0.'
|
202
215
|
end
|
@@ -215,7 +228,7 @@ module IonoscloudDbaasPostgres
|
|
215
228
|
items == o.items &&
|
216
229
|
offset == o.offset &&
|
217
230
|
limit == o.limit &&
|
218
|
-
|
231
|
+
links == o.links
|
219
232
|
end
|
220
233
|
|
221
234
|
# @see the `==` method
|
@@ -227,7 +240,7 @@ module IonoscloudDbaasPostgres
|
|
227
240
|
# Calculates hash code according to all attributes.
|
228
241
|
# @return [Integer] Hash code
|
229
242
|
def hash
|
230
|
-
[type, id, items, offset, limit,
|
243
|
+
[type, id, items, offset, limit, links].hash
|
231
244
|
end
|
232
245
|
|
233
246
|
# Builds the object from hash
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -27,15 +27,15 @@ module IonoscloudDbaasPostgres
|
|
27
27
|
attr_accessor :items
|
28
28
|
|
29
29
|
|
30
|
-
# The offset specified in the request (if none was specified, the default offset is 0)
|
30
|
+
# The offset specified in the request (if none was specified, the default offset is 0).
|
31
31
|
attr_accessor :offset
|
32
32
|
|
33
33
|
|
34
|
-
# The limit specified in the request (if none was specified,
|
34
|
+
# The limit specified in the request (if none was specified, the default limit is 100).
|
35
35
|
attr_accessor :limit
|
36
36
|
|
37
37
|
|
38
|
-
attr_accessor :
|
38
|
+
attr_accessor :links
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
def self.attribute_map
|
@@ -51,7 +51,7 @@ module IonoscloudDbaasPostgres
|
|
51
51
|
|
52
52
|
:'limit' => :'limit',
|
53
53
|
|
54
|
-
:'
|
54
|
+
:'links' => :'links'
|
55
55
|
}
|
56
56
|
end
|
57
57
|
|
@@ -74,7 +74,7 @@ module IonoscloudDbaasPostgres
|
|
74
74
|
|
75
75
|
:'limit' => :'Integer',
|
76
76
|
|
77
|
-
:'
|
77
|
+
:'links' => :'PaginationLinks'
|
78
78
|
}
|
79
79
|
end
|
80
80
|
|
@@ -131,16 +131,20 @@ module IonoscloudDbaasPostgres
|
|
131
131
|
|
132
132
|
if attributes.key?(:'offset')
|
133
133
|
self.offset = attributes[:'offset']
|
134
|
+
else
|
135
|
+
self.offset = 0
|
134
136
|
end
|
135
137
|
|
136
138
|
|
137
139
|
if attributes.key?(:'limit')
|
138
140
|
self.limit = attributes[:'limit']
|
141
|
+
else
|
142
|
+
self.limit = 100
|
139
143
|
end
|
140
144
|
|
141
145
|
|
142
|
-
if attributes.key?(:'
|
143
|
-
self.
|
146
|
+
if attributes.key?(:'links')
|
147
|
+
self.links = attributes[:'links']
|
144
148
|
end
|
145
149
|
end
|
146
150
|
|
@@ -157,6 +161,10 @@ module IonoscloudDbaasPostgres
|
|
157
161
|
end
|
158
162
|
|
159
163
|
|
164
|
+
if !@limit.nil? && @limit > 1000
|
165
|
+
invalid_properties.push('invalid value for "limit", must be smaller than or equal to 1000.')
|
166
|
+
end
|
167
|
+
|
160
168
|
if !@limit.nil? && @limit < 0
|
161
169
|
invalid_properties.push('invalid value for "limit", must be greater than or equal to 0.')
|
162
170
|
end
|
@@ -174,6 +182,7 @@ module IonoscloudDbaasPostgres
|
|
174
182
|
|
175
183
|
return false if !@offset.nil? && @offset < 0
|
176
184
|
|
185
|
+
return false if !@limit.nil? && @limit > 1000
|
177
186
|
return false if !@limit.nil? && @limit < 0
|
178
187
|
|
179
188
|
true
|
@@ -197,6 +206,10 @@ module IonoscloudDbaasPostgres
|
|
197
206
|
# Custom attribute writer method with validation
|
198
207
|
# @param [Object] limit Value to be assigned
|
199
208
|
def limit=(limit)
|
209
|
+
if !limit.nil? && limit > 1000
|
210
|
+
fail ArgumentError, 'invalid value for "limit", must be smaller than or equal to 1000.'
|
211
|
+
end
|
212
|
+
|
200
213
|
if !limit.nil? && limit < 0
|
201
214
|
fail ArgumentError, 'invalid value for "limit", must be greater than or equal to 0.'
|
202
215
|
end
|
@@ -215,7 +228,7 @@ module IonoscloudDbaasPostgres
|
|
215
228
|
items == o.items &&
|
216
229
|
offset == o.offset &&
|
217
230
|
limit == o.limit &&
|
218
|
-
|
231
|
+
links == o.links
|
219
232
|
end
|
220
233
|
|
221
234
|
# @see the `==` method
|
@@ -227,7 +240,7 @@ module IonoscloudDbaasPostgres
|
|
227
240
|
# Calculates hash code according to all attributes.
|
228
241
|
# @return [Integer] Hash code
|
229
242
|
def hash
|
230
|
-
[type, id, items, offset, limit,
|
243
|
+
[type, id, items, offset, limit, links].hash
|
231
244
|
end
|
232
245
|
|
233
246
|
# Builds the object from hash
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -29,6 +29,10 @@ module IonoscloudDbaasPostgres
|
|
29
29
|
attr_accessor :location
|
30
30
|
|
31
31
|
|
32
|
+
# The DNS name pointing to your cluster.
|
33
|
+
attr_accessor :dns_name
|
34
|
+
|
35
|
+
|
32
36
|
# The S3 location where the backups will be stored.
|
33
37
|
attr_accessor :backup_location
|
34
38
|
|
@@ -70,6 +74,8 @@ module IonoscloudDbaasPostgres
|
|
70
74
|
|
71
75
|
:'location' => :'location',
|
72
76
|
|
77
|
+
:'dns_name' => :'dnsName',
|
78
|
+
|
73
79
|
:'backup_location' => :'backupLocation',
|
74
80
|
|
75
81
|
:'instances' => :'instances',
|
@@ -105,6 +111,8 @@ module IonoscloudDbaasPostgres
|
|
105
111
|
|
106
112
|
:'location' => :'String',
|
107
113
|
|
114
|
+
:'dns_name' => :'String',
|
115
|
+
|
108
116
|
:'backup_location' => :'String',
|
109
117
|
|
110
118
|
:'instances' => :'Integer',
|
@@ -140,6 +148,7 @@ module IonoscloudDbaasPostgres
|
|
140
148
|
|
141
149
|
|
142
150
|
|
151
|
+
|
143
152
|
])
|
144
153
|
end
|
145
154
|
|
@@ -174,6 +183,11 @@ module IonoscloudDbaasPostgres
|
|
174
183
|
end
|
175
184
|
|
176
185
|
|
186
|
+
if attributes.key?(:'dns_name')
|
187
|
+
self.dns_name = attributes[:'dns_name']
|
188
|
+
end
|
189
|
+
|
190
|
+
|
177
191
|
if attributes.key?(:'backup_location')
|
178
192
|
self.backup_location = attributes[:'backup_location']
|
179
193
|
end
|
@@ -228,6 +242,7 @@ module IonoscloudDbaasPostgres
|
|
228
242
|
|
229
243
|
|
230
244
|
|
245
|
+
|
231
246
|
if !@instances.nil? && @instances > 5
|
232
247
|
invalid_properties.push('invalid value for "instances", must be smaller than or equal to 5.')
|
233
248
|
end
|
@@ -278,6 +293,7 @@ module IonoscloudDbaasPostgres
|
|
278
293
|
|
279
294
|
|
280
295
|
|
296
|
+
|
281
297
|
return false if !@instances.nil? && @instances > 5
|
282
298
|
return false if !@instances.nil? && @instances < 1
|
283
299
|
|
@@ -301,6 +317,7 @@ module IonoscloudDbaasPostgres
|
|
301
317
|
|
302
318
|
|
303
319
|
|
320
|
+
|
304
321
|
# Custom attribute writer method with validation
|
305
322
|
# @param [Object] instances Value to be assigned
|
306
323
|
def instances=(instances)
|
@@ -378,6 +395,7 @@ module IonoscloudDbaasPostgres
|
|
378
395
|
display_name == o.display_name &&
|
379
396
|
postgres_version == o.postgres_version &&
|
380
397
|
location == o.location &&
|
398
|
+
dns_name == o.dns_name &&
|
381
399
|
backup_location == o.backup_location &&
|
382
400
|
instances == o.instances &&
|
383
401
|
ram == o.ram &&
|
@@ -398,7 +416,7 @@ module IonoscloudDbaasPostgres
|
|
398
416
|
# Calculates hash code according to all attributes.
|
399
417
|
# @return [Integer] Hash code
|
400
418
|
def hash
|
401
|
-
[display_name, postgres_version, location, backup_location, instances, ram, cores, storage_size, storage_type, connections, maintenance_window, synchronization_mode].hash
|
419
|
+
[display_name, postgres_version, location, dns_name, backup_location, instances, ram, cores, storage_size, storage_type, connections, maintenance_window, synchronization_mode].hash
|
402
420
|
end
|
403
421
|
|
404
422
|
# Builds the object from hash
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -96,6 +96,10 @@ module IonoscloudDbaasPostgres
|
|
96
96
|
invalid_properties.push('invalid value for "password", password cannot be nil.')
|
97
97
|
end
|
98
98
|
|
99
|
+
if @password.to_s.length < 10
|
100
|
+
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 10.')
|
101
|
+
end
|
102
|
+
|
99
103
|
invalid_properties
|
100
104
|
end
|
101
105
|
|
@@ -106,11 +110,26 @@ module IonoscloudDbaasPostgres
|
|
106
110
|
return false if @username.nil?
|
107
111
|
|
108
112
|
return false if @password.nil?
|
113
|
+
return false if @password.to_s.length < 10
|
109
114
|
true
|
110
115
|
end
|
111
116
|
|
112
117
|
|
113
118
|
|
119
|
+
# Custom attribute writer method with validation
|
120
|
+
# @param [Object] password Value to be assigned
|
121
|
+
def password=(password)
|
122
|
+
if password.nil?
|
123
|
+
fail ArgumentError, 'password cannot be nil'
|
124
|
+
end
|
125
|
+
|
126
|
+
if password.to_s.length < 10
|
127
|
+
fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 10.'
|
128
|
+
end
|
129
|
+
|
130
|
+
@password = password
|
131
|
+
end
|
132
|
+
|
114
133
|
# Checks equality by comparing each attribute.
|
115
134
|
# @param [Object] Object to be compared
|
116
135
|
def ==(o)
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
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
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|