> For the complete documentation index, see [llms.txt](https://docs.ionos.com/postgres-sdk-ruby/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/postgres-sdk-ruby/models/connection.md).

# Connection

## Properties

| Name               | Type       | Description                                                                                                                | Notes |
| ------------------ | ---------- | -------------------------------------------------------------------------------------------------------------------------- | ----- |
| **datacenter\_id** | **String** | The datacenter to connect your cluster to.                                                                                 |       |
| **lan\_id**        | **String** | The numeric LAN ID to connect your cluster to.                                                                             |       |
| **cidr**           | **String** | The IP and subnet for your cluster. Note the following unavailable IP ranges: 10.233.64.0/18 10.233.0.0/18 10.233.114.0/24 |       |

## Example

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

instance = IonoscloudDbaasPostgres::Connection.new(
  datacenter_id: 5a029f4a-72e5-11ec-90d6-0242ac120003,
  lan_id: 2,
  cidr: 192.168.1.100/24
)
```
