SDK reference / Models / Databases

PostgresInstance

Kind: class

Namespace: Egulu.Sdk.Models.Databases

One PostgreSQL server of a cluster: the primary or a read replica.

Properties

NameTypeJSON nameDescription
Connectionsint?connectionsClient connections at the moment.
InstanceIdstring?instanceIdThe instance's name, for example `pg-1`.
LagAlertbool?lagAlertOn a replica: whether its lag is above the cluster's alert threshold.
ReplicationLagByteslong?replicationLagBytesHow far a replica is behind, in bytes of write-ahead log; 0 on the primary.
ReplicationLagSecondsdouble?replicationLagSecondsThe same lag as a time, when it can be measured.
RoleModels.Databases.PostgresInstance_role?roleThe role property
StartedAtDateTimeOffset?startedAtWhen the server last started.
Statestring?stateRUNNING, STARTING, STOPPED or FAILED.
StorageGibint?storageGibThe storage the server holds, in GiB.
Synchronousbool?synchronousOn a replica: whether the primary counts it toward the quorum a commit waits for (HA tier).