Nutanix CloneTemplate

Nutanix CloneTemplate

Certified
Enterprise Edition

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.

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

Clone a template from a template version

yaml
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

Prism Central host

Required Nutanix Prism Central host or IP address.

Template name

Name for the new template.

Template version extId

Required extId of the source template version to clone.

Mark version active

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 for the new template.

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 clone.

Template version name

Name of the template version created from the clone.

VM configuration overrides

Optional VM configuration overrides compatible with the VmConfigOverride payload.

Definitions
guestCustomizationobject
memorySizeBytesinteger
namestring
nicsarray
SubTypeobject
numCoresPerSocketinteger
numSocketsinteger
numThreadsPerCoreinteger

Task extId

ExtId of the asynchronous clone task.

Timestamp

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