# CreateClusterProperties

## Properties

| Name                    | Type                                                                                                                 | Description                                                                                                                                                                                                                                                                      | Notes       |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **template\_id**        | **String**                                                                                                           | The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint. |             |
| **mongo\_db\_version**  | **String**                                                                                                           | The MongoDB version of your cluster.                                                                                                                                                                                                                                             | \[optional] |
| **instances**           | **Integer**                                                                                                          | The total number of instances in the cluster (one primary and n-1 secondaries).                                                                                                                                                                                                  |             |
| **connections**         | [**Array\<Connection>**](https://docs.ionos.com/sections-test/ruby-sdk/dbaas-mongo-ruby-sdk/models/connection)       |                                                                                                                                                                                                                                                                                  |             |
| **location**            | **String**                                                                                                           | The physical location where the cluster will be created. This is the location where all your instances will be located. This property is immutable.                                                                                                                              |             |
| **display\_name**       | **String**                                                                                                           | The name of your cluster.                                                                                                                                                                                                                                                        |             |
| **maintenance\_window** | [**MaintenanceWindow**](https://docs.ionos.com/sections-test/ruby-sdk/dbaas-mongo-ruby-sdk/models/maintenancewindow) |                                                                                                                                                                                                                                                                                  | \[optional] |

## Example

```ruby
require 'ionoscloud-dbaas-mongo'

instance = IonoscloudDbaasMongo::CreateClusterProperties.new(
  template_id: 498ae72f-411f-11eb-9d07-046c59cc737e,
  mongo_db_version: 5.0,
  instances: 3,
  connections: null,
  location: de/txl,
  display_name: MongoDB cluster,
  maintenance_window: null
)
```
