Node Templates

Create node template

Create a new node template with reusable VM configuration.

post/v2/node_templates

Request body

namestring required

A validated resource name. Must start with alphanumeric, followed by alphanumeric, '.', '_', or '-'. Max 255 characters.

imagestring required

Image ID or name for VMs using this template.

cloud_init_user_datastring byte

Cloud-init user data for VMs using this template. Data should be base64 encoded.

Response

Node template created

object'node_template'
idstring required

Generated ID with format 'ntmpl_[0-9a-zA-Z]+' used for referencing a NodeTemplateId resource.

namestring required

A validated resource name. Must start with alphanumeric, followed by alphanumeric, '.', '_', or '-'. Max 255 characters.

imagestring required

Generated ID with format 'image_[0-9a-zA-Z]+' used for referencing a ImageId resource.

cloud_init_user_datastring byte

Cloud-init user data for VMs using this template. Data should be base64 encoded.

created_atinteger required

Unix timestamp in seconds since epoch

Example response

{
  "object": "node_template"
}

Changes