Templates
Templates are blueprints for creating Instances with predefined configurations. A template includes specifications such as Instance type, attached volumes, security groups, placement groups, private networks, and public IP settings. Using templates allows you to standardize and automate Instance deployment across your infrastructure.
List templates
List all available templates.
path Parameters
zoneThe zone you want to target
query Parameters
project_idFilter by Project ID.
page_tokenToken for pagination.
page_sizeNumber of items to return per page.
order_byField to sort results by.
template_idsFilter by specific template IDs.
nameFilter by template name.
tagsFilter by tags.
server_tagsFilter by server tags.
security_group_idsFilter by security group IDs.
placement_group_idsFilter by placement group IDs.
List templates › Responses
List of template summaries.
next_page_tokenToken for the next page.
total_countTotal number of items.
Create a template
Create a new template from an Instance.
path Parameters
zoneThe zone you want to target
Create a template › Request Body
project_idProject ID for the template.
nameName of the template.
tagsTags to associate with the template.
server_tagsTags to associate with servers created from the template.
server_typeCommercial type of the server defined by the template.
security_group_idSecurity group ID for the template.
placement_group_idPlacement group ID for the template.
List of volume templates to define volumes for servers.
List of private networks to associate with the template.
filesystem_idsList of filesystem IDs to associate with the template.
public_ip_v4_countNumber of IPv4 public IPs to attach to servers created from this template.
public_ip_v6_countNumber of IPv6 public IPs to attach to servers created from this template.
windows_rdp_ssh_key_idIAM ID of the SSH key used to encrypt the Windows Administrator password for RDP use.
Create a template › Responses
project_idProject ID associated with the template.
idUnique ID of the template.
nameName of the template.
tagsTags associated with the template.
server_tagsTags associated with servers created from this template.
server_typeCommercial type of the server defined by the template.
security_group_idSecurity group ID associated with the template.
placement_group_idPlacement group ID associated with the template.
public_ip_v4_countNumber of IPv4 public IPs to attach to servers created from this template.
public_ip_v6_countNumber of IPv6 public IPs to attach to servers created from this template.
List of volume templates used to create volumes for servers.
List of private network associated with the template.
filesystem_idsList of filesystem IDs associated with the template.
created_atCreation timestamp of the template. (RFC 3339 format)
updated_atLast update timestamp of the template. (RFC 3339 format)
windows_rdp_ssh_key_idIAM ID of the SSH key used to encrypt the Windows Administrator password for RDP use.
zoneZone in which the template is located.
Get a template
Get details of a specified template.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template to retrieve.
Get a template › Responses
project_idProject ID associated with the template.
idUnique ID of the template.
nameName of the template.
tagsTags associated with the template.
server_tagsTags associated with servers created from this template.
server_typeCommercial type of the server defined by the template.
security_group_idSecurity group ID associated with the template.
placement_group_idPlacement group ID associated with the template.
public_ip_v4_countNumber of IPv4 public IPs to attach to servers created from this template.
public_ip_v6_countNumber of IPv6 public IPs to attach to servers created from this template.
List of volume templates used to create volumes for servers.
List of private network associated with the template.
filesystem_idsList of filesystem IDs associated with the template.
created_atCreation timestamp of the template. (RFC 3339 format)
updated_atLast update timestamp of the template. (RFC 3339 format)
windows_rdp_ssh_key_idIAM ID of the SSH key used to encrypt the Windows Administrator password for RDP use.
zoneZone in which the template is located.
Delete a template
Delete a specified template.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template to delete.
Delete a template › Responses
Update a template
Update the properties of a template.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template to update.
Update a template › Request Body
nameNew name for the template.
tagsNew tags for the template.
server_tagsNew server tags for the template.
server_typeNew server type for the template.
security_group_idNew security group ID for the template.
placement_group_idNew placement group ID for the template.
Updated volume templates for the template.
Updated private networks list for the template.
filesystem_idsNew list of filesystem IDs for the template.
public_ip_v4_countNew number of IPv4 public IPs to attach to servers.
public_ip_v6_countNew number of IPv6 public IPs to attach to servers.
windows_rdp_ssh_key_idNew IAM ID of the SSH key used to encrypt the Windows Administrator password for RDP use.
Update a template › Responses
project_idProject ID associated with the template.
idUnique ID of the template.
nameName of the template.
tagsTags associated with the template.
server_tagsTags associated with servers created from this template.
server_typeCommercial type of the server defined by the template.
security_group_idSecurity group ID associated with the template.
placement_group_idPlacement group ID associated with the template.
public_ip_v4_countNumber of IPv4 public IPs to attach to servers created from this template.
public_ip_v6_countNumber of IPv6 public IPs to attach to servers created from this template.
List of volume templates used to create volumes for servers.
List of private network associated with the template.
filesystem_idsList of filesystem IDs associated with the template.
created_atCreation timestamp of the template. (RFC 3339 format)
updated_atLast update timestamp of the template. (RFC 3339 format)
windows_rdp_ssh_key_idIAM ID of the SSH key used to encrypt the Windows Administrator password for RDP use.
zoneZone in which the template is located.
Check a template
Validate that a template is usable.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template to check.
Check a template › Responses
Create a server from a template
Create a new Instance using a specified template.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template to use.
Create a server from a template › Responses
idUnique ID of the server.
nameName of the server.
project_idProject ID to which the server belongs.
tagsTags associated with the server.
server_typeType of the server.
placement_group_idID of the placement group the server belongs to.
statusCurrent status of the server.
List of volumes attached to the server.
List of filesystems attached to the server.
architectureArchitecture of the server.
created_atCreation timestamp of the server. (RFC 3339 format)
updated_atLast update timestamp of the server. (RFC 3339 format)
List of private network interfaces attached to the server.
rescue_modeWhether the server is in rescue mode.
boot_volume_idID of the boot volume.
status_detailDetailed status information of the server.
Encrypted RDP password for Windows servers. The encryption scheme is RSA-PKCS1-v1_5, using the public part of the SSH key supplied in windows_rdp_ssh_key_id.
Public network interface of the server.
zoneZone in which the server is located.
List template user data keys
List all user data keys of a template.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template.
query Parameters
page_tokenToken for pagination.
page_sizeNumber of items to return per page.
List template user data keys › Responses
keysList of user data keys associated with the template.
next_page_tokenToken for the next page.
total_countTotal number of items.
Get template user data
Get a specific user data key of a template.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template.
keyKey of the user data to retrieve.
Get template user data › Responses
keyThe key of the user data.
contentThe content of the user data.
Set template user data
Set a user data key of a template.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template.
keyKey of the user data to set.
Set template user data › Responses
Delete template user data
Delete a specific user data key of a template.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template.
keyKey of the user data to delete.
Delete template user data › Responses
Get template cloud-init
Get the cloud-init configuration of a template.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template.
Get template cloud-init › Responses
keyThe key of the user data.
contentThe content of the user data.
Set template cloud-init
Set the cloud-init configuration of a template.
path Parameters
zoneThe zone you want to target
template_idUnique ID of the template.