GET
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
{postgres_database_name}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

location
string
required

The Ubicloud location/region

postgres_database_name
string
required

Postgres 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