Get List of vCenter Templates
To get a list of vCenter templates in your cloud, use the following request:
| |
XML Request example
| |
JSON Request Example
| |
XML Output Example
| |
Where:
id - the ID of the vCenter template
label - the label of the vCenter template
created_at - the date when the VS was created in the [YYYY][MM][DD]T[hh][mm][ss]Z format
updated_at - the date when the VS was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format
version - version of the template file
file_name - the name of the template file
operating_system - the operating system’s name
operating_system_distro - the operating system’s distribution
allowed_swap - true if swap is allowed; otherwise, false
state - state of the template (active, inactive, pending)
checksum - file checksum
allow_resize_without_reboot - true if resize without reboot is allowed; otherwise, false
min_disk_size - minimum disk size required to build a VS on this template (GB)
user_id - the ID of a template’s user in OnApp
template_size - the size of the template
allowed_hot_migrate - true if hot migration for the VS is allowed; otherwise, false
operating_system_arch - architecture of the operating system
operating_system_edition - edition of the OS
operating_system_tail - tail of the OS
parent_template_id - the ID of the target template group
virtualization - type of virtualization (xen, kvm, or kvm_virtio) which is compatible with this template
min_memory_size - minimum memory size required to build a VS on this template (MB)
disk_target_device - the prefix indicating the method of translating the disk to a VS by compute resource
cdn - true if this template can be used for building edge servers; otherwise, false
backup_server_id - the ID of the backup server
ext4 - true if ext4 file system is supported; otherwise, false
smart_server - true if a smart server can be built from this template; otherwise, false
baremetal_server - true if a baremetal server can be built from this template; otherwise, false
initial_password - the initial password for the template on the vCenter side
initial_username - the initial username for the template on the vCenter side
remote_id - ID of the template on the vCenter side
manager_id - ID of the template on the template server
resize_without_reboot_policy - the hot resize possibility for a particular template considering its OS version and virtualization type
application_server - true if an application server can be built from this template; otherwise, false
draas - true if DRaaS is allowed; otherwise, false
properties - the attributes of template
nics - the array of parameters associated with the NICs
locked - true if the template is locked; otherwise, false