order_server
Place an instant or stock server order. Dry run validates preset, OS, traffic plan; set dry_run=false and confirm=true after cost consent to deploy.
Instructions
Order an instant or stock server (eq/order_instance). IMPORTANT: ordering charges the credit balance or creates an invoice. Defaults to dry_run=true — only checks preset/OS availability and returns a summary without placing an order. For a real order pass dry_run=false and confirm=true after explicit user consent on the cost. Deploy takes 10–30 minutes; status via check_task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os_id | Yes | OS ID from list_os | |
| own_os | No | 1 — do not install OS (manual install) | |
| preset | Yes | Preset ID or name from list_presets (e.g. 108 or vm.pico) | |
| confirm | No | Required (=true) for a real order | |
| dry_run | No | Default true: validate parameters without placing an order or charging | |
| soft_id | No | Software ID from list_software (optional) | |
| ssh_key | No | Public SSH key for root | |
| hostname | No | Hostname; default is generated from location and ID | |
| promocode | No | Discount promocode | |
| root_pass | Yes | Root password: min. 8 chars, uppercase, digit, special char (not @ or #) | |
| traffic_plan | Yes | Traffic plan ID from list_traffic_plans | |
| deploy_notify | No | Email notification when deploy finishes (recommended true) | |
| deploy_period | Yes | Billing period | |
| location_name | Yes | Location: NL/US/FI/DE/IS/TR/UK/ES/IT/PL/CH | |
| post_install_script | No | Script run after deploy | |
| post_install_callback | No | Callback URL after deploy |