blossom database_instance:update
Update a database instance
Usage
blossom database_instance:update --id ID [--data DATA] [--follow] [--timestamps]
Flags
| Flag | Description |
|---|---|
--id (required) |
Database instance id |
--data, -d |
YAML or JSON data, a path to a data file, or an HTTP(S) URL |
--follow, -f |
Follow the activity the update starts, such as a public access change or storage growth |
--timestamps |
Show log timestamps. Default: true. |
Update a Database instance’s name, storage size, Backup Storage, public access, or standby. Engine, region, database_instance name, username, and port are fixed.
Set standby: true on a Dedicated PostgreSQL Database instance to add a standby with
automatic failover, or standby: false to remove it. The response carries
the Activity; add --follow to watch it.
blossom database_instance:update --id database_instance-100 --data '{"database_instance":{"standby":true}}' --follow