CreateCustomImageRequest
- contentType: integer
Length requiredFile size in bytes. Capped at the configured maximum (default 50 GiB).
- filenameType: stringmax length:512required
Original filename. The extension drives format inference:
.qcow2→ qcow2,.raw/.img→ raw,.iso→ iso. Unknown extensions are rejected with 400. - imageType: "template" or "iso"enum
Type requiredtemplate: pre-installed disk image (qcow2 or raw). VM boots straight to a working OS.iso: bootable installer media. VM boots and runs an installer.
- nameType: stringmax length:80required
- osType: "linux" or "windows" or "other"enum
Family requiredOS family of the image.
linuxandwindowssupport managed cloud-init provisioning (username/SSH key/password injection);other(e.g. BSD, Solaris, appliances) is bring-your-own — it boots the image as-is with no managed provisioning. - configType: objectProperties: 1
Provisioning mode. Optional — defaults to
{ type: 'none' }when omitted.cloud-initis only available forosFamilylinuxorwindows; sending it withosFamily: otheranswers 400 "Managed cloud-init provisioning is only available for Linux and Windows images." Whencloud-initis accepted, the username defaults from the platform's managed-provisioning map (there is nousernamefield on this request). Settable here with no extra permission, same asuefiabove (custom-image:managegates it only on PATCH). - descriptionType: stringmax length:500
- networkType: boolean
Hotplug Whether the image supports NIC hot-add/remove while the VM is running. Optional — defaults to
falsewhen omitted. Settable here with no extra permission, same asuefiabove (custom-image:managegates it only on PATCH). - uefiType: boolean
Firmware:
true= UEFI with secure boot,false= legacy BIOS. Optional — defaults totruewhen omitted. The image owner can change it later via PATCH.
.png)