File: ConfigSpec.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 (31 lines) | stat: -rw-r--r-- 1,576 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
29
30
31
.. _str: https://docs.python.org/2/library/stdtypes.html

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

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

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

.. _environmentBrowser: ../../vim/ComputeResource.rst#environmentBrowser

.. _defaultConfigOption: ../../vim/vm/ConfigOptionDescriptor.rst#defaultConfigOption

.. _VirtualMachineConfigInfoSwapPlacementType: ../../vim/vm/ConfigInfo/SwapPlacementType.rst


vim.ComputeResource.ConfigSpec
==============================
  Changes to apply to the compute resource configuration.
:extends: vmodl.DynamicData_
:since: `VI API 2.5`_

Attributes:
    vmSwapPlacement (`str`_, optional):

       New setting for the swapfile placement policy. Any change to this policy will affect virtual machines that subsequently power on or resume from a suspended state in this compute resource, or that migrate to a host in this compute resource while powered on; virtual machines that are currently powered on in this compute resource will not yet be affected.See `VirtualMachineConfigInfoSwapPlacementType`_ 
    spbmEnabled (`bool`_, optional):

       Flag indicating whether or not the SPBM(Storage Policy Based Management) feature is enabled on this compute resource
    defaultHardwareVersionKey (`str`_, optional):

       Key for Default Hardware Version to be used on this compute resource in the format of `key`_ . Setting this field affects `defaultConfigOption`_ returned by `environmentBrowser`_ of this object and all its children with this field unset.