
Nutanix CloneTemplate
CertifiedEnterprise EditionClone AHV template from version
Nutanix CloneTemplate
Clone AHV template from version
Create a new Nutanix AHV template from an existing template version via the VMM v4 API. Supports VM configuration overrides and flags for active version and guest customization; returns the async task extId.
type: io.kestra.plugin.ee.nutanix.ahv.CloneTemplateExamples
Clone a template from a template version
id: nutanix_clone_template
namespace: company.team
tasks:
- id: clone_template
type: io.kestra.plugin.ee.nutanix.ahv.CloneTemplate
host: "{{ secret('NUTANIX_HOST') }}"
token: "{{ secret('NUTANIX_TOKEN') }}"
templateVersionExtId: "{{ secret('NUTANIX_TEMPLATE_VERSION_EXT_ID') }}"
templateName: "kestra-template-clone"
templateDescription: "Cloned template"
versionName: "v1"
vmConfigOverride:
name: "kestra-clone-vm"
memorySizeBytes: 2147483648
Properties
host *Requiredstring
Prism Central host
Required Nutanix Prism Central host or IP address.
templateName *Requiredstring
Template name
Name for the new template.
templateVersionExtId *Requiredstring
Template version extId
Required extId of the source template version to clone.
isActiveVersion booleanstring
Mark version active
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 for the new template.
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 clone.
versionName string
Template version name
Name of the template version created from the clone.
vmConfigOverride string
VM configuration overrides
Optional VM configuration overrides compatible with the VmConfigOverride payload.
io.kestra.plugin.ee.nutanix.domain.VmConfigOverridePayload
Outputs
taskExtId string
Task extId
ExtId of the asynchronous clone task.
timestamp integer
Timestamp
The timestamp (in milliseconds since epoch) when the operation completed.