[SDK reference](../../index.md) / [Models](../index.md) / [Databases](index.md)

# ClickHouseInstance

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Databases`  

A managed ClickHouse instance in one location of a project (ADR-0512). Connect with `clickhouse-client --secure` (native, 9440) or over HTTPS (8443).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Databases.ClickHouseInstance_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `Endpoint` | `string?` | `endpoint` | The in-cell TLS endpoint when provisioned. |
| `EngineVersion` | `string?` | `engineVersion` | The engine version the instance runs. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `Labels` | `Models.Databases.ClickHouseInstance_labels?` | `labels` | At most 64. |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `Port` | `int?` | `port` | The TLS port (9440). |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `State` | `Models.Databases.ClickHouseInstance_state?` | `state` | The state property |
| `StorageGib` | `int?` | `storageGib` | Storage in GiB: grows, never shrinks. Defaults to 5 (DEV) or 20 (STANDARD). |
| `SuspendReason` | `string?` | `suspendReason` | The suspendReason property |
| `Tier` | `Models.Databases.ClickHouseInstance_tier?` | `tier` | DEV (one small server) or STANDARD. Never FREE (ADR-0512). Immutable. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
