Files
ubicloud/spec/routes/api/cli/golden-files/pg eu-central-h1_test-pg show invalid.txt
Jeremy Evans 27c84a96b3 Add more fields to pg show cli
This adds fields added to the api since the cli was added:

* maintenance-window-start-at
* read-replica
* parent (shown in location/name format)
* read-replicas (shown in location/name format)

The api includes much more information about the read replicas, but
I'm not sure sure how much of this information is useful. If we want
to expose that information in the cli, we probably need to add an
-r option so you can control which fields get displayed.
2025-08-19 09:36:13 -07:00

17 lines
624 B
Plaintext

! Invalid number of arguments for pg show subcommand (requires: 0, given: 1)
Show details for a PostgreSQL database
Usage:
ubi pg (location/pg-name | pg-id) show [options]
Options:
-f, --fields=fields show specific fields (comma separated)
Allowed Option Values:
Fields: id name state location vm-size target-vm-size storage-size-gib
target-storage-size-gib version ha-type flavor connection-string
primary earliest-restore-time maintenance-window-start-at
read-replica parent tags firewall-rules metric-destinations
read-replicas ca-certificates