
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
55 lines
1.6 KiB
ReStructuredText
55 lines
1.6 KiB
ReStructuredText
.. _int: https://docs.python.org/2/library/stdtypes.html
|
|
|
|
.. _str: https://docs.python.org/2/library/stdtypes.html
|
|
|
|
.. _long: https://docs.python.org/2/library/stdtypes.html
|
|
|
|
.. _datetime: https://docs.python.org/2/library/stdtypes.html
|
|
|
|
.. _vim.HostSystem: ../../vim/HostSystem.rst
|
|
|
|
.. _vmodl.DynamicData: ../../vmodl/DynamicData.rst
|
|
|
|
.. _vim.VirtualMachine: ../../vim/VirtualMachine.rst
|
|
|
|
|
|
vim.cluster.DrsMigration
|
|
========================
|
|
Describes a single virtual machine migration.
|
|
:extends: vmodl.DynamicData_
|
|
|
|
Attributes:
|
|
key (`str`_):
|
|
|
|
A unique key that identifies this recommendation. This is used as an argument to ComputeResource.applyRecommendation.
|
|
time (`datetime`_):
|
|
|
|
The time this recommendation was computed.
|
|
vm (`vim.VirtualMachine`_):
|
|
|
|
The virtual machine selected for migration.
|
|
cpuLoad (`int`_, optional):
|
|
|
|
Current CPU load for the virtual machine, in MHz. This property is only populated for recommendations.
|
|
memoryLoad (`long`_, optional):
|
|
|
|
Current memory load for the virtual machine, in bytes. This field is only populated for recommendations.
|
|
source (`vim.HostSystem`_):
|
|
|
|
Source host.
|
|
sourceCpuLoad (`int`_, optional):
|
|
|
|
Current CPU load on the source host, in MHz.
|
|
sourceMemoryLoad (`long`_, optional):
|
|
|
|
Current memory usage on the source host, in bytes.
|
|
destination (`vim.HostSystem`_):
|
|
|
|
Destination host.
|
|
destinationCpuLoad (`int`_, optional):
|
|
|
|
Current CPU load on the destination host, in MHz.
|
|
destinationMemoryLoad (`long`_, optional):
|
|
|
|
Current memory usage on the destination host, in bytes.
|