List all virtual machines on an ESXi host.

This task connects to an ESXi host and returns the list of VM names.

yaml
type: "io.kestra.plugin.ee.vmware.esxi.ListVms"

List all VMs

yaml
id: "listvms"
type: "io.kestra.plugin.ee.vmware.esxi.ListVms"
id: list-vms
namespace: company.team

tasks:
  - id: listVms
    type: io.kestra.plugin.ee.vmware.esxi.ListVms
    server: "esxi.mycompany.com"
    username: "{{ secret('VMWARE_ESXI_USERNAME') }}"
    password: "{{ secret('VMWARE_ESXI_PASSWORD') }}"
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.

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.