VPS_setupPurchasedVirtualMachineV1
Configure and initialize newly purchased VPS instances by specifying virtual machine ID, template, data center, and optional settings like hostname, backups, and SSH keys.
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 |
---|---|---|---|
data_center_id | Yes | Data center ID | |
enable_backups | No | Enable weekly backup schedule | |
hostname | No | Override default hostname of the virtual machine | |
install_monarx | No | Install Monarx malware scanner (if supported) | |
ns1 | No | Name server 1 | |
ns2 | No | Name server 2 | |
password | No | Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. | |
post_install_script_id | No | Post-install script ID | |
public_key | No | Use SSH key | |
template_id | Yes | Template ID | |
virtualMachineId | Yes | Virtual Machine ID |