
Nutanix ConvertTemplateToVm
CertifiedEnterprise EditionDeploy AHV VMs from template
Nutanix ConvertTemplateToVm
Deploy AHV VMs from template
Deploy one or more Nutanix AHV VMs from a template via the VMM v4 API, using a TemplateDeployment payload and returning the async task extId.
type: io.kestra.plugin.ee.nutanix.ahv.ConvertTemplateToVmExamples
Deploy a VM from a template
id: nutanix_convert_template_to_vm
namespace: company.team
tasks:
- id: convert_template_to_vm
type: io.kestra.plugin.ee.nutanix.ahv.ConvertTemplateToVm
host: "{{ secret('NUTANIX_HOST') }}"
token: "{{ secret('NUTANIX_TOKEN') }}"
templateExtId: "{{ secret('NUTANIX_TEMPLATE_EXT_ID') }}"
deployment:
clusterReference: "{{ secret('NUTANIX_CLUSTER_EXT_ID') }}"
numberOfVms: 1
Properties
deployment *string
Deployment configuration
Required deployment configuration compatible with the TemplateDeployment payload (cluster, count, overrides).
io.kestra.plugin.ee.nutanix.domain.TemplateDeploymentPayload
io.kestra.plugin.ee.nutanix.domain.VmConfigOverridePayload
host *string
Prism Central host
Required Nutanix Prism Central host or IP address.
templateExtId *string
Template extId
Required extId of the source template to deploy.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150password string
Password
Prism Central password; required when no token is provided.
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.
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.
Outputs
taskExtId string
Task extId
ExtId of the asynchronous deployment task.
timestamp integer
Timestamp
The timestamp (in milliseconds since epoch) when the operation completed.