vim_host_powermgmt

ESXi power-management policy via HostPowerSystem (SOAP).

Policies are vendor/hardware-dependent. Common keys: high-performance, balanced, low-power, custom.

saltext.vcf.clients.vim_host_powermgmt.list_policies(opts, host, profile=None)[source]

Return [{key, name, short_name, description}, ...] from the host’s power capabilities.

saltext.vcf.clients.vim_host_powermgmt.get_policy(opts, host, profile=None)[source]

Return {key, name, short_name, description} for the active policy.

saltext.vcf.clients.vim_host_powermgmt.set_policy(opts, host, policy_key, profile=None)[source]

Set the active power policy by integer key.