Properties with all data needed to create a new PostgreSQL cluster.
| Name | Type | Description | Notes |
|---|---|---|---|
| postgres_version | str | The PostgreSQL version of your cluster. | |
| instances | int | The total number of instances in the cluster (one master and n-1 standbys). | |
| cores | int | The number of CPU cores per instance. | |
| ram | int | The amount of memory per instance in megabytes. Has to be a multiple of 1024. | |
| storage_size | int | The amount of storage per instance in megabytes. | |
| storage_type | StorageType | ||
| connections | list[Connection] | ||
| 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. | |
| backup_location | str | The S3 location where the backups will be stored. | [optional] |
| display_name | str | The friendly name of your cluster. | |
| maintenance_window | MaintenanceWindow | [optional] | |
| credentials | DBUser | ||
| synchronization_mode | CreateSynchronizationMode | ||
| from_backup | CreateRestoreRequest | [optional] | |
| connection_pooler | ConnectionPooler | [optional] |
from ionoscloud_dbaas_postgres.models.create_cluster_properties import CreateClusterProperties
# TODO update the JSON string below
json = "{}"
# create an instance of CreateClusterProperties from a JSON string
create_cluster_properties_instance = CreateClusterProperties.from_json(json)
# print the JSON string representation of the object
print(CreateClusterProperties.to_json())
# convert the object into a dict
create_cluster_properties_dict = create_cluster_properties_instance.to_dict()
# create an instance of CreateClusterProperties from a dict
create_cluster_properties_from_dict = CreateClusterProperties.from_dict(create_cluster_properties_dict)