Postgres
Get details of a specific Postgres database in a location with ID
GET
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
id
/
{postgres_database_id}
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_id
string
requiredPostgres database ID
Response
200 - application/json
flavor
string
requiredKind of Postgres database
ha_type
string
requiredHigh availability type
id
string
requiredID of the Postgres database
location
string
requiredLocation of the Postgres database
name
string
requiredName of the Postgres database
state
string
requiredState of the Postgres database
storage_size_gib
integer
requiredStorage size in GiB
version
string
requiredPostgres version
vm_size
string
requiredSize of the underlying VM
connection_string
string | null
requiredConnection string to the Postgres database
earliest_restore_time
string | null
requiredEarliest restore time (if primary)
firewall_rules
object[]
requiredList of Postgres firewall rules
latest_restore_time
string
requiredLatest restore time (if primary)"
primary
boolean
requiredIs the database primary