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

# DocumentDbInstance

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

A managed MongoDB-compatible instance in one location of a project (ADR-0512). Connect with any MongoDB driver or `mongosh` over TLS.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Databases.DocumentDbInstance_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.DocumentDbInstance_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 (27017). |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `State` | `Models.Databases.DocumentDbInstance_state?` | `state` | The state property |
| `StorageGib` | `int?` | `storageGib` | Storage in GiB: grows, never shrinks. Defaults to 1 (FREE), 5 (DEV) or 20 (STANDARD). |
| `SuspendReason` | `string?` | `suspendReason` | The suspendReason property |
| `Tier` | `Models.Databases.DocumentDbInstance_tier?` | `tier` | FREE, DEV (one small server) or STANDARD. Immutable. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
