Create a new template
Name of the template
"My Template"
Description of the template
"A template for ML workloads"
Whether the template is publicly available
true
Defines automatic actions after the instance becomes active.
Set a date or spend threshold to automatically delete the instance
Alert configuration
Volume mount configuration
Tags associated with the template
["ml", "pytorch"]
Environment variables for the template
Network and firewall configuration
Returns a TemplateCreateResponse object
Response of the /templates/save API call
The unique identifier for the instance. Used in the instances for the /instances/{id}/info and /instances/{id}/delete APIs.
"d290f1ee-6c54-4b01-90e6-d701748f0851"