Files
ubicloud/spec/routes/api/cli/golden-files/pg eu-central-h1_test-pg show.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

27 lines
645 B
Plaintext

id: pgvm1qb9gwct1mqmay7m54yma5
name: test-pg
state: creating
location: eu-central-h1
vm_size: standard-2
target_vm_size: standard-2
storage_size_gib: 64
target_storage_size_gib: 64
version: 17
ha_type: none
flavor: standard
connection_string: postgres://postgres:bar456FOO123@test-pg.pgvm1qb9gwct1mqmay7m54yma5.pg.example.com:5432/postgres?sslmode=require
primary: true
earliest_restore_time:
maintenance_window_start_at:
read_replica: false
parent:
tags:
foo: bar
firewall rules:
1: pfb9g14e5ndt6qf59wfk8109bg 0.0.0.0/0
metric destinations:
1: md8ntmx8e1764nwc7p970vf3xw foo https://baz.example.com
read replicas:
CA certificates: