Setup purchased virtual machine
VPS_setupPurchasedVirtualMachineV1Configure and initialize a newly purchased VPS instance by setting data center, template, hostname, SSH keys, backups, and security options.
Instructions
Setup newly purchased virtual machine with initial state.
Use this endpoint to configure and initialize purchased VPS instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ns1 | No | Name server 1 | |
| ns2 | No | Name server 2 | |
| hostname | No | Override default hostname of the virtual machine | |
| password | No | Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. | |
| public_key | No | Use SSH key | |
| template_id | Yes | Template ID | |
| data_center_id | Yes | Data center ID | |
| enable_backups | No | Enable weekly backup schedule | |
| install_monarx | No | Install Monarx malware scanner (if supported) | |
| virtualMachineId | Yes | Virtual Machine ID | |
| post_install_script_id | No | Post-install script ID |