SDK reference / Models / Databases

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

NameTypeJSON nameDescription
AnnotationsModels.Databases.DocumentDbInstance_annotations?annotationsAt most 256 KiB in all; never policy input.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Endpointstring?endpointThe in-cell TLS endpoint when provisioned.
EngineVersionstring?engineVersionThe engine version the instance runs.
Etagstring?etag"{generation}"; send it back in If-Match.
LabelsModels.Databases.DocumentDbInstance_labels?labelsAt most 64.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
Portint?portThe TLS port (27017).
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
StateModels.Databases.DocumentDbInstance_state?stateThe state property
StorageGibint?storageGibStorage in GiB: grows, never shrinks. Defaults to 1 (FREE), 5 (DEV) or 20 (STANDARD).
SuspendReasonstring?suspendReasonThe suspendReason property
TierModels.Databases.DocumentDbInstance_tier?tierFREE, DEV (one small server) or STANDARD. Immutable.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property