Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 3.35 KB

File metadata and controls

41 lines (32 loc) · 3.35 KB

ClusterCreateProperties

Properties

Name Type Description Notes
name str The name of your PostgreSQL cluster. Must be 63 characters or less and must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
description str Human-readable description for the cluster. [optional]
version str The PostgreSQL version for the cluster.
instances InstanceConfiguration
connection PostgresClusterConnection
maintenance_window MaintenanceWindow
replication_mode PostgresClusterReplicationMode
credentials PostgresUser
connection_pooler str Defines how database connections are managed and reused. Default value is DISABLED. DISABLED: No connection pooling is used. Each request opens a new connection, which is closed immediately after use. It ensures isolation but may impact performance due to frequent connection setup and teardown. TRANSACTION: Connections are pooled and reused for the duration of a transaction. Once the transaction completes, the connection is returned to the pool. This mode balances efficiency with transactional integrity. SESSION: Connections are retained for the entire session and reused across multiple transactions. Offers the highest performance by minimizing connection overhead, but may tie up resources longer. [optional]
restore_from_backup ClusterRestoreFromBackup [optional]
logs_enabled bool Allows or disallows the collection and reporting of logs for this cluster's observability. If the observability service is not activated on the contract, this setting is accepted but has no effect; log collection will not be enabled until the observability service is activated. [optional] [default to False]
metrics_enabled bool Allows or disallows the collection and reporting of metrics for this cluster's observability. If the observability service is not activated on the contract, this setting is accepted but has no effect; metric collection will not be enabled until the observability service is activated. [optional] [default to False]
backup ClusterBackup

Example

from ionoscloud_dbaas_postgres.models.cluster_create_properties import ClusterCreateProperties

# TODO update the JSON string below
json = "{}"
# create an instance of ClusterCreateProperties from a JSON string
cluster_create_properties_instance = ClusterCreateProperties.from_json(json)
# print the JSON string representation of the object
print(ClusterCreateProperties.to_json())

# convert the object into a dict
cluster_create_properties_dict = cluster_create_properties_instance.to_dict()
# create an instance of ClusterCreateProperties from a dict
cluster_create_properties_from_dict = ClusterCreateProperties.from_dict(cluster_create_properties_dict)

[Back to Model list] [Back to API list] [Back to README]