File: HostPowerAction.rst

package info (click to toggle)
python-pyvmomi 6.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,980 kB
  • sloc: python: 9,206; xml: 77; makefile: 9
file content (28 lines) | stat: -rw-r--r-- 1,361 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

.. _VI API 2.5: ../../vim/version.rst#vimversionversion2

.. _vim.cluster.Action: ../../vim/cluster/Action.rst

.. _vim.cluster.HostPowerAction.OperationType: ../../vim/cluster/HostPowerAction/OperationType.rst


vim.cluster.HostPowerAction
===========================
  Describes a single host power action.
:extends: vim.cluster.Action_
:since: `VI API 2.5`_

Attributes:
    operationType (`vim.cluster.HostPowerAction.OperationType`_):

       Specify whether the action is power on or power off
    powerConsumptionWatt (`int`_, optional):

       Estimated power consumption of the host. In case of power-on, this is the projected increase in the cluster's power consumption. In case of power off, this is the projected decrease in the cluster's power consumption
    cpuCapacityMHz (`int`_, optional):

       CPU capacity of the host in units of MHz. In case of power-on action, this is the projected increase in the cluster's CPU capacity. In case of power off, this is the projected decrease in the cluster's CPU capacity.
    memCapacityMB (`int`_, optional):

       Memory capacity of the host in units of MM. In case of power-on action, this is the projected increase in the cluster's memory capacity. In case of power off, this is the projected decrease in the cluster's memory capacity.