
This external documentation for pyVmomi was generated using Googly Docs (aka Google Standard Documentation) which renders very cleanly in GitHub. Internal documentation for a class should be done in Sphinx format because tools like pyCharm and Eclipse can use that documentation as a hint for code completion. Note: External docs as Googly Docs, internal docs as Sphinx. Closes bug#15
1.3 KiB
1.3 KiB
vim.host.PowerSystem
Managed object responsible for getting and setting host power management policies.
- since
Attributes
- capability (vim.host.PowerSystem.Capability):
- privilege: Host.Config.Power
Power system capabilities object.
- info (vim.host.PowerSystem.Info):
- privilege: Host.Config.Power
Power system state info object.
Methods
- ConfigurePowerPolicy(key):
-
Configure host power policy.
- Privilege:
-
Host.Config.Power
- Args:
-
- key (int):
-
A key from one of the policies in availablePolicy .
- Returns:
-
None
Raises:
- vim.fault.HostConfigFault:
-
for any other failure.
- vmodl.fault.InvalidArgument:
-
if an invalid power policy key is provided.