vcf_vim_host_powermgmt

State module for ESXi power-management policy.

saltext.vcf.states.vcf_vim_host_powermgmt.policy(name, host=None, policy_key=None, short_name=None, profile=None)[source]

Ensure the active power policy matches the requested key or short name.

host defaults to name. Pass exactly one of policy_key (int) or short_name (e.g. static, dynamic, low, custom).