Creating and Deleting a VM
Create a VM via the API
POST /v3/flexVM/clouds/{cloudUuid}/vms
Host: api.i3d.net
PRIVATE-TOKEN: YOUR_API_KEY
Content-Type: application/json
{
"description": "DB1 VM",
"image_name": "ubuntu-2404-server-amd64",
"instance_type_name": "vm.gpu.1rtx4000.30c.240g",
"name": "development.ubuntu-2404",
"ssh_keys": [
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTuRa6Gtysdg2EF+SIXheVFVpHJrKYs4kWfNoHQg8ZG6PH4= ecdsa-key-20240131"
],
"tags": [
"project:odyssey",
"env:build"
]
}Create a VM with Terraform
Deleting a VM
Last updated
Was this helpful?