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

67 lines
1.3 KiB
ReStructuredText

.. _int: https://docs.python.org/2/library/stdtypes.html
.. _vim.Task: ../../vim/Task.rst
.. _vSphere API 4.1: ../../vim/version.rst#vimversionversion6
.. _vim.fault.HostConfigFault: ../../vim/fault/HostConfigFault.rst
.. _vim.host.PowerSystem.Info: ../../vim/host/PowerSystem/Info.rst
.. _vmodl.fault.InvalidArgument: ../../vmodl/fault/InvalidArgument.rst
.. _vim.host.PowerSystem.Capability: ../../vim/host/PowerSystem/Capability.rst
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.