# unikraft instances template

Manage instance templates.

## Options inherited from parent commands

```
  --config file               Path to the configuration file.
  --log-level level           Set the logging level. (default info)
  --log-type type             Set the log type. (default text)
  --profile name              Set the current profile.
  --telemetry                 Toggle anonymous usage analytics. (default true)
```

## Resource Fields

| Field                         | Type                                                | Operations |
| ----------------------------- | --------------------------------------------------- | ---------- |
| `metro`                       | `string`                                            |            |
| `name`                        | `string`                                            |            |
| `uuid`                        | `string`                                            |            |
| `tags`                        | `[string]`                                          | edit       |
| `delete-lock`                 | `bool`                                              | edit       |
| `state`                       | `string`                                            |            |
| `image`                       | `imageref[github.com/distribution/reference.named]` |            |
| `runtime`                     |                                                     |            |
| `runtime.args`                | `[string]`                                          |            |
| `runtime.env`                 | `{string: string}`                                  |            |
| `resources`                   |                                                     |            |
| `resources.memory`            | `integer`                                           |            |
| `resources.vcpus`             | `integer`                                           |            |
| `volumes`                     |                                                     |            |
| `timestamps`                  |                                                     |            |
| `timestamps.created`          | `relativetime`                                      |            |
| `scale-to-zero`               |                                                     |            |
| `scale-to-zero.enabled`       | `bool`                                              |            |
| `scale-to-zero.policy`        | `string`                                            |            |
| `scale-to-zero.stateful`      | `bool`                                              |            |
| `scale-to-zero.cooldown-time` | `integer`                                           |            |
| `scale-to-zero.notify-time`   | `integer`                                           |            |
| `restart`                     |                                                     |            |
| `restart.policy`              | `string`                                            |            |
| `instances`                   |                                                     | create     |

## See Also

* [`unikraft instances`](../instances.mdx): Manage Unikraft Cloud instances.
* [`unikraft instances template get`](template/get.mdx): Inspect a instance-template.
* [`unikraft instances template list`](template/list.mdx): List instance-templates.
* [`unikraft instances template delete`](template/delete.mdx): Remove a instance-template.
* [`unikraft instances template create`](template/create.mdx): Create an instance template.
* [`unikraft instances template edit`](template/edit.mdx): Edit an instance template.

