VMware StopVm

VMware StopVm

Certified
Enterprise Edition

Power off a VM on an ESXi host

Gracefully powers off the specified VM if it is running. Uses the ESXi powerOff task; port defaults to 443.

yaml
type: io.kestra.plugin.ee.vmware.esxi.StopVm

Stop a VM by name

yaml
id: stop_vm
namespace: company.team

tasks:
  - id: stop
    type: io.kestra.plugin.ee.vmware.esxi.StopVm
    server: "esxi.mycompany.com"
    username: "{{ secret('VMWARE_ESXI_USERNAME') }}"
    password: "{{ secret('VMWARE_ESXI_PASSWORD') }}"
    vmName: "vm-to-stop"
Properties

Password

Server hostname or IP

FQDN or IP of the vCenter or ESXi endpoint (no scheme or port).

Username

e.g. Administrator@vsphere.local for vCenter or root for ESXi.

VM name

Reference (ref) of the pluginDefaults to apply to this task.

Default443

Server port

Defaults to 443.

Trust store path

Optional path to a PKCS12 trust store containing the CA certificate(s) used to validate the vCenter/ESXi server's TLS certificate. If omitted (or if the path does not exist), the JVM's default trust store (system CA certificates) is used instead. Certificate validation is always enforced; this plugin never disables TLS certificate validation.