Nutanix UpdateVm

Nutanix UpdateVm

Certified
Enterprise Edition

Update AHV VM configuration

Update a Nutanix AHV VM via the VMM v4 API using a full VM payload; returns the async task extId.

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

Update an AHV VM

yaml
id: nutanix_update_vm
namespace: company.team
tasks:
  - id: update_vm
    type: io.kestra.plugin.ee.nutanix.ahv.UpdateVm
    host: "{{ secret('NUTANIX_HOST') }}"
    token: "{{ secret('NUTANIX_TOKEN') }}"
    vmExtId: "{{ secret('NUTANIX_VM_EXT_ID') }}"
    vm:
      name: "kestra-demo"
      description: "Updated by Kestra"
      resources:
        numSockets: 1
        numCoresPerSocket: 2
        memorySizeBytes: 2147483648
Properties

Prism Central host

Required Nutanix Prism Central host or IP address.

VM definition

Full AHV VM payload compatible with the VMM v4 API; supply the desired target state.

Definitions
clusterobject
descriptionstring
extIdstring
ipstring
namestring
resources
disksarray
SubTypeobject
memorySizeBytesinteger
nicsarray
SubTypeobject
numCoresPerSocketinteger
numSocketsinteger
numThreadsPerCoreinteger

VM extId

Required extId of the VM to update.

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.

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.

Task extId

ExtId of the asynchronous update task.

Timestamp

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