Files
deb-python-pyvmomi/docs/vim/vm/ConfigOptionDescriptor.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

45 lines
2.0 KiB
ReStructuredText

.. _str: https://docs.python.org/2/library/stdtypes.html
.. _bool: https://docs.python.org/2/library/stdtypes.html
.. _ConfigSpec: ../../vim/vm/ConfigSpec.rst
.. _vim.HostSystem: ../../vim/HostSystem.rst
.. _vmodl.DynamicData: ../../vmodl/DynamicData.rst
.. _EnvironmentBrowser: ../../vim/EnvironmentBrowser.rst
.. _defaultHardwareVersionKey: ../../vim/Datacenter/ConfigInfo.rst#defaultHardwareVersionKey
.. _queryDatacenterConfigOptionDescriptor: ../../vim/Datacenter.rst#queryConfigOptionDescriptor
vim.vm.ConfigOptionDescriptor
=============================
Contains the definition of a unique key that can be used to retrieve a configOption object.
:extends: vmodl.DynamicData_
Attributes:
key (`str`_):
A unique key used to identify a configOption object in this `EnvironmentBrowser`_ .
description (`str`_, optional):
A description of the configOption object.
host (`vim.HostSystem`_, optional):
List of hosts to which this descriptor applies. List of hosts is not set when descriptor is returned from `queryDatacenterConfigOptionDescriptor`_ .
createSupported (`bool`_):
Indicates whether the associated set of configuration options can be used for virtual machine creation on a given host or cluster.
defaultConfigOption (`bool`_):
Indicates whether the associated set of virtual machine configuration options is the default one for a given host or cluster. Latest version is marked as default unless other version is specified via `defaultHardwareVersionKey`_ or `defaultHardwareVersionKey`_ . If this setting is TRUE, virtual machine creates will use the associated set of configuration options, unless a config version is explicitly specified in the `ConfigSpec`_ .
runSupported (`bool`_):
Indicates whether the associated set of configuration options can be used to power on a virtual machine on a given host or cluster.
upgradeSupported (`bool`_):
Indicates whether the associated set of configuration options can be used as a virtual hardware upgrade target.