File: PowerPolicy.rst

package info (click to toggle)
python-pyvmomi 6.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 14,984 kB
  • sloc: python: 9,206; xml: 77; makefile: 11
file content (28 lines) | stat: -rw-r--r-- 948 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.. _int: https://docs.python.org/2/library/stdtypes.html

.. _str: https://docs.python.org/2/library/stdtypes.html

.. _vSphere API 4.1: ../../../vim/version.rst#vimversionversion6

.. _vmodl.DynamicData: ../../../vmodl/DynamicData.rst


vim.host.PowerSystem.PowerPolicy
================================
  Power Management Policy data object. Used to retrieve and specify current host power management policy.
:extends: vmodl.DynamicData_
:since: `vSphere API 4.1`_

Attributes:
    key (`int`_):

       Power Policy Key. Internally generated key which uniquely identifies power management policy on a host.
    name (`str`_):

       Power Policy Name.
    shortName (`str`_):

       Power Policy Short Name. This is not localizable property which can be used to identify specific power managing policies like "custom" power policy. Custom power policy has short name set to "custom".
    description (`str`_):

       Power Policy Description.