
UpdateVm
This task allows you to update CPU, memory, network, or disks on an existing VM managed by vCenter.
Enterprise Edition Talk to us
This task allows you to update CPU, memory, network, or disks on an existing VM managed by vCenter.
Update an existing virtual machine on a vCenter server.
This task allows you to update CPU, memory, network, or disks on an existing VM managed by vCenter.
type: "io.kestra.plugin.ee.vmware.vcenter.UpdateVm"Examples
Update a VM via vCenter
id: update_vm
namespace: company.team
tasks:
- id: update
type: io.kestra.plugin.ee.vmware.vcenter.UpdateVm
server: "vcenter.mycompany.com"
username: "{{ secret('VMWARE_VCENTER_USERNAME') }}"
password: "{{ secret('VMWARE_VCENTER_PASSWORD') }}"
vmName: "vcenter-vm"
cpuCount: 4
memorySize: 8192
networkName: "VM Network 2"
diskSize: 20480
resetAfterUpdate: true
Properties
password*Requiredstring
The password for authentication.
The password used to authenticate with the VMware server.
server*Requiredstring
The URL of the server.
The URL to connect to the VMwareserver. This is a FQDN or an IP address (eg: esxi.mycompany.com), so without any protocol nor port.
username*Requiredstring
The username for authentication.
The username used to authenticate with the server. It could be something like '[email protected]' for vCenter or 'root' for ESXi.
vmName*Requiredstring
The name of the virtual machine.
cpuCountintegerstring
Updated number of virtual CPUs
diskSizeintegerstring
Updated disk size in MB
memorySizeintegerstring
Updated memory size in MB
networkNamestring
Updated network name (PortGroup)
portintegerstring
443The port for the connection.
The port to connect to the server. Default is 443.
resetAfterUpdatebooleanstring
Reset the VM after successful update
trustStorePathstring
The path to the trust store file.
The path to the trust store file containing certificates for secure connections. If not provided, an empty keystore will be created and the connection will be insecure.