Actions
Update Virtual Machine
Updates the properties of an existing VM.
To learn more, visit the Nutanix Hypervisor documentation.
Parameters
Parameter | Description |
---|---|
Metadata | The VM metadata. Please refer to Nutanix Hypervisor Documentation for more information regarding the metadata structure.For example:{ "use_categories_mapping": false, "uuid": "string", "project_reference": { "uuid": "string" }, "spec_version": 0, "spec_hash": "string", "categories_mapping": { "property1": [ "string" ], "property2": [ "string" ] }, "should_force_translate": true, "owner_reference": { "uuid": "string" }, "categories": { "property1": "string", "property2": "string" }} |
Specification | A representation of a VM spec. Please refer to Nutanix Hypervisor Documentation for more information regarding the specification structure.For example:{ "name": "string", "availability_zone_reference": { "uuid": "string" }, "description": "string", "resources": { "num_threads_per_core": 1, "is_agent_vm": true, "memory_size_mib": 1, "boot_config": { "boot_device_order_list": [ "string" ], "boot_device": { "disk_address": { "device_index": 0, "adapter_type": "string" }, "mac_address": "string" }, "data_source_reference": { "url": "string", "kind": "string", "uuid": "string" }, "boot_type": "string" }, "disk_list": [ { "uuid": "string", "disk_size_bytes": 1, "storage_config": { "flash_mode": "string", "storage_container_reference": { "url": "string", "kind": "string", "uuid": "string" } }, "device_properties": { "device_type": "DISK", "disk_address": { "device_index": 0, "adapter_type": "string" } }, "data_source_reference": { "is_direct_attach": true, "url": "string", "kind": "string", "uuid": "string" }, "disk_size_mib": 1, "volume_group_reference": { "url": "string", "kind": "string", "uuid": "string" } } ], "serial_port_list": [ { "index": 0, "is_connected": true } ], "generation_uuid": "string", "bios_uuid": "string", "is_vcpu_hard_pinned": true, "guest_tools": { "nutanix_guest_tools": { "ngt_state": "string", "iso_mount_state": "string", "state": "string", "version": "string", "enabled_capability_list": [ "string" ], "credentials": { "username": "string", "password": "string" } } }, "power_state": "string", "num_vcpus_per_socket": 1, "num_sockets": 1, "hardware_virtualization_enabled": true, "storage_config": { "qos_policy": { "throttled_iops": -1 }, "flash_mode": "string" }, "machine_type": "string", "hardware_clock_timezone": "string", "guest_customization": { "cloud_init": { "meta_data": "string", "user_data": "string", "custom_key_values": { "property1": "string", "property2": "string" } }, "is_overridable": false, "sysprep": { "install_type": "PREPARED", "unattend_xml": "string", "custom_key_values": { "property1": "string", "property2": "string" } }, "property1": "string", "property2": "string" }, "power_state_mechanism": { "guest_transition_config": { "should_fail_on_script_failure": true, "enable_script_exec": true }, "mechanism": "string" }, "vga_console_enabled": true, "memory_overcommit_enabled": true, "vnuma_config": { "num_vnuma_nodes": 0 }, "nic_list": [ { "nic_type": "string", "uuid": "string", "ip_endpoint_list": [ { "ip": "string", "type": "string", "gateway_address_list": [ "string" ], "prefix_length": 32, "ip_type": "string" } ], "num_queues": 0, "secondary_ip_address_list": [ "string" ], "network_function_nic_type": "string", "network_function_chain_reference": { "uuid": "string" }, "vlan_mode": "string", "mac_address": "string", "subnet_reference": { "uuid": "string" }, "model": "string", "is_connected": true, "trunked_vlan_list": [ 0 ] } ], "guest_os_id": "string", "gpu_list": [ { "vendor": "string", "mode": "string", "device_id": 0 } ], "gpu_console_enabled": true, "vtpm_config": { "vtpm_enabled": true, "data_source_reference": { "url": "string", "kind": "string", "uuid": "string" }, "vtpm_secret": "string" }, "enable_cpu_passthrough": true, "parent_reference": { "url": "string", "kind": "string", "uuid": "string" }, "disable_branding": true }, "cluster_reference": { "uuid": "string" }} |
Virtual Machine ID | The UUID of the VM. |
Example Output
Workflow Library Example
Update Virtual Machine with Nutanix Hypervisor and Send Results Via Email
Preview this Workflow on desktop