Update a PostgreSQL database
Request body
High availability type
Requested size for the underlying VM
Requested storage size in GiB
Response
A Postgres Database
Kind of Postgres database
High availability type
Target number of servers (primary + standbys)
ID of the Postgres database
Location of the Postgres database
Name of the Postgres database
State of the Postgres database
Storage size in GiB
Desired storage size in GiB
Current Postgres version
Target Postgres version
Size of the underlying VM
Desired VM size
CA certificates of the root CA used to issue postgres server certificates
Maintenance window start time
Days of the week the maintenance window applies to (empty list means every day)
If the database is a read replica or not
Parent Postgres database
Whether the primary server is running on a fallback instance type
Creation timestamp of the Postgres database
Connection string to the Postgres database
Private connection string to the Postgres database, accessible from connected subnets
Username for the Postgres database
Password for the Postgres database
Hostname for the Postgres database
Earliest restore time (if primary)
Latest restore time (if primary)"
Is the database primary
Example response
{
"id": "pgn30gjk1d1e2jj34v9x0dq4rp",
"firewall_rules": [
{
"id": "frmjgkgbktw62k53005jpx8tt7"
}
]
}