Get List of User Templates
To get a list of user templates, use the following request:
| |
XML Request Example
| |
JSON Request Example
| |
XML Output Example
| |
Where:
allowed_resize_without_reboot — true if resize without reboot is allowed; otherwise, false.
allowed_hot_migrate — true if hot migration is allowed; otherwise, false.
allowed_swap — true if swap is allowed; otherwise, false.
backup_server_id — the ID of the backup server where the template is stored.
baremetal_server — true if the baremetal server can be built from this template.
cdn — true if this template can be used for building edge servers. Otherwise, false.
checksum — file checksum.
created_at — the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format.
disk_target_device — the prefix indicating the method of translating the disk to a VS by compute resource.
ext4 — true if ext4 file system is supported.
file_name — the name of the template file.
id — ID of template.
initial_password — the password set for the VS built on this template.
initial_username — the username set for the VS built on this template.
label — the template title.
manager_id — ID of the template on the template server.
min_disk_size — minimum disk size required to build a VS on this template (GB).
min_memory_size — minimum memory size required to build a VS on this template (MB).
operating_system — operating system name.
operating_system_arch — architecture of the operating system.
operating_system_distro — operating system distribution.
operating_system_edition — edition of the OS.
operating_system_tail — tail of the OS.
parent_template_id — the ID of a system template, which has been converted into a custom one.
remote_id — ID of the template, if it came from the market.
resize_without_reboot_policy — all specifically tested templates (all newly added templates and some of the most frequently used ones) will have this parameter which indicates the hot resize possibility for a particular template considering its OS version and virtualization type:
1 2 3 4 5 6 7 8 9<resize_without_reboot_policy> <xen> entos5 type="integer">14</centos5> entos6 type="integer">14</centos6> xen> vm> entos5 type="integer">12</centos5> entos6 type="integer">0</centos6> kvm>The indicated integer is a decimal representation of a 4-bit binary code, which indicates whether CPU or RAM can (1) or cannot (0) be resized without reboot, where:
- 1st bit defines the ability to increase cpu.
- 2nd bit defines the ability to decrease cpu.
- 3rd bit defines the ability to increase RAM.
- 4th bit defines the ability to decrease RAM.
smart_server — true if a smart server can be built from this template.
state — state of the template (active, inactive).
template_size — the size of the template.
updated_at — the date when the Network was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format.
user_id — the ID of a user who owns this template.
version — version of the file.
virtualization — type of virtualization (xen, kvm, or kvm_virtio) which is compatible with this template.