Nutanix ConvertVmToTemplate

Nutanix ConvertVmToTemplate

Certified
Enterprise Edition

Create template from AHV VM

Create a Nutanix AHV template from an existing VM via the VMM v4 API, with optional active version and guest customization flags; returns the async task extId.

yaml
type: io.kestra.plugin.ee.nutanix.ahv.ConvertVmToTemplate

Convert an AHV VM to a template

yaml
id: nutanix_convert_vm_to_template
namespace: company.team
tasks:
  - id: convert_vm_to_template
    type: io.kestra.plugin.ee.nutanix.ahv.ConvertVmToTemplate
    host: "{{ secret('NUTANIX_HOST') }}"
    token: "{{ secret('NUTANIX_TOKEN') }}"
    vmExtId: "{{ secret('NUTANIX_VM_EXT_ID') }}"
    templateName: "kestra-template"
    templateDescription: "Template created from a VM"
    versionName: "v1"
Properties

Prism Central host

Required Nutanix Prism Central host or IP address.

Template name

Name of the template to create.

VM extId

Required extId of the source VM to convert.

Active version

Whether to mark the new template version as active; optional, follows API default when unset.

Allow guest customization overrides

Whether deployments from this template may override guest customization; optional, defaults to API behavior.

Password

Prism Central password; required when no token is provided.

Reference (ref) of the pluginDefaults to apply to this task.

Default9440

Prism Central port

API port for Prism Central; defaults to 9440.

Defaulthttps

Scheme

HTTP scheme (https default) for the Prism Central API.

Template description

Optional description of the template to create.

Bearer token

Bearer token for Prism Central; when set, username/password are optional.

Username

Prism Central username; required when no token is provided.

Defaulttrue

Verify SSL

Whether to verify SSL certificates; defaults to true. Disabling this (setting to false) causes the client to trust all certificates without validation, exposing connections to man-in-the-middle attacks. Only set to false for trusted, isolated test environments, never in production.

Template version description

Description of the template version created from the VM.

Template version name

Name of the template version created from the VM.

Task extId

ExtId of the asynchronous template creation task.

Timestamp

The timestamp (in milliseconds since epoch) when the operation completed.