Skip to main content

template_infos

Creates, updates, deletes, gets or lists a template_infos resource.

Overview​

Nametemplate_infos
TypeResource
Idovh.dedicated_installation_template.template_infos

Fields​

The following fields are returned by SELECT queries:

A structure describing some interesting facts about an OS template

NameDatatypeDescription
template_namestringOS template name (wire: templateName)
categorystringOS Category (also called OS usage) (backup, basic, customer, database, erp, hosting, management, other, readyToUse, virtualisation, virtualization)
descriptionstringOS long name
end_of_installstring (date)OS template end of install at OVH date (wire: endOfInstall)
familystringOS family (also called OS type) (bsd, custom, ibm, linux, solaris, unix, windows)
licenseobjectOS template license details
projectobjectOS template project details
subfamilystringOS subfamily (alma, aos, arch, byoi, byolinux, centos, cloudlinux, coreos, debian, dgx, esxi, fedora, freebsd, gentoo, hyperv, omnios, openio, openmediavault, opensuse, ovh, pcs, power, proxmox, rhel, rocky, slackware, sles-sap, smartos, solusvm, ubuntu, windows-server-core, windows-server-desktop-exp, xcp, xen)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectList installation template details. Returns the details of the available operating system templates: name, category, family, subfamily, end of install date, project and license. This call does not require authentication.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})

SELECT examples​

List installation template details. Returns the details of the available operating system templates: name, category, family, subfamily, end of install date, project and license. This call does not require authentication.

SELECT
template_name,
category,
description,
end_of_install,
family,
license,
project,
subfamily
FROM ovh.dedicated_installation_template.template_infos
;