
Nutanix ConvertVmToTemplate
CertifiedEnterprise EditionCreate template from AHV VM
Nutanix ConvertVmToTemplate
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.
type: io.kestra.plugin.ee.nutanix.ahv.ConvertVmToTemplateExamples
Convert an AHV VM to a template
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
host *Requiredstring
Prism Central host
Required Nutanix Prism Central host or IP address.
templateName *Requiredstring
Template name
Name of the template to create.
vmExtId *Requiredstring
VM extId
Required extId of the source VM to convert.
isActiveVersion booleanstring
Active version
Whether to mark the new template version as active; optional, follows API default when unset.
isGcOverrideEnabled booleanstring
Allow guest customization overrides
Whether deployments from this template may override guest customization; optional, defaults to API behavior.
password string
Password
Prism Central password; required when no token is provided.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
port integerstring
9440Prism Central port
API port for Prism Central; defaults to 9440.
scheme string
httpsScheme
HTTP scheme (https default) for the Prism Central API.
templateDescription string
Template description
Optional description of the template to create.
token string
Bearer token
Bearer token for Prism Central; when set, username/password are optional.
username string
Username
Prism Central username; required when no token is provided.
verifySsl booleanstring
trueVerify 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.
versionDescription string
Template version description
Description of the template version created from the VM.
versionName string
Template version name
Name of the template version created from the VM.
Outputs
taskExtId string
Task extId
ExtId of the asynchronous template creation task.
timestamp integer
Timestamp
The timestamp (in milliseconds since epoch) when the operation completed.