ClustersApi
Method
HTTP request
Description
cluster_postgres_versions_get
Examples
require 'time'
require 'ionoscloud-dbaas-postgres'
# setup authorization
IonoscloudDbaasPostgres.configure do |config|
# Configure HTTP basic authorization: basicAuth
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
# Configure API key authorization: tokenAuth
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = IonoscloudDbaasPostgres::ClustersApi.new
cluster_id = 'cluster_id_example' # String | The unique ID of the cluster.
begin
# List PostgreSQL versions
result = api_instance.cluster_postgres_versions_get(cluster_id)
p result
rescue IonoscloudDbaasPostgres::ApiError => e
puts "Error when calling ClustersApi->cluster_postgres_versions_get: #{e}"
endUsing the cluster_postgres_versions_get_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
clusters_delete
Examples
Using the clusters_delete_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
clusters_find_by_id
Examples
Using the clusters_find_by_id_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
clusters_get
Examples
Using the clusters_get_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
clusters_patch
Examples
Using the clusters_patch_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
clusters_post
Examples
Using the clusters_post_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
postgres_versions_get
Examples
Using the postgres_versions_get_with_http_info variant
Parameters
Return type
Authorization
HTTP request headers
Last updated
