| Parameter | Type | Required | Description |
|---|---|---|---|
server_pack | string | ✅ | The flavor of the server pack to use. Selection depends on your region and quota. |
names | array[string] | ✅ | A list of unique server names within a VPC. The number of names determines how many servers will be created. Each name must match the regex pattern defined in SERVER_NAME_REGEX. |
os | string | ✅ | The OS image type. Must be either: - custom: For your own custom images- ubuntu: For FPT public images |
distro | object | ✅ | The selected OS image in JSON format. Example: json<br/>{ "name": "ubuntu", "title": "Ubuntu 20.04" }<br/> |
network_id | string | ✅ | The subnet ID to associate with the server. |
sshkey | object | ✅ | SSH key details in JSON format. Example: json<br/>{ "name": "key_name", "public_key": "ssh-rsa..." }<br/>Default username: clouduser |
console_password | string | ❌ | The password to log in and access the server via SSH. Must match the regex defined in PASSWORD_CONSOLE_REGEX.Default username: clouduser |
user_data | string | ❌ | User data scripts executed automatically on first boot using the cloud-init process. |
floating_ip | boolean | ❌ | Attach a public IP to the server. Defaults to false. |
raid_type | string | ❌ | RAID disk configuration. Supported values: - raid-0- raid-1- raid-5- raid-6 |
mount_point | string | ❌ | Mount point path for attaching high-performance (file) storage to the server. |