Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.23 KB

File metadata and controls

43 lines (34 loc) · 2.23 KB

ClusterProperties

Properties of a database cluster.

Properties

Name Type Description Notes
display_name str The friendly name of your cluster. [optional]
postgres_version str The PostgreSQL version of your cluster. [optional]
location str 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]
dns_name str The DNS name pointing to your cluster. [optional]
backup_location str The S3 location where the backups will be stored. [optional]
instances int The total number of instances in the cluster (one master and n-1 standbys). [optional]
ram int The amount of memory per instance in megabytes. Has to be a multiple of 1024. [optional]
cores int The number of CPU cores per instance. [optional]
storage_size int The amount of storage per instance in megabytes. [optional]
storage_type StorageType [optional]
connections list[Connection] [optional]
maintenance_window MaintenanceWindow [optional]
synchronization_mode SynchronizationMode [optional]
connection_pooler ConnectionPooler [optional]

Example

from ionoscloud_dbaas_postgres.models.cluster_properties import ClusterProperties

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

# convert the object into a dict
cluster_properties_dict = cluster_properties_instance.to_dict()
# create an instance of ClusterProperties from a dict
cluster_properties_from_dict = ClusterProperties.from_dict(cluster_properties_dict)

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