Files
deb-python-pyvmomi/docs/vim/host/PowerSystem.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
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
2014-06-17 14:07:42 -04:00

1.3 KiB

vim.host.PowerSystem

Managed object responsible for getting and setting host power management policies.

since

vSphere API 4.1

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.