Start a virtual machine on a vCenter server by its name.

This task powers on a virtual machine managed by vCenter if it is currently powered off.

yaml
type: "io.kestra.plugin.ee.vmware.vcenter.StartVm"

Start a VM by name from vCenter

yaml
id: start_vm
namespace: company.team

tasks:
  - id: startVm
    type: io.kestra.plugin.ee.vmware.vcenter.StartVm
    server: "vcenter.mycompany.com"
    username: "{{ secret('VMWARE_VCENTER_USERNAME') }}"
    password: "{{ secret('VMWARE_VCENTER_PASSWORD') }}"
    vmName: "vm-to-start"
Properties

The password for authentication.

The password used to authenticate with the VMware server.

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.

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.

The name of the virtual machine.

Default 443

The port for the connection.

The port to connect to the server. Default is 443.

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.