purchase_volume
Buy a new standalone volume (data or boot) in a specified region, with size in GB, spending real money. Requires confirm=true and returns a task ID to track completion.
Instructions
Purchase a new standalone volume. Spends real money (checked against balance and quota) — requires confirm=true. kind is "data" or "boot" (a boot volume becomes a future VPS's boot disk, not attached to anything existing). In a region without fleet-volume support, a "data" volume must instead be pinned to an existing VPS at purchase time via vps_id (a "boot" volume isn't purchasable there at all — the real API's error message will say so if this applies).
Asynchronous — returns a task_id immediately; poll get_volume_task_status for completion, then list_volumes to see the finished volume.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pop | Yes | ||
| kind | No | data | |
| vps_id | No | ||
| confirm | No | ||
| size_gb | Yes |