# ClusterProperties

## Properties

| Name                      | Type                                                                                                                        | Description                                                                                                                                                    | Notes       |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **display\_name**         | **String**                                                                                                                  | The friendly name of your cluster.                                                                                                                             | \[optional] |
| **postgres\_version**     | **String**                                                                                                                  | The PostgreSQL version of your cluster.                                                                                                                        | \[optional] |
| **location**              | **String**                                                                                                                  | 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**             | **String**                                                                                                                  | The DNS name pointing to your cluster.                                                                                                                         | \[optional] |
| **backup\_location**      | **String**                                                                                                                  | The S3 location where the backups will be stored.                                                                                                              | \[optional] |
| **instances**             | **Integer**                                                                                                                 | The total number of instances in the cluster (one master and n-1 standbys).                                                                                    | \[optional] |
| **ram**                   | **Integer**                                                                                                                 | The amount of memory per instance in megabytes. Has to be a multiple of 1024.                                                                                  | \[optional] |
| **cores**                 | **Integer**                                                                                                                 | The number of CPU cores per instance.                                                                                                                          | \[optional] |
| **storage\_size**         | **Integer**                                                                                                                 | The amount of storage per instance in megabytes.                                                                                                               | \[optional] |
| **storage\_type**         | [**StorageType**](https://docs.ionos.com/sections-test/ruby-sdk/dbaas-postgres-ruby-sdk/models/storagetype)                 |                                                                                                                                                                | \[optional] |
| **connections**           | [**Array\<Connection>**](https://docs.ionos.com/sections-test/ruby-sdk/dbaas-postgres-ruby-sdk/models/connection)           |                                                                                                                                                                | \[optional] |
| **maintenance\_window**   | [**MaintenanceWindow**](https://docs.ionos.com/sections-test/ruby-sdk/dbaas-postgres-ruby-sdk/models/maintenancewindow)     |                                                                                                                                                                | \[optional] |
| **synchronization\_mode** | [**SynchronizationMode**](https://docs.ionos.com/sections-test/ruby-sdk/dbaas-postgres-ruby-sdk/models/synchronizationmode) |                                                                                                                                                                | \[optional] |

## Example

```ruby
require 'ionoscloud-dbaas-postgres'

instance = IonoscloudDbaasPostgres::ClusterProperties.new(
  display_name: PostgreSQL cluster,
  postgres_version: 13,
  location: de/fra,
  dns_name: pg.example.com,
  backup_location: de,
  instances: 2,
  ram: 2048,
  cores: 4,
  storage_size: 5000,
  storage_type: null,
  connections: null,
  maintenance_window: null,
  synchronization_mode: null
)
```
