Change the network
Changes how the servers of the service reach the console: through a relay zone, or directly. The servers change one at a time, the backup server first (with with_backup_server) and the leader last, then the members of the standalone DCS cluster (with with_dcs_cluster), the etcd leader last. Each server restarts its mesh agent; PostgreSQL, Patroni and etcd do not restart. A server that does not reach the console on the new path goes back to its old path, and the change stops. Run the change again to finish it, or with the old path to go back. Rejected with 409 when a check of preflight-database-service-network fails, and with with_dcs_cluster when another service of the DCS cluster is in another network.
/api/v1/database-services/{id}/networktse_sessionAPI key · cookierequiredidstringrequiredapplication/jsonconsole_addressstringFor servers that reach the console directly: the IPv4 address of the console, for servers that cannot resolve the host name of the console by DNS. Not together with relay_zone_id.
relay_zone_idstringThe relay zone through which the servers reach the console. Empty: the servers reach the console directly.
with_backup_serverbooleanChange the backup server of the service too. It goes first.
with_dcs_clusterbooleanChange the standalone DCS cluster of the service too. Its members go after the servers of the service, the etcd leader last. Each other service of the DCS cluster must be in the target network.
Accepted
apply_pendingApplyPendingA running service has a change that waits for a deploy or a restart. Absent when nothing waits.
Show propertiesHide properties
caps_stalebooleanrequiredOn a server, the limits on PostgreSQL are not the license settings. A restart applies them.
guard_missingbooleanrequiredThe license guard is not loaded on the cluster, and the cluster has a license grant. A deploy, or a restart after a deploy, loads it.
licensing_setupbooleanrequiredThe license guard is not loaded on the cluster, and the cluster has no license grant. The steps of the licensing setup show, and their deploy restarts a Standard service after it.
restart_markerbooleanrequiredThe last deploy of the Standard service changed settings that apply only when TimescaleDB starts. A restart applies them.
backupConfigOutOfSyncbooleanrequiredbackupNeedsAttentionbooleanrequiredbackupUnprotectedbooleanrequiredcreated_atstringrequireddata_dirstringrequireddatabase_namestringrequiredextension_versionsobjectrequiredThe stored version of each extension whose packages the deploy installs, by extension name. TimescaleDB is timescaledb_version too.
extensionsstring[]requiredhealthServiceHealthResponseThe stored health verdict of a running service. Absent before the first poll and when the service is not running.
Show propertiesHide properties
checked_atstring<date-time>The time of the last real reading. Absent when there is none. When it is 15 minutes old or older, status is error with a reason that names the checks that did not run.
componentsComponentHealthResponse[]requiredShow propertiesHide properties
ComponentHealthResponsekeystringrequiredThe stable key of the component: the path segment of its endpoint. Name is text for people and can change.
patronietcdpgbouncerhaproxypgbackrestpostgresqlreservevipmessagestringnamestringrequiredstatusstringrequiredhealthywarningerrorunknownnot_applicablereasonstringrequiredsincestring<date-time>The time the status last changed. Absent on a live reading.
statusstringrequiredhealthywarningerrorunknownidstringrequiredlicense_enforcedbooleanlicense_grant_missingbooleanThe cluster of the service holds no license grant. Writes stop 72 hours after the first check without one.
livesync_targetbooleannamestringrequiredpack_releasestringrequiredThe release of the server packages that the PostgreSQL servers of the service install from, for example v0.11.0-eap.1. Empty when the service has no pin yet: its next deploy pins the newest loaded release that has its versions
pg_versionstringpg_version_minorstringpostgresql_existsbooleanrequiredredeploy_recommendedbooleanrequiredstatusstringrequiredtimescaledb_versionstringEmpty when unknown (a service from before TSE-734)
topologystringrequiredsingle_nodestandard_haadvanced_haupdates_availablebooleanrequiredThe Updates tab of the service lists items: the service runs, and its pinned server packages or a newer loaded release have newer versions, or the loaded server components are newer. Nothing changes until an operator runs Check and an admin runs Upgrade
vipstringError
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message