postgresql-database
Manage PostgreSQL databases
Authentication scope: fabric
List PostgreSQL databases in a workspace
fabio postgresql-database list --workspace <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--no-recursive |
bool |
No | |
--root-folder-id |
string |
No |
Read-only · Returns list
Show a PostgreSQL database
fabio postgresql-database show --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes |
Read-only · Returns object
create
Section titled “create”Create a PostgreSQL database
fabio postgresql-database create --workspace <value> --name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--name |
string |
Yes | Display name (maximum 63 characters) |
--description |
string |
No | |
--folder-id |
string |
No | |
--originating-product |
string |
No | Caller-declared product that initiated provisioning |
--null-creation-payload |
bool |
No | Explicitly send a null creation payload |
--definition |
string |
No | PostgreSQL schema definition content (inline or @file) |
Mutates state · Returns object
update
Section titled “update”Update PostgreSQL database metadata
fabio postgresql-database update --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--name |
string |
No | |
--description |
string |
No |
Mutates state · Returns void
delete
Section titled “delete”Permanently delete a PostgreSQL database
fabio postgresql-database delete --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes |
Mutates state · Destructive · Returns void
get-definition
Section titled “get-definition”Get a PostgreSQL database definition
fabio postgresql-database get-definition --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--decode |
bool |
No |
Read-only · Returns object
update-definition
Section titled “update-definition”Replace a PostgreSQL database definition
fabio postgresql-database update-definition --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--file |
string |
No | |
--content |
string |
No | |
--allow-table-rebuild |
bool |
No | Consent to schema changes that may rebuild objects and lose data |
Mutates state · Destructive · Returns void
