Upgrade a database to a larger size
resize_databaseMoves the database to a LARGER size (more vCPU, memory and included disk; see get_database_options): same data, users, names and addresses. It restarts: one to two minutes of downtime, status maintenance meanwhile (resize.to_gb set), then active with the new size_gb. The new rate applies from the next hour. Larger sizes only, there is no way back: tell the user the new price and the downtime first. Retrying the same call is safe. Scope: vms.create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size_gb | Yes | Memory in GB, larger than the current size_gb. | |
| database | Yes | Database id, as returned by list_databases or create_database. | |
| idempotency_key | No |