# BaseConnectionInfo

> **Class** in `langchain_azure_postgresql`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BaseConnectionInfo)

Base connection information for Azure Database for PostgreSQL connections.

:param application_name: Name of the application connecting to the database.
:type application_name: str
:param host: Hostname of the Azure Database for PostgreSQL server.
:type host: str | None
:param dbname: Name of the database to connect to.
:type dbname: str
:param port: Port number for the connection.
:type port: int
:param sslmode: SSL mode for the connection.
:type sslmode: SSLMode

## Signature

```python
BaseConnectionInfo()
```

## Extends

- `BaseModel`

## Properties

- `application_name`
- `host`
- `dbname`
- `port`
- `sslmode`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/607b649e909f217be20d7a50804ca11534c08eea/libs/azure-postgresql/src/langchain_azure_postgresql/common/_shared.py#L59)