vcf_vim_host_powermgmt

Execution module for ESXi power-management policy (SOAP).

saltext.vcf.modules.vcf_vim_host_powermgmt.list_policies(host, profile=None)[source]

List available power policies on host.

CLI Example:

salt '*' vcf_vim_host_powermgmt.list_policies <host>
saltext.vcf.modules.vcf_vim_host_powermgmt.get_policy(host, profile=None)[source]

Return the currently active power policy.

CLI Example:

salt '*' vcf_vim_host_powermgmt.get_policy <host>
saltext.vcf.modules.vcf_vim_host_powermgmt.set_policy(host, policy_key, profile=None)[source]

Set the active power policy by integer key.

CLI Example:

salt '*' vcf_vim_host_powermgmt.set_policy <host> <policy_key>