POST
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
id
/
{postgres_database_id}
/
restore

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_id
string
required

Postgres database ID

Body

application/json
name
string
required
restore_target
string
required

Response

200 - application/json
flavor
string
required

Kind of Postgres database

ha_type
string
required

High availability type

id
string
required

ID of the Postgres database

location
string
required

Location of the Postgres database

name
string
required

Name of the Postgres database

state
string
required

State of the Postgres database

storage_size_gib
integer
required

Storage size in GiB

version
string
required

Postgres version

vm_size
string
required

Size of the underlying VM