Postgres
Get details of a specific Postgres database in a location
GET
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
{postgres_database_name}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
project_id
string
requiredID of the project
location
string
requiredThe Ubicloud location/region
postgres_database_name
string
requiredPostgres database name
Response
200 - application/json
ha_type
string
High availability type
id
string
ID of the Postgres database
location
string
Location of the Postgres database
name
string
Name of the Postgres database
state
string
State of the Postgres database
storage_size_gib
integer
Storage size in GiB
vm_size
string
Size of the underlying VM
connection_string
string | null
Connection string to the Postgres database
earliest_restore_time
string | null
Earliest restore time (if primary)
firewall_rules
object[]
List of Postgres firewall rules
latest_restore_time
string
Latest restore time (if primary)"
primary
boolean
Is the database primary