Module: IonoscloudDbaasPostgres

Defined in:
lib/ionoscloud-dbaas-postgres/version.rb,
lib/ionoscloud-dbaas-postgres.rb,
lib/ionoscloud-dbaas-postgres/api_error.rb,
lib/ionoscloud-dbaas-postgres/api_client.rb,
lib/ionoscloud-dbaas-postgres/api/logs_api.rb,
lib/ionoscloud-dbaas-postgres/models/state.rb,
lib/ionoscloud-dbaas-postgres/configuration.rb,
lib/ionoscloud-dbaas-postgres/models/db_user.rb,
lib/ionoscloud-dbaas-postgres/api/backups_api.rb,
lib/ionoscloud-dbaas-postgres/models/location.rb,
lib/ionoscloud-dbaas-postgres/models/metadata.rb,
lib/ionoscloud-dbaas-postgres/api/clusters_api.rb,
lib/ionoscloud-dbaas-postgres/api/metadata_api.rb,
lib/ionoscloud-dbaas-postgres/api/restores_api.rb,
lib/ionoscloud-dbaas-postgres/models/connection.rb,
lib/ionoscloud-dbaas-postgres/models/pagination.rb,
lib/ionoscloud-dbaas-postgres/models/api_version.rb,
lib/ionoscloud-dbaas-postgres/models/cluster_list.rb,
lib/ionoscloud-dbaas-postgres/models/cluster_logs.rb,
lib/ionoscloud-dbaas-postgres/models/storage_type.rb,
lib/ionoscloud-dbaas-postgres/models/error_message.rb,
lib/ionoscloud-dbaas-postgres/models/resource_type.rb,
lib/ionoscloud-dbaas-postgres/models/cluster_backup.rb,
lib/ionoscloud-dbaas-postgres/models/error_response.rb,
lib/ionoscloud-dbaas-postgres/models/backup_location.rb,
lib/ionoscloud-dbaas-postgres/models/backup_metadata.rb,
lib/ionoscloud-dbaas-postgres/models/backup_response.rb,
lib/ionoscloud-dbaas-postgres/models/day_of_the_week.rb,
lib/ionoscloud-dbaas-postgres/models/cluster_response.rb,
lib/ionoscloud-dbaas-postgres/models/pagination_links.rb,
lib/ionoscloud-dbaas-postgres/models/cluster_properties.rb,
lib/ionoscloud-dbaas-postgres/models/maintenance_window.rb,
lib/ionoscloud-dbaas-postgres/models/cluster_backup_list.rb,
lib/ionoscloud-dbaas-postgres/models/cluster_list_all_of.rb,
lib/ionoscloud-dbaas-postgres/models/synchronization_mode.rb,
lib/ionoscloud-dbaas-postgres/models/cluster_logs_messages.rb,
lib/ionoscloud-dbaas-postgres/models/patch_cluster_request.rb,
lib/ionoscloud-dbaas-postgres/models/postgres_version_list.rb,
lib/ionoscloud-dbaas-postgres/models/cluster_logs_instances.rb,
lib/ionoscloud-dbaas-postgres/models/create_cluster_request.rb,
lib/ionoscloud-dbaas-postgres/models/create_restore_request.rb,
lib/ionoscloud-dbaas-postgres/models/patch_cluster_properties.rb,
lib/ionoscloud-dbaas-postgres/models/create_cluster_properties.rb,
lib/ionoscloud-dbaas-postgres/models/cluster_backup_list_all_of.rb,
lib/ionoscloud-dbaas-postgres/models/postgres_version_list_data.rb

Overview

#IONOS DBaaS REST API

#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.

The version of the OpenAPI document: 0.0.1

Generated by: openapi-generator.tech OpenAPI Generator version: 5.2.1-SNAPSHOT

Defined Under Namespace

Classes: APIVersion, ApiClient, ApiError, BackupLocation, BackupMetadata, BackupResponse, BackupsApi, ClusterBackup, ClusterBackupList, ClusterBackupListAllOf, ClusterList, ClusterListAllOf, ClusterLogs, ClusterLogsInstances, ClusterLogsMessages, ClusterProperties, ClusterResponse, ClustersApi, Configuration, Connection, CreateClusterProperties, CreateClusterRequest, CreateRestoreRequest, DBUser, DayOfTheWeek, ErrorMessage, ErrorResponse, Location, LogsApi, MaintenanceWindow, Metadata, MetadataApi, Pagination, PaginationLinks, PatchClusterProperties, PatchClusterRequest, PostgresVersionList, PostgresVersionListData, ResourceType, RestoresApi, State, StorageType, SynchronizationMode

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

IonoscloudDbaasPostgres.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



71
72
73
74
75
76
77
# File 'lib/ionoscloud-dbaas-postgres.rb', line 71

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end